Disaster emergency decision-making assistance method, device, computer equipment, and storage medium

OpenFOAM input data is generated through intelligent question and answer, and a simulation model is created to simulate the disaster evolution process, which solves the problem of inaccurate expert judgment in disaster emergency response and improves the effectiveness and accuracy of disaster emergency measures.

CN118210909BActive Publication Date: 2024-09-10SHENZHEN SCIENCE & TECHNOLOGY INSTITUTE OF URBAN SAFETY DEVELOPMENT +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410628154.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-10
Estimated Expiration
2044-05-21

AI Technical Summary

Technical Problem

In disaster emergencies, experts are unable to rush to the scene in time, resulting in inaccurate judgments and ineffective suggestions and measures to deal with disasters.

Method used

By obtaining the disaster question text, using the pre-established cognitive model to conduct intelligent question and answer, generate OpenFOAM input data, create a simulation model, simulate the disaster evolution process, and provide accurate prevention and control measures.

Benefits of technology

It improves the effectiveness and accuracy of disaster emergency measures, reduces the learning and operating costs of relevant personnel, is suitable for different types of disaster problems, and provides innovative and efficient solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118210909B
    Figure CN118210909B
Patent Text Reader

Abstract

The present invention relates to the field of disaster emergency technology, and discloses a disaster emergency decision-making assistance method, device, computer equipment, and storage medium. The method comprises: obtaining a disaster problem text, wherein the disaster problem text includes disaster problem scene data, and the disaster problem scene data includes fluid dynamics data; inputting the disaster problem text into a pre-established cognitive model to generate OpenFOAM input data related to the disaster problem scene data; creating an OpenFOAM model using the OpenFOAM input data; running a solver in the OpenFOAM model through a pre-established script or automation tool, simulating the disaster evolution process based on the disaster problem scene data, and obtaining a disaster scene simulation result. By participating in the construction of a simulation model through a cognitive model, the efficiency of the simulation is improved, the disaster evolution process simulated by the simulation model is more accurate, and the disaster emergency measures obtained based on the simulation results will also be more effective.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of disaster emergency technology, and in particular to a disaster emergency decision-making auxiliary method, device, computer equipment, and storage medium. Background Art

[0002] In the face of emergency response needs brought about by disasters such as fires and waterlogging, experts are required to evaluate the disaster situation based on relevant knowledge, intuitive judgment and previous experience, and provide suggestions based on the evaluation results. Commanders make emergency measures based on the experts' suggestions. However, when a disaster occurs, if experts cannot rush to the scene in time, they will not be able to provide effective suggestions in time, resulting in the inability to take effective measures to deal with the disaster in the first place; if experts give suggestions remotely, they will not be able to accurately obtain the on-site situation, resulting in inaccurate suggestions. In addition, experts are limited by subjective judgment, limited information and time pressure, which will lead to inaccurate judgments, so the measures and suggestions provided to the commander cannot effectively deal with the disaster. Summary of the invention

[0003] In view of this, the present invention provides a disaster emergency decision-making support method, device, computer equipment, and storage medium to solve the problem that the measures and suggestions provided by experts to commanders cannot effectively deal with disasters.

[0004] In a first aspect, the present invention provides a disaster emergency decision-making support method, the method comprising: obtaining a disaster problem text, the disaster problem text including disaster problem scenario data; inputting the disaster problem text into a pre-established cognitive model, performing intelligent question and answering through the cognitive model, and generating OpenFOAM input data related to the disaster problem scenario data; creating an OpenFOAM model using the OpenFOAM input data; running a solver in the OpenFOAM model through a pre-established script or automation tool, simulating the disaster evolution process based on the disaster problem scenario data, and obtaining a disaster scenario simulation result.

[0005] When a disaster occurs, a simulation model is established, and the evolution process of the disaster is simulated by the simulation model, and effective prevention and control measures can be provided in combination with the simulation results. In an embodiment of the present invention, the disaster problem text is input into a pre-established cognitive model, and intelligent questions and answers are performed through the cognitive model to obtain OpenFOAM input data, thereby creating an OpenFOAM model using the OpenFOAM input data, that is, in an embodiment of the present invention, the OpenFOAM input data used to create the simulation model is obtained by intelligent questions and answers through the cognitive model, and the cognitive model is used to participate in the construction of the simulation model, which improves the efficiency of the simulation and reduces the learning and operation costs of the relevant personnel. At the same time, the automation characteristics of the model make it more scalable and suitable for different types of disaster professional problems, which provides an innovative and efficient solution for dealing with complex disaster problems. In addition, the disaster problem text is obtained based on the disaster site situation, and the disaster problem text can truly reflect the situation at the disaster site, so that the disaster evolution process simulated by the simulation model created by the cognitive model based on the disaster problem text is more accurate, and the disaster emergency measures obtained based on the simulation results will also be more effective.

[0006] In an optional implementation, obtaining disaster problem text includes: obtaining an initial disaster problem text; inputting the initial disaster problem text into a pre-trained text classifier to determine the type of the initial disaster problem text; if the type of the problem text is a disaster field problem, determining the initial disaster problem text as a disaster problem text.

[0007] In an optional embodiment, the text classifier includes a text filter and a fully connected layer. The text filter is used to receive the initial disaster problem text and output the text features of the initial disaster problem text; the fully connected layer is used to obtain the type of the initial disaster problem text according to the text classification features.

[0008] In an optional embodiment, the cognitive model includes a knowledge graph and a natural language processing model, and the step of using the cognitive model to conduct intelligent question-answering on the disaster problem text to obtain OpenFOAM input data related to the disaster problem scenario data includes: forming prompts based on the professional knowledge in the knowledge base and the disaster problem text; inputting the prompts into the natural language processing model to obtain a first answer text; extracting triples from the first answer text; matching the triples with the knowledge graph to obtain relevant node data; updating the prompts based on the relevant node data; and inputting the updated prompts into the natural language processing model to obtain a second answer text, wherein the second answer text contains OpenFOAM input data related to the disaster problem scenario data.

[0009] In an optional implementation, prompts are formed based on professional knowledge in a knowledge base and disaster problem text, including: dividing the text of each file in the knowledge base into blocks to obtain multiple text blocks; establishing a vector index for each text block; vectorizing the disaster problem text to obtain a problem text vector; calculating the similarity between the problem text vector and each vector index, and determining multiple target vector indexes with the highest similarity to the problem text vector; obtaining a target text block corresponding to the target vector index; and splicing the target text block and the disaster problem text to obtain a prompt.

[0010] In an optional implementation, the method further includes: generating an emergency strategy based on the disaster scenario simulation results.

[0011] In a second aspect, the present invention provides a disaster emergency decision-making support device, comprising: a disaster problem text acquisition module, used to acquire disaster problem text, wherein the disaster problem text includes disaster problem scenario data; an intelligent question and answer module, used to input the disaster problem text into a pre-established cognitive model, conduct intelligent question and answer through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data; a model creation module, used to create an OpenFOAM model using the OpenFOAM input data; a simulation module, used to run the solver in the OpenFOAM model through a pre-established script or automation tool, simulate the disaster evolution process based on the disaster problem scenario data, and obtain a disaster scenario simulation result.

[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the disaster emergency decision-making support method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the disaster emergency decision support method of the first aspect or any corresponding embodiment thereof.

[0014] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the disaster emergency decision support method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 is a flow chart of a disaster emergency decision-making assistance method according to an embodiment of the present invention;

[0017] Figure 2 is a flow chart of another disaster emergency decision-making assistance method according to an embodiment of the present invention;

[0018] Figure 3 is a flowchart of another disaster emergency decision-making assistance method according to an embodiment of the present invention;

[0019] Figure 4 is a structural block diagram of a disaster emergency decision-making auxiliary device according to an embodiment of the present invention;

[0020] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0022] When disasters such as fire and waterlogging occur, it is necessary to make a prediction based on the on-site disaster situation by experts, so as to make corresponding disposal measures. However, experts are limited by subjective judgment, limited information and time pressure, which may lead to inaccurate judgment, so that the disposal measures obtained according to the judgment results cannot effectively deal with the disaster. The embodiment of the present invention provides a disaster emergency decision-making auxiliary method, which combines a cognitive model to build a simulation model, and uses the simulation model to simulate the disaster evolution process of the disaster scene, so as to obtain the disaster scene simulation results, thereby improving the effectiveness of disaster emergency measures.

[0023] According to an embodiment of the present invention, an embodiment of a disaster emergency decision-making support method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] In this embodiment, a disaster emergency decision-making auxiliary method is provided. Figure 1 is a flow chart of a disaster emergency decision-making assistance method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0025] Step S101, obtaining a disaster problem text, wherein the disaster problem text includes disaster problem scenario data.

[0026] In an optional embodiment, the disaster scene data related to the disaster scene includes fluid dynamics data, environmental data, etc. For example, if there is strong wind in the city, the disaster scene data includes building shaking data, wind speed, wind direction, building data, etc.

[0027] In an optional embodiment, the disaster question text is generated by personnel at the disaster site according to the on-site situation, and can reflect the real situation at the disaster site. Disasters include but are not limited to waterlogging, earthquakes, fires, etc.

[0028] Exemplarily, the disaster scenario includes:

[0029] Scenario 1: If waterlogging occurs, the disaster problem text obtained at this time includes the geographical location of the waterlogging; environmental conditions in the city center: heavy rainfall caused serious waterlogging on many roads in the city center, the water depth reached 1 meter, traffic was paralyzed, and some residential buildings in low-lying areas were flooded; time range: heavy rainfall is expected to continue for 24 hours, and the waterlogging situation may further deteriorate.

[0030] Scenario 2: If an earthquake occurs, the disaster problem text obtained at this time includes the geographical location of the earthquake, environmental conditions in remote mountainous areas, a magnitude 6.0 earthquake, landslides near the epicenter causing road interruptions, severe damage to multiple villages, collapse of some houses, and time range: 72 hours after the earthquake is the golden period for rescue and rescue work must be carried out as soon as possible.

[0031] Scenario 3: If a fire occurs, the disaster problem text obtained at this time includes the geographical location of the fire; the environmental conditions of a large shopping mall: a fire occurs in a shopping mall, the fire spreads rapidly, and a large amount of smoke causes extremely low visibility, making it difficult for people to evacuate. There are flammable and explosive items near the fire source, and the fire may further expand; time range: within 1 hour after the fire occurs, it is the initial firefighting stage, and the fire needs to be quickly controlled to prevent it from spreading.

[0032] In an optional embodiment, emergency management personnel analyze the various possible adverse factors at the disaster site based on the principles of fluid dynamics in order to take effective measures for rescue. The fluid dynamics data analysis of disaster problem scene data includes one or more factors:

[0033] 1. Geographic data: including geographical information such as topography, geographical location, terrain height, and surface type of the disaster-stricken area.

[0034] 2. Meteorological data: including meteorological conditions in the disaster-stricken area, such as temperature, humidity, wind speed and direction, etc.

[0035] 3. Liquid data: For liquid fluid dynamics problems, it is necessary to include the physical properties of the liquid, such as density, viscosity, and surface tension. If the disaster is waterlogging, the fluid dynamics data includes liquid data.

[0036] 4. Solid data: For solid fluid dynamics problems, it is necessary to include the physical properties of the solid, such as density, elastic modulus, and stiffness. If the disaster is an earthquake, the solid data is included in the fluid dynamics data.

[0037] 5. Boundary condition data: includes boundary conditions defined on the boundaries of the affected area, such as inlet velocity, outlet pressure, and boundary resistance.

[0038] 6. Initial condition data: includes the initial state of the problem simulation, such as velocity, pressure, and temperature.

[0039] Fluid dynamics data is used to build numerical models and solve fluid dynamics equations, which are important for predicting and analyzing the fluid behavior and dynamic characteristics involved in disasters. The specific data content and requirements will vary depending on the type of disaster and the specific problem.

[0040] Step S102, inputting the disaster problem text into a pre-established cognitive model, performing intelligent question and answering through the cognitive model, and generating OpenFOAM input data related to the disaster problem scenario data.

[0041] OpenFOAM itself is an open source computational fluid dynamics (CFD) software package that provides a series of numerical modeling and solving tools for simulating and analyzing fluid dynamics problems. In the embodiment of the present invention, the cognitive model has been trained in a domain-specific language (DSL), and the cognitive model can understand the basic concepts and related terms of OpenFOAM, learn the documents and examples of OpenFOAM, and understand the working principle and usage of OpenFOAM.

[0042] In an optional embodiment, OpenFOAM input data includes initial conditions, boundary conditions, physical parameters, etc.

[0043] Step S103, using OpenFOAM input data to create an OpenFOAM model. The OpenFOAM model is a simulation model used to simulate the disaster evolution process.

[0044] In an optional embodiment, the OpenFOAM model includes a geometric model, a mesh model, a physical model, and a suitable solver.

[0045] Step S104, running the solver in the OpenFOAM model through a pre-established script or automated tool, simulating the disaster evolution process based on the disaster problem scenario data, and obtaining the disaster scenario simulation result.

[0046] When a disaster occurs, a simulation model is established, and the evolution process of the disaster is simulated by the simulation model, and effective prevention and control measures can be provided in combination with the simulation results. In an embodiment of the present invention, the disaster problem text is input into a pre-established cognitive model, and intelligent questions and answers are performed through the cognitive model to obtain OpenFOAM input data, thereby creating an OpenFOAM model using the OpenFOAM input data, that is, in an embodiment of the present invention, the OpenFOAM input data used to create the simulation model is obtained by intelligent questions and answers through the cognitive model, and the cognitive model is used to participate in the construction of the simulation model, which improves the efficiency of the simulation and reduces the learning and operation costs of the relevant personnel. At the same time, the automation characteristics of the model make it more scalable and suitable for different types of disaster professional problems, which provides an innovative and efficient solution for dealing with complex disaster problems. In addition, the disaster problem text is obtained based on the disaster site situation, and the disaster problem text can truly reflect the situation at the disaster site, so that the disaster evolution process simulated by the simulation model created by the cognitive model based on the disaster problem text is more accurate, and the disaster emergency measures obtained based on the simulation results will also be more effective.

[0047] In this embodiment, a disaster emergency decision-making auxiliary method is provided. Figure 2 is a flow chart of a disaster emergency decision-making assistance method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0048] Step S201, obtaining a disaster problem text, wherein the disaster problem text includes disaster problem scenario data, and the disaster problem scenario data includes fluid dynamics data.

[0049] Specifically, the above step S201 includes:

[0050] Step S2011, obtaining the initial disaster problem text.

[0051] Step S2012: input the initial disaster problem text into a pre-trained text classifier to determine the type of the initial disaster problem text.

[0052] In an optional embodiment, the text classifier includes a text classifier and a fully connected layer, the text filter is used to receive the initial disaster problem text and output the text features of the initial disaster problem text. The fully connected layer is used to obtain the type of the initial disaster problem text according to the text classification features.

[0053] Step S2013: If the type of the question text is a disaster field question, the initial disaster question text is determined as a disaster question text.

[0054] In order to reduce the illusion caused by the large language model, in the embodiment of the present invention, the cognitive model only answers questions in the field of disaster emergency response, and questions in other fields do not need to be answered. The questions are filtered by adding a text filter to limit the range of questions that the cognitive model can answer. The text filter needs to be trained with data to achieve the above effect. The specific training method is: divide the questions into disaster field questions and non-disaster field questions in advance, and input the classified data into the text filter for classification tasks.

[0055] The implementation steps include:

[0056] The question set data is divided into two types, one is common questions and the other is professional questions, with 50 questions for each, for a total of 100 questions. Common questions are relatively common questions that require less professional knowledge; professional questions are test questions, similar to exam questions, and more knowledge is required to answer professional questions. The classified questions are input into the text filter AlBERT as training data, and then the results of ALBERT are input into the fully connected layer to obtain the classification result L for this article. According to the labels in the data set, only the parameters of the fully connected layer need to be updated during training. Generally speaking, when using ALBERT for text classification tasks, the classification word vector H of the ALBERT result will be used, and a simple classifier based on softmax (normalized exponential function) will be made to predict the probability of the category label L:

[0057] The formula is: P(L|H)=softmax(WH),

[0058] W is the parameter matrix of the classification task, and all parameters in ALBERT and W are finally fine-tuned by maximizing the logarithmic probability of the correct label. In the embodiment of the present invention, it is modified to use a fully connected layer to obtain the probability of each label.

[0059] The formula is modified to: P(L|H)=FC(H).

[0060] Step S202: Input the disaster problem text into the pre-established cognitive model, conduct intelligent question answering through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0061] Step S203: Create an OpenFOAM model using OpenFOAM input data. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0062] Step S204: Run the solver in the OpenFOAM model through a pre-established script or automated tool to simulate the disaster evolution process based on the disaster problem scenario data to obtain the disaster scenario simulation results. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0063] In this embodiment, a disaster emergency decision-making auxiliary method is provided. Figure 3 is a flow chart of a disaster emergency decision-making assistance method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0064] Step S301, obtain disaster problem text, the disaster problem text includes disaster problem scene data, and the disaster problem scene data includes fluid dynamics data. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0065] Step S302: input the disaster problem text into a pre-established cognitive model, conduct intelligent question and answering through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data.

[0066] Specifically, the cognitive model includes a knowledge graph and a natural language processing model, and step S302 specifically includes:

[0067] Step S3021, forming prompts based on the professional knowledge in the knowledge base and the disaster problem text.

[0068] Specifically, step S3021 includes:

[0069] Step a1, divide the text of each file in the knowledge base into blocks to obtain multiple text blocks.

[0070] In an optional embodiment, the knowledge base contains multiple files Fi (i=1,2,…,n), and the retrieval based on LangChain will divide the text in each file into blocks, Dij (i=1,2,…,n; j=1,2,…,m) represents the jth text block of the ith file.

[0071] Step a2, establish the vector index Vi (i=1,2,…,n×m) of each text block.

[0072] Step a3, vectorize the disaster problem text to obtain the problem text vector Q.

[0073] Step a4, calculating the similarity between the question text vector and each vector index, and determining a plurality of target vector indexes having the highest similarity to the question text vector.

[0074] Step a5, obtaining a target text block corresponding to the target vector index;

[0075] Step a6, splicing the target text block and the disaster problem text to obtain a prompt.

[0076] In an optional embodiment, the target text block and the disaster problem text are spliced ​​in the form of P4 to obtain a prompt.

[0077] Step S3022, input the prompt into the natural language processing model to obtain the first answer text.

[0078] In an optional embodiment, the professional knowledge related to the question is retrieved in the knowledge base based on the LangChain service, and then the professional knowledge and the matched question are input into the natural language processing model together, and finally the first answer text is obtained. ChatGLM-6B, ChatGPT, etc. can be selected as the natural language processing model.

[0079] Step S3023, extracting triples from the first answer text.

[0080] In an optional embodiment, entities and relationships are extracted from the first answer text obtained in step S3022 based on a custom BiLSTM-CRF-GNN algorithm model.

[0081] BiLSTM is a variant of bidirectional recurrent neural network, which captures the contextual information of text sequence through two LSTM networks (one forward and one backward). BiLSTM performs well in entity recognition tasks because it can consider the contextual information of the current word at the same time, which is very important for determining the semantics of the word and the entity boundary.

[0082] CRF is a model for sequence labeling that takes into account the dependencies between labels and can output the globally optimal label sequence. In entity recognition, CRF can help ensure the correctness of entity boundaries, for example, ensuring that entities do not cross the boundaries of other entities.

[0083] GNN is a neural network model that specializes in processing graph-structured data. In entity-relationship triple extraction, GNN can be used to model dependencies between entities and interactions between entities and relationships. By building entities and relationships in the text into a graph, GNN can propagate information in the graph to better identify entities and relationships.

[0084] The combination of the above three parts enables the BiLSTM-CRF-GNN model to effectively extract entities and relations from text and generate triple data.

[0085] Step S3024, match the triple with the knowledge graph to obtain relevant node data.

[0086] Step S3025, update prompts according to relevant node data.

[0087] Step S3026, input the updated prompt into the natural language processing model to obtain a second answer text, wherein the second answer text contains OpenFOAM input data related to the disaster problem scenario data.

[0088] In an embodiment of the present invention, firstly, the entity node of the question (the question provided by the emergency management worker) is extracted through the natural language processing model, and then the data is matched in the knowledge graph. The data found is highly professional and relatively accurate data, but the matched data at this time is structured data, which does not conform to human reading habits. Finally, the natural language processing model is used to translate the above structured data into an answer that conforms to human reading habits.

[0089] Step S303: Create an OpenFOAM model using OpenFOAM input data. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0090] Step S304: Run the solver in the OpenFOAM model through a pre-established script or automated tool to simulate the disaster evolution process based on the disaster problem scenario data to obtain the disaster scenario simulation results. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.

[0091] In an optional embodiment, after executing the above step S304 to obtain the disaster scenario simulation result, the following steps are further included:

[0092] Generate emergency strategies based on disaster scenario simulation results.

[0093] In an optional embodiment, the cognitive model in the above step S302 can not only generate OpenFOAM input data related to the disaster problem scenario data and assist in creating the OpenFOAM model, but also perform other intelligent questions and answers. For example, if a question is asked about how to deal with a certain emergency event, the cognitive model automatically matches the corresponding emergency plan and previous similar cases, analyzes the organizational structure of the command center, the instructions and actions of relevant personnel, and the required emergency supplies, etc. In an embodiment of the present invention, two feedback loops are implemented: a rapid response loop and a deep analysis loop. The cognitive model can directly output the intelligent question and answer results to respond quickly to the user. The cognitive model can also assist in creating the OpenFOAM model and realize deep analysis. The dual-path loop combined with rapid response and deep analysis can effectively improve the decision-making speed and accuracy in emergency situations, especially in disaster emergency management, so that scientific response decisions can be made faster.

[0094] In this embodiment, a disaster emergency decision-making auxiliary device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0095] This embodiment provides a disaster emergency decision-making auxiliary device, such as Figure 4 As shown, including:

[0096] A disaster problem text acquisition module 401 is used to acquire a disaster problem text, wherein the disaster problem text includes disaster problem scene data, and the disaster problem scene data includes fluid dynamics data;

[0097] Intelligent question-answering module 402, used to input the disaster problem text into a pre-established cognitive model, conduct intelligent question-answering through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data;

[0098] A model creation module 403, for creating an OpenFOAM model using OpenFOAM input data;

[0099] The simulation module 404 is used to run the solver in the OpenFOAM model through a pre-established script or automation tool, simulate the disaster evolution process based on the disaster problem scenario data, and obtain the disaster scenario simulation result.

[0100] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.

[0101] The disaster emergency decision support device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0102] The embodiment of the present invention also provides a computer device having the above Figure 4 The disaster emergency decision support device shown.

[0103] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0104] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0105] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0106] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0107] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0108] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0109] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.

[0110] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0111] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0112] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A disaster emergency decision-making assistance method, characterized in that: The method comprises: Obtaining a disaster problem text, wherein the disaster problem text includes disaster problem scenario data; Input the disaster problem text into a pre-established cognitive model, conduct intelligent question and answering through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data, wherein the OpenFOAM input data includes initial conditions, boundary conditions, and physical parameters; creating an OpenFOAM model using the OpenFOAM input data; By using a pre-established script or automated tool, the solver in the OpenFOAM model is run to simulate the disaster evolution process based on the disaster problem scenario data to obtain a disaster scenario simulation result; The obtaining of disaster problem text includes: Get the initial disaster problem text; Inputting the initial disaster problem text into a pre-trained text classifier to determine the type of the initial disaster problem text; If the type of the question text is a disaster field question, the initial disaster question text is determined as the disaster question text; The text classifier includes a text filter and a fully connected layer. The text filter is used to receive the initial disaster problem text and output the text classification features of the initial disaster problem text; The fully connected layer is used to obtain the type of the initial disaster problem text according to the text classification feature; The cognitive model includes a knowledge graph and a natural language processing model. The step of the cognitive model performing intelligent question-answering on the disaster problem text to obtain OpenFOAM input data related to the disaster problem scenario data includes: Prompts are formed based on the professional knowledge in the knowledge base and the disaster problem text; Inputting the prompt into a natural language processing model to obtain a first answer text; Extracting triples from the first answer text; Matching the triples with the knowledge graph to obtain relevant node data; updating the prompt according to the relevant node data; The updated prompt is input into the natural language processing model to obtain a second answer text, wherein the second answer text includes OpenFOAM input data related to the disaster problem scenario data.

2. The method according to claim 1, characterized in that The prompt is formed based on the professional knowledge in the knowledge base and the disaster problem text, including: Dividing the text of each file in the knowledge base into blocks to obtain multiple text blocks; Establishing a vector index for each of the text blocks; Vectorizing the disaster problem text to obtain a problem text vector; Calculating the similarity between the question text vector and each of the vector indexes, and determining a plurality of target vector indexes having the highest similarity to the question text vector; Get the target text block corresponding to the target vector index; The target text block and the disaster problem text are spliced ​​together to obtain the prompt.

3. The method according to claim 1, characterized in that Also includes: Generate an emergency strategy based on the disaster scenario simulation results.

4. A disaster emergency decision-making auxiliary device, characterized in that: The device comprises: A disaster problem text acquisition module is used to acquire a disaster problem text, wherein the disaster problem text includes disaster problem scenario data; An intelligent question-answering module is used to input the disaster problem text into a pre-established cognitive model, conduct intelligent question-answering through the cognitive model, and generate OpenFOAM input data related to the disaster problem scenario data, wherein the OpenFOAM input data includes initial conditions, boundary conditions, and physical parameters; A model creation module, used to create an OpenFOAM model using the OpenFOAM input data; A simulation module, which is used to run the solver in the OpenFOAM model through a pre-established script or automation tool, simulate the disaster evolution process based on the disaster problem scenario data, and obtain a disaster scenario simulation result; The obtaining of disaster problem text includes: Get the initial disaster problem text; Inputting the initial disaster problem text into a pre-trained text classifier to determine the type of the initial disaster problem text; If the type of the question text is a disaster field question, the initial disaster question text is determined as the disaster question text; The text classifier includes a text filter and a fully connected layer. The text filter is used to receive the initial disaster problem text and output the text classification features of the initial disaster problem text; The fully connected layer is used to obtain the type of the initial disaster problem text according to the text classification feature; The cognitive model includes a knowledge graph and a natural language processing model. The step of the cognitive model performing intelligent question-answering on the disaster problem text to obtain OpenFOAM input data related to the disaster problem scenario data includes: Prompts are formed based on the professional knowledge in the knowledge base and the disaster problem text; Inputting the prompt into a natural language processing model to obtain a first answer text; Extracting triples from the first answer text; Matching the triples with the knowledge graph to obtain relevant node data; updating the prompt according to the relevant node data; The updated prompt is input into the natural language processing model to obtain a second answer text, wherein the second answer text includes OpenFOAM input data related to the disaster problem scenario data.

5. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the disaster emergency decision-making support method according to any one of claims 1 to 3 by executing the computer instructions.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the disaster emergency decision-making support method according to any one of claims 1 to 3.

7. A computer program product, characterized in that It comprises computer instructions, and the computer instructions are used to enable a computer to execute the disaster emergency decision-making auxiliary method according to any one of claims 1 to 3.