A method and device for predicting forest fire risk level based on machine learning
By obtaining and analyzing the description carrier of forest fire risk elements, using machine learning algorithms to infer forest fire risk scores and adjust observation strategies, the problem of insufficient accuracy of traditional prediction methods is solved, the accuracy and adaptability of forest fire risk prediction are improved, and more information is provided for forest fire prevention. Scientifically valid support.
Patent Information
- Application Number
- CN202410585360.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-13
AI Technical Summary
Traditional forest fire danger level prediction methods have low prediction accuracy and are difficult to adapt to complex environments. Existing methods based on machine learning still have shortcomings and need to further improve prediction accuracy, real-time performance and adaptability.
By obtaining the description carrier of fire risk elements in the target forest monitoring area, machine learning algorithms are used to infer forest fire risk scores, and the evaluation algorithm is debugged based on past prior evaluation scores to determine the fire risk observation attention strategy and dynamically adjust intervention methods and costs.
It achieves accurate prediction and dynamic adjustment of forest fire danger levels, improves prediction accuracy and adaptability, and provides scientific and effective support for forest fire prevention work.
Smart Images

Figure CN118153972B
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the fields of machine learning and data processing technology, and in particular to a method and device for predicting forest fire risk levels based on machine learning. Background Art
[0002] Forest fire is a serious natural disaster that not only destroys the forest ecosystem, but also threatens human life and property. Therefore, timely and accurate prediction of forest fire risk level is of great significance for forest fire prevention. Traditional forest fire risk level prediction methods are mainly based on comprehensive analysis of meteorological factors, terrain factors, vegetation factors, etc. These methods can predict forest fire risk levels to a certain extent, but they have the problem of low prediction accuracy and difficulty in adapting to complex environments.
[0003] In order to solve these problems, people began to try to use machine learning technology to predict forest fire danger levels. Machine learning technology can automatically extract features and rules in data and build prediction models by learning and analyzing a large amount of data. Compared with traditional methods, machine learning technology has higher prediction accuracy and real-time performance, and can better adapt to complex environmental conditions. At present, some forest fire danger level prediction methods based on machine learning have been proposed. For example, prediction methods based on support vector machine (SVM), decision tree, random forest and other algorithms. These methods have improved the accuracy and efficiency of forest fire danger level prediction to a certain extent, but there are still some shortcomings. Therefore, it is necessary to further study and improve the forest fire danger level prediction method based on machine learning to improve the prediction accuracy, real-time performance and adaptability, and provide more scientific and effective support for forest fire prevention. Summary of the invention
[0004] In view of this, the embodiments of the present application at least provide a method and device for predicting forest fire risk levels based on machine learning.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] On the one hand, the embodiment of the present application provides a method for predicting forest fire risk level based on machine learning, including:
[0007] Obtaining a fire risk element description carrier of the target forest monitoring area in a first monitoring period and a fire risk element description carrier in a second monitoring period; the second monitoring period is a monitoring period before the first monitoring period;
[0008] Inferring the inference period forest fire risk score of the target forest monitoring area in the first monitoring period through the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period;
[0009] The periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is obtained, and the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle is determined by the periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the fire risk observation attention strategy of the target forest monitoring area within the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the periodic forest fire risk assessment score of the target forest monitoring area in the third monitoring cycle together with the inference periodic forest fire risk score in the third monitoring cycle; the third monitoring cycle is the monitoring cycle after the first monitoring cycle; the inference periodic forest fire risk score in the third monitoring cycle is determined based on the fire risk element description carrier of the target forest monitoring area in the third monitoring cycle, and the fire risk element description carrier in the first monitoring cycle.
[0010] In some embodiments, the inferring the inference period forest fire risk score of the target forest monitoring area in the first monitoring period by using the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period includes:
[0011] The fire risk element description carrier in the first monitoring period is loaded into the forest fire risk assessment algorithm; the forest fire risk assessment algorithm is obtained by debugging the initial forest fire risk assessment algorithm based on the fire risk element description carrier in the second monitoring period and the past priori forest fire risk assessment score in the second monitoring period; the past priori forest fire risk assessment score in the second monitoring period is determined based on the number of past fire warning point triggers in the fire risk element description carrier in the second monitoring period;
[0012] Obtaining algorithm parameter variables related to the second monitoring period in the forest fire risk assessment algorithm, and obtaining a parameter variable flip array corresponding to the algorithm parameter variables;
[0013] Obtain a description array corresponding to the fire risk element description carrier in the first monitoring cycle, perform array multiplication calculation on the description array and the parameter variable flip array, and obtain the inference cycle forest fire risk score of the target forest monitoring area in the first monitoring cycle.
[0014] In some embodiments, determining the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle by using the periodic forest fire risk assessment score in the second monitoring cycle and the inferred periodic forest fire risk score in the first monitoring cycle includes:
[0015] Obtaining a first influence coefficient parameter corresponding to the periodic forest fire risk assessment score in the second monitoring period, and a second influence coefficient parameter corresponding to the reasoning periodic forest fire risk score in the first monitoring period;
[0016] Multiplying the periodic forest fire risk assessment score in the second monitoring period by the first influence coefficient parameter to obtain a first multiplied periodic forest fire risk assessment score;
[0017] Multiplying the inference period forest fire risk score in the first monitoring period by the second impact coefficient parameter variable to obtain a second multiplied period forest fire risk assessment score;
[0018] The first multiplied periodic forest fire risk assessment score and the second multiplied periodic forest fire risk assessment score are added to obtain the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring period.
[0019] In some embodiments, the method further comprises:
[0020] In the first monitoring cycle, receiving a fire risk warning instruction sent by a target monitoring request device; the target monitoring request device is a device corresponding to the target forest monitoring area;
[0021] Obtaining, in the storage space, a periodic forest fire risk assessment score in the first monitoring period through the fire risk warning instruction, and determining a fire risk intervention method in the target forest monitoring area and a fire risk intervention cost corresponding to the fire risk intervention method through the periodic forest fire risk assessment score in the first monitoring period;
[0022] Using the fire risk intervention mode and the fire risk intervention cost as the fire risk observation attention strategy of the target forest monitoring area for the target forest monitoring area, and returning the fire risk observation attention strategy to the target monitoring request device;
[0023] comparing the periodic forest fire risk assessment score in the first monitoring period with the critical score;
[0024] If the periodic forest fire risk assessment score in the first monitoring cycle is less than the critical score, a zero intervention strategy is generated and the zero intervention strategy is returned to the target monitoring request device; the zero intervention strategy indicates that the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle does not require fire risk intervention, and the target forest monitoring area is regarded as a low-risk area;
[0025] If the periodic forest fire risk assessment score in the first monitoring cycle is not less than the critical score, the step of determining the fire risk intervention method of the target forest monitoring area and the fire risk intervention cost corresponding to the fire risk intervention method through the periodic forest fire risk assessment score in the first monitoring cycle is executed.
[0026] In some embodiments, determining the fire risk intervention method of the target forest monitoring area and the fire risk intervention cost corresponding to the fire risk intervention method by using the periodic forest fire risk assessment score in the first monitoring period includes:
[0027] Obtaining a fire risk intervention method matching relationship; the fire risk intervention method matching relationship includes a correspondence between a first-cycle forest fire risk assessment score and a matching intervention method; one first-cycle forest fire risk assessment score corresponds to one matching intervention method;
[0028] Determine the first period forest fire risk assessment score corresponding to the period forest fire risk assessment score in the first monitoring period as the first target period forest fire risk assessment score;
[0029] Determine the matching intervention method corresponding to the first target period forest fire risk assessment score in the fire risk intervention method matching relationship as the fire risk intervention method;
[0030] Acquire a matching relationship of adjustment variables; the matching relationship of adjustment variables includes a corresponding relationship between the second period forest fire risk assessment score and the matching adjustment variable; one second period forest fire risk assessment score corresponds to one matching adjustment variable;
[0031] Determine the second-cycle forest fire risk assessment score corresponding to the periodic forest fire risk assessment score in the first monitoring cycle as the second target periodic forest fire risk assessment score;
[0032] Determine the matching adjustment variable corresponding to the forest fire risk assessment score of the second target period of the adjustment variable matching relationship as the target adjustment variable;
[0033] An initial fire risk intervention cost corresponding to the fire risk intervention method is obtained, and the initial fire risk intervention cost is multiplied by the target adjustment variable to obtain the fire risk intervention cost.
[0034] In some embodiments, the method further comprises:
[0035] Obtaining the fire risk element description carrier of the target forest monitoring area in the second monitoring period, and the number of past fire warning point triggering times in the fire risk element description carrier in the second monitoring period;
[0036] Generate a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period according to the number of past fire warning point triggering times;
[0037] The initial forest fire risk assessment algorithm is debugged by using the fire risk element description carrier in the second monitoring cycle and the past prior forest fire risk assessment scores in the second monitoring cycle to obtain the forest fire risk assessment algorithm.
[0038] In some embodiments, generating the past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period according to the past fire warning point triggering times includes:
[0039] Obtaining the total number of fire warning point triggering times of multiple past forest monitoring areas in the second monitoring cycle; the multiple past forest monitoring areas are forest monitoring areas monitored in the second monitoring cycle; the multiple past forest monitoring areas include the target forest monitoring area;
[0040] Determine the number of forest monitoring areas corresponding to the multiple past forest monitoring areas, and determine the average number of fire warning point triggering times in the second monitoring period by using the total number of fire warning point triggering times and the number of forest monitoring areas;
[0041] The past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is determined by the past number of fire warning point triggering and the average number of fire warning point triggering.
[0042] In some embodiments, determining the past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period by using the past fire warning point triggering times and the average fire warning point triggering times includes:
[0043] Comparing the past number of fire warning point triggering times with the average number of fire warning point triggering times;
[0044] If the number of past fire warning point triggering times is not less than the average number of fire warning point triggering times, the first mark value is determined as the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; the first mark value is used to indicate that the fire risk monitoring state of the target forest monitoring area in the second monitoring cycle is a high-risk state;
[0045] If the number of past fire warning point triggering times is less than the average number of fire warning point triggering times, the second mark value is determined as the past prior forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; the second mark value is used to characterize that the fire risk monitoring status of the target forest monitoring area in the second monitoring cycle is a low-risk state.
[0046] In some embodiments, the initial forest fire risk assessment algorithm is debugged by using the fire risk element description carrier in the second monitoring period and the previous a priori forest fire risk assessment score in the second monitoring period to obtain the forest fire risk assessment algorithm, including:
[0047] Loading the fire risk element description carrier in the second monitoring cycle into the initial forest fire risk assessment algorithm, and inferring the inference period forest fire risk score of the target forest monitoring area in the second monitoring cycle through the initial algorithm parameter variables in the initial forest fire risk assessment algorithm and the fire risk element description carrier in the second monitoring cycle;
[0048] Determining an algorithm cost by using the inference period forest fire risk score in the second monitoring period and the previous prior forest fire risk assessment score in the second monitoring period;
[0049] The initial algorithm parameters are debugged by using the algorithm cost to obtain algorithm parameters, and the initial forest fire risk assessment algorithm including the algorithm parameters is determined as the forest fire risk assessment algorithm.
[0050] In a second aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the steps in the above-described method when executing the program.
[0051] The beneficial effects of this application include at least:
[0052] In an embodiment of the present application, an inferred periodic forest fire risk score of the target forest monitoring area in the first monitoring cycle is obtained by inferring the fire risk element description carrier of the target forest monitoring area in the second monitoring cycle and the fire risk element description carrier in the first monitoring cycle; then the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is obtained, and the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle can be determined through the inferred periodic forest fire risk score in the first monitoring cycle and the periodic forest fire risk assessment score in the second monitoring cycle; and the target periodic forest fire risk assessment score in the first monitoring cycle can be used to obtain the fire risk observation attention strategy of the target forest monitoring area in the first monitoring cycle. This application accurately determines the fire risk assessment score of the target forest monitoring area in the current monitoring cycle based on the fire risk element description carrier of the target forest monitoring area in the previous monitoring cycle and the fire risk element description carrier of the current monitoring cycle, and obtains an accurate inference cycle forest fire risk score; then based on the cycle forest fire risk assessment score in the previous monitoring cycle and the inference cycle forest fire risk score in the current monitoring cycle, an accurate cycle forest fire risk assessment score of the target forest monitoring area in the current monitoring cycle is obtained, and then based on the cycle forest fire risk assessment score, the target forest monitoring area's fire risk observation attention strategy for the target forest monitoring area is determined.
[0053] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0055] Figure 1 A schematic diagram of the implementation flow of a method for predicting forest fire risk levels based on machine learning provided in an embodiment of the present application.
[0056] Figure 2 A schematic diagram of the composition structure of a forest fire risk level prediction device provided in an embodiment of the present application.
[0057] Figure 3 A hardware entity diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0059] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific order for the objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.
[0061] The embodiment of the present application provides a method for predicting forest fire risk level based on machine learning, which can be executed by a processor of a computer device, wherein the computer device may refer to a device with data processing capability such as a server, a laptop, a tablet computer, a desktop computer, etc.
[0062] Figure 1 A schematic diagram of the implementation flow of a method for predicting forest fire risk levels based on machine learning provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method comprises the following steps:
[0063] Step S110, obtaining the fire risk element description carrier of the target forest monitoring area in the first monitoring cycle and the fire risk element description carrier in the second monitoring cycle; the second monitoring cycle is the previous monitoring cycle of the first monitoring cycle.
[0064] In an embodiment of the present application, the periodic forest fire risk assessment score of the target forest monitoring area can be determined according to a set monitoring period. For example, the monitoring period can be set to one hour, one day, etc., without specific limitation. Each period for determining the target forest monitoring area is regarded as a monitoring period. The first monitoring period is the monitoring period after the periodic forest fire risk assessment score has been determined, and the second monitoring period is the last monitoring period after the periodic forest fire risk assessment score has been determined. The first monitoring period can be understood as a proposed monitoring period, and the second monitoring period can be understood as a previous monitoring period before the proposed monitoring period.
[0065] The present application can determine the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle through the fire risk element description carrier of the target forest monitoring area in the first monitoring cycle (i.e., the intended monitoring cycle) and the fire risk element description carrier in the second monitoring cycle. The fire risk element description carrier is the fire risk intervention dependent resource data analyzed in the fire risk warning process, wherein the fire risk element description carrier of the target forest monitoring area in the first monitoring cycle can be understood as the intended monitoring fire risk element description carrier, and the fire risk element description carrier of the target forest monitoring area in the second monitoring cycle can be understood as the past fire risk element description carrier. Among them, the fire risk element description carrier of the target forest monitoring area in each monitoring cycle may include the travel fire risk element fire risk intervention dependent resource data of the target forest monitoring area in each monitoring cycle, and the fire risk element fire risk intervention dependent resource data may include meteorological data, vegetation data, terrain data, etc. of the target forest monitoring area, for example, meteorological data may include meteorological elements such as temperature, relative humidity, wind speed, wind direction, precipitation, etc. These data can provide information about weather conditions, which is very important for assessing the possibility of fire occurrence and the potential risk of fire spread. Vegetation data, for example, includes vegetation type, vegetation density, vegetation moisture content, etc. This data can help assess the combustibility of combustibles and how quickly a fire will spread. Topographic data can include terrain slope, aspect, altitude, etc. Topographic data is very important for assessing the direction and speed of fire spread and the possible paths a fire may travel.
[0066] The fire risk element description carrier of the target forest monitoring area in the first monitoring period and the second monitoring period may also include the above fire risk element and fire risk intervention dependent resource data of the target forest monitoring area in the first monitoring period.
[0067] Step S120, inferring the inference period forest fire risk score of the target forest monitoring area in the first monitoring period through the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period.
[0068] Inferring the inference cycle forest fire risk score of the target forest monitoring area in the first monitoring cycle through the fire risk element description carrier in the first monitoring cycle and the fire risk element description carrier in the second monitoring cycle can include: loading the fire risk element description carrier in the first monitoring cycle into the forest fire risk assessment algorithm; wherein the forest fire risk assessment algorithm is obtained by debugging the initial forest fire risk assessment algorithm based on the fire risk element description carrier in the second monitoring cycle and the past priori forest fire risk assessment score in the second monitoring cycle; the past priori forest fire risk assessment score in the second monitoring cycle is determined based on the number of past fire warning point triggering times in the fire risk element description carrier in the second monitoring cycle; then obtaining the algorithm parameter variables related to the second monitoring cycle in the forest fire risk assessment algorithm, and obtaining the parameter variable flip array corresponding to the algorithm parameter variables; then obtaining the description array (i.e., a feature matrix) corresponding to the fire risk element description carrier in the first monitoring cycle, performing array multiplication calculation on the description array and the parameter variable flip array, and thus obtaining the inference cycle forest fire risk score of the target forest monitoring area in the first monitoring cycle.
[0069] It should be noted that the fire risk element description carrier of the target forest monitoring area in the second monitoring cycle includes the fire risk monitoring information of the target forest monitoring area in the second monitoring cycle, and the fire risk monitoring information of the target forest monitoring area in the second monitoring cycle includes the number of times the target forest monitoring area reaches the critical ignition point in the second monitoring cycle. The number of times the target forest monitoring area reaches the critical ignition point in the second monitoring cycle can be understood as the number of past fire warning point triggers. The number of past fire warning point triggers in the fire risk element description carrier in the second monitoring cycle can be first obtained. The past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle can be determined through the past number of fire warning point triggers, for example, it can be represented by a forest fire risk assessment score label. Through the fire risk element description carrier in the second monitoring cycle and the past priori forest fire risk assessment score in the second monitoring cycle, the initial forest fire risk assessment algorithm can be debugged to obtain a forest fire risk assessment algorithm.
[0070] The initial forest fire risk assessment algorithm can be a machine learning algorithm that completes parameter initialization, such as a logistic regression algorithm, a SVM algorithm, a random forest algorithm, and the like. The initial forest fire risk assessment algorithm is debugged together with the fire risk element description carrier in the second monitoring cycle and the prior forest fire risk assessment score in the second monitoring cycle to obtain a forest fire risk assessment algorithm that can be used to infer the inference cycle forest fire risk score of the target forest monitoring area in the first monitoring cycle. Among them, the process of determining the past prior forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle through the number of past fire warning point triggers, and debugging the initial forest fire risk assessment algorithm together with the fire risk element description carrier in the second monitoring cycle and the past prior forest fire risk assessment score will be introduced later.
[0071] The formula for inferring the forest fire risk score of the target forest monitoring area in the first monitoring cycle is, for example:
[0072] D=F2·F1 T
[0073] Among them, F1 represents the algorithm parameter variables in the forest fire risk assessment algorithm obtained after debugging the initial forest fire risk assessment algorithm based on the fire risk factor description carrier of the second monitoring period; F1 T The flip array (also known as the transposed matrix) of F1, which represents the algorithm parameter; F2 represents the description carrier of the fire risk elements to be monitored in the first monitoring cycle; D represents the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle, which can be represented by a numerical value. It can be understood that a periodic forest fire risk assessment score belongs to a score interval, and each score interval corresponds to a fire risk level. The score interval to which the periodic forest fire risk assessment score belongs can be determined, and the corresponding relationship between the score interval and the fire risk level can be used to determine the corresponding fire risk level. For example, 0~10 points correspond to the 1st fire risk level, 11~20 points correspond to the 2nd fire risk level, 21~30 points correspond to the 3rd fire risk level, 31~40 points correspond to the 4th fire risk level, 41~50 points correspond to the 5th fire risk level, 51~60 points correspond to the 6th fire risk level, 61~70 points correspond to the 7th fire risk level, 71~80 points correspond to the 8th fire risk level, 81~90 points correspond to the 9th fire risk level, and 91~100 points correspond to the 10th fire risk level.
[0074] Step S130, obtain the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle, and determine the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle through the periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the fire risk observation attention strategy of the target forest monitoring area in the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the periodic forest fire risk assessment score of the target forest monitoring area in the third monitoring cycle together with the inference periodic forest fire risk score in the third monitoring cycle; the third monitoring cycle is the monitoring cycle after the first monitoring cycle; the inference periodic forest fire risk score in the third monitoring cycle is determined based on the fire risk element description carrier of the target forest monitoring area in the third monitoring cycle, and the fire risk element description carrier in the first monitoring cycle.
[0075] In an embodiment of the present application, in order to ensure the reliability of the periodic forest fire risk assessment score of the target forest monitoring area in each monitoring cycle, after determining the periodic forest fire risk assessment score of the target forest monitoring area in each monitoring cycle, the periodic forest fire risk assessment score can be uploaded to the blockchain and saved in the blockchain storage space. The periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is also saved in the corresponding storage space. After determining the inference periodic forest fire risk score of the target forest monitoring area in the first monitoring cycle, the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle in the storage space is obtained. The periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle can be used together to determine the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle.
[0076] Determining the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle by using the periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle includes: obtaining a first influence coefficient parameter variable (which can be understood as a weight variable) corresponding to the periodic forest fire risk assessment score in the second monitoring cycle, and a second influence coefficient parameter variable (which can be understood as a weight variable) corresponding to the inference periodic forest fire risk score in the first monitoring cycle; multiplying the periodic forest fire risk assessment score in the second monitoring cycle by the first influence coefficient parameter variable to obtain a first multiplied periodic forest fire risk assessment score; multiplying the inference periodic forest fire risk score in the first monitoring cycle by the second influence coefficient parameter variable to obtain a second multiplied periodic forest fire risk assessment score; adding the first multiplied periodic forest fire risk assessment score to the second multiplied periodic forest fire risk assessment score to obtain the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle.
[0077] The first influence coefficient parameter and the second influence coefficient parameter are values set in advance as needed. For example, the first influence coefficient parameter and the second influence coefficient parameter are both set to 1. Then, after the forest fire risk assessment algorithm is used to obtain the inference cycle forest fire risk score in the first monitoring cycle, the inference cycle forest fire risk score in the first monitoring cycle is added to the periodic forest fire risk assessment score in the second monitoring cycle to obtain the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle. Among them, the first influence coefficient parameter and the second influence coefficient parameter can also be parameters obtained based on machine learning debugging.
[0078] It should be understood that the periodic forest fire risk assessment score of the target forest monitoring area in each monitoring cycle can be used to determine the target forest monitoring area's fire risk observation attention strategy for the target forest monitoring area during its corresponding monitoring cycle (for example, the monitoring methods that need to be invested, such as drone aerial photography, manual confirmation, remote sensing photography, etc.; intervention methods, such as adding water to the target area, artificial rainfall, digging fire-blocking channels, etc.; investment costs, etc.); if the target forest monitoring area has a fire risk confirmation command at a time node in a proposed monitoring cycle (such as the first monitoring cycle), then the monitoring cycle composed of the start time of the proposed monitoring cycle to the time node is regarded as a proposed monitoring sub-monitoring cycle. Since the monitoring cycle after the time node is a future monitoring cycle, the target forest monitoring area does not have a fire risk element description carrier yet. The obtained proposed monitoring fire risk element description carrier of the target forest monitoring area in the proposed monitoring cycle is the fire risk element description carrier of the target forest monitoring area in the proposed monitoring sub-monitoring cycle. The periodic forest fire risk assessment score determined based on the fire risk element description carrier in the proposed monitoring sub-monitoring cycle corresponds to the proposed monitoring sub-monitoring cycle. Since the proposed monitoring sub-monitoring period is the proposed monitoring period, the periodic forest fire risk assessment score can be understood as the periodic forest fire risk assessment score in the proposed monitoring period, and the periodic forest fire risk assessment score corresponding to the proposed monitoring sub-monitoring period can be linked to the storage space. When the time node reaches the maximum time node corresponding to the proposed monitoring period (such as the first monitoring period), all fire risk element description carriers of the target forest monitoring area in the proposed monitoring period are obtained again to determine the total forest fire risk assessment score of the target forest monitoring area in the proposed monitoring period (which can be understood as the periodic forest fire risk assessment score in the proposed monitoring period), and then the total forest fire risk assessment score is linked to the storage space. When determining the periodic forest fire risk assessment score of the next monitoring period (such as the third monitoring period) in the proposed monitoring period, the total forest fire risk assessment score in the proposed monitoring period is used to determine, instead of using the periodic forest fire risk assessment score corresponding to the above proposed monitoring sub-monitoring period to determine.
[0079] It can be understood that the periodic forest fire risk assessment score of the target forest monitoring area in each monitoring cycle can be used to determine the target forest monitoring area's fire risk observation attention strategy for the target forest monitoring area during its corresponding monitoring cycle. The periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle can also be used to determine the target forest monitoring area's fire risk observation attention strategy for the target forest monitoring area during the first monitoring cycle. Among them, the fire risk observation attention strategy may include input monitoring methods, such as drone aerial photography, manual confirmation, remote sensing photography, etc.; intervention methods, such as adding water to the target area, artificial rainfall, and digging fire-blocking channels; input costs, etc. It should be noted that the present application can provide a dynamic real-time adjustment mechanism, that is, the target periodic forest fire risk assessment score of the target forest monitoring area can be adjusted according to the current corresponding cost adjustment variable and the corresponding monitoring or intervention method allocation.
[0080] The following takes the fire risk observation attention strategy including the monitoring intervention method and the monitoring intervention cost as an example to introduce the process of determining the fire risk observation attention strategy of the target forest monitoring area in the first monitoring cycle through the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle. For example, it includes: in the first monitoring cycle, obtaining the fire risk warning instruction sent by the target monitoring request device; wherein the target monitoring request device can be the device corresponding to the target forest monitoring area; through the fire risk warning instruction, obtaining the periodic forest fire risk assessment score in the first monitoring cycle in the storage space, and determining the fire risk intervention method of the target forest monitoring area and the fire risk intervention cost (which can be understood as the monitoring intervention cost) corresponding to the fire risk intervention method through the periodic forest fire risk assessment score in the first monitoring cycle; then, the fire risk intervention method and the fire risk intervention cost are both used as the fire risk observation attention strategy of the target forest monitoring area for the target forest monitoring area, and the fire risk observation attention strategy is returned to the target monitoring request device. It should be noted that if the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle is too low, there is no need to intervene in the target forest monitoring area, and the target forest monitoring area corresponds to a zero intervention strategy in the first monitoring cycle, saving costs. Specifically, it includes: comparing the periodic forest fire risk assessment score in the first monitoring cycle with the critical score; if the periodic forest fire risk assessment score in the first monitoring cycle is less than the critical score, a zero intervention strategy is generated, and the zero intervention strategy is returned to the target monitoring request device; wherein, the zero intervention strategy indicates that the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle does not require fire risk intervention, and the target forest monitoring area is regarded as a low-risk area; if the periodic forest fire risk assessment score in the first monitoring cycle is not less than the critical score, the above steps of determining the fire risk intervention method of the target forest monitoring area through the periodic forest fire risk assessment score in the first monitoring cycle, and the fire risk intervention cost corresponding to the fire risk intervention method are executed.
[0081] After the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle is greater than the critical score, the fire risk intervention method of the target forest monitoring area and the fire risk intervention cost corresponding to the fire risk intervention method can be determined according to the periodic forest fire risk assessment score in the first monitoring cycle, including: obtaining a fire risk intervention method matching relationship; wherein the fire risk intervention method matching relationship is, for example, a mapping table, which may include a corresponding relationship between the first period forest fire risk assessment score and the matching intervention method; one first period forest fire risk assessment score corresponds to one matching intervention method (it can be understood that the periodic forest fire risk assessment scores in the same interval correspond to the same Matching intervention methods, there is no limit on the interval setting, for example, 10~20, 21~30, 31~40, etc. are respectively regarded as an interval, and the matching intervention method corresponding to the periodic forest fire risk assessment score in each interval is the same); then the first period forest fire risk assessment score corresponding to the periodic forest fire risk assessment score in the first monitoring period is determined as the first target period forest fire risk assessment score; the matching intervention method corresponding to the first target period forest fire risk assessment score in the fire risk intervention method matching relationship is determined as the fire risk intervention method; the fire risk intervention cost can be determined through the periodic forest fire risk assessment score in the first monitoring period and the fire risk intervention method.
[0082] Among them, determining the fire risk intervention cost through the periodic forest fire risk assessment score and the fire risk intervention method in the first monitoring cycle specifically includes: obtaining the matching relationship of the adjustment variable; wherein the adjustment variable matching relationship includes the corresponding relationship between the second period forest fire risk assessment score and the matching adjustment variable; one second period forest fire risk assessment score corresponds to one matching adjustment variable (because the periodic forest fire risk assessment score corresponds to the corresponding matching intervention method, different matching intervention methods have different costs, and different matching intervention methods may have different matching adjustment variables at different times, so one second period forest fire risk assessment score corresponds to one matching adjustment variable. It can be understood that here the second period forest fire risk assessment score in the same numerical range corresponds to the same matching adjustment variable); determining the second period forest fire risk assessment score corresponding to the periodic forest fire risk assessment score in the first monitoring cycle as the second target period forest fire risk assessment score; determining the matching adjustment variable corresponding to the second target period forest fire risk assessment score in the adjustment variable matching relationship as the target adjustment variable; obtaining the initial fire risk intervention cost corresponding to the fire risk intervention method, multiplying the initial fire risk intervention cost by the target adjustment variable to obtain the final fire risk intervention cost. The purpose of setting the adjustment variable is that the resources that fire risk intervention depends on (such as the on-the-job status of personnel, the urgency of the incident, the amount of stock resources, etc.) may be different in different time periods. At this time, the same intervention method may incur different costs. For example, the cost when stock resources are scarce is higher than the cost when stock resources are sufficient.
[0083] Specifically, in the first monitoring cycle, the matching adjustment variable can be determined by the following process, including:
[0084] Step S1, obtaining reference fire risk intervention dependent resource data of the target forest monitoring area; the reference fire risk intervention dependent resource data is used as reference information in the matching adjustment variable prediction task.
[0085] When it is necessary to predict the corresponding matching adjustment variable for the target forest monitoring area, it is necessary to obtain the reference fire risk intervention dependent resource data of the target forest monitoring area, so as to perform the matching adjustment variable prediction task for the target forest monitoring area based on the reference fire risk intervention dependent resource data. As mentioned above, the fire risk intervention dependent resource data includes the on-the-job status of personnel (which can be included in the number of people on the job, the current idle status of personnel), the urgency of the event (for example, the time required for response, the shorter the time, the higher the corresponding urgency, for example, a mapping relationship between the response demand time and the urgency can be set), the amount of stock resources (such as the number of materials, the scheduling cost), etc. It can be understood that the above data may be different for different intervention methods. For example, when using artificial rainfall and regional watering intervention methods, the required resources are different, and the corresponding stock resources are different, and the dependent processing personnel on-the-job status and the number of people on the job are also different. It can be understood that the non-continuous data in the above data, such as the idle state in the on-the-job status, can be encoded into continuous values by unique hot encoding to participate in the subsequent neural network processing process.
[0086] Step S2, using the u component variable intervals included in the multi-interval carrier extraction component in the matching adjustment variable prediction network, deep description carrier mining is performed based on the reference fire risk intervention dependent resource data to obtain u interval execution description carriers; u is greater than 1, and in the training phase of the matching adjustment variable prediction network, the u component variable intervals are respectively used to learn the implicit description carriers of the fire risk intervention dependent resource data corresponding to different matching adjustment variable intervals.
[0087] After obtaining the reference fire risk intervention dependent resource data of the target forest monitoring area, the reference fire risk intervention dependent resource data is input into the trained matching adjustment variable prediction network. The multi-interval carrier extraction component in the matching adjustment variable prediction network uses deep description carrier mining on the loaded reference fire risk intervention dependent resource data. The deep description carrier is a deep feature representation of the data. The carrier can be in the form of a vector, that is, the deep description carrier mining can be a deep feature vector. Multiple interval execution description carriers are obtained. Specifically, the matching adjustment variable prediction network includes u parallel component variable intervals. The u component variable intervals are simultaneously mined for deep description carriers based on the reference fire risk intervention dependent resource data, and u interval execution description carriers will be obtained accordingly.
[0088] The matching adjustment variable prediction network can perform classification and regression. The matching adjustment variable prediction network is used to perform matching adjustment variable prediction and determine the matching adjustment variables of different intervention methods in the target forest monitoring area. The matching adjustment variable prediction network includes a multi-interval carrier extraction component, an interval training adjustment control, and an inference component. Among them, the multi-interval carrier extraction component is used to perform deep description carrier mining on the reference fire risk intervention dependent resource data input into the matching adjustment variable prediction network. The multi-interval carrier extraction component includes u component variable intervals, namely component variable interval 1, component variable interval 2, component variable interval 3, ..., component variable interval u; in the training phase of the matching adjustment variable prediction network, the u component variable intervals are used to learn the implicit description carriers of the fire risk intervention dependent resource data corresponding to different matching adjustment variable intervals, and the matching adjustment variable intervals corresponding to the fire risk intervention dependent resource data learned by each of the u component variable intervals cover all values of the matching adjustment variable. For example, if u=5 and the numerical interval of the matching adjustment variable ∈ (0,10), then component variable interval 1 learns the implicit description carrier of the fire risk intervention dependent resource data corresponding to the matching adjustment variable with a value of (0.1, 1), component variable interval 2 learns the implicit description carrier of the fire risk intervention dependent resource data corresponding to the matching adjustment variable with a value of (1, 2), component variable interval 3 learns the implicit description carrier of the fire risk intervention dependent resource data corresponding to the matching adjustment variable with a value of (2, 3), component variable interval 4 learns the implicit description carrier of the fire risk intervention dependent resource data corresponding to the matching adjustment variable with a value of (3, 5), and component variable interval 5 learns the implicit description carrier of the fire risk intervention dependent resource data corresponding to the matching adjustment variable with a value of (5, 10).
[0089] It can be understood that in the training phase of the matching adjustment variable prediction network, the number of fire risk intervention dependent resource data learned by each component variable interval in the multi-interval carrier extraction component is roughly the same, ensuring that the deep description carrier mining capabilities of each component variable interval are balanced. The number of component variable intervals included in the multi-interval carrier extraction component can be different, and the matching adjustment variable intervals corresponding to the fire risk intervention dependent resource data learned by each component variable interval can be different.
[0090] In a feasible design, the u component variable intervals included in the multi-interval carrier extraction component in the matching adjustment variable prediction network are used to perform deep description carrier mining based on the reference fire risk intervention dependent resource data to obtain u interval execution description carriers. The backbone operator (backbone network) in the multi-interval carrier extraction component is used to perform description carrier mining processing based on the reference fire risk intervention dependent resource data to obtain the reference loading description carrier. Then, each component variable interval in the multi-interval carrier extraction component is used to perform deep description carrier mining on the reference loading description carrier to obtain the interval execution description carrier corresponding to each component variable interval.
[0091] The multi-interval carrier extraction component in the matching adjustment variable prediction network includes a backbone operator and u component variable intervals (which can be understood as channels, such as component variable interval 1, component variable interval 2, component variable interval 3...component variable interval u).
[0092] When the multi-interval carrier extraction component performs deep description carrier mining on the input reference fire risk intervention dependent resource data a, the backbone operator is first used to perform description carrier mining processing on the reference fire risk intervention dependent resource data a to obtain the reference loading description carrier b for processing each component variable interval. The reference loading description carrier b is used to express the information of the reference fire risk intervention dependent resource data a in a normalized carrier. For each component variable interval in the multi-interval carrier extraction component, the reference loading description carrier c is respectively subjected to deep description carrier mining, thereby obtaining the interval execution description carrier g output by each component variable interval, that is, obtaining the interval execution description carrier g1, interval execution description carrier g2, interval execution description carrier g3...interval execution description carrier fu.
[0093] Step S3, using the interval training adjustment control in the matching adjustment variable prediction network, and determining the importance variables corresponding to u interval execution description carriers respectively according to the reference fire risk intervention dependent resource data.
[0094] After obtaining the reference fire risk intervention dependent resource data of the target forest monitoring area, the reference fire risk intervention dependent resource data is input into the trained matching adjustment variable prediction network. The interval training adjustment control in the matching adjustment variable prediction network analyzes the reference fire risk intervention dependent resource data and outputs the importance variables corresponding to the above u interval execution description carriers, and the importance variable is a weight.
[0095] The matching adjustment variable prediction network of the embodiment of the present application includes an interval training adjustment control, which is used to predict the probability of the reference fire risk intervention dependent resource data corresponding to each matching adjustment variable interval (each matching adjustment variable interval, i.e., the matching adjustment variable interval corresponding to the fire risk intervention dependent resource data learned by each u component variable interval) based on the input reference fire risk intervention dependent resource data, and the probability of the reference fire risk intervention dependent resource data belonging to each matching adjustment variable interval, i.e., the importance variable corresponding to the interval execution description carrier output by each of the u component variable intervals.
[0096] In a feasible design, the interval training adjustment control in the matching adjustment variable prediction network is used to determine the importance variables corresponding to the u interval execution description carriers according to the reference fire risk intervention dependent resource data: the fully connected neural network in the interval training adjustment control is used to determine the classification description carrier according to the reference fire risk intervention dependent resource data, and the classification description carrier includes u dimensions of attention data, and the u dimensions of attention data correspond to u interval execution description carriers one by one. The normalization component (such as Softmax) in the interval training adjustment control is used to normalize the classification description carrier to obtain a normalized classification description carrier, which includes the importance variables corresponding to the u interval execution description carriers.
[0097] The interval training adjustment control in the matching adjustment variable prediction network includes a fully connected neural network and a normalization component. When the interval training adjustment control determines u importance variables based on the reference fire risk intervention dependent resource data, the reference fire risk intervention dependent resource data a can be processed by a fully connected neural network to obtain a classification description vector v; the classification description vector v is a feature vector with a dimension of u, each dimension contains attention data corresponding to different interval execution description vectors, and the attention data is used to characterize the importance of the corresponding interval execution description vector, in other words, characterizes the probability of the matching adjustment variable interval corresponding to the component variable interval of the reference fire risk intervention dependent resource data corresponding to the output interval execution description vector. Generally speaking, the u-dimensional data in the classification description vector v cannot be used as the importance variable corresponding to the u interval execution description vectors, so the normalization component is used to normalize it into a normalized classification description vector, which includes u dimensions, the sum of which is equal to 1, and each dimension data is an importance variable (weight) corresponding to an interval execution description vector.
[0098] By using interval training adjustment controls, the importance variables corresponding to u interval execution description carriers are determined according to the reference fire risk intervention dependent resource data, which can ensure that the determined importance variables accurately reflect the probability that the reference fire risk intervention dependent resource data corresponds to each matching adjustment variable interval, thereby improving the reliability of the prediction results of the determined matching adjustment variables.
[0099] Step S4, using the reasoning component in the matching adjustment variable prediction network, determines the target embedded description vector corresponding to the target forest monitoring area according to the u interval execution description vectors and their corresponding importance variables; and determines the matching adjustment variable prediction result corresponding to the target forest monitoring area according to the target embedded description vector.
[0100] After using the multi-interval carrier extraction component in the matching adjustment variable prediction network to obtain u interval execution description carriers, and using the interval training adjustment control in the matching adjustment variable prediction network to obtain the importance variables corresponding to the u interval execution description carriers, the u interval execution description carriers and the importance variables corresponding to them can be further input into the reasoning component in the matching adjustment variable prediction network. The reasoning component can determine the target embedded description carrier corresponding to the target forest monitoring area based on the u interval execution description carriers and the importance variables corresponding to them, and determine the matching adjustment variable prediction result corresponding to the target forest monitoring area based on the target embedded description carrier. The matching adjustment variable prediction result represents the matching adjustment variable of the target forest monitoring area.
[0101] In a feasible design, the reasoning component in the matching adjustment variable prediction network is used to determine the target embedded description carrier corresponding to the target forest monitoring area according to the u interval execution description carriers and the importance variables respectively corresponding thereto, and the matching adjustment variable prediction result corresponding to the target forest monitoring area is determined according to the target embedded description carrier. The description carrier fusion operator in the reasoning component can be used to fuse the u interval execution description carriers according to the importance variables respectively corresponding to the u interval execution description carriers to obtain the target embedded description carrier. The fully connected neural network in the reasoning component is used to determine the matching adjustment variable prediction result corresponding to the target forest monitoring area according to the target embedded description carrier.
[0102] In fact, the description carrier fusion operator can obtain the u interval execution description carriers output by the multi-interval carrier extraction component and the importance variables corresponding to the u interval execution description carriers output by the interval training adjustment control. Then, the description carrier fusion operator fuses the u interval execution description carriers according to the importance variables corresponding to the u interval execution description carriers to obtain the target embedded description carrier. Then, the target embedded description carrier is input into the fully connected neural network, and the fully connected neural network processes the input target embedded description carrier and outputs the matching adjustment variable prediction result corresponding to the target forest monitoring area.
[0103] The reasoning component is used to determine the prediction results of the matching adjustment variables corresponding to the target forest monitoring area. According to the importance variables determined by the interval training adjustment control, the u interval execution description vectors output by the multi-interval vector extraction component can be fused to obtain the target embedded description vector that accurately reflects the matching adjustment variables of the target forest monitoring area; the matching adjustment variable prediction results are determined based on the target embedded description vector, which can ensure the reliability of the determined matching adjustment variable prediction results.
[0104] In summary, when determining the matching adjustment variable, by integrating the ideas of classification and regression, firstly, based on the multi-interval carrier extraction component and the interval training adjustment control of the classification method of the matching adjustment variable prediction network, according to the reference fire risk intervention dependent resource data of the target forest monitoring area, determine the u interval execution description carriers and the importance variables corresponding to the u interval execution description carriers; because the u component variable intervals in the multi-interval carrier extraction component can learn the implicit description carriers of the fire risk intervention dependent resource data corresponding to different matching adjustment variable intervals during the network training stage, the reference fire risk intervention dependent resource data of the target forest monitoring area must correspond to one of the matching adjustment variable intervals, then the multi-interval carrier extraction component has at least one component variable interval that can accurately mine the reference fire risk intervention dependent resource data to obtain the implicit description carrier (i.e., interval execution description carrier) that can be referenced for predicting the matching adjustment variable. Then, based on the importance variables output by the interval training adjustment control, the high reference ability interval execution description carrier is weighted with a high weight, and the low reference ability interval execution description carrier is weighted with a low weight, so as to obtain the target embedded description carrier corresponding to the target forest monitoring area, and the target embedded description carrier can accurately reflect the adjustment variable of the target forest monitoring area. Determining the prediction results of the matching adjustment variables corresponding to the target forest monitoring area based on the target embedding description carrier can ensure the reliability of the prediction results of the matching adjustment variables. It can overcome the problems of data imbalance and sparse data of the matching adjustment variables and increase the reliability of the prediction results of the matching adjustment variables.
[0105] In an embodiment of the present application, an inferred periodic forest fire risk score of the target forest monitoring area in the first monitoring cycle is obtained by inferring the fire risk element description carrier of the target forest monitoring area in the second monitoring cycle and the fire risk element description carrier in the first monitoring cycle; then the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is obtained, and the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle can be determined through the inferred periodic forest fire risk score in the first monitoring cycle and the periodic forest fire risk assessment score in the second monitoring cycle; and the target periodic forest fire risk assessment score in the first monitoring cycle can be used to obtain the fire risk observation attention strategy of the target forest monitoring area in the first monitoring cycle. This application accurately determines the fire risk assessment score of the target forest monitoring area in the current monitoring cycle based on the fire risk element description carrier of the target forest monitoring area in the previous monitoring cycle and the fire risk element description carrier of the current monitoring cycle, and obtains an accurate inference cycle forest fire risk score; then based on the cycle forest fire risk assessment score in the previous monitoring cycle and the inference cycle forest fire risk score in the current monitoring cycle, an accurate cycle forest fire risk assessment score of the target forest monitoring area in the current monitoring cycle is obtained, and then based on the cycle forest fire risk assessment score, the target forest monitoring area's fire risk observation attention strategy for the target forest monitoring area is determined.
[0106] The present application also provides an algorithm debugging process, including steps S210 to S230:
[0107] Step S210, obtaining the fire risk element description carrier of the target forest monitoring area in the second monitoring period, and the number of past fire warning point triggering times in the fire risk element description carrier in the second monitoring period.
[0108] In the embodiment of the present application, the explanation of the second monitoring period, the fire risk element description carrier in the second monitoring period, and the number of times the fire warning point has been triggered in the past refers to the above.
[0109] Step S220, generating a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle according to the number of past fire warning point triggering times.
[0110] For generating the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle through the past fire warning point triggering times, it includes: the total fire warning point triggering times of multiple past forest monitoring areas in the second monitoring cycle can be obtained; wherein, the multiple past forest monitoring areas are forest monitoring areas monitored in the second monitoring cycle; and the multiple past forest monitoring areas include the target forest monitoring area; then the number of forest monitoring areas corresponding to the multiple past forest monitoring areas can be determined, and the average number of fire warning point triggering times in the second monitoring cycle can be determined through the total number of fire warning point triggering times and the number of forest monitoring areas; the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle can be determined through the past number of fire warning point triggering times and the average number of fire warning point triggering times.
[0111] Among them, the process of determining the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle by comparing the past number of fire warning point triggers with the average number of fire warning point triggers includes: comparing the past number of fire warning point triggers with the average number of fire warning point triggers; if the past number of fire warning point triggers is not less than the average number of fire warning point triggers, determining the first mark value as the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; wherein the first mark value is used to characterize that the fire risk monitoring status of the target forest monitoring area in the second monitoring cycle is a high-risk state; and if the past number of fire warning point triggers is less than the average number of fire warning point triggers, determining the second mark value as the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; wherein the second mark value is used to characterize that the fire risk monitoring status of the target forest monitoring area in the second monitoring cycle is a low-risk state.
[0112] It should be noted that the above multiple past forest monitoring areas are areas where fire risk monitoring is carried out in the second monitoring cycle; the embodiment of the present application can obtain the number of fire warning point triggering times in these areas, that is, the total number of fire warning point triggering times above. For example, area 1 occurs once in the second monitoring cycle, area 2 occurs once in the second monitoring cycle, and area 3 occurs once in the second monitoring cycle, then the total number of fire warning point triggering times is 3. The average number of fire warning point triggering times in the second monitoring cycle is determined by the total number of fire warning point triggering times in all areas and the total number of areas. If the past number of fire warning point triggering times in the target forest monitoring area is not less than the average number of fire warning point triggering times, the past priori forest fire risk assessment score of the target forest monitoring area is recorded as 0 (first marking value); if the number of fire warning point triggering times in the target forest monitoring area is less than the average number of fire warning point triggering times, the past priori forest fire risk assessment score of the target forest monitoring area is marked as 1 (second marking value).
[0113] Step S230, debugging the initial forest fire risk assessment algorithm through the fire risk element description carrier in the second monitoring cycle and the past prior forest fire risk assessment score in the second monitoring cycle to obtain a forest fire risk assessment algorithm.
[0114] In an embodiment of the present application, the initial forest fire risk assessment algorithm is debugged through the fire risk element description carrier in the second monitoring cycle and the past prior forest fire risk assessment score in the second monitoring cycle to obtain the forest fire risk assessment algorithm, including: loading the fire risk element description carrier in the second monitoring cycle into the initial forest fire risk assessment algorithm, and inferring the inference cycle forest fire risk score of the target forest monitoring area in the second monitoring cycle through the initial algorithm parameters in the initial forest fire risk assessment algorithm and the fire risk element description carrier in the second monitoring cycle; determining the algorithm cost through the inference cycle forest fire risk score in the second monitoring cycle and the past prior forest fire risk assessment score; debugging the initial algorithm parameters through the algorithm cost to obtain the algorithm parameters, and determining the initial forest fire risk assessment algorithm including the algorithm parameters as the forest fire risk assessment algorithm.
[0115] It should be noted that if the algorithm cost indicates that the algorithm has not converged, the initial algorithm parameters are adjusted according to the algorithm cost; if the algorithm cost indicates that the algorithm has converged, debugging is stopped, the initial algorithm parameters at this time are determined as the target algorithm parameters, and the initial forest fire risk assessment algorithm including the algorithm parameters is determined as the final forest fire risk assessment algorithm.
[0116] The embodiment of the present application debugs the forest fire risk assessment algorithm through the fire risk element description carrier in the second monitoring cycle, so that the forest fire risk assessment algorithm can accurately infer the inference cycle forest fire risk score corresponding to the first monitoring cycle, and obtain the accurate periodic forest fire risk assessment score in the first monitoring cycle based on the accurate inference cycle forest fire risk score in the first monitoring cycle. Then, the target forest monitoring area is determined based on the periodic forest fire risk assessment score to observe the fire risk of the target forest monitoring area.
[0117] Based on the foregoing embodiments, the embodiments of the present application provide a forest fire risk level prediction device, and the various units included in the device, and the various modules included in each unit, can be implemented by a processor in a computer device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0118] Figure 2 A schematic diagram of the structure of a forest fire risk level prediction device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the forest fire risk level prediction device 200 includes:
[0119] The data acquisition module 210 is used to acquire the fire risk element description carrier of the target forest monitoring area in the first monitoring period and the fire risk element description carrier in the second monitoring period; the second monitoring period is the monitoring period before the first monitoring period;
[0120] The fire risk prediction module 220 is used to infer the inference period forest fire risk score of the target forest monitoring area in the first monitoring period through the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period;
[0121] The fire risk determination module 230 is used to obtain the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle, and determine the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle through the periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the fire risk observation attention strategy of the target forest monitoring area within the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the periodic forest fire risk assessment score of the target forest monitoring area in the third monitoring cycle together with the inference periodic forest fire risk score in the third monitoring cycle; the third monitoring cycle is the monitoring cycle after the first monitoring cycle; the inference periodic forest fire risk score in the third monitoring cycle is determined based on the fire risk element description carrier of the target forest monitoring area in the third monitoring cycle, and the fire risk element description carrier in the first monitoring cycle.
[0122] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0123] It should be noted that in the embodiment of the present application, if the above-mentioned method for predicting forest fire risk level based on machine learning is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0124] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
[0125] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0126] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
[0127] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.
[0128] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0129] Figure 3 A hardware entity diagram of a computer device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the hardware entity of the computer device 1000 includes: a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can be run on the processor 1001, and the processor 1001 implements the steps in the method of any of the above embodiments when executing the program.
[0130] The memory 1002 stores computer programs that can be run on the processor. The memory 1002 is configured to store instructions and applications executable by the processor 1001. It can also cache data to be processed or processed by the processor 1001 and various modules in the computer device 1000 (for example, image data, audio data, voice communication data, and video communication data). This can be achieved through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0131] When the processor 1001 executes the program, the steps of any of the above methods for predicting forest fire risk levels based on machine learning are implemented. The processor 1001 generally controls the overall operation of the computer device 1000.
[0132] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the method for predicting forest fire risk levels based on machine learning as in any of the above embodiments.
[0133] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding. The above processor can be at least one of a target application integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It can be understood that the electronic device that realizes the above processor function can also be other, and the embodiments of the present application are not specifically limited.
[0134] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0135] It should be understood that the "one embodiment" or "one embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" appearing in various places throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence number of the embodiment of the present application is only for description and does not represent the advantages and disadvantages of the embodiment. It should be noted that, in this article, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.
[0136] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0137] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0138] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0139] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0140] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0141] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A method for predicting forest fire risk level based on machine learning, characterized in that: include: Obtaining a fire risk element description carrier of the target forest monitoring area in a first monitoring cycle and a fire risk element description carrier in a second monitoring cycle; the second monitoring cycle is a monitoring cycle before the first monitoring cycle; wherein the fire risk element description carrier is fire risk intervention dependent resource data analyzed in the fire risk early warning process; Inferring the inference period forest fire risk score of the target forest monitoring area in the first monitoring period through the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period; Obtain the periodic forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle, and determine the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle through the periodic forest fire risk assessment score in the second monitoring cycle and the inference periodic forest fire risk score in the first monitoring cycle; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the fire risk observation attention strategy of the target forest monitoring area for the target forest monitoring area during the first monitoring cycle; the fire risk observation attention strategy includes at least one of the monitoring method, intervention method, and investment cost required; the periodic forest fire risk assessment score in the first monitoring cycle is used to determine the periodic forest fire risk assessment score of the target forest monitoring area in the third monitoring cycle together with the inference periodic forest fire risk score in the third monitoring cycle; the third monitoring cycle is the monitoring cycle after the first monitoring cycle; the inference periodic forest fire risk score in the third monitoring cycle is determined based on the fire risk element description carrier of the target forest monitoring area in the third monitoring cycle and the fire risk element description carrier in the first monitoring cycle; The inferring the inference period forest fire risk score of the target forest monitoring area in the first monitoring period by using the fire risk element description carrier in the first monitoring period and the fire risk element description carrier in the second monitoring period includes: The fire risk element description carrier in the first monitoring period is loaded into the forest fire risk assessment algorithm; the forest fire risk assessment algorithm is obtained by debugging the initial forest fire risk assessment algorithm based on the fire risk element description carrier in the second monitoring period and the past priori forest fire risk assessment score in the second monitoring period; the past priori forest fire risk assessment score in the second monitoring period is determined based on the number of past fire warning point triggers in the fire risk element description carrier in the second monitoring period; Obtaining algorithm parameter variables related to the second monitoring period in the forest fire risk assessment algorithm, and obtaining a parameter variable flip array corresponding to the algorithm parameter variables; Obtaining a description array corresponding to the fire risk element description carrier in the first monitoring cycle, performing array multiplication calculation on the description array and the parameter variable flip array, and obtaining the inference cycle forest fire risk score of the target forest monitoring area in the first monitoring cycle; Determining the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle by using the periodic forest fire risk assessment score in the second monitoring cycle and the inferred periodic forest fire risk score in the first monitoring cycle includes: Obtaining a first influence coefficient parameter corresponding to the periodic forest fire risk assessment score in the second monitoring period, and a second influence coefficient parameter corresponding to the reasoning periodic forest fire risk score in the first monitoring period; Multiplying the periodic forest fire risk assessment score in the second monitoring period by the first influence coefficient parameter to obtain a first multiplied periodic forest fire risk assessment score; Multiplying the inference period forest fire risk score in the first monitoring period by the second impact coefficient parameter variable to obtain a second multiplied period forest fire risk assessment score; The first multiplied periodic forest fire risk assessment score and the second multiplied periodic forest fire risk assessment score are added to obtain the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring period.
2. The method according to claim 1, characterized in that The method further comprises: In the first monitoring cycle, receiving a fire risk warning instruction sent by a target monitoring request device; the target monitoring request device is a device corresponding to the target forest monitoring area; Obtaining, in the storage space, a periodic forest fire risk assessment score in the first monitoring period through the fire risk warning instruction, and determining a fire risk intervention method in the target forest monitoring area and a fire risk intervention cost corresponding to the fire risk intervention method through the periodic forest fire risk assessment score in the first monitoring period; Using the fire risk intervention mode and the fire risk intervention cost as the fire risk observation attention strategy of the target forest monitoring area for the target forest monitoring area, and returning the fire risk observation attention strategy to the target monitoring request device; comparing the periodic forest fire risk assessment score in the first monitoring period with the critical score; If the periodic forest fire risk assessment score in the first monitoring cycle is less than the critical score, a zero intervention strategy is generated and the zero intervention strategy is returned to the target monitoring request device; the zero intervention strategy indicates that the periodic forest fire risk assessment score of the target forest monitoring area in the first monitoring cycle does not require fire risk intervention, and the target forest monitoring area is regarded as a low-risk area; If the periodic forest fire risk assessment score in the first monitoring cycle is not less than the critical score, the step of determining the fire risk intervention method of the target forest monitoring area and the fire risk intervention cost corresponding to the fire risk intervention method through the periodic forest fire risk assessment score in the first monitoring cycle is executed.
3. The method according to claim 2, characterized in that The determining of the fire risk intervention method of the target forest monitoring area by the periodic forest fire risk assessment score in the first monitoring period, and the fire risk intervention cost corresponding to the fire risk intervention method, includes: Obtaining a fire risk intervention method matching relationship; the fire risk intervention method matching relationship includes a correspondence between a first-cycle forest fire risk assessment score and a matching intervention method; one first-cycle forest fire risk assessment score corresponds to one matching intervention method; Determine the first period forest fire risk assessment score corresponding to the period forest fire risk assessment score in the first monitoring period as the first target period forest fire risk assessment score; Determine the matching intervention method corresponding to the first target period forest fire risk assessment score in the fire risk intervention method matching relationship as the fire risk intervention method; Acquire a matching relationship of adjustment variables; the matching relationship of adjustment variables includes a corresponding relationship between the second period forest fire risk assessment score and the matching adjustment variable; one second period forest fire risk assessment score corresponds to one matching adjustment variable; Determine the second-cycle forest fire risk assessment score corresponding to the periodic forest fire risk assessment score in the first monitoring cycle as the second target periodic forest fire risk assessment score; Determine the matching adjustment variable corresponding to the forest fire risk assessment score of the second target period of the adjustment variable matching relationship as the target adjustment variable; An initial fire risk intervention cost corresponding to the fire risk intervention method is obtained, and the initial fire risk intervention cost is multiplied by the target adjustment variable to obtain the fire risk intervention cost.
4. The method according to claim 1, characterized in that The method further comprises: Obtaining the fire risk element description carrier of the target forest monitoring area in the second monitoring period, and the number of past fire warning point triggering times in the fire risk element description carrier in the second monitoring period; Generate a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period according to the number of past fire warning point triggering times; The initial forest fire risk assessment algorithm is debugged by using the fire risk element description carrier in the second monitoring cycle and the past prior forest fire risk assessment scores in the second monitoring cycle to obtain the forest fire risk assessment algorithm.
5. The method according to claim 4, characterized in that The generating of the past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period by using the past fire warning point triggering times includes: Obtaining the total number of fire warning point triggering times of multiple past forest monitoring areas in the second monitoring cycle; the multiple past forest monitoring areas are forest monitoring areas monitored in the second monitoring cycle; the multiple past forest monitoring areas include the target forest monitoring area; Determine the number of forest monitoring areas corresponding to the multiple past forest monitoring areas, and determine the average number of fire warning point triggering times in the second monitoring period by using the total number of fire warning point triggering times and the number of forest monitoring areas; The past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle is determined by the past number of fire warning point triggering and the average number of fire warning point triggering.
6. The method according to claim 5, characterized in that The determining the past a priori forest fire risk assessment score of the target forest monitoring area in the second monitoring period by using the past fire warning point triggering times and the average fire warning point triggering times includes: Comparing the past number of fire warning point triggering times with the average number of fire warning point triggering times; If the number of past fire warning point triggering times is not less than the average number of fire warning point triggering times, the first mark value is determined as the past priori forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; the first mark value is used to indicate that the fire risk monitoring state of the target forest monitoring area in the second monitoring cycle is a high-risk state; If the number of past fire warning point triggering times is less than the average number of fire warning point triggering times, the second mark value is determined as the past prior forest fire risk assessment score of the target forest monitoring area in the second monitoring cycle; the second mark value is used to characterize that the fire risk monitoring status of the target forest monitoring area in the second monitoring cycle is a low-risk state.
7. The method according to claim 6, characterized in that The initial forest fire risk assessment algorithm is debugged by using the fire risk element description carrier in the second monitoring period and the previous a priori forest fire risk assessment score in the second monitoring period to obtain the forest fire risk assessment algorithm, including: Loading the fire risk element description carrier in the second monitoring cycle into the initial forest fire risk assessment algorithm, and inferring the inference period forest fire risk score of the target forest monitoring area in the second monitoring cycle through the initial algorithm parameter variables in the initial forest fire risk assessment algorithm and the fire risk element description carrier in the second monitoring cycle; Determining an algorithm cost by using the inference period forest fire risk score in the second monitoring period and the previous prior forest fire risk assessment score in the second monitoring period; The initial algorithm parameters are debugged by using the algorithm cost to obtain algorithm parameters, and the initial forest fire risk assessment algorithm including the algorithm parameters is determined as the forest fire risk assessment algorithm.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps in the method according to any one of claims 1 to 7 are implemented.
