Forest fire spread prediction method and system based on multi-platform collaborative computing model

By equipping UAVs with edge sensing and computing terminals, combined with the collaborative computing model of remote servers, the problems of traditional forest fire monitoring in bad weather and power exhaustion are solved, achieving efficient and real-time fire monitoring and prediction, and improving fire extinguishing. efficiency.

CN116597155BActive Publication Date: 2024-09-06WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310353456.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2024-09-06
Estimated Expiration
2043-04-04

AI Technical Summary

Technical Problem

Traditional forest fire monitoring methods are inefficient under severe weather conditions, and the power of the drone is exhausted after working for a long time, causing fire monitoring and prediction to be suspended, affecting fire extinguishing efficiency.

Method used

Using a forest fire spread prediction method based on a multi-platform collaborative computing model, the drone is equipped with an edge sensing terminal and a mobile edge computing terminal to monitor the power in real time, enter the complete edge computing mode or task offloading mode, and use the remote server to complete fire point identification and Spread path calculation to extend drone power consumption time.

Benefits of technology

It achieves a high degree of real-time performance in fire monitoring and prediction, significantly extends the power consumption time of drones, avoids frequent interruptions in fire monitoring and prediction work, and improves fire extinguishing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116597155B
    Figure CN116597155B
Patent Text Reader

Abstract

The embodiments of the present application disclose a forest fire spread prediction method, system, device and computer storage medium based on a multi-platform collaborative computing mode. The method includes: obtaining the remaining power information of a drone equipped with an edge sensing terminal and a mobile edge computing terminal; determining whether the remaining power has reached a preset first power threshold, and if so, entering the following full edge computing mode, otherwise, entering the following task offloading mode; in the full edge computing mode, the mobile edge computing terminal identifies the fire point and calculates the fire point spread path based on the captured image, and sends the calculation result to the remote server; in the task offloading mode, the mobile edge computing terminal or the remote server identifies the fire point based on the captured image, and the remote server completes the fire point spread path calculation. The present application can not only ensure the high real-time performance of fire monitoring and prediction, but also significantly improve the efficiency of fire extinguishing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of forest fire prevention, and in particular to a forest fire spread prediction method, system, device and computer storage medium based on a multi-platform collaborative computing model. Background Art

[0002] Forest fires are sudden, destructive, and difficult to rescue quickly. The occurrence of forest fires not only seriously damages the vegetation environment, but also poses a serious threat to the lives and property of citizens. In order to minimize the disasters caused by fires, it is crucial to develop a highly accurate and efficient forest fire prediction model. If the possible spread direction of the fire can be obtained in the first place, the efficiency of firefighting will be greatly improved.

[0003] Traditional forest fire monitoring methods are mainly ground monitoring, that is, real-time monitoring and early warning of forest fires through manual inspections, tower monitoring, radar monitoring and other means on the ground. The advantages of ground monitoring of fire conditions are high recognition rate and accurate positioning, but due to the complex environment of forest areas, ground monitoring will be affected by topography and natural conditions. It is difficult to monitor and the efficiency is low under severe weather conditions such as high temperature, high cold, rain, snow, fog and haze. In addition, the spread of forest fires is difficult to predict due to its many natural influencing factors and the complex physical laws of fire behavior.

[0004] With the development of communication technology, computer technology, and space information technology, the monitoring capability of forest fires has been effectively improved, especially as drones are a new type of unmanned, reusable remote sensing platform. By carrying perception terminals such as visual sensors and infrared sensors and computing terminals such as onboard computers on drones, fire data can be collected and analyzed. They are also flexible, real-time, low-cost, and have a wide range.

[0005] However, drones consume too much power during long-term operation. Once the power is used up, they need to return to the ground to recharge, which will cause the fire monitoring and prediction work to be suspended, greatly affecting the efficiency of fire fighting. Summary of the invention

[0006] The embodiments of the present application provide a forest fire spread prediction method, system, device and computer storage medium based on a collaborative computing mode of a platform, so that in the process of the UAV working in collaboration with a remote server platform, the high real-time performance of fire monitoring and prediction can be ensured, and the power consumption time of the UAV can be significantly extended, thereby avoiding too frequent interruptions of fire monitoring and prediction work and significantly improving the efficiency of fire extinguishing.

[0007] In a first aspect, an embodiment of the present application provides a forest fire prediction method based on a multi-platform collaborative computing mode, comprising the following steps:

[0008] Obtaining the remaining power information of the drone equipped with the edge sensing terminal and the mobile edge computing terminal;

[0009] Determine whether the remaining power reaches a preset first power threshold, if so, enter the following full edge computing mode, otherwise, enter the following task offloading mode;

[0010] In the full edge computing mode, after the edge sensing terminal completes the image capture of the target area, the mobile edge computing terminal performs fire point identification and fire point spread path calculation based on the captured image, and sends the calculation results to the remote server;

[0011] In the task offloading mode, after the edge perception terminal completes image capture of the target area, the mobile edge computing terminal or the remote server identifies the fire point based on the captured image, and the remote server completes the calculation of the fire point spread path.

[0012] In some possible implementations, entering the following task offloading mode includes the following steps:

[0013] Determine whether the remaining power reaches a preset second power threshold, if so, enter the following partial task offloading mode, otherwise, enter the following full task offloading mode;

[0014] In the partial task offloading mode, after the edge sensing terminal completes the image capture of the target area, the captured image is sent to the mobile edge computing terminal for fire point identification, and the identified fire point information is sent to the remote server to complete the fire point spread path calculation;

[0015] In the full task offloading mode, after completing the image capture of the target area using the edge sensing terminal carried by the drone, the captured image is sent to a remote server, which identifies the fire point based on the captured image and completes the calculation of the fire point spread path.

[0016] In some possible implementations, the fire spread path calculation includes the following steps:

[0017] Obtaining a number of natural environment parameters of each fire point, inputting the natural environment parameters into a trained BP neural network model for neuron calculation, and outputting a number of fire point spread parameters;

[0018] The plurality of fire point spread parameters are input into a preset Huygens fitting algorithm model to perform spread path fitting calculation, and obtain polygon fitting vertex data of the edge of the fire spread range.

[0019] In some possible implementations, the fire point identification includes the following steps:

[0020] The image features of the fire points are extracted by a convolutional neural network algorithm to obtain the location information of each fire point.

[0021] In some possible implementations, after the fire spread path calculation, the following steps are also included:

[0022] The state parameters of the UAV and / or the polygon fitting vertex data are transmitted to a three-dimensional display platform in text form, and the trajectory of the UAV and the polygon fitting vertex data are three-dimensionally displayed on the three-dimensional display platform.

[0023] In a second aspect, the embodiment of the present application provides a forest fire spread prediction system based on a multi-platform collaborative computing mode, including:

[0024] Drones, equipped with edge sensing terminals and mobile edge computing terminals;

[0025] A remote server side, remotely wirelessly connected to the drone, including a remote edge computing platform;

[0026] The edge sensing terminal is used to capture images of the target area;

[0027] The mobile edge computing terminal is used to enter a full edge computing mode when the remaining power of the drone reaches a preset first power threshold, perform fire point identification and fire point spread path calculation based on the image taken by the edge sensing terminal, and send the calculation results to the remote server;

[0028] The remote edge computing platform is used to enter a task offloading mode and perform fire spread path calculation when the remaining power of the drone does not reach a preset first power threshold.

[0029] In some possible implementations, the remote edge computing platform is further configured to enter a full task offloading mode when the remaining power of the drone does not reach a preset second power threshold, receive images taken by the edge sensing terminal, and perform fire point identification and fire point spread path calculation on the images; and / or,

[0030] The mobile edge computing terminal is further used to enter a partial task offloading mode when the remaining power of the drone is between a first power threshold and a second power threshold, identify fire points in the image, and send the identified fire point information to the remote server;

[0031] The remote edge computing platform is also used to enter a partial task offloading mode when the remaining power of the UAV is between a first power threshold and a second power threshold, receive the fire point information sent by the UAV and calculate the fire point spread path based on the fire point information.

[0032] In some possible implementations, the drone is also equipped with:

[0033] An onboard storage module, connected to the edge sensing terminal and the mobile edge computing terminal, for storing natural environment parameters related to the target area and a preset fire spread prediction model, including a BP neural network model and a Huygens fitting algorithm model;

[0034] The mobile edge computing terminal includes:

[0035] A mobile fire detection module, connected to the edge sensing terminal and the onboard storage module, for identifying fire points based on images captured by the edge sensing terminal;

[0036] The mobile fire prediction module is connected to the mobile fire detection module and the airborne storage module, and is used to call the fire spread prediction model to calculate the fire spread path according to the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

[0037] In some possible implementations, the remote edge computing platform includes:

[0038] A remote fire detection module, used to identify fire points based on the images taken by the edge sensing terminal and sent by the UAV through the wireless communication module;

[0039] The remote fire prediction module is connected to the remote fire detection module and is used to call the fire spread prediction model to calculate the fire spread path according to the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

[0040] In some possible implementations, the remote server further includes:

[0041] The three-dimensional display platform is used to receive the state parameters of the drone and / or the polygon fitting vertex data transmitted in text form, and to perform three-dimensional display of the trajectory of the drone and the polygon fitting vertex data.

[0042] In the third aspect, an embodiment of the present application provides a forest fire spread prediction device based on a multi-platform collaborative computing mode, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the forest fire spread prediction method based on a multi-platform collaborative computing mode as described above.

[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which is stored a forest fire spread prediction program based on a multi-platform collaborative computing mode. When the forest fire spread prediction program based on a multi-platform collaborative computing mode is executed by a processor, the steps of the forest fire spread prediction method based on a multi-platform collaborative computing mode as described above are implemented.

[0044] The beneficial effects of this application are:

[0045] The embodiment of the present application monitors the remaining power of the drone in real time. When the drone has sufficient power, it works in full edge computing mode. When the drone power is lower than a preset power threshold, it works in task offloading mode, and partially or completely offloads the fire prediction work to the remote server for execution. This ensures the high real-time nature of fire monitoring and prediction, significantly extends the power consumption time of the drone, avoids too frequent suspension of fire monitoring and prediction work, and significantly improves the fire extinguishing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 It is a flowchart of a forest fire spread prediction method based on a multi-platform collaborative computing model according to an embodiment of the present application.

[0048] Figure 2 It is a data flow diagram of the fire point spread path calculation process in the forest fire spread prediction method based on the multi-platform collaborative computing mode in an embodiment of the present application.

[0049] Figure 3 It is a polygonal schematic diagram of the fire line of the Huygens fitting algorithm model in the fire point spread path calculation process in the forest fire spread prediction method based on the multi-platform collaborative computing mode in the embodiment of the present application.

[0050] Figure 4This is a visualization diagram of the real-time coordinates and real-time trajectories of a drone displayed by a forest fire spread prediction system based on a multi-platform collaborative computing mode in an embodiment of the present application.

[0051] Figure 5 It is a fire list and fire range visualization diagram displayed by the forest fire spread prediction system based on the multi-platform collaborative computing mode in the embodiment of the present application.

[0052] Figure 6 It is a simulated visualization diagram of the fire spread range displayed by the forest fire spread prediction system based on the multi-platform collaborative computing mode in the embodiment of the present application.

[0053] Figure 7 It is a schematic diagram of the architecture of a forest fire spread prediction system based on a multi-platform collaborative computing model according to an embodiment of the present application.

[0054] Figure 8 It is a data flow diagram of a forest fire spread prediction system based on a multi-platform collaborative computing model in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be described in detail by way of implementation with reference to the accompanying drawings in the embodiments of the present application. Obviously, the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0056] It should be noted that: in the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions; in the description of the present application, the terms "center", "longitudinal", "lateral", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the scope of protection of the present application; in the description of the present application, "first", "second", etc. are only used to distinguish each other, rather than to indicate their importance and order, etc.

[0057] In the description of this application, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a movable connection, or a detachable connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal communication of two components, etc. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0058] Please refer to Figure 1-Figure 6 The embodiment of the present application provides a forest fire prediction method based on a multi-platform collaborative computing mode, comprising the following steps:

[0059] In step S1, the remaining power information of the drone equipped with the edge sensing terminal and the mobile edge computing terminal is obtained;

[0060] In step S2, it is determined whether the remaining power reaches a preset first power threshold, if so, the following full edge computing mode S3 is entered, otherwise, the following task offloading mode S4 is entered;

[0061] In the full edge computing mode S3, after the edge sensing terminal completes the image capture of the target area, the mobile edge computing terminal carried by the drone performs fire point identification and fire point spread path calculation based on the captured image, and sends the calculation results to the remote server;

[0062] In the task offloading mode S4, after the edge perception terminal completes the image capture of the target area, the mobile edge computing terminal or the remote server identifies the fire point based on the captured image, and the remote server completes the calculation of the fire point spread path.

[0063] In some possible implementations, entering the following task offloading mode S4 includes the following steps:

[0064] In step S40, it is determined whether the remaining power reaches a preset second power threshold, if so, the system enters the following partial task offloading mode S41, otherwise, the system enters the following full task offloading mode S42;

[0065] In the partial task offloading mode S41, after the edge sensing terminal completes the image capture of the target area, the captured image is sent to the mobile edge computing terminal for fire point identification, and the identified fire point information is sent to the remote server to complete the fire point spread path calculation;

[0066] In the full task offloading mode S42, after the edge sensing terminal completes image capture of the target area, the captured image is sent to a remote server, which identifies the fire point based on the captured image and completes the calculation of the fire point spread path.

[0067] The first power threshold and the second power threshold can be set according to the charging characteristic parameters and other relevant characteristic parameters of the drone. For example, the first power threshold is set to 80% and the second power threshold is set to 50%.

[0068] In some possible implementations, the fire spread path calculation includes the following steps:

[0069] Obtaining a number of natural environment parameters of each fire point, inputting the natural environment parameters into a trained BP neural network model for neuron calculation, and outputting a number of fire point spread parameters;

[0070] The plurality of fire point spread parameters are input into a preset Huygens fitting algorithm model to perform spread path fitting calculation, and obtain polygon fitting vertex data of the edge of the fire spread range.

[0071] In some possible implementations, the fire point identification includes the following steps:

[0072] The image features of the fire points are extracted by a convolutional neural network algorithm to obtain the location information of each fire point.

[0073] In some possible implementations, after the fire spread path calculation, the following steps are also included:

[0074] The state parameters of the UAV and / or the polygon fitting vertex data are transmitted to a three-dimensional display platform in text form, and the trajectory of the UAV and the polygon fitting vertex data are three-dimensionally displayed on the three-dimensional display platform.

[0075] Some possible implementations of image capture and fire point identification in steps S3 and S4 of the embodiment of the present application are described in detail below.

[0076] In the embodiment of the present application, as input data for the forest fire detection and prediction model, it is necessary to obtain multi-source three-dimensional data such as digital ground model, surface environment information, meteorological information and sensor images.

[0077] In the full edge computing mode of the embodiment of the present application, the image capture and fire point identification of the target area are mainly achieved by utilizing the edge perception terminal (gimbal camera) and mobile edge computing platform (onboard computer) carried by the drone to obtain the real-time fire point location, terrain parameters, combustible material parameters, etc. of the fire occurrence area, and obtain real-time meteorological data and other natural environment parameters through API; the real-time fire point location is obtained from the image taken of the target area by the edge perception terminal such as the gimbal camera carried by the drone, and the fire point in the fire area in the image is identified by the Yolov3 image recognition algorithm to obtain the precise location of the fire point, and the CNN feature extraction layer is used to automatically extract features from the image of the fire source point, which can utilize the high-dimensional features of the image to further improve the accuracy of fire detection.

[0078] Under various typical postures of the drone sensor, take clear and evenly distributed feature point images, calculate the camera internal parameters, and use them as the camera internal parameters for real-time matching; then rotate the photographic coordinate system according to the camera attitude parameters and camera attitude quaternion output by the drone, calculate the three-dimensional vector of the light, solve the intersection of the light vector and the ground plane, and use the intersection as the real coordinate of the pixel point in the world to achieve real-time matching of spatial coordinates. The specific steps are as follows:

[0079] The first step is to calibrate the drone camera. First, define the coordinates of the 2D image points as shown in the following formula (1):

[0080] (1)

[0081] The coordinates of a point in 3D space are shown in the following formula (2):

[0082] (2)

[0083] The corresponding homogeneous coordinates are shown in the following formula (3):

[0084] (3)

[0085] The mapping from space coordinates to image coordinates is described as follows:

[0086] (4)

[0087] in, Represents the scale factor from the world coordinate system to the image coordinate system, Represents the camera intrinsic parameter matrix, matrix , is the camera’s extrinsic matrix, Represents the pixel coordinates, and The ratio of focal length to pixel height, represents the radial distortion parameter. Assume that the chessboard is located at , define the rotation matrix No. Listed as , then the mapping formula can be converted into the following formula (5):

[0088] (5)

[0089] definition It is shown in the following formula (6):

[0090] (6)

[0091] So the mapping from space to image can be changed to the following equation (7):

[0092] (7)

[0093] in, is a 3×3 matrix with one element as a homogeneous coordinate, so, There are 8 degrees of freedom. Since there are 8 degrees of freedom to be solved, four corresponding points are needed to find the homography matrix from the image plane to the world plane. .in Including internal parameter matrix and external parameter matrix, so we need to find out the internal parameters first, and then solve the external parameters. is an orthogonal matrix, so the following constraints exist: and The magnitude of the orthogonal and rotational vectors is According to these two constraints, we can get the following formula (8):

[0094] (8)

[0095] Using three homography matrices, six equations can be generated under two constraints to solve Among them, the three homography matrices can be obtained by taking three photos of the same calibration plate at different angles and heights, as shown in the following formula (9):

[0096] (9)

[0097] By using the above formula, B can be estimated through three images containing at least one chessboard. After obtaining B, the six degrees of freedom of the camera's internal parameter matrix A can be obtained through Cholesky decomposition.

[0098] The second step is to obtain the camera attitude parameters (yaw, roll and pitch) and attitude quaternions q0, q1, q2, q3 output by the drone. , , The rotation matrix (rotation angles around the Z axis, Y axis, and X axis, respectively) is shown in the following formula (10):

[0099] (10)

[0100] The pixel coordinates are projected to the ground coordinates according to the posture and intrinsic parameter values. The intersection point is the real coordinate of the pixel point in the world, as shown in the following formula (11):

[0101] (11)

[0102] Some possible implementations of the fire spread path calculation described in steps S3 and S4 of the embodiment of the present application are described in detail below.

[0103] There are many existing forest fire spread prediction methods, including methods based on statistical models, physical models, and machine learning methods. Most of the existing forest fire spread models are aimed at detecting existing fires, and rarely involve the problem of real-time prediction of fire range. At the same time, many models for studying fire prediction only train prediction models based on the occurrence of fires at a certain moment. Although such models can predict the spread trend of fires to a certain extent, they often cannot give a specific explanation for the actual law of fire spread, and the prediction results also lack a certain degree of accuracy.

[0104] In some possible embodiments of the present application, the fire spread path calculation is mainly implemented by pre-training a BP neural network model based on existing fire data in the fire occurrence area, learning existing fire spread laws, and carrying the trained neural network model on a drone.

[0105] BP neural network is a multi-layer feedforward neural network trained by using the error back propagation algorithm. The network consists of an input layer, at least one hidden layer and an output layer. Each layer contains several neurons. The neurons between layers are connected to each other, representing the calculation weights or calculation rules between two neurons. The error back propagation algorithm includes two processes: forward propagation and back propagation. Forward propagation refers to the propagation of training data from the input layer to the output layer along the connection between neurons, and the output result is obtained from each input factor. By comparing the output with the expected output, the loss function is calculated to obtain the error. Back propagation refers to using the error obtained by forward propagation as the basis for correcting the weight represented by the inter-neuronal pathway, and using the gradient descent method to perform reverse calculations along the original path of forward propagation to continuously reduce the loss function to adjust the weight. Through a large amount of training, the various parameters in the network are continuously adjusted to improve the network prediction accuracy.

[0106] When a fire occurs, the natural environment data (fire point location, terrain parameters, combustible parameters and meteorological data) obtained by the drone is input into the BP neural network model that has been trained in the onboard storage module, and the combustible parameters are reclassified and normalized. Finally, the four fire parameters of each grid in the fire area on the grid map are obtained through model calculation (fire spread speed parameters: a, b, c; the angle between the main spread direction and the wind direction: );

[0107] This application embodiment uses the S-type activation function , through the back propagation function (( For the expected output, The network weights and thresholds are adjusted continuously to minimize the error function E. The BP network algorithm mainly includes two parts: forward propagation and error back propagation. Forward propagation is to multiply the input value of each neuron by the weight matrix and then add the bias term. After the activation function, the output of the neuron is obtained, as shown in the following formula (12):

[0108] (12)

[0109] in, is the weight matrix of the input gate, is the bias term of the input gate, is the Sigmoid function.

[0110] Error back propagation is a process of continuously updating weights and bias values. By setting the loss function, an optimizer is selected to continuously reduce the loss function value. Here, the optimizer uses the gradient descent method and the loss function uses the root mean square error function, as shown in the following formula (13):

[0111] (13)

[0112] Where N is the number of data. is the true value, is the predicted value. The empirical formula (14) is used to select the number of neurons in the hidden layer:

[0113] (14)

[0114] in, e is the number of neurons in the input layer, m is the number of neurons in the output layer, is a constant between [1, 10].

[0115] In some possible implementations, an S-type function is selected as the activation function of the hidden layer neurons, and a three-layer BP neural network with a basic architecture of one input layer, one hidden layer, and one output layer is adopted, and the stochastic gradient descent method is adopted for optimization. The input layer is set to 7 neurons, corresponding to seven natural environment parameters, including slope, fuel factor, slope angle and wind direction, temperature, humidity, cloud coverage, and wind speed; the hidden layer is set to 5 neurons; the output layer is set to 4 neurons, corresponding to four fire parameters, including speed parameter a, speed parameter b, speed parameter c, and the angle between the main direction of spread and wind direction; the learning rate is set to 0.001 and exponentially slowed down. Table 1 below shows the parameters corresponding to each neuron in the input layer and the output layer.

[0116]

[0117] Terrain parameters such as elevation (used to correct temperature), aspect, slope, etc. can be extracted through DEM images, which can be obtained through satellite remote sensing.

[0118] There are two main ways to obtain weather parameters such as temperature, humidity, cloud coverage, wind speed, and wind direction. One is to pre-set fixed weather parameters for a period of time in the future according to the weather forecast before executing the task. The other method is to connect to the weather data API through the mobile network on the edge computing end to obtain weather data.

[0119] The combustible material parameters are obtained by reclassifying and normalizing the combustible material types. The combustible material types can be regarded as the types of surface cover, including open space (non-combustibles), grassland, forest, etc. The combustible material parameters are used as acceleration coefficients for the reclassification and normalization of fuels.

[0120] The reclassification and normalization are specifically as follows: the combustible material parameters in the acquired natural environment parameters are classified into a variety of different combustible material types according to the combustion characteristics of the combustible materials, namely: flat needles, dead branches and leaves, thatch weeds, pine, urban buildings, water bodies, etc. The natural environment entities and their attribute characteristics under the same combustible material type are reclassified and normalized, and the combustible material parameters are used as acceleration coefficients that affect the speed of fire spread. With reference to the design method of Wang Zhengfei's model, these parameter values ​​are specifically set.

[0121] Table 2 below shows some combustible parameter values ​​after reclassification and normalization.

[0122]

[0123] Research on fire behavior shows that the fire spread behavior in a fire scene also conforms to the Huygens principle, that is, on the surface where the fire occurs, assuming that all natural environmental parameters of the surface are consistent, the fire spread behavior at each point on the edge of the fire is consistent with the fire source.

[0124] The diffusion behavior of a fire point can be regarded as a Huygens plane ellipse with the fire point as the focus. The forward spread direction of the fire is the endpoint of the major axis of the ellipse farther away from the fire point. The straight-line distance from the fire point to the edge of the ellipse represents the fire diffusion speed in this direction.

[0125] When a forest fire spreads, the fire line outside the fire spread changes continuously with time, and its changes are simulated through discrete time; for example:

[0126] In time t Detect the fire source and call the Huygens fitting algorithm model, setting the time step to t 0 , the number of operations is n , we can get t + t0 , t +2 t 0 , t +3 t 0 ,…… t + nt 0 Total at time point n Fire lines. Fire lines can be simulated with polygons with discrete vertices (fire sources are polygons with 1 vertex), where each vertex is regarded as the fire source point in the next spread simulation process, and the next round of fire lines are the vertices of the envelope formed by the new polygons obtained by diffusing all the vertices of the current fire line polygon. The process of enveloping the ellipse formed by the fire source points on the original fire line uses the planar convex hull algorithm, that is, using octagons to fit the ellipse, and storing all the octagons' vertices in the point set for convex hull calculation. During the calculation process, it is necessary to ensure that at least one point of each octagon is added to the new polygon to deal with possible concave areas. The newly obtained polygon is the new fire line.

[0127] Based on the above Huygens principle, the fire point spread parameters can be input into a preset Huygens fitting algorithm model to perform spread path fitting calculation through the following steps:

[0128] 1) Given the coordinates of a fire source point, which can be a single fire source point or a fire line or fire zone surrounded by several fire source points, add all fire source points to the fire source point set F0;

[0129] 2).According to the coordinates of each point of the fire source, the four parameters of the grid where it is located are obtained, and the t 0 The coordinates of the vertices of the octagon used to fit the ellipse are obtained by spreading after time, where the spreading distance A0=a× t 0 , spreading distance B0=b× t 0 , spreading distance C0=c× t 0 ;

[0130] 3) Add all the obtained octagonal vertices to the pre-operation point set P, perform convex hull operation on the pre-operation point set P to obtain the convex hull point set C, and add a check algorithm during the operation of the convex hull algorithm to ensure that at least one point among the octagonal vertices obtained from the fire source point set F0 enters the convex hull point set C;

[0131] 4) Traverse the points in the convex hull point set C in order, add or merge the points that are farther or closer, and get the fire line point set F1. Connect the points in the fire line point set F1 in order to form a convex hull envelope, which is the fixed time step. t 0The line of fire behind;

[0132] 5). Repeat steps 2) to 4) to obtain n Sub-step duration t 0 The fire line after F1, F2, F3, ..., F n .

[0133] In the task of fire monitoring and identification by drones, the display of fire locations and the simulation of fire spread can provide important information for further firefighting and emergency rescue, and provide a decision-making basis for leadership deployment and arrangement of reinforcements; in addition, in order to remotely view the location of drones performing tasks on remote server-side applications and make further corresponding plans and decisions, it is also necessary to display the drone flight trajectory in real time and dynamically.

[0134] In view of the shortcomings of the existing fire monitoring system in managing fire tasks and displaying fire information, the embodiment of the present application implements a drone fire monitoring page based on WebGIS. This page is based on the Cesium three-dimensional earth framework, and implements a real-time visualization module for drone flight trajectories and a particle swarm spread module for the fire range identified by drones; by combining the interactive page with the three-dimensional earth, it is possible to flexibly manage drone monitoring tasks and dynamically display fire information during drone monitoring in real time.

[0135] The implementation method of this embodiment replaces the traditional form of transmitting image data and position information data by transmitting and storing fire point text data, which has the characteristics of small data volume and efficient transmission.

[0136] Reference below Figure 4-Figure 6 Some possible implementation methods of three-dimensionally displaying the trajectory of the drone and the polygon fitting vertex data on the three-dimensional display platform in an embodiment of the present invention are described in detail.

[0137] The core process of real-time visualization technology of drone trajectories is:

[0138] 1) The remote server establishes communication with the drone, and the drone terminal transmits the GPS three-dimensional position coordinates in real time through the mobile communication module;

[0139] 2) Based on Cesium's Clock and JulianDate, two time-related APIs, and the SampledPositionProperty location API, the real-time position of the drone model is changed and the moving trajectory is rendered.

[0140] The implementation scheme of real-time visualization technology of fire monitoring drone trajectory is:

[0141] 1) Create a drone trajectory layer on the 3D earth;

[0142] 2) The remote server establishes WebSocket two-way communication with the drone and waits for the drone to send back its 3D position;

[0143] 3) Create a 3D solid model of the drone in .glb format;

[0144] 4) Set the position property of the drone model to Cesium.SampledPositionProperty, and dynamically control the position of the model based on SampledPositionProperty and Clock.Timeline;

[0145] 5) In order to achieve the smoothness of the movement of the drone model within a certain time interval, the SampledPositionProperty is optimized using spatial interpolation;

[0146] 6) After obtaining the coordinates sent back by the drone at a certain interval, update the model's SampledPositionProperty according to the data format of [julianDate, latitude, longitude, altitude], and use the interpolation algorithm to optimize the data format of the two moments before and after;

[0147] 7) The trajectory of the drone model is created using Cesium.PathGraphics, and trailTime is set to 60 seconds, that is, the coordinate information of the drone 60 seconds before the current moment is used to draw the trajectory, and the trajectory line is further customized through Cesium.PolylineGlowMaterialProperty;

[0148] 8) When selecting a drone for the current fire monitoring mission, bind the created drone model to the entity model currently tracked by the Cesium.Viewer camera. When switching to other drones, re-execute the above steps 2)-7) and change the tracking model of the Cesium.Viewer camera.

[0149] The visualization technology of fire spread range adopts particle swarm simulation, and the core process is:

[0150] 1) The drone transmits the currently monitored fire range and fire prediction range in real time through the mobile communication module;

[0151] 2) Based on the particle system API of Cesium.ParticleSystem, customize the particle group effect to render the effect of fire spreading.

[0152] The implementation scheme of fire spread visualization technology is:

[0153] 1) Create a fire extent layer on the 3D globe;

[0154] 2) The remote server establishes WebSocket two-way communication with the drone and waits for the drone to send back the fire range and fire prediction range;

[0155] 3) Use the fire range data to calculate the coordinates of the fire centroid and the distance from the centroid to each vertex, and use the maximum distance as the maximum radius distance of the fire range;

[0156] 4) Generate a particle swarm effect of the fire range based on Cesium.ParticleSystem, where the effect of particle swarm sampling is set through the image attribute, and the attribute value is the fire picture generated in advance; set the ParticleEmitter through the emitter attribute, which is used to set the initial position and velocity vector when the particle is born, and the attribute value is CircleEmitter, that is, initialize the particles at the random sampling position within the circle in the axial direction of the emitter; control how many particles are emitted per second through emissionRate; set the duration of the particle system through lifetime and loop attributes, and loop into the next particle system after completion; set the minimum limit (in seconds) and maximum limit (in seconds) of the possible duration of particle life through minimumParticleLife and maximumParticleLife attributes; set the transition from the starting color to the ending color of the particle during its life cycle through startColor and endColor attributes; control the size of the particle swarm sampling image by setting the minimumImageSize and maximumImageSize attributes to the maximum radius of the fire range; and randomly select the actual speed of the particle through minimumSpeed ​​and maximumSpeed.

[0157] 5) When the front-end page obtains the results of fire monitoring, select a data in the fire list to switch the view to the area where the fire occurred, and perform a visual simulation of the fire spread according to the particle swarm effect defined above.

[0158] Please refer to Figure 7 and Figure 8 The embodiment of the present application also provides a forest fire spread prediction system based on a multi-platform collaborative computing mode, including:

[0159] A drone 1 is equipped with an edge sensing terminal 11 and a mobile edge computing terminal 12;

[0160] A remote server 2, which is remotely and wirelessly connected to the drone 1, and includes a remote edge computing platform 21;

[0161] The edge sensing terminal 11 is used to capture images of the target area;

[0162] The mobile edge computing terminal 12 is used to enter the full edge computing mode when the remaining power of the drone 1 reaches a preset first power threshold, perform fire point identification and fire point spread path calculation according to the image taken by the edge sensing terminal 11, and send the calculation results to the remote server 2;

[0163] The remote edge computing platform 21 is used to enter the task offloading mode and perform fire spread path calculation when the remaining power of the drone 1 does not reach a preset first power threshold.

[0164] In some possible implementations, the remote edge computing platform 21 is further configured to enter a full task offloading mode when the remaining power of the drone 1 does not reach a preset second power threshold, receive images taken by the edge sensing terminal 11, and perform fire point identification and fire point spread path calculation on the images;

[0165] In some possible implementations, the mobile edge computing terminal 12 is further configured to enter a partial task offloading mode when the remaining power of the drone 1 is between a first power threshold and a second power threshold, identify fire points in images taken by the edge sensing terminal 11, and send the identified fire point information to a remote server;

[0166] In some possible implementations, the remote edge computing platform 21 is also used to enter a partial task offloading mode when the remaining power of the drone 1 is between a first power threshold and a second power threshold, receive the fire point information sent by the drone and calculate the fire point spread path based on it.

[0167] In some possible implementations, the drone 1 is further equipped with:

[0168] An onboard storage module 10, connected to the edge sensing terminal 11 and the mobile edge computing terminal 12, is used to store natural environment parameters related to the target area and a preset fire spread prediction model, including a BP neural network model and a Huygens fitting algorithm model;

[0169] The mobile edge computing terminal 12 includes:

[0170] A mobile fire detection module 121, connected to the edge sensing terminal 11 and the onboard storage module 10, for identifying fire points based on images captured by the edge sensing terminal 11;

[0171] The mobile fire prediction module 122 is connected to the mobile fire detection module 111 and the airborne storage module 10, and is used to call the fire spread prediction model to calculate the fire spread path according to the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

[0172] In some possible implementations, the remote edge computing platform 21 includes:

[0173] A remote fire detection module (not shown in the figure), used to identify fire points based on the images taken by the edge sensing terminal 11 and sent by the UAV 1 through the wireless communication module;

[0174] The remote fire prediction module (not shown in the figure) is connected to the remote fire detection module 211 through the wireless communication module, and is used to call the fire spread prediction model to calculate the fire spread path based on the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

[0175] In some possible implementations, the remote server 2 further includes:

[0176] The three-dimensional display platform 22 is used to receive the state parameters of the drone 1 and / or the polygon fitting vertex data transmitted in text form, and to perform three-dimensional display of the trajectory of the drone 1 and the polygon fitting vertex data.

[0177] The following detailed description of the embodiment of the present application also provides an example architecture of a forest fire spread prediction system based on a multi-platform collaborative computing model. This example is based on the DJI M300 model drone, using the H20T gimbal as the main edge perception terminal of the M300 drone to realize the photography and video recording functions of the drone during operation; using DJI's matching onboard computer Mainfold 2 as the main processing device of the drone's mobile edge computing terminal; using an extended USB interface on the onboard computer, inserting and configuring a wireless network card, so that the onboard computer can communicate and transmit data in real time with the remote server in the 4G signal coverage area, as the main communication device of the drone; using D-RTK to provide accurate GPS coordinate data for the drone, as the main positioning device of the drone.

[0178] The functional architecture of the system includes two major platforms: Unmanned Aerial Vehicle (UAV) 1 and remote server (Server) 2.

[0179] The onboard storage module 10 is used to store weather data API, elevation image (DEM) of the fire area, convolutional neural network (CNN) model and BP neural network (BPNN) model, Huygens fitting algorithm model, etc.;

[0180] The mobile edge sensing terminal 11 includes a camera component, and other basic functional modules such as a communication (Socket) component and a positioning (GPS) component, etc., which can realize functions such as real-time fire image shooting, drone positioning, and communication and transmission with the remote server 2. The communication (Socket) component of the drone 1 is responsible for information data exchange with the remote server 2, transmitting the real-time fire line data obtained from the mobile fire prediction module 122 to realize the prediction (Predictor) function, and the positioning (GPS) component and the camera (Camera) component respectively provide the fire prediction module with the geographical positioning information and graphic image data of the fire area required in the process of realizing the monitoring (Detector) function.

[0181] The mobile edge computing platform 12 mainly implements monitoring (Detector) and prediction (Predictor) functions. It includes calling the CNN network model to detect and identify the image received from the mobile edge sensing terminal 11, extracting the location of the fire point, and using it to perform the fire spread simulation task; the fire spread simulation task calls the BPNN neural network model, and receives the terrain, combustibles, and meteorological information from the basic storage module, the location information from the basic function module, and the location information of the fire point from the previous task, and then calculates and outputs the spread speed and direction of the fire at different locations on the surface, and calculates the fire line set after a certain period of time in combination with the Huygens fitting algorithm model that reflects the law of fire spread, and transmits the real-time fire line set data in text form to the communication module, which is then transmitted to the remote server 2 by the communication module, and combined with the game engine unity to achieve three-dimensional display.

[0182] In the full edge computing mode, the remote server (Server) side 2 implements the fire situation display function, which is mainly implemented by the communication (Socket) component and the three-dimensional display platform (Platform) 21.

[0183] The communication (Socket) component of the remote server 2 is responsible for information data exchange with the unmanned aerial vehicle (UAV) 1, receiving real-time fire line data obtained by the prediction (Predictor) function from the mobile edge computing platform 12, and transmitting data to the fire display platform (Platform) 21.

[0184] The three-dimensional display platform (Platform) 22 receives real-time fire data transmitted from the communication component, processes the data through the Unreal Engine 5, combines the DEM image data of the fire area, and uses the flame particle effect simulated by the engine to present the fire situation in a three-dimensional real-time animation demonstration, achieving high visualization.

[0185] In the task offloading mode, the remote edge computing platform 21 of the remote server (Server) side 2 replaces the mobile edge computing platform 12 to implement the fire spread path calculation function, so as to significantly save the power consumption of the UAV when the power of the UAV is lower than the preset first power threshold (80%); and after the power of the UAV is lower than the preset second power threshold (50%), the remote edge computing platform 21 can further replace the mobile edge computing platform 12 to complete the fire point identification function, further extending the power exhaustion time of the UAV, while the data is kept transmitted in real time to ensure high real-time performance.

[0186] An embodiment of the present application also provides a forest fire spread prediction device based on a multi-platform collaborative computing mode, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of a forest fire spread prediction method based on a multi-platform collaborative computing mode of any possible implementation method in the above-mentioned embodiments are implemented.

[0187] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed on a computer, the computer executes a method of any possible implementation method in the above embodiments.

[0188] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0189] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A forest fire spread prediction method based on a multi-platform collaborative computing model, characterized in that: The following steps are involved: Obtaining the remaining power information of the drone equipped with the edge sensing terminal and the mobile edge computing terminal; Determine whether the remaining power reaches a preset first power threshold, if so, enter the following full edge computing mode, otherwise, enter the following task offloading mode; In the full edge computing mode, after the edge sensing terminal completes the image capture of the target area, the mobile edge computing terminal performs fire point identification and fire point spread path calculation based on the captured image, and sends the calculation results to the remote server; In the task offloading mode, after the edge sensing terminal completes the image capture of the target area, the mobile edge computing terminal or the remote server performs fire point identification based on the captured image, and the remote server completes the fire point spread path calculation; The fire spread path calculation includes the following steps: Obtaining a number of natural environment parameters of each fire point, inputting the natural environment parameters into a trained BP neural network model for neuron calculation, and outputting a number of fire point spread parameters; Inputting the plurality of fire point spread parameters into a preset Huygens fitting algorithm model to perform spread path fitting calculation, and obtaining polygon fitting vertex data of the edge of the fire spread range; Wherein, the fire point identification comprises the following steps: The image features of the fire points are extracted by a convolutional neural network algorithm to obtain the location information of each fire point.

2. The forest fire spread prediction method based on multi-platform collaborative computing mode as claimed in claim 1, characterized in that: The step of entering the following task offloading mode includes the following steps: Determine whether the remaining power reaches a preset second power threshold, if so, enter the following partial task offloading mode, otherwise, enter the following full task offloading mode; In the partial task offloading mode, after the edge sensing terminal completes the image capture of the target area, the captured image is sent to the mobile edge computing terminal for fire point identification, and the identified fire point information is sent to the remote server to complete the fire point spread path calculation; In the full task offloading mode, after the edge sensing terminal completes image capture of the target area, the captured image is sent to a remote server, which identifies the fire point based on the captured image and completes the calculation of the fire point spread path.

3. The forest fire spread prediction method based on multi-platform collaborative computing mode as claimed in claim 1, characterized in that: After the fire point spread path calculation, the following steps are also included: The state parameters of the UAV and / or the polygon fitting vertex data are transmitted to a three-dimensional display platform in text form, and the trajectory of the UAV and the polygon fitting vertex data are three-dimensionally displayed on the three-dimensional display platform.

4. A forest fire spread prediction system based on a multi-platform collaborative computing model, characterized in that: Included are: Drones, equipped with edge sensing terminals and mobile edge computing terminals; A remote server side, remotely wirelessly connected to the drone, including a remote edge computing platform; The edge sensing terminal is used to capture images of the target area; The mobile edge computing terminal is used to enter a full edge computing mode when the remaining power of the drone reaches a preset first power threshold, perform fire point identification and fire point spread path calculation based on the image taken by the edge sensing terminal, and send the calculation results to the remote server; The remote edge computing platform is used to enter a task offloading mode and perform fire point spread path calculation when the remaining power of the drone does not reach a preset first power threshold; The fire spread path calculation includes the following steps: Obtaining a number of natural environment parameters of each fire point, inputting the natural environment parameters into a trained BP neural network model for neuron calculation, and outputting a number of fire point spread parameters; Inputting the plurality of fire point spread parameters into a preset Huygens fitting algorithm model to perform spread path fitting calculation, and obtaining polygon fitting vertex data of the edge of the fire spread range; Wherein, the fire point identification comprises the following steps: Extracting the image features of the fire points through a convolutional neural network algorithm to obtain the location information of each fire point; In the task offloading mode, after the edge perception terminal completes image capture of the target area, the mobile edge computing terminal or the remote server identifies the fire point based on the captured image, and the remote server completes the calculation of the fire point spread path.

5. The forest fire spread prediction system based on multi-platform collaborative computing mode as claimed in claim 4, characterized in that: The remote edge computing platform is also used to enter a full task offloading mode when the remaining power of the UAV does not reach a preset second power threshold, receive images taken by the edge sensing terminal and perform fire point identification and fire point spread path calculation on the images; and / or, The mobile edge computing terminal is also used to enter a partial task offloading mode when the remaining power of the drone is between a first power threshold and a second power threshold, identify fire points in the image taken by the edge sensing terminal, and send the identified fire point information to the remote server; The remote edge computing platform is also used to enter a partial task offloading mode when the remaining power of the drone is between a first power threshold and a second power threshold, receive the fire point information sent by the drone and calculate the fire point spread path based on the fire point information.

6. The forest fire spread prediction system based on multi-platform collaborative computing mode as claimed in claim 4 or 5, characterized in that: The drone also carries: An onboard storage module, connected to the edge sensing terminal and the mobile edge computing terminal, for storing natural environment parameters related to the target area and a preset fire spread prediction model, including a BP neural network model and a Huygens fitting algorithm model; The mobile edge computing terminal includes: A mobile fire detection module, connected to the edge sensing terminal and the onboard storage module, for identifying fire points based on images captured by the edge sensing terminal; The mobile fire prediction module is connected to the mobile fire detection module and the airborne storage module, and is used to call the fire spread prediction model to calculate the fire spread path according to the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

7. The forest fire spread prediction system based on multi-platform collaborative computing mode as claimed in claim 6, characterized in that: The remote edge computing platform includes: A remote fire detection module, used to identify fire points based on the images taken by the edge sensing terminal and sent by the UAV through the wireless communication module; The remote fire prediction module is connected to the remote fire detection module and is used to call the fire spread prediction model to calculate the fire spread path according to the identified fire point information and its natural environment parameters, and obtain the polygon fitting vertex data of the edge of the spread area.

8. The forest fire spread prediction system based on multi-platform collaborative computing mode as claimed in claim 7, characterized in that: The remote server also includes: The three-dimensional display platform is used to receive the state parameters of the drone and / or the polygon fitting vertex data transmitted in text form, and to perform three-dimensional display of the trajectory of the drone and the polygon fitting vertex data.

9. A forest fire spread prediction device based on a multi-platform collaborative computing model, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the forest fire spread prediction method based on a multi-platform collaborative computing mode as described in any one of claims 1 to 3 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a forest fire spread prediction program based on a multi-platform collaborative computing mode. When the forest fire spread prediction program based on a multi-platform collaborative computing mode is executed by a processor, the steps of the forest fire spread prediction method based on a multi-platform collaborative computing mode as described in any one of claims 1 to 3 are implemented.