A disaster warning method and related equipment based on recurrent neural network model
Through the flood disaster early warning method based on the recurrent neural network model, the disaster-stricken areas are divided and the damage level is predicted, and insurance information is used for early warning, which solves the existing problems of low flood disaster prediction efficiency and insufficient applicability, and achieves a more accurate and effective Disaster warning.
Patent Information
- Application Number
- CN202111534649.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-15
AI Technical Summary
Existing flood disaster prediction methods are inefficient, cannot be generalized, have limited applicable areas and scope, and cannot provide effective early warning and prevention.
Adopt a disaster early warning method based on the recurrent neural network model to divide the disaster-stricken area to be measured into multiple areas, predict the damage level through historical and real-time environmental data, and use terminal equipment in insurance information for early warning to improve the accuracy of prediction and applicability.
It improves the accuracy and applicability of flood disaster prediction, sends early warnings to policyholders in advance, and reduces losses caused by disasters.
Smart Images

Figure CN114118628B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a disaster warning method based on a recurrent neural network model and related equipment. Background Art
[0002] According to statistics, my country is one of the countries with the most serious natural disasters in the world. It has received widespread attention because there are many risk-bearing entities and the impact is large. Among natural disasters, flood disasters are the most harmful to humans. In different regions, due to local climate reasons, floods are prone to occur when it is rainy or the rainfall increases. If the area also includes mountains, mudslides may also occur when the rainfall increases, thus endangering people's life and property safety. At present, the way to predict flood disasters is mainly based on the local topographic features and the rainfall in the same period of previous years or the rainfall in recent days. The rainfall this year or this period of each year is calculated, so as to predict whether a flood disaster will occur. The prediction efficiency of this method is low, it cannot be generalized, and it is applicable to fewer areas and a smaller scope of application. Summary of the invention
[0003] The embodiment of the present application provides a disaster warning method and related equipment based on a recurrent neural network model. On the one hand, the disaster-stricken area to be tested can be divided into multiple areas to specifically analyze each divided area to be tested, so that disaster warnings can be given to the insured of the subject matter in the area to be tested; on the other hand, the damage level of the target area to be tested is predicted by the recurrent neural network model, which can improve the accuracy of the prediction and also improve the applicability; on still another hand, the insured is warned through the terminal device information in the insurance information, so that the disaster situation can be understood and prevented in advance, thereby reducing the losses caused by the disaster.
[0004] In a first aspect, an embodiment of the present application provides a disaster warning method based on a recurrent neural network model, comprising:
[0005] Obtaining map information of the disaster-stricken area to be tested, and dividing the disaster-stricken area to be tested into multiple areas to be tested according to a preset division rule;
[0006] Acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested;
[0007] Inputting the above-mentioned feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model;
[0008] Obtain the first insurance information of the above-mentioned target area to be tested, extract the terminal device information in the above-mentioned first insurance information, generate early warning information according to the damage level of the above-mentioned target area to be tested and the above-mentioned first insurance information, and send the early warning information to the terminal device indicated by the above-mentioned terminal device information, wherein the above-mentioned early warning information is used to prompt that the above-mentioned target area to be tested meets the preset disaster conditions.
[0009] Furthermore, before inputting the above-mentioned feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested output by the above-mentioned recurrent neural network model, the above-mentioned method also includes:
[0010] Acquire a training sample set, wherein the training sample set includes at least one first training sample;
[0011] Inputting the first training sample set into the initial recurrent neural network model to obtain the classification result of the first training sample output by the initial recurrent neural network model, wherein the classification result is used to indicate the classification probability of the first training sample belonging to each category;
[0012] Determine the loss function value of the initial recurrent neural network model according to the classification probability that the at least one first training sample in the training sample set belongs to each category;
[0013] The initial recurrent neural network model is iteratively trained according to the above-mentioned loss function value and the above-mentioned training sample set. When the above-mentioned loss function value satisfies the training end condition, the initial recurrent neural network model when the above-mentioned loss function value satisfies the training end condition is determined to be the above-mentioned recurrent neural network model.
[0014] Furthermore, before obtaining the historical environmental data and the real-time environmental data of the target area to be tested, the method further includes:
[0015] Acquiring second insurance information, wherein the second insurance information includes location information of at least one subject matter;
[0016] Extracting a first set of targets in the target area to be detected from the second insurance information according to the location information of the at least one target;
[0017] Obtaining a vulnerability level corresponding to at least one reference object in the first object set;
[0018] The above-mentioned inputting the above-mentioned feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model includes:
[0019] The above-mentioned feature set to be measured, the position information of the above-mentioned at least one reference target, and the fragility level of the above-mentioned at least one reference target are input into the above-mentioned recurrent neural network model to obtain the damage level of the above-mentioned at least one reference target in the above-mentioned target area to be measured predicted by the above-mentioned recurrent neural network model.
[0020] Furthermore, the second insurance information further includes at least one type of the subject matter, and the step of obtaining the first insurance information of the target area to be tested includes:
[0021] Acquire insurance data within a preset time period, the insurance data including location information of multiple objects and terminal device information corresponding to the location information of each object;
[0022] Extracting terminal device information corresponding to the at least one reference object from the insurance data according to the location information of each of the objects and the location information of the at least one reference object;
[0023] Generate the first insurance information of the target area to be tested according to the second insurance information and the terminal device information corresponding to the at least one reference object;
[0024] The generating of warning information according to the damage level of the target area to be tested and the first insurance information includes:
[0025] The warning information is generated according to the damage level of the at least one reference object, the location information of the at least one reference object, and the type of the at least one object.
[0026] Furthermore, after sending the warning information to the terminal device indicated by the terminal device information, the method further includes:
[0027] Obtaining a compensation level corresponding to a damage level of a first reference object, wherein the compensation level is used to indicate a compensation amount corresponding to the first reference object, and the first reference object is any reference object among the at least one reference object;
[0028] Determine the compensation amount of the first reference object according to the compensation level;
[0029] Determine a second set of objects corresponding to the first terminal device information, where the second set of objects includes one or more reference objects, and the first terminal device information is any terminal device information in the first insurance information;
[0030] Determine the total compensation amount of the first terminal device information, where the total compensation amount is the sum of the compensation amounts of all reference objects in the second object set;
[0031] Generate prompt information based on the total amount of compensation for each first terminal device information in the above-mentioned first insurance information, and send the above-mentioned prompt information to the preset insurance terminal device.
[0032] Furthermore, the obtaining of the vulnerability level corresponding to at least one reference object in the first object set includes:
[0033] Determining a first weight of a second reference target object according to a correspondence between a type of the target object and a preset type weight, wherein the second reference target object is any reference target object among the at least one reference target object;
[0034] Acquire historical disaster information according to the location information of the second reference target, and determine the disaster level of the historical disaster information according to a preset disaster level assessment rule;
[0035] Determining a second weight corresponding to the disaster level according to a correspondence between the disaster level and the preset weight;
[0036] Acquire water system information in the map information, the water system information including location information of the water system, and determine the distance of the water system closest to the location information of the second reference target object according to the location information of the second reference target object and the location information of the water system;
[0037] The third weight of the second reference target is determined according to the distance, and the vulnerability level corresponding to the second reference target is determined according to the preset vulnerability rule, the first weight, the second weight and the third weight, and the vulnerability level corresponding to each second reference target in the first target set is used as the vulnerability level corresponding to at least one reference target in the first target set.
[0038] Furthermore, after inputting the above-mentioned feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model, the above-mentioned method further includes:
[0039] Acquire reference objects in the above-mentioned area to be tested, whose damage level is greater than a preset damage level threshold, to obtain a third object set;
[0040] Acquire, according to the position information of each reference target in the third target set, a target object whose distance from the position information of the reference target in the third target set is less than a preset distance threshold;
[0041] Obtaining the vulnerability level corresponding to the target object, and inputting the feature set to be measured, the location information of the target object, and the vulnerability level corresponding to the target object into the recurrent neural network model to obtain the damage level of the target object predicted by the recurrent neural network model;
[0042] When it is determined that the damage level of the target object is greater than a preset damage level threshold, the insurance information of the target object is obtained, and business prompt information is sent to a preset sales terminal. The business prompt information includes the location information of the target object and the insurance information of the target object.
[0043] In a second aspect, the embodiment of the present application provides a disaster warning device based on a recurrent neural network model, comprising:
[0044] An acquisition unit is used to acquire map information of the disaster-stricken area to be tested, and divide the disaster-stricken area to be tested into a plurality of areas to be tested according to a preset division rule;
[0045] The acquisition unit is further used to acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested;
[0046] An input unit, used for inputting the above-mentioned feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model;
[0047] The acquisition unit is also used to acquire the first insurance information of the target area to be tested, extract the terminal device information in the first insurance information, generate early warning information according to the damage level of the target area to be tested and the first insurance information, and send the early warning information to the terminal device indicated by the terminal device information, wherein the early warning information is used to prompt that the target area to be tested meets the preset disaster conditions.
[0048] In addition, in this aspect, other optional implementations of the disaster warning device based on the recurrent neural network model can refer to the relevant content of the first aspect mentioned above and will not be described in detail here.
[0049] In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a transceiver; the processor is connected to the memory and the transceiver, respectively, wherein the memory stores a computer program code, and the processor and the transceiver are used to call the program code to execute the method provided by the first aspect and / or any possible implementation of the first aspect.
[0050] In a fourth aspect, an embodiment provides a computer-readable storage medium storing a computer program, which, when executed by a computer device, implements a disaster warning method based on a recurrent neural network model as disclosed in any possible implementation of the first aspect.
[0051] In an embodiment of the present application, by obtaining map information of the disaster-stricken area to be tested, the disaster-stricken area to be tested is divided into multiple areas to be tested according to a preset division rule. By dividing the disaster-stricken area, the damage of each small area to be tested can be specifically analyzed. By determining the feature set to be tested by using the historical environmental data and real-time environmental data of the area to be tested, and inputting the feature set to be tested into the pre-trained recurrent neural network model, the damage level of the target area to be tested is obtained. The recurrent neural network model is used to classify the damage level of the target area to be tested. The model parameters are relatively small, the model construction cycle is relatively short, the timeliness is good, and the accuracy of the prediction can be improved. The scope of use is large, and the prediction probability and applicability are improved. Then, the insurance information of the target area to be tested is obtained and the terminal device information is extracted from the insurance information. Warning information is generated according to the damage level and insurance information of the target area to be tested, and the warning information is sent to the terminal device indicated by the terminal device information. The warning information is used to prompt that the target area to be tested meets the preset disaster conditions. The terminal device information in the insurance information can be used to warn the insured's terminal device that the target area to be tested is about to be affected by a disaster, so that the insured can understand and prevent the disaster in advance and reduce the losses caused by the disaster. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 It is a structural diagram of a disaster warning system based on a recurrent neural network model provided in an embodiment of the present application;
[0054] Figure 2 It is a flowchart of a disaster warning method based on a recurrent neural network model provided in an embodiment of the present application;
[0055] Figure 3 is another flow chart of a disaster warning method based on a recurrent neural network model provided in an embodiment of the present application;
[0056] Figure 4 It is a structural schematic diagram of a disaster warning device based on a recurrent neural network model provided in an embodiment of the present application;
[0057] Figure 5 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0059] The following is combined with Figure 1 -Attached Figure 3 A disaster warning method based on a recurrent neural network model provided in an embodiment of the present application is schematically illustrated.
[0060] A disaster warning method based on a recurrent neural network model provided in an embodiment of the present application can be applied to a disaster warning platform, which can be carried in a disaster warning system or application based on a recurrent neural network model. In some embodiments, the above-mentioned disaster warning platform refers to a platform with the function of sending warning information to the user's terminal device. The disaster warning platform can obtain the set of features to be tested in the area to be tested, and predict the damage level of the area to be tested, and then obtain the insurance information of the area to be tested, extract the terminal device information of the user in the insurance information, and send the warning information including the damage level to the user's terminal device, so as to predict the damage situation of the area to be tested in advance, and warn the user who buys insurance in advance, so as to remind the user to understand and prevent the disaster situation in advance, and reduce the loss caused by the disaster to a certain extent. Among them, the user can be a user who insures the object in the area to be tested, or a user of the disaster warning platform. The user can also obtain the disaster prediction information of the area to be tested from the disaster warning platform and / or the insurance information platform, and the insurance information platform can be a platform for users to buy insurance. In some embodiments, the disaster warning platform can establish a communication connection with the user's terminal device, and the disaster warning platform can also establish a communication connection with the insurance information platform. In some embodiments, the above communication connection method may include but is not limited to wireless communication technology (Wireless Fidelity, WIFI), Bluetooth, Near Field Communication (Near Field Communication, NFC), etc.
[0061] Specifically, the disaster warning platform can obtain map information of the disaster-stricken area, divide the disaster-stricken area to be tested into multiple test areas according to preset division rules, and obtain the historical environmental data and real-time environmental data of the target test area, and determine the test feature set based on the historical environmental data and real-time environmental data. The disaster warning platform can input the test feature set into the pre-trained recurrent neural network model to obtain the damage level predicted by the recurrent neural network model. Then, the disaster warning platform can obtain insurance information, extract terminal device information from the insurance information, generate warning information based on the damage level and insurance information, and send warning information to the terminal device indicated by the device information of the terminal device. The warning information is used to prompt that the target test area meets the preset disaster conditions. On the one hand, the disaster-stricken area to be tested can be divided into multiple areas for specific analysis of each divided area to be tested, so that disaster warnings can be issued to the insured of the subject matter in the area to be tested; on the other hand, the damage level of the target area to be tested can be predicted through the recurrent neural network model, which can improve the accuracy of the prediction and also improve the applicability; on the other hand, the terminal device information in the insurance information can be used to warn the insured, so that the disaster situation can be understood and prevented in advance, thereby reducing the losses caused by the disaster.
[0062] The disaster warning method based on the recurrent neural network model proposed in the embodiment of the present application involves technologies such as artificial intelligence and machine learning, among which: Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning. Machine learning is a multidisciplinary cross-disciplinary major that covers probability theory knowledge, statistical knowledge, approximate theoretical knowledge and complex algorithm knowledge. It uses computers as tools and is committed to simulating human learning methods in real time, and divides existing content into knowledge structures to effectively improve learning efficiency.
[0063] Based on the above description, Figure 1 A disaster warning system based on a recurrent neural network model provided in an embodiment of the present application is schematically illustrated.
[0064] See also Figure 1 , Figure 1 is a schematic diagram of the structure of a disaster warning system based on a recurrent neural network model provided in an embodiment of the present application, such as Figure 1As shown, the above-mentioned disaster warning system based on the recurrent neural network model includes a disaster warning platform 101, one or more terminal devices (terminal device A102, terminal device B103), a training device 104 and an insurance information platform 105. Among them, the disaster warning platform 101 can be directly or indirectly connected to one or more terminal devices (terminal device A102, terminal device B103) by wired or wireless means; the disaster warning platform 101 can also be directly or indirectly connected to the insurance information platform 105 by wired or wireless means. Optionally, the disaster warning system based on the recurrent neural network model can also include a training device 104, and the disaster warning platform 101 can be directly or indirectly connected to the training device 104 by wired or wireless means.
[0065] It should be noted that Figure 1 The number and form of the devices shown are used for example and do not constitute a limitation on the embodiments of the present application. In actual applications, the disaster warning system based on the recurrent neural network model may also include one or more disaster warning platforms, one or more insurance information platforms, two or more terminal devices, or one or more training devices. Among them, the disaster warning platform 101 can be used for training models, that is, the disaster warning platform 101 can be the same device as the training device 104. The embodiments of the present application are explained using an example of a disaster warning platform 101, two terminal devices (terminal device A102, terminal device B103), an insurance information platform 105, and the disaster warning platform 101 and the training device 104 being the same device.
[0066] Among them, the disaster warning platform 101 can obtain insurance information from the insurance information platform 105, the insurance information includes the terminal device information of the area to be tested, the terminal device information can indicate the terminal device A102 and the terminal device B103, the disaster warning platform 101 can also obtain the historical environmental data and real-time environmental data of the area to be tested, and determine the feature set to be tested of the area to be tested according to the historical environmental data and the real-time environmental data, and input the feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the area to be tested, and generate warning information according to the insurance information and the damage level, and send the warning information to the terminal device A102 and the terminal device B103 indicated by the terminal device information. Optionally, the user can register an account on the disaster warning platform to obtain the damage situation of the area to be tested, or register an account on the insurance information platform to purchase insurance, the subject matter of the insurance is the subject matter in the area to be tested, and obtain the damage situation of the area to be tested, so that the insurance information platform can obtain the terminal device information of the user.
[0067] Specifically, the disaster prediction platform 101 can obtain map information of the area to be affected by the disaster, divide the area to be affected by the disaster into multiple areas to be tested according to the preset division rules, and obtain the historical environmental data and real-time environmental data of the target area to be tested among the multiple areas to be tested, and determine the feature set to be tested according to the historical environmental data and the real-time environmental data. Furthermore, the disaster warning platform 101 can input the feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the target area to be tested predicted by the recurrent neural network model. Furthermore, the disaster warning platform 101 can obtain the insurance information of the target area to be tested from the insurance information platform 105, extract the terminal device information in the insurance information, and the terminal device information is used to indicate the terminal device A102 and the terminal device B103. The disaster warning platform can generate warning information according to the insurance information and the damage level, and send the warning information to the terminal device A102 and the terminal device B103. Among them, the above-mentioned recurrent neural network model is trained by the training device 104.
[0068] The above-mentioned disaster warning platform 101, terminal devices (terminal device A102, terminal device B103), training equipment 104 and insurance information platform 105 can all be smart phones, tablet computers, laptops, desktop computers, smart speakers, smart watches, etc.; the above-mentioned disaster warning platform 101, training equipment 104 and the above-mentioned insurance information platform 105 can also be servers, for example, they can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers, or they can be cloud servers that provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms and other basic cloud computing services. This application does not limit this.
[0069] The following is a further detailed description of a disaster warning method based on a recurrent neural network model provided in an embodiment of the present application. Figure 2 , Figure 2 is a flow chart of a disaster warning method based on a recurrent neural network model provided in an embodiment of the present application. Figure 2 As shown, the disaster warning method based on the recurrent neural network model may include:
[0070] 201. Obtain map information of a disaster-stricken area to be tested, and divide the disaster-stricken area to be tested into a plurality of areas to be tested according to a preset division rule.
[0071] In an embodiment of the present application, in order to better let users who have purchased insurance know in advance whether the area where the insured subject matter is located is damaged, and the extent of the damage, the damage to the subject matter. The disaster warning platform can predict whether a disaster is about to occur in a certain area, wherein the area can be divided into multiple areas to be tested, and each area to be tested is predicted, that is, the set of features to be tested in the area to be tested is input into the recurrent neural network model, and the damage level of the area to be tested is obtained through the recurrent neural network model, and the warning information including the damage level is sent to the user's terminal device. The user's terminal device can be obtained by the disaster warning platform from the insurance information platform, and the user is the user who insured the object in the area to be tested. By warning the user, to a certain extent, the disaster situation can be understood and prevented in advance, and the losses caused by the disaster can be reduced.
[0072] In one possible implementation, the area to be affected may be an area where a disaster has occurred before (such as a flood, waterlogging, etc.), or an area selected by an insurance company as containing more subject matter, that is, an area with more insurance, or an area to be affected selected by other methods, and this application does not limit this. Among them, natural disasters include many different disasters, and this application uses flood warning as an example. Among them, the map information of the area to be affected may include the following two types of information: (1) Natural map information: including map information of natural geographical information (such as water systems, vegetation, transportation, etc.). (2) Socio-economic map information: including geographical information of entities such as administrative districts, for example, existing building information, etc. It can also include distribution information such as population density in different time periods in the city.
[0073] In a possible implementation, the disaster warning platform can divide the disaster-affected area into multiple areas to be tested according to the preset division rules based on the above map information, and then conduct a specific analysis on each area to be tested. Optionally, the divided grid can be a square grid or a hexagonal grid, which is not limited in this application. Specifically, the preset division rule can be divided according to the city and suburbs and the preset grid size. The division of the city and suburbs can be divided according to the population density in the above map information, or it can be divided manually by the business personnel, which is not limited in this application. Exemplarily, if the disaster-affected area to be tested is an urban area, it can be divided according to the range of 1 kilometer (KM) * 1KM. If the disaster-affected area to be tested is a suburban area, it can be divided according to the range of 5KM * 5KM, etc. It can also be divided according to the density of the insurance subject matter of the insurance company. If the density of the insurance subject matter of the area to be affected is greater than the preset density threshold, it is divided according to the range of 1KM * 1KM. If it is less than the preset density threshold, it can be divided according to the range of 5KM * 5KM, etc., which is not limited in this application. Each divided grid is regarded as a test area, and then the test area is analyzed.
[0074] 202. Acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data.
[0075] In a possible implementation, the target area to be tested is any area to be tested among the multiple areas to be tested divided as described above. By analyzing one area to be tested, the damage of the insured subject matter in the area to be tested can be specifically analyzed, and then the damage of the insured subject matter can be warned. Among them, the historical environmental data of the target area to be tested can include historical flood data, historical waterlogging data, historical rainfall data, and historical geological disaster data of the target area to be tested; the historical environmental data can also include topographic data, etc. The historical environmental data is used to indicate the historical disaster situation of the target area to be tested, and the historical environmental data can be obtained from a preset database. The preset database can store the historical disaster information of the disaster-stricken area to be tested. Among them, the real-time environmental data of the target area to be tested can also include real-time meteorological data, such as rainfall data. The rainfall data can be rainfall data within a preset time period at the current moment, or rainfall data predicted by a supplier for a period of time in the future at the current moment, etc. The rainfall data can be obtained from the database of a meteorological data supplier.
[0076] Furthermore, the disaster warning platform can determine the set of features to be tested of the area to be tested based on the historical environmental data and the real-time environmental data. The disaster warning platform can convert the historical environmental data and the real-time environmental data of the area to be tested from the original data format into input data for inputting the pre-trained recurrent neural network model. Specifically, the disaster warning platform can convert the above historical environmental data and the real-time environmental data into data in a preset file and a preset format, for example, it can be converted into a defined array format (such as a jason data format), thereby obtaining the set of features to be tested of the target area to be tested.
[0077] Optionally, the above historical environmental data and real-time environmental data can be multi-dimensional data. In order to reduce the computational complexity of the recurrent neural network model, the obtained feature set to be tested can also be subjected to dimensionality reduction processing to obtain the reduced feature set to be tested as input data of the recurrent neural network model.
[0078] 203. Input the feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the target area to be tested predicted by the recurrent neural network model.
[0079] In a possible implementation, in addition to inputting the above-mentioned feature set to be tested into the recurrent neural network model, the location information and vulnerability level of the target object in the test area can also be input. Specifically, the disaster warning platform can obtain the second insurance information from the insurance information platform, and the second insurance information includes the location information of at least one target object. Then, the disaster warning platform can extract the first target object set in the target test area from the second insurance information based on the location information of at least one target object, that is, extract the target object with the location information in the grid of the target test area, and obtain the vulnerability level corresponding to each reference target object in the first target object set. When the feature set to be tested is input into the pre-trained recurrent neural network model, the location information of the reference target object and the vulnerability level of the reference target object can be input into the recurrent neural network model at the same time, and the damage degree (category) of the reference target object in the target test area predicted by the recurrent neural network model is obtained, and the damage level is obtained.
[0080] In a possible implementation, the second insurance information may be the insurance data of the insured stored in the insurance information platform. Specifically, the disaster warning platform obtains the vulnerability level corresponding to each reference target in the first target set, and the so-called vulnerability level is used to indicate the degree to which the reference target is easily damaged. It can be understood that different targets are easily damaged to different degrees. The disaster warning platform determines the first weight of the second reference target according to the correspondence between the type of the target and the preset type weight, and the second reference target is any reference target in the first target set. The disaster warning platform can obtain the historical disaster information of the location information of the second reference target, and determine the disaster level of the historical disaster information according to the preset disaster level assessment rules, and then determine the second weight corresponding to the disaster level of the second reference target according to the correspondence between the disaster level and the preset weight. Then, the water system information in the map information is obtained, and the water system information includes the location information of the water system. According to the location information of the second reference target and the location information of the water system, the distance of the water system closest to the location information of the second reference target is determined, and the third weight of the second reference target is determined according to the distance. And the vulnerability level corresponding to the second reference object is determined according to the first weight, the second weight and the third weight, so as to obtain the vulnerability level corresponding to each reference object in the first object set.
[0081] Specifically, the first weight indicates whether the subject matter of this type is susceptible to damage. Exemplary types of subject matter may include: vehicles, people, machinery and equipment, factories, buildings, goods, projects under construction, engineering materials, etc. Disaster prediction, early warning, and loss estimation are mainly aimed at fixed assets such as factories, equipment, buildings, and projects. Different types of subject matter may have different degrees of damage when encountering disasters of the same degree, so they correspond to different weights to obtain the first weight.
[0082] Specifically, for the second weight, the historical disaster information may include the degree of historical disasters, such as the degree of flood disasters, the degree of waterlogging disasters, and the like. Different degrees of historical disasters indicate the degree of past disasters, and therefore may correspond to different weights to obtain the second weight. Among them, the disaster level may be related to the type of disaster (such as waterlogging disasters, waterlogging disasters, mudslide disasters, etc.) and the degree of occurrence of the historical location information, which may be specifically set by business personnel, and this application does not limit this.
[0083] Specifically, for the third weight, if the distance between the location information of the second reference mark and the water system is relatively close, then when the rainfall is large, the possibility of flood-related disasters is relatively high, and the degree of vulnerability is also relatively high. The so-called water system refers to the water network system composed of all rivers, lakes and other water bodies in the basin, which can specifically refer to a certain river, lake, etc. The distance between the location information of the second reference mark and the nearest water system can be obtained according to the map information, and the third weight can be determined. Among them, the specific method of determining the third weight according to the distance can be to determine the distance interval in which the distance is located, and the weight corresponding to the distance interval to obtain the third weight, or the third weight can be determined according to other methods, and this application does not limit this.
[0084] Furthermore, the preset vulnerability rule may be to add or multiply the first weight, the second weight and the third weight to obtain the weight of the second reference object, and determine the vulnerability level of the second reference object according to the preset vulnerability level corresponding to the interval in which the weight of the object is located, thereby obtaining the vulnerability level of each second reference object in the first object set, that is, obtaining the vulnerability level of the objects in the test area.
[0085] Furthermore, the disaster warning platform inputs the feature set to be measured, the location information of at least one reference target, and the vulnerability level of the reference target into the recurrent neural network model, and obtains the damage level of the reference target in the target area to be measured predicted by the recurrent neural network model. Then, the disaster warning platform can generate warning information and issue warnings based on the damage level of the reference target in the target area to be measured.
[0086] 204. Obtain first insurance information of the target area to be tested, extract terminal device information in the first insurance information, generate warning information according to the damage level of the target area to be tested and the first insurance information, and send the warning information to the terminal device indicated by the terminal device information.
[0087] In a possible implementation, the first insurance information may be the insurance data obtained by the disaster warning platform within a preset time period, and the insurance data includes the location information of multiple objects and the terminal device information corresponding to the location information of each object. The terminal device information may be the telephone number, device identification, etc. of the terminal device. The terminal information corresponding to at least one reference object is extracted based on the location information of each object in the insurance data and the location information of at least one reference object. Furthermore, the disaster warning platform may generate the first insurance information of the target area to be tested based on the second insurance information and the terminal device information corresponding to at least one reference object. The first insurance information may be the contact information of the insured of each object in the area to be tested, so that the disaster warning platform can generate warning information and send it to the corresponding terminal device.
[0088] In one possible implementation, the warning information may be sent in a manner including, but not limited to, push notifications through a disaster warning application, sending text messages to a terminal device, and making an (Artificial Intelligence, AI) phone call to the terminal device, etc., and this application does not limit this. The first insurance information may be obtained by extracting the insurance data from the insurance information platform of the insurance company within a preset time period, and then generating warning information based on the damage level, location information, and type of the reference object. The warning information may include the location of the reference object, the possible damage corresponding to the damage level, and advance deployment measures corresponding to the category of the reference object.
[0089] In a possible implementation, after sending warning information to the terminal devices of each policyholder, the disaster warning platform can also obtain the compensation level corresponding to the damage level of the first reference target, and the compensation level is used to indicate the compensation amount of the first reference target under the damage level. The first reference target is any reference target in the first target set, that is, the target in the target area to be tested. Then the disaster warning platform can determine the compensation amount of the first reference target according to the compensation level. Specifically, determining the compensation amount according to the damage level may include a preset compensation calculation formula, which is not limited in this application. The disaster warning platform can determine the second set of objects corresponding to the information of the first terminal device, that is, determine one or more reference objects insured by each policyholder, and then determine the total amount of compensation corresponding to the policyholder. The total amount of compensation is the sum of the compensation amounts of each object insured by the policyholder. The disaster warning platform can then generate prompt information based on the increased amount of compensation of each first terminal information, and send the prompt information to a preset insurance terminal device, which can be an insurance information platform or a terminal device under the insurance information platform.
[0090] Among them, the disaster warning platform can also count the summary damage of each subject matter insured by each terminal device information (i.e., each insured person), and send the summary damage situation to the terminal device of the insurance company, i.e., the terminal device of the insurance information platform. Optionally, the summary damage situation can also include the compensation level and compensation amount of each subject matter, so that the total compensation amount of each insured person can be calculated, which is convenient for the insurance company's business personnel to deploy insurance in advance and prepare for subsequent underwriting and risk control.
[0091] In a possible implementation, after the disaster warning platform inputs the feature set to be tested into the pre-trained recurrent neural network model and obtains the damage level of the target area to be tested predicted by the recurrent neural network model, it can also determine the reference objects whose damage level is greater than the preset damage level threshold to obtain the third object set. It can be understood that the objects in the third object set may be objects with a higher damage level and may be seriously damaged. Then, according to the position information of each reference object in the third object set, the target object whose distance from the position information is less than the preset distance threshold is obtained, and the damage level of the target object is further obtained, and the above-mentioned feature set to be tested, the position information of the target object and the vulnerability level corresponding to the target object are input into the above-mentioned recurrent neural network model to obtain the damage level of the target object. If it is determined that the damage level of the target object is greater than the preset damage level threshold, the insurance information of the target object is obtained, and the business prompt information is sent to the preset sales terminal, and the business prompt information includes the position information of the target object and the insurance information.
[0092] Among them, after obtaining the output result of the recurrent neural network model, it is possible to screen out reference objects with a higher level of damage, that is, objects predicted to be severely damaged, to obtain a third set of objects, and to obtain target objects around each object in the third set of objects, that is, the surrounding target objects are uninsured objects, which can be obtained specifically from map information. Furthermore, the disaster warning platform can input the vulnerability level, location information, and feature set to be tested of the target object into the recurrent neural network model to obtain the damage level of the target object. If the damage level is higher than the preset damage level threshold, that is, it is determined that the target object is highly damaged, then business information can be sent to the sales terminal of the business personnel, and the business information is used to indicate that the target object can be insured. Optionally, the insurable information can include the types of insurance that can be insured for the target object, the contract amount, etc.
[0093] In an embodiment of the present application, by obtaining map information of the disaster-stricken area to be tested, the disaster-stricken area to be tested is divided into multiple areas to be tested according to a preset division rule. By dividing the disaster-stricken area, the damage of each small area to be tested can be specifically analyzed. By determining the feature set to be tested by using the historical environmental data and real-time environmental data of the area to be tested, and inputting the feature set to be tested into the pre-trained recurrent neural network model, the damage level of the target area to be tested is obtained. The recurrent neural network model is used to classify the damage level of the target area to be tested. The model parameters are relatively small, the model construction cycle is relatively short, the timeliness is good, and the accuracy of the prediction can be improved. The scope of use is large, and the prediction probability and applicability are improved. Then, the insurance information of the target area to be tested is obtained and the terminal device information is extracted from the insurance information. Warning information is generated according to the damage level and insurance information of the target area to be tested, and the warning information is sent to the terminal device indicated by the terminal device information. The warning information is used to prompt that the target area to be tested meets the preset disaster conditions. The terminal device information in the insurance information can be used to warn the insured's terminal device that the target area to be tested is about to be affected by a disaster, so that the insured can understand and prevent the disaster in advance and reduce the losses caused by the disaster.
[0094] See also Figure 3 , Figure 3 It is a flowchart of a disaster warning method based on a recurrent neural network model provided in an embodiment of the present application. It should be noted that the same or similar parts between the various embodiments in the present application can refer to each other. In the various embodiments in the present application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their internal logical relationships. The above-mentioned implementation methods of the present application do not constitute a limitation on the scope of protection of the present application. As Figure 3 As shown, the disaster warning method based on the recurrent neural network model may include:
[0095] 301. Obtain a training sample set, where the training sample set includes at least one first training sample.
[0096] In a possible implementation, the above recurrent neural network model can be a recurrent neural network (RNN), a long short-term memory network (LSTM), or other recurrent neural network models, which is not limited in this application. This application takes LSTM as an example for explanation.
[0097] This is because LSTM has memory and is mostly used to process time series data. There are blocks in the LSTM model. Each block can include an input layer, a hidden layer, and an output layer. The hidden layer also includes a loop layer. The loop layer includes a memory cell for storing information at each moment, an input gate for inputting each time step (equivalent to each moment) into the memory cell, an output gate for outputting information from the memory cell, and a forget gate for judging whether the memory cell outputs the information of the time step. For each block, the input received by the memory cell is the product of the value of the input gate and the value of the input at the current moment, and the product of the forget gate and the value of the memory cell output at the previous time step (previous moment / previous block). After the calculation of this forget gate, the output result of the memory cell at this time step is output, and then enters the next block for processing. Therefore, the disaster warning platform can input historical environmental data and real-time environmental data into the LSTM in a preset format in sequence according to the time sequence. The LSTM can be used for prediction or classification. The input data is processed by LSTM to obtain prediction or classification results. Among them, the LSTM also has the characteristics of fewer parameters, shorter model building cycle, and better timeliness. In the embodiment of the present application, the LSTM is used as a classifier.
[0098] Specifically, the training device (disaster warning platform) can obtain a training sample set, which can be training data extracted by technicians from historical disaster data. The training data can include data of multiple historical disasters, and each disaster data can be used as a first training sample to obtain at least one first training sample. Optionally, the training data can also be divided into a training sample set and a test sample set according to a ratio, so as to test the initial recurrent neural network model after training.
[0099] 302. Input the first training sample set into an initial recurrent neural network model to obtain a classification result of the first training sample output by the initial recurrent neural network model, wherein the classification result is used to indicate the classification probability of the first training sample belonging to each category.
[0100] In a possible implementation, since the LSTM is used as a classifier in the embodiment of the present application, the cross entropy loss function can be selected as the loss function of the LSTM. Specifically, the first training sample is input into the initial LSTM to obtain the classification result of the first training sample output by the LSTM, and the classification result includes the classification probability of the first training sample under each category. Among them, each category can be the damage level of the reference object, and each damage level corresponds to a category.
[0101] Optionally, the classification probability of the first training sample belonging to each category can be expressed by a softmax equation, as shown in Formula 1:
[0102]
[0103] In Formula 1, C K represents the output category, the value of k can be 1, 2...K, a is the output vector of the LSTM model, and k represents a certain category. Furthermore, the disaster warning platform (training device) can determine the loss function value of the LSTM model according to the classification results of each first training sample in the training sample set.
[0104] 303. Determine the loss function value of the initial recurrent neural network model according to the classification probability that the at least one first training sample in the training sample set belongs to each category.
[0105] In a possible implementation, since the LSTM in the embodiment of the present application is a classification model, the loss function may be a cross entropy loss function, and the loss function value may be determined according to the difference between the category of each first training sample in the training sample set output by the LSTM model and the true category. Specifically, the above p(C K |x) is defined as y k , then the loss function can be shown as formula 2:
[0106]
[0107] In Formula 2, L(x,z) represents the loss function, x represents the feature set of the input LSTM model, and z k is the actual label, i.e., the damaged level label of the first training sample. k for y k Logarithm to base e, y k = p(C k |x), where y kIt is related to the weights of the LSTM model (i.e. the parameters of the model). Then, the disaster warning platform (training device) performs chain derivation on the loss function, thereby optimizing the weights (i.e. the parameters of the model) in the LSTM model through back propagation and gradient descent methods.
[0108] 304. Iteratively train the initial recurrent neural network model according to the loss function value and the training sample set. When the loss function value satisfies a training end condition, determine that the initial recurrent neural network model when the loss function value satisfies the training end condition is the recurrent neural network model.
[0109] In a possible implementation, the training end condition may be that the loss function value obtained above is the minimum, or that the classification results of each test sample in the test sample set are obtained by inputting each test sample in the test sample set into the initial recurrent neural network model, and then the classification accuracy for the test sample set is calculated according to the classification results of each test sample and the true results. The training end condition may be a classification accuracy threshold. The disaster warning platform (training device) may determine the initial recurrent neural network model with the minimum loss function value as the trained recurrent neural network model, or may determine the initial recurrent neural network model with the classification accuracy of the test sample set reaching the classification accuracy threshold as the trained recurrent neural network model, thereby completing the training. The disaster warning platform may use the trained recurrent neural network model to predict the damage to the tested area.
[0110] In an embodiment of the present application, by obtaining map information of the disaster-stricken area to be tested, the disaster-stricken area to be tested is divided into multiple areas to be tested according to a preset division rule. By dividing the disaster-stricken area, the damage of each small area to be tested can be specifically analyzed. By determining the feature set to be tested by using the historical environmental data and real-time environmental data of the area to be tested, and inputting the feature set to be tested into the pre-trained recurrent neural network model, the damage level of the target area to be tested is obtained. The recurrent neural network model is used to classify the damage level of the target area to be tested. The model parameters are relatively small, the model construction cycle is relatively short, the timeliness is good, and the accuracy of the prediction can be improved. The scope of use is large, and the prediction probability and applicability are improved. Then, the insurance information of the target area to be tested is obtained and the terminal device information is extracted from the insurance information. Warning information is generated according to the damage level and insurance information of the target area to be tested, and the warning information is sent to the terminal device indicated by the terminal device information. The warning information is used to prompt that the target area to be tested meets the preset disaster conditions. The terminal device information in the insurance information can be used to warn the insured's terminal device that the target area to be tested is about to be affected by a disaster, so that the insured can understand and prevent the disaster in advance and reduce the losses caused by the disaster.
[0111] See also Figure 4 , Figure 4 : is a schematic diagram of the structure of a disaster warning device based on a recurrent neural network model provided in an embodiment of the present application. The disaster warning device 400 based on a recurrent neural network model includes:
[0112] An acquisition unit 401 is used to acquire map information of a disaster-stricken area to be tested, and divide the disaster-stricken area to be tested into a plurality of areas to be tested according to a preset division rule;
[0113] The acquisition unit 401 is further used to acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested;
[0114] An input unit 402 is used to input the above-mentioned feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model;
[0115] The acquisition unit 401 is also used to acquire the first insurance information of the target area to be tested, extract the terminal device information in the first insurance information, generate warning information according to the damage level of the target area to be tested and the first insurance information, and send the warning information to the terminal device indicated by the terminal device information, wherein the warning information is used to prompt that the target area to be tested meets the preset disaster conditions.
[0116] Furthermore, the acquisition unit 401 is further configured to acquire a training sample set, wherein the training sample set includes at least one first training sample;
[0117] The input unit 402 is further used to input the first training sample set into the initial recurrent neural network model to obtain the classification result of the first training sample output by the initial recurrent neural network model, wherein the classification result is used to indicate the classification probability of the first training sample belonging to each category;
[0118] A determination unit 403 is used to determine the loss function value of the initial recurrent neural network model according to the classification probability that the at least one first training sample in the training sample set belongs to each category;
[0119] The training unit 404 is used to iteratively train the initial recurrent neural network model according to the loss function value and the training sample set. When the loss function value satisfies the training end condition, the initial recurrent neural network model when the loss function value satisfies the training end condition is determined to be the recurrent neural network model.
[0120] Furthermore, the acquisition unit 401 is further configured to acquire second insurance information, wherein the second insurance information includes location information of at least one subject matter;
[0121] An extraction unit 405 is used to extract a first target object set in the target detection area from the second insurance information according to the location information of the at least one target object;
[0122] The acquisition unit 401 is further configured to acquire a vulnerability level corresponding to at least one reference target in the first target set;
[0123] The input unit 402 inputs the feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the target area to be tested predicted by the recurrent neural network model, which is specifically used for:
[0124] The above-mentioned feature set to be measured, the position information of the above-mentioned at least one reference target, and the fragility level of the above-mentioned at least one reference target are input into the above-mentioned recurrent neural network model to obtain the damage level of the above-mentioned at least one reference target in the above-mentioned target area to be measured predicted by the above-mentioned recurrent neural network model.
[0125] Furthermore, the second insurance information further includes at least one type of the subject matter, and the acquisition unit 401 acquires the first insurance information of the target area to be tested, specifically for:
[0126] Acquire insurance data within a preset time period, the insurance data including location information of multiple objects and terminal device information corresponding to the location information of each object;
[0127] Extracting terminal device information corresponding to the at least one reference object from the insurance data according to the location information of each of the objects and the location information of the at least one reference object;
[0128] Generate the first insurance information of the target area to be tested according to the second insurance information and the terminal device information corresponding to the at least one reference object;
[0129] The generating of warning information according to the damage level of the target area to be tested and the first insurance information includes:
[0130] The warning information is generated according to the damage level of the at least one reference object, the location information of the at least one reference object, and the type of the at least one object.
[0131] Furthermore, the acquisition unit 401 is further configured to acquire a compensation level corresponding to a damage level of the first reference object, wherein the compensation level is used to indicate a compensation amount corresponding to the first reference object, and the first reference object is any reference object among the at least one reference object;
[0132] The determination unit 403 is further configured to determine the compensation amount of the first reference object according to the compensation level;
[0133] The determination unit 403 is further configured to determine a second set of objects corresponding to the first terminal device information, wherein the second set of objects includes one or more reference objects, and the first terminal device information is any terminal device information in the first insurance information;
[0134] The determination unit 403 is further configured to determine a total compensation amount of the first terminal device information, where the total compensation amount is the sum of the compensation amounts of all reference objects in the second object set;
[0135] The generating unit 406 is used to generate prompt information according to the total amount of compensation of each first terminal device information in the above-mentioned first insurance information, and send the above-mentioned prompt information to a preset insurance terminal device.
[0136] Furthermore, the acquisition unit 401 acquires the vulnerability level corresponding to at least one reference target in the first target set, specifically for:
[0137] Determining a first weight of a second reference target object according to a correspondence between a type of the target object and a preset type weight, wherein the second reference target object is any reference target object among the at least one reference target object;
[0138] Acquire historical disaster information according to the location information of the second reference target, and determine the disaster level of the historical disaster information according to a preset disaster level assessment rule;
[0139] Determining a second weight corresponding to the disaster level according to a correspondence between the disaster level and the preset weight;
[0140] Acquire water system information in the map information, the water system information including location information of the water system, and determine the distance of the water system closest to the location information of the second reference target object according to the location information of the second reference target object and the location information of the water system;
[0141] The third weight of the second reference target is determined according to the distance, and the vulnerability level corresponding to the second reference target is determined according to the preset vulnerability rule, the first weight, the second weight and the third weight, and the vulnerability level corresponding to each second reference target in the first target set is used as the vulnerability level corresponding to at least one reference target in the first target set.
[0142] Furthermore, the acquisition unit 401 is further configured to:
[0143] Acquire reference objects in the above-mentioned area to be tested, whose damage level is greater than a preset damage level threshold, to obtain a third object set;
[0144] Acquire, according to the position information of each reference target in the third target set, a target object whose distance from the position information of the reference target in the third target set is less than a preset distance threshold;
[0145] Obtaining the vulnerability level corresponding to the target object, and inputting the feature set to be measured, the location information of the target object, and the vulnerability level corresponding to the target object into the recurrent neural network model to obtain the damage level of the target object predicted by the recurrent neural network model;
[0146] When it is determined that the damage level of the target object is greater than a preset damage level threshold, the insurance information of the target object is obtained, and business prompt information is sent to a preset sales terminal. The business prompt information includes the location information of the target object and the insurance information of the target object.
[0147] For detailed description of the acquisition unit 401, the input unit 402, the determination unit 403, the training unit 404, the extraction unit 405 and the generation unit 406, please refer to the above Figures 2 to 3 The relevant description in the illustrated method embodiment is directly obtained and will not be repeated here.
[0148] In an embodiment of the present application, by obtaining map information of the disaster-stricken area to be tested, the disaster-stricken area to be tested is divided into multiple areas to be tested according to a preset division rule. By dividing the disaster-stricken area, the damage of each small area to be tested can be specifically analyzed. By determining the feature set to be tested by using the historical environmental data and real-time environmental data of the area to be tested, and inputting the feature set to be tested into the pre-trained recurrent neural network model, the damage level of the target area to be tested is obtained. The recurrent neural network model is used to classify the damage level of the target area to be tested. The model parameters are relatively small, the model construction cycle is relatively short, the timeliness is good, and the accuracy of the prediction can be improved. The scope of use is large, and the prediction probability and applicability are improved. Then, the insurance information of the target area to be tested is obtained and the terminal device information is extracted from the insurance information. Warning information is generated according to the damage level and insurance information of the target area to be tested, and the warning information is sent to the terminal device indicated by the terminal device information. The warning information is used to prompt that the target area to be tested meets the preset disaster conditions. The terminal device information in the insurance information can be used to warn the insured's terminal device that the target area to be tested is about to be affected by a disaster, so that the insured can understand and prevent the disaster in advance and reduce the losses caused by the disaster.
[0149] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 5 As shown, the computer device 500 in the embodiment of the present application may include:
[0150] Processor 501, transceiver 502 and memory 505. In addition, the above-mentioned computer device 500 may also include: a user interface 504, and at least one communication bus 503. The communication bus 503 is used to realize the connection and communication between these components. The user interface 504 may include a display screen (Display) and a keyboard (Keyboard). The memory 505 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 505 may optionally be at least one storage device located away from the aforementioned processor 501 and the aforementioned transceiver 502. Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0151] exist Figure 5In the computer device 500 shown, the transceiver 502 can provide a network communication function so that the servers can communicate with each other; the user interface 504 is mainly used to provide an input interface for the user; and the processor 501 can be used to call the device control application stored in the memory 505 to perform the following operations:
[0152] Obtaining map information of the disaster-stricken area to be tested, and dividing the disaster-stricken area to be tested into multiple areas to be tested according to a preset division rule;
[0153] Acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested;
[0154] Inputting the above-mentioned feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the above-mentioned target area to be tested predicted by the above-mentioned recurrent neural network model;
[0155] Obtain the first insurance information of the above-mentioned target area to be tested, extract the terminal device information in the above-mentioned first insurance information, generate early warning information according to the damage level of the above-mentioned target area to be tested and the above-mentioned first insurance information, and send the early warning information to the terminal device indicated by the above-mentioned terminal device information, wherein the above-mentioned early warning information is used to prompt that the above-mentioned target area to be tested meets the preset disaster conditions.
[0156] In a possible implementation, before the processor 501 inputs the feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the target area to be tested output by the recurrent neural network model, the processor 501 is further configured to perform the following operations:
[0157] Acquire a training sample set, wherein the training sample set includes at least one first training sample;
[0158] Inputting the first training sample set into the initial recurrent neural network model to obtain the classification result of the first training sample output by the initial recurrent neural network model, wherein the classification result is used to indicate the classification probability of the first training sample belonging to each category;
[0159] Determine the loss function value of the initial recurrent neural network model according to the classification probability that the at least one first training sample in the training sample set belongs to each category;
[0160] The initial recurrent neural network model is iteratively trained according to the above-mentioned loss function value and the above-mentioned training sample set. When the above-mentioned loss function value satisfies the training end condition, the initial recurrent neural network model when the above-mentioned loss function value satisfies the training end condition is determined to be the above-mentioned recurrent neural network model.
[0161] In a possible implementation, before the processor 501 obtains the historical environmental data and the real-time environmental data of the target area to be measured, the processor 501 is further configured to perform the following operations:
[0162] Acquiring second insurance information, wherein the second insurance information includes location information of at least one subject matter;
[0163] Extracting a first set of targets in the target area to be detected from the second insurance information according to the location information of the at least one target;
[0164] Obtaining a vulnerability level corresponding to at least one reference object in the first object set;
[0165] The processor 501 inputs the feature set to be tested into the pre-trained recurrent neural network model to obtain the damage level of the target area to be tested predicted by the recurrent neural network model, which is specifically used to execute:
[0166] The above-mentioned feature set to be measured, the position information of the above-mentioned at least one reference target, and the fragility level of the above-mentioned at least one reference target are input into the above-mentioned recurrent neural network model to obtain the damage level of the above-mentioned at least one reference target in the above-mentioned target area to be measured predicted by the above-mentioned recurrent neural network model.
[0167] In a possible implementation, the second insurance information further includes at least one type of subject matter, and the processor 501 obtains the first insurance information of the target area to be tested, specifically for executing:
[0168] Acquire insurance data within a preset time period, the insurance data including location information of multiple objects and terminal device information corresponding to the location information of each object;
[0169] Extracting terminal device information corresponding to the at least one reference object from the insurance data according to the location information of each of the objects and the location information of the at least one reference object;
[0170] Generate the first insurance information of the target area to be tested according to the second insurance information and the terminal device information corresponding to the at least one reference object;
[0171] The generating of warning information according to the damage level of the target area to be tested and the first insurance information includes:
[0172] The warning information is generated according to the damage level of the at least one reference object, the location information of the at least one reference object, and the type of the at least one object.
[0173] In a possible implementation manner, after the processor 501 sends the warning information to the terminal device indicated by the terminal device information, the processor 501 is further configured to perform the following operations:
[0174] Obtaining a compensation level corresponding to a damage level of a first reference object, wherein the compensation level is used to indicate a compensation amount corresponding to the first reference object, and the first reference object is any reference object among the at least one reference object;
[0175] Determine the compensation amount of the first reference object according to the compensation level;
[0176] Determine a second set of objects corresponding to the first terminal device information, where the second set of objects includes one or more reference objects, and the first terminal device information is any terminal device information in the first insurance information;
[0177] Determine the total compensation amount of the first terminal device information, where the total compensation amount is the sum of the compensation amounts of all reference objects in the second object set;
[0178] Generate prompt information based on the total amount of compensation for each first terminal device information in the above-mentioned first insurance information, and send the above-mentioned prompt information to the preset insurance terminal device.
[0179] In a possible implementation, the processor 501 obtains a vulnerability level corresponding to at least one reference target in the first target set, specifically for executing:
[0180] Determining a first weight of a second reference target object according to a correspondence between a type of the target object and a preset type weight, wherein the second reference target object is any reference target object among the at least one reference target object;
[0181] Acquire historical disaster information according to the location information of the second reference target, and determine the disaster level of the historical disaster information according to a preset disaster level assessment rule;
[0182] Determining a second weight corresponding to the disaster level according to a correspondence between the disaster level and the preset weight;
[0183] Acquire water system information in the map information, the water system information including location information of the water system, and determine the distance of the water system closest to the location information of the second reference target object according to the location information of the second reference target object and the location information of the water system;
[0184] The third weight of the second reference target is determined according to the distance, and the vulnerability level corresponding to the second reference target is determined according to the preset vulnerability rule, the first weight, the second weight and the third weight, and the vulnerability level corresponding to each second reference target in the first target set is used as the vulnerability level corresponding to at least one reference target in the first target set.
[0185] In a possible implementation, the processor 501 inputs the feature set to be tested into a pre-trained recurrent neural network model, and after obtaining the damage level of the target area to be tested predicted by the recurrent neural network model, the processor 501 is further configured to perform the following operations:
[0186] Acquire reference objects in the above-mentioned area to be tested, whose damage level is greater than a preset damage level threshold, to obtain a third object set;
[0187] Acquire, according to the position information of each reference target in the third target set, a target object whose distance from the position information of the reference target in the third target set is less than a preset distance threshold;
[0188] Obtaining the vulnerability level corresponding to the target object, and inputting the feature set to be measured, the location information of the target object, and the vulnerability level corresponding to the target object into the recurrent neural network model to obtain the damage level of the target object predicted by the recurrent neural network model;
[0189] When it is determined that the damage level of the target object is greater than a preset damage level threshold, the insurance information of the target object is obtained, and business prompt information is sent to a preset sales terminal. The business prompt information includes the location information of the target object and the insurance information of the target object.
[0190] It should be understood that in some feasible implementations, the processor 501 may be a central processing unit (CPU), and the processor 501 may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0191] The memory 505 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory 505 may also include a nonvolatile random access memory.
[0192] In a specific implementation, the computer device 500 can execute the above-mentioned functions through its built-in functional modules. Figure 2 and Figure 3 For the implementation methods provided in each step, please refer to the implementation methods provided in the above steps for details, which will not be repeated here.
[0193] In an embodiment of the present application, by obtaining map information of the disaster-stricken area to be tested, the disaster-stricken area to be tested is divided into multiple areas to be tested according to a preset division rule. By dividing the disaster-stricken area, the damage of each small area to be tested can be specifically analyzed. By determining the feature set to be tested by using the historical environmental data and real-time environmental data of the area to be tested, and inputting the feature set to be tested into the pre-trained recurrent neural network model, the damage level of the target area to be tested is obtained. The recurrent neural network model is used to classify the damage level of the target area to be tested. The model parameters are relatively small, the model construction cycle is relatively short, the timeliness is good, and the accuracy of the prediction can be improved. The scope of use is large, and the prediction probability and applicability are improved. Then, the insurance information of the target area to be tested is obtained and the terminal device information is extracted from the insurance information. Warning information is generated according to the damage level and insurance information of the target area to be tested, and the warning information is sent to the terminal device indicated by the terminal device information. The warning information is used to prompt that the target area to be tested meets the preset disaster conditions. The terminal device information in the insurance information can be used to warn the insured's terminal device that the target area to be tested is about to be affected by a disaster, so that the insured can understand and prevent the disaster in advance and reduce the losses caused by the disaster.
[0194] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the computer device mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, the computer program can execute the above-mentioned Figure 2 or Figure 3 Therefore, the description of any method in any corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0195] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by hardware related to computer program instructions, and the above-mentioned program can be stored in a computer-readable storage medium, which, when executed, can include the processes of the embodiments of the above-mentioned methods. The above-mentioned storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0196] It should be emphasized that in order to further ensure the privacy and security of the above data, the above data can also be stored in a node of a blockchain. Among them, the blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer.
[0197] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A disaster warning method based on a recurrent neural network model, characterized in that: include: Obtaining map information of the disaster-stricken area to be tested, and dividing the disaster-stricken area to be tested into a plurality of areas to be tested according to a preset division rule; Acquire second insurance information, the second insurance information including location information of at least one subject matter and a type of at least one subject matter; extracting a first set of target objects in the target area to be detected from the second insurance information according to the location information of the at least one target object; Obtaining a vulnerability level corresponding to at least one reference object in the first object set; Acquire historical environmental data and real-time environmental data of a target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested; Inputting the feature set to be measured, the position information of the at least one reference target, and the vulnerability level of the at least one reference target into a pre-trained recurrent neural network model to obtain the damage level of the at least one reference target in the target area to be measured predicted by the recurrent neural network model; Acquire insurance data within a preset time period, the insurance data including location information of multiple objects and terminal device information corresponding to the location information of each object; Extracting terminal device information corresponding to the at least one reference object from the insurance data according to the location information of each object and the location information of the at least one reference object; Generate first insurance information of the target area to be tested according to the second insurance information and the terminal device information corresponding to the at least one reference target, extract the terminal device information in the first insurance information, generate warning information according to the damage level of the at least one reference target, the location information of the at least one reference target and the type of the at least one target, and send warning prompt information to the terminal device indicated by the terminal device information, wherein the warning prompt information is used to prompt that the target area to be tested meets the preset disaster condition; The obtaining of the vulnerability level corresponding to at least one reference target in the first target set includes: Determining a first weight of a second reference target object according to a correspondence between a type of the target object and a preset type weight, wherein the second reference target object is any reference target object among the at least one reference target object; Acquire historical disaster information according to the location information of the second reference target, and determine the disaster level of the historical disaster information according to a preset disaster level assessment rule; Determining a second weight corresponding to the disaster level according to a correspondence between the disaster level and the preset weight; Acquire water system information in the map information, the water system information including location information of the water system, and determine the distance of the water system closest to the location information of the second reference target object according to the location information of the second reference target object and the location information of the water system; The third weight of the second reference target is determined according to the distance, and the vulnerability level corresponding to the second reference target is determined according to the preset vulnerability rule, the first weight, the second weight and the third weight, and the vulnerability level corresponding to each second reference target in the first target set is used as the vulnerability level corresponding to at least one reference target in the first target set.
2. The method according to claim 1, characterized in that Before inputting the feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the target area to be tested output by the recurrent neural network model, the method further includes: Acquire a training sample set, where the training sample set includes at least one first training sample; Inputting the first training sample set into an initial recurrent neural network model to obtain a classification result of the first training sample output by the initial recurrent neural network model, wherein the classification result is used to indicate the classification probability that the first training sample belongs to each category; Determine the loss function value of the initial recurrent neural network model according to the classification probability that the at least one first training sample in the training sample set belongs to each category; The initial recurrent neural network model is iteratively trained according to the loss function value and the training sample set. When the loss function value satisfies a training end condition, the initial recurrent neural network model when the loss function value satisfies the training end condition is determined to be the recurrent neural network model.
3. The method according to claim 1, characterized in that After sending the early warning prompt information to the terminal device indicated by the terminal device information, the method further includes: Obtaining a compensation level corresponding to a damage level of a first reference object, where the compensation level is used to indicate a compensation amount corresponding to the first reference object, and the first reference object is any reference object among the at least one reference object; Determining the compensation amount of the first reference subject matter according to the compensation level; Determine a second set of objects corresponding to the first terminal device information, where the second set of objects includes one or more reference objects, and the first terminal device information is any terminal device information in the first insurance information; Determine a total compensation amount for the first terminal device information, where the total compensation amount is the sum of the compensation amounts of all reference objects in the second object set; Generate prompt information based on the total amount of compensation for each first terminal device information in the first insurance information, and send the prompt information to a preset insurance terminal device.
4. The method according to claim 1, characterized in that: After inputting the feature set to be tested into a pre-trained recurrent neural network model to obtain the damage level of the target area to be tested predicted by the recurrent neural network model, the method further includes: Acquire reference objects in the area to be tested whose damage level is greater than a preset damage level threshold to obtain a third object set; Acquire, according to the position information of each reference target in the third target set, a target object whose distance from the position information of the reference target in the third target set is less than a preset distance threshold; Acquire the vulnerability level corresponding to the target object, and input the feature set to be measured, the location information of the target object, and the vulnerability level corresponding to the target object into the recurrent neural network model to obtain the damage level of the target object predicted by the recurrent neural network model; When it is determined that the damage level of the target object is greater than a preset damage level threshold, the insurance information of the target object is obtained, and business prompt information is sent to a preset sales terminal, wherein the business prompt information includes the location information of the target object and the insurance information of the target object.
5. A disaster warning device based on a recurrent neural network model, characterized in that: The device is used to perform the method according to any one of claims 1 to 4, and the device comprises: An acquisition unit, used for acquiring map information of the disaster-stricken area to be tested, and dividing the disaster-stricken area to be tested into a plurality of areas to be tested according to a preset division rule; The acquisition unit is further used to acquire historical environmental data and real-time environmental data of the target area to be tested, and determine a set of features to be tested of the target area to be tested according to the historical environmental data and the real-time environmental data, wherein the target area to be tested is any area to be tested in the disaster-stricken area to be tested; An input unit, used for inputting the feature set to be tested into a pre-trained recurrent neural network model to obtain a damage level of the target area to be tested predicted by the recurrent neural network model; The acquisition unit is further used to acquire first insurance information of the target area to be tested, extract terminal device information in the first insurance information, generate warning information according to the damage level of the target area to be tested and the first insurance information, and send warning prompt information to the terminal device indicated by the terminal device information, wherein the warning prompt information is used to prompt that the target area to be tested meets preset disaster conditions.
6. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Debris flow disaster prediction method and system, terminal and storage medium
CN113344297A
Disaster security calculation method, and user terminal and non-transitory medium implementing same
US20210203685A1
