A community emergency response method, device and medium based on digital twin

Digital twin technology is used to perform multi-branch deductions and decision-making simulations in community emergencies, allowing real-time perception of community conditions, solving the problems of existing technologies that are difficult to adapt to dynamically changing emergencies and uneven resource allocation, and achieving fast and accurate emergency response. and resource coordination.

CN117952485BActive Publication Date: 2024-09-27SUN YAT SEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410174226.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2024-09-27
Estimated Expiration
2044-02-07

AI Technical Summary

Technical Problem

Existing community emergency response methods are difficult to adapt to dynamically changing emergencies, and cannot meet the requirements of emergency performance, safety performance and overall planning performance at the same time.

Method used

Adopt a digital twin-based method to build a digital twin model by acquiring target data and historical data of the target community, conduct multi-branch deduction simulations, monitor emergencies in real time, determine the scope of impact, and generate emergency chains based on structural components and deduction results road to output community emergency response instructions.

Benefits of technology

It is possible to quickly and accurately provide residents with safe and reasonable emergency response plans in community emergencies, rationally allocate resources, and improve the rationality and explainability of emergency response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117952485B
    Figure CN117952485B
Patent Text Reader

Abstract

The present invention discloses a community emergency method, device and medium based on digital twins, and the method includes: constructing a digital twin model based on target data, training the digital twin model through historical data to generate a deduction model; setting the initial conditions of the decision and inputting them into the deduction model to perform multi-branch deduction simulation to generate pre-deduction results; when an emergency occurs in the target community, judging whether the emergency is consistent with the initial conditions corresponding to each pre-deduction result, if consistent, selecting the consistent pre-deduction result as the target deduction result; if inconsistent, determining the impact range of the emergency to determine the target deduction result; determining the target emergency link according to the structural components, the target deduction results and the preset evaluation indicators, and finally generating and outputting the community emergency processing instructions. The present invention can adapt to dynamically changing emergencies and consider resource allocation and residents' escape routes, provide a suitable and practical emergency processing plan, and improve the coordination of all-round resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of community emergency technology, and in particular to a community emergency method, device and medium based on digital twins. Background Art

[0002] Modern communities have a high population density, and the occurrence of emergency incidents may threaten the personal safety of the masses, such as natural disasters, public health incidents, wars, riots, etc. In critical situations, it is necessary to reasonably allocate existing human and material resources, set up appropriate personnel evacuation channels, and pre-allocate and redistribute relevant security personnel and rescue resources to respond to the occurrence of emergencies and minimize the impact of emergencies in the shortest possible time.

[0003] In the current emergency response methods, most of them still rely on human experience. This method is affected by factors such as personal cognitive bias, difficulty in resource coordination, and misjudgment, which leads to uneven distribution of emergency resources and unreasonable setting of escape routes, which may have an irreversible impact on the personal safety of community residents. With the development of computer technology, intelligent algorithms can be used to allocate existing resources and escape routes, but it is still impossible to perceive the community situation in real time and it is difficult to adapt to the dynamically changing disaster environment. In addition, the output results are mostly in the form of data, which cannot present an immediate and highly explainable resource allocation plan.

[0004] At the same time, current community emergency response methods are mostly considered from a single dimension, and are unable to take into account the evacuation routes of the people and the subsequent resource allocation issues. This will lead to a split in the supply of resources before and after the evacuation, and the people may not be able to obtain sufficient medical and food resources after the evacuation.

[0005] Therefore, when an emergency occurs in the community, the existing community emergency response methods are difficult to adapt to dynamically changing emergencies, and the community emergency response plans provided cannot simultaneously meet the requirements of emergency performance, safety performance and coordination performance. Summary of the invention

[0006] The present invention provides a community emergency response method, device and medium based on digital twins, which solves the technical problems that the existing community emergency response methods are difficult to adapt to dynamically changing emergencies, and the community emergency response solutions provided cannot simultaneously meet the requirements of emergency performance, safety performance and overall performance.

[0007] The present invention provides a community emergency response method based on digital twins, the method comprising:

[0008] Acquire target data and historical data of a target community, and determine structural components of the target community based on the target data;

[0009] Building a digital twin model based on the target data, training the digital twin model through the historical data, and generating a deduction model;

[0010] Setting a plurality of decision initial conditions and inputting them into the deduction model for multi-branch deduction simulation to generate a plurality of pre-deduction results; forming an initial situation corresponding to each pre-deduction result by the decision initial conditions and structural components corresponding to each branch deduction simulation;

[0011] Monitor the target community in real time through monitoring equipment to see if an emergency occurs, and if so, determine whether the emergency is consistent with the initial situation;

[0012] If they are consistent, the pre-deduction result corresponding to the initial situation consistent with the emergency situation is selected as the target deduction result; if they are inconsistent, the impact range of the emergency situation is determined, and the target deduction result is determined based on the impact range;

[0013] The target emergency link associated with the emergency situation is determined according to the structural components, the target deduction results and preset evaluation indicators, and a community emergency processing instruction is generated and output according to the target emergency link.

[0014] Preferably, the target data includes community data, environmental data and resident data; the steps of constructing the digital twin model include:

[0015] Based on the community data, environmental data and resident data, a digital twin community model, a digital twin environmental model and a digital twin resident distribution model are respectively constructed;

[0016] The digital twin community model, the digital twin environment model and the digital twin resident distribution model are mutually associated to generate a digital twin model.

[0017] Preferably, if there is inconsistency, determining the impact scope of the emergency, and determining the target deduction result based on the impact scope, comprises:

[0018] If they are inconsistent, determining the impact scope of the emergency situation based on the structural components and the pre-simulation results;

[0019] Determine, according to the impact range, a similar pre-deduction result corresponding to the emergency situation from all the pre-deduction results;

[0020] A deduction algorithm is used to re-deduces the pre-deduction results in a small range to generate target deduction results.

[0021] Preferably, if there is no inconsistency, the step of determining the impact scope of the emergency situation based on the structural components and the pre-simulation results comprises:

[0022] If they are inconsistent, the relationship between the structural components and the pre-deduction results is recorded in the form of a node diagram;

[0023] Using a graph neural network to learn the node graph and generate a causal correlation model;

[0024] The causal correlation model is used to determine the impact scope of the emergency situation according to the emergency situation.

[0025] Preferably, the step of using a graph neural network to learn the node graph and generate a causal correlation model includes:

[0026] A graph neural network is used to learn and update the representation vector of each node on the node graph, and the node representation information is aggregated through a function to obtain the graph-level representation vector of the node graph, where the aggregation process and the readout process are respectively:

[0027]

[0028] h=readout({h i |i∈V})

[0029] In the formula, represents the feature vector of node i in layer l; δ is the nonlinear activation function; Agg is the aggregation function of the feature vector; N i is the neighbor node of node i, readout is the readout function, V is the node set on the node graph, and h is the node graph vector;

[0030] The graph representation of the node graph is passed through a plurality of different multi-layer perceptron models and classifier models to separate different causal features; the causal features represent the impact features of an initial impact range of the emergency;

[0031] Recombining the separated causal features to obtain a new graphical representation after intervention, and re-estimating the causal relationship between the structural components and the initial impact range;

[0032] Different causal relationships are aggregated into the same loss function with different weights, and the parameters of the model are optimized to obtain a causal correlation model related to the causal features;

[0033]

[0034] Among them, λ m represents the mth weight value, m represents the number of categories, M represents the number of samples, N represents the number of sequences, and y ij represents the true value of the classification, Represents the classification prediction value, and the subscripts represent different classification categories.

[0035] Preferably, the step of determining a target emergency link associated with an emergency situation according to the structural components, the target deduction results and preset evaluation indicators, and generating and outputting a community emergency handling instruction according to the target emergency link includes:

[0036] Constructing an emergency network of the target community according to the structural components and the target deduction results;

[0037] Setting a corresponding priority level based on a preset evaluation index, and extracting a target emergency link associated with the emergency situation from the emergency network according to the priority level of the preset evaluation index;

[0038] A community emergency handling instruction is generated and outputted according to the target emergency link for guiding community residents to select escape routes and allocate resources.

[0039] Preferably, the step of constructing the emergency network of the target community according to the structural components and the target deduction results includes:

[0040] constructing an emergency response model based on the distribution, type and quantity of the structural components;

[0041] An emergency network of the target community is constructed based on the emergency handling model and the target deduction result.

[0042] Preferably, the community emergency handling instructions include personnel guidance instructions, signal instructions and allocation instructions; the step of generating and outputting community emergency handling instructions for guiding community residents to select escape routes and allocate resources according to the target emergency link includes:

[0043] Generate and output personnel guidance instructions and allocation instructions according to the target emergency link;

[0044] Determining the emergency level of the emergency situation based on the emergency handling model;

[0045] In combination with the emergency event level and the target emergency link, a signal instruction on the escape route is generated and output.

[0046] The present invention also provides a community emergency device based on digital twins, the device comprising:

[0047] A data acquisition module, used to acquire target data and historical data of a target community, and determine the structural components of the target community based on the target data;

[0048] A deduction model generation module, used to build a digital twin model based on the target data, train the digital twin model through the historical data, and generate a deduction model;

[0049] A pre-deduction result generation module is used to set a variety of decision initial conditions and input them into the deduction model for multi-branch deduction simulation to generate a variety of pre-deduction results; the initial conditions and structural components corresponding to each branch deduction simulation are used to form the initial situation corresponding to each pre-deduction result;

[0050] A monitoring module is used to monitor in real time whether an emergency occurs in the target community through monitoring equipment, and if so, to determine whether the emergency is consistent with the initial situation;

[0051] A target deduction result determination module is used to select the pre-deduction result corresponding to the initial situation consistent with the emergency situation as the target deduction result if they are consistent; if they are inconsistent, determine the impact range of the emergency situation, and determine the target deduction result based on the impact range;

[0052] The community emergency handling instruction output module is used to determine the target emergency link associated with the emergency situation according to the structural components, the target deduction results and preset evaluation indicators, and generate and output community emergency handling instructions according to the target emergency link.

[0053] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements any of the digital twin-based community emergency response methods described above.

[0054] It can be seen from the above technical solutions that the present invention has the following advantages:

[0055] The present invention provides a community emergency method, device and medium based on digital twins, and the method includes: obtaining target data and historical data of a target community, and determining the structural components of the target community based on the target data; constructing a digital twin model based on the target data, training the digital twin model through historical data, and generating a deduction model; setting multiple decision initial conditions and inputting them into the deduction model for multi-branch deduction simulation, and generating multiple pre-deduction results; forming an initial situation corresponding to each pre-deduction result by the decision initial conditions and structural components corresponding to each branch deduction simulation; monitoring whether an emergency occurs in the target community in real time through a monitoring device, and if so, judging whether the emergency is consistent with the initial situation; if they are consistent, selecting the pre-deduction result corresponding to the initial situation consistent with the emergency as the target deduction result; if they are inconsistent, determining the impact range of the emergency, and determining the target deduction result based on the impact range; determining a target emergency link associated with the emergency according to the structural components, the target deduction results and preset evaluation indicators, and generating and outputting a community emergency processing instruction according to the target emergency link.

[0056] The present invention uses the concept of digital twins to perform multi-branch deduction and decision-making simulation in digital space, perceive the community situation in real time, and can adapt to dynamically changing emergencies when emergencies occur in the community. It can quickly and accurately provide community residents with safe and appropriate community emergency response plans, reasonably allocate emergency resources, and can coordinate all-round resources in community emergencies to improve the rationality and explainability of community emergency response, thereby solving the technical problems that existing community emergency methods are difficult to adapt to dynamically changing emergencies, and the community emergency response plans provided cannot simultaneously meet the requirements of emergency performance, safety performance and coordination performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] 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 labor.

[0058] Figure 1 A flowchart of the steps of a community emergency response method based on digital twins provided in an embodiment of the present invention;

[0059] Figure 2 A flowchart of a community emergency response method based on digital twins provided for an optional embodiment of the present invention;

[0060] Figure 3 A processing flow chart of a community emergency response method based on digital twins provided for an optional embodiment of the present invention;

[0061] Figure 4 A schematic diagram of an emergency network and a target emergency link constructed according to an optional embodiment of the present invention;

[0062] Figure 5 A structural block diagram of a community emergency device based on digital twins provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The embodiments of the present invention provide a community emergency response method, device and medium based on digital twins, which are used to solve the technical problems that existing community emergency response methods are difficult to adapt to dynamically changing emergencies, and the community emergency response solutions provided cannot simultaneously meet the requirements of emergency performance, safety performance and overall performance.

[0064] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions 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 embodiments described below are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] See also Figure 1 , Figure 1 A flowchart of the steps of a community emergency response method based on digital twins is provided in an embodiment of the present invention.

[0066] The present invention provides a community emergency response method based on digital twins, comprising:

[0067] Step 101 : acquiring target data and historical data of a target community, and determining structural components of the target community based on the target data.

[0068] The target community in this embodiment refers to a large collective with interconnected lives formed by a number of social groups or social organizations gathered in a certain field. The community can be a residential community, a commercial community, an industrial community, etc.

[0069] The target data includes community data, environmental data and resident data, which are used to build the digital twin model. The community data includes the geographical location distribution data of buildings in the target community, the building appearance geometry data and the building interior geometry data, etc. The environmental data includes the surrounding environment and road data of the target community, etc. The resident data includes the resident distribution area, quantity data and individual health data of the target community, etc.

[0070] In terms of data collection, the required data can be collected through relevant information collection equipment and historical construction records and residents' life records; information collection equipment may include GPS data sensors, cameras, optical cameras and satellite remote sensing, and historical construction records may be building drawings, etc.; GPS data sensors are mainly used for the location of buildings in the community to determine the orientation of transportation equipment; cameras can be used to obtain image data of the community during daily operation; satellite remote sensing can obtain the overall building distribution, road distribution and open space distribution of the community, historical construction records and optical cameras can obtain the appearance and internal geometry data of the building; residents' life records and medical examination records can obtain the spatial location distribution and health status data of residents.

[0071] Historical data include historical food resource consumption data of the target community, historical emergency drill data, historical resident behavior data, historical medical resource consumption data, historical resident individual size data, etc.; among them, the collected historical data can be extracted from the medical resource consumption, food resource consumption, the number of guides in the crowd, and the residents' behavior routes recorded in the historical database to collect relevant data for subsequent multi-branch emergency evacuation route simulation and deduction.

[0072] The structural components are mainly divided into two parts: building structural components and environmental structural components, which can be determined through target data; the building structural components include floors, stairs, rooms, passages and walls on floors and other factors, and the environmental structural components mainly include environmental open spaces, buildings, walls, roads and other factors.

[0073] Step 102: construct a digital twin model based on the target data, train the digital twin model through historical data, and generate a deduction model.

[0074] This embodiment uses the concept of digital twins to integrate digital twins with physical models, information networks, historical data and other resources, complete entity mapping in virtual space, and can perceive changes in physical space in real time. Combined with advanced algorithms, it conducts multi-branch deductions and decision-making simulations in digital space to perceive the situation of the target community in real time.

[0075] Step 103, setting a variety of decision initial conditions and inputting them into the deduction model to perform multi-branch deduction simulation, and generating a variety of pre-deduction results; the decision initial conditions and structural components corresponding to each branch deduction simulation form the initial situation corresponding to each pre-deduction result.

[0076] It should be noted that the initial conditions for decision-making refer to some unexpected situations, such as a fire in a certain area of ​​the target community. The initial conditions for decision-making can be randomly generated by a computer algorithm. The selectable generation algorithms include one or more combinations of generative adversarial networks, diffusion models, and naive Gaussian mixture models.

[0077] Input the initial conditions of the decision into the deduction model for multi-branch deduction simulation, so that the initial conditions of the decision correspond to the actual physical model, and produce corresponding processes such as house collapse / imminent collapse and poisonous gas diffusion; wherein, the multi-branch deduction simulation refers to the pre-selection of crowd evacuation routes, pre-allocation of resources at the evacuation destination, and pre-allocation of resources and personnel on the evacuation routes corresponding to the initial conditions of the decision such as damage / missing / collapse of one or more structural components at different locations and related poisonous gases;

[0078] It can be understood that one decision initial condition is associated with multiple pre-deduction results, and each pre-deduction result also corresponds to the division of different structural components; therefore, in this embodiment, each pre-deduction result has a one-to-one correspondence with the decision initial condition corresponding to each branch deduction simulation and the initial situation formed by the structural components.

[0079] Due to the diversity of community emergency issues, conducting large-scale simulations when an emergency occurs will be a waste of time and delay community emergency response. Therefore, it is necessary to pre-simulate and store emergency situations, match the impact range and re-simulate on a small scale when an emergency occurs, saving simulation time and responding quickly to emergencies.

[0080] Step 104, monitor the target community in real time through monitoring equipment to see if an emergency occurs. If so, determine whether the emergency is consistent with the initial situation.

[0081] It should be noted that the occurrence of emergencies in the target community can be determined through one or more monitoring devices; the monitoring equipment may include: imaging satellites, gas sensors, environmental sensors, cameras, displacement sensors, and strain sensors, etc., to monitor in real time whether emergencies occur in the community; through monitoring means, the target community is monitored in real time to determine the specific location and content of the emergency.

[0082] Step 105, if they are consistent, then select the pre-deduction result corresponding to the initial situation consistent with the emergency situation as the target deduction result; if they are inconsistent, determine the impact range of the emergency situation, and determine the target deduction result based on the impact range.

[0083] This method can cope with dynamically changing emergencies. If the emergency situation is consistent with the initial situation, the pre-simulation result corresponding to the initial situation consistent with the emergency situation is directly used as the subsequent target simulation result; if the emergency situation is inconsistent with the initial situation, the impact range of the emergency situation is determined to update the pre-simulation result and obtain the target simulation result; wherein, the impact range of the emergency situation refers to which areas of the target community are affected by the emergency situation;

[0084] This embodiment combines the pre-simulation results and the impact range of the emergency to obtain the target simulation results. If an emergency occurs in the target community, the impact range of the emergency is determined, and the pre-simulation results are updated based on the impact range to obtain the target simulation results, thereby solving the problem that existing community emergency response methods are difficult to adapt to dynamically changing emergencies.

[0085] Step 106, determine the target emergency link associated with the emergency situation according to the structural components, the target deduction results and the preset evaluation indicators, and generate and output the community emergency processing instructions according to the target emergency link.

[0086] Among them, the preset evaluation indicators may include casualties, evacuation time, crowd density distribution and resource utilization distribution; the target emergency link can quickly and effectively analyze the cause of the accident, realize rapid response of the emergency plan, and provide effective decision-making support for achieving the safety and comprehensiveness of the emergency method; according to the target emergency link, community emergency processing instructions are generated and output, and the processing instructions are sent to the physical space to guide community residents to choose escape routes and allocate resources.

[0087] The embodiment of the present application provides a community emergency method based on digital twins, including: obtaining target data and historical data of a target community, and determining the structural components of the target community based on the target data; constructing a digital twin model based on the target data, training the digital twin model through historical data, and generating a deduction model; setting multiple decision initial conditions and inputting them into the deduction model for multi-branch deduction simulation to generate multiple pre-deduction results; forming an initial situation corresponding to each pre-deduction result by the decision initial conditions and structural components corresponding to each branch deduction simulation; monitoring whether an emergency occurs in the target community in real time through a monitoring device, and if so, determining whether the emergency is consistent with the initial situation; if they are consistent, selecting the pre-deduction result corresponding to the initial situation consistent with the emergency as the target deduction result; if they are inconsistent, determining the impact range of the emergency, and determining the target deduction result based on the impact range; determining a target emergency link associated with the emergency according to the structural components, the target deduction results, and preset evaluation indicators, and generating and outputting a community emergency processing instruction according to the target emergency link.

[0088] This method uses the idea of ​​digital twins to conduct multi-branch deductions and decision-making simulations in digital space, perceive the community situation in real time, and adapt to dynamically changing emergencies when emergencies occur in the community. It can quickly and accurately provide community residents with safe and appropriate community emergency response plans, reasonably allocate emergency resources, and coordinate all-round resources in community emergencies to improve the rationality and explainability of community emergency response.

[0089] See also Figure 2 and Figure 3 , Figure 2 A flowchart of a community emergency response method based on digital twins is provided for an optional embodiment of the present invention. Figure 3 A processing flow chart of a community emergency response method provided for an optional embodiment of the present invention.

[0090] The present invention provides a community emergency response method based on digital twins, comprising:

[0091] Step 201 : acquiring target data and historical data of a target community, and determining structural components of the target community based on the target data.

[0092] In the embodiment of the present application, the specific implementation process of step 201 is similar to step 101 and will not be repeated here.

[0093] Step 202: construct a digital twin model based on the target data, train the digital twin model through historical data, and generate a deduction model.

[0094] Among them, the steps of constructing the digital twin model specifically include: constructing a digital twin community model, a digital twin environment model and a digital twin resident distribution model based on community data, environmental data and resident data respectively; and correlating the digital twin community model, the digital twin environment model and the digital twin resident distribution model to generate a digital twin model.

[0095] The digital twin community model, digital twin environment model and digital twin resident distribution model constructed in this embodiment are all constructed with corresponding geometric models and physical models; specifically, based on the geometric appearance model of the target community, the surrounding environment of the target community and the residents, three-dimensional modeling software such as unity and UE4 can be used to build the model, and the constructed geometric appearance model and the connection relationship and constraint relationship of the components should be consistent with the actual situation; the physical behavior and interaction model of the target community, the surrounding environment of the target community and the residents can be built using physical simulation software such as unity, ANSYS, ABAQUS, COMSOL, etc., and the constructed physical properties and interaction relationships should be consistent with the actual situation;

[0096] After the geometric model and physical model are constructed, all geometric models and physical models should be bound to the same scene to realize the mutual connection between the digital twin community model, the digital twin community environment model and the digital twin resident residential model, and then obtain the digital twin model. The digital twin model can be completely mapped from the physical space, which is convenient for subsequent scientific and comprehensive simulation and deduction, thereby improving the accuracy of community emergency response; the construction of the digital twin model can effectively, comprehensively and accurately realize the digital description of the physical entity of the community;

[0097] In particular, when the geometric model and the physical model are bound to the same scene, it is also necessary to verify whether their simulation performance is consistent with the actual requirements. Monitoring equipment can be used to collect information on the target community, and the information collected by the monitoring equipment can be fed back to the digital twin model to simulate the actual situation. If there is inconsistency, it is necessary to identify the inconsistent components and provide feedback updates. For example, after building the digital twin model, it is found that the actual staircase components are broken, resulting in the staircase being impassable or the passable area being greatly reduced, resulting in a significant reduction in the number of people who can pass through. At this time, the model needs to be updated and adjusted.

[0098] Step 203, set a variety of decision initial conditions and input them into the deduction model to perform multi-branch deduction simulation, and generate a variety of pre-deduction results; the decision initial conditions and structural components corresponding to each branch deduction simulation form the initial situation corresponding to each pre-deduction result.

[0099] It should be noted that the pre-simulation results include the simulated crowd evacuation routes and resource allocation ratios. After the multi-branch simulation is completed, the pre-simulation results are stored in a structured manner to avoid delays in emergency response time in the target community, thereby saving simulation time in the event of an emergency.

[0100] It can be understood that each pre-deduction result belongs to a different combination of decision initial conditions and structural components (i.e., initial conditions). Each pre-deduction result is distinguished by structural components and decision initial conditions, and the pre-deduction results belonging to each structural component are recorded.

[0101] Step 204, monitor the target community in real time through monitoring equipment to see if an emergency occurs. If so, determine whether the emergency is consistent with the initial situation.

[0102] It should be noted that after an emergency occurs in the target community, in order to adapt to the dynamically changing and complex emergency situations, it is necessary to determine whether the emergency situation is consistent with the initial situation; specifically, first determine whether the situation conditions to which the emergency situation belongs are consistent with the decision initial conditions corresponding to each initial situation. If they are consistent, the initial situation associated with the decision initial condition is selected as the intermediate initial situation; then, determine whether the structural components to which the emergency situation belongs are consistent with the structural components corresponding to each intermediate initial situation. If they are consistent, the emergency situation is determined to be consistent with the intermediate initial situation; otherwise, the emergency situation is determined to be inconsistent with the initial situation; wherein the situation conditions may be natural disasters, public health events, wars, riots, etc.

[0103] Step 205: If they are consistent, the pre-deduction result corresponding to the initial situation consistent with the emergency situation is selected as the target deduction result; if they are inconsistent, the impact range of the emergency situation is determined, and the target deduction result is determined based on the impact range.

[0104] It should be noted that if the emergency situation is inconsistent with all the initial situations, in order to save the simulation time and respond to the emergency plan more quickly, the target simulation result can be quickly obtained by determining the impact range of the emergency situation.

[0105] If there is inconsistency, the step of determining the impact scope of the emergency situation and determining the target deduction result based on the impact scope includes the following sub-steps:

[0106] Sub-step S10: If there is inconsistency, determine the impact range of the emergency based on the structural components and the pre-simulation results.

[0107] In sub-step S10, the relationship between the structural components and the pre-deduction results is first recorded in the form of a node graph; then the node graph is learned using a graph neural network to generate a causal correlation model; finally, the causal correlation model is used to determine the impact range of the emergency according to the emergency.

[0108] Specifically, the structural components are converted into sequence form. The data in sequence form can be intuitively replaced with nodes on the node graph, which is equivalent to representing different structural components in the form of a node graph, which is equivalent to connecting the nodes of the one-dimensional features of the data dimension to each other;

[0109] In judging community emergencies, causal learning can help us understand and analyze the causal relationship between different factors. This embodiment uses a graph neural network to learn the node graph, and the learning process specifically includes:

[0110] Use the graph neural network model to learn and update the representation vector of each node on the node graph, and aggregate the node representation information through the function to obtain the graph-level representation vector of the node graph, where The aggregation process and h readout process are:

[0111]

[0112] h=readout({h i |i∈V})

[0113] in, represents the feature vector of node i at layer l+1, represents the feature vector of node i in layer l; δ is the nonlinear activation function; Agg is the aggregation function of the feature vector; N i is the neighbor node of node i, readout is the readout function, V is the node set on the node graph, and h is the node graph vector;

[0114] The graph representation of the node graph is passed through multiple different multi-layer perceptron models and classifier models to separate different causal features, where each causal feature represents an impact feature of an initial impact range of the emergency; the classifier can be implemented by one or more methods such as decision tree, support vector machine, nearest leader model, convolutional neural network, etc.; the separated causal features are randomly recombined to obtain a new graph representation after intervention, and the causal relationship between the structural components and the initial impact range is re-estimated;

[0115] Different causal relationships are aggregated into the same loss function with different weights, and the parameters of the model are optimized to obtain a causal correlation model related to the causal features to predict the impact range of the emergency. The causal correlation model is as follows:

[0116]

[0117] Among them, λ m Represents the mth weight value, 0≤λ m ≤1, m represents the number of categories, M represents the number of samples, N represents the number of sequences, y i j represents the true classification value, Represents the classification prediction value, and the subscripts represent different classification categories.

[0118] Sub-step S11, determining a similar pre-deduction result corresponding to the emergency situation from all pre-deduction results according to the impact range.

[0119] It is understandable that after the impact range of the emergency is obtained, in order to save deduction time, one or more similar pre-deduction results corresponding to the emergency can be determined from all pre-deduction results based on the impact range.

[0120] Sub-step S12, using a deduction algorithm to re-deduced the pre-deduction results in a small range to generate target deduction results.

[0121] In sub-step S12, the deduction algorithm may adopt a combination of one or more algorithms such as a swarm intelligence optimization algorithm and a deep reinforcement learning algorithm, combined with the pre-deduction results to perform a small-scale re-deduction on the affected area.

[0122] In step 205, whether the pre-simulation results need to be updated is determined based on the matching degree between the emergency situation and the initial situation; if the two are inconsistent, a causal correlation model is constructed based on the structural components and the pre-simulation results to determine the impact range of the emergency situation; then, based on the determined impact range, the pre-simulation results are compared with all pre-simulation results to screen out similar simulation results, and then the similar simulation results are re-simulated in a small range to generate a small range re-simulation result, and finally the small range re-simulation result is selected as the target simulation result;

[0123] It should be noted that after obtaining the pre-simulation results and structural components, a causal correlation model can be constructed. When an emergency occurs in the target community and the emergency is inconsistent with the initial situation, the causal correlation model is used to determine the impact range of the emergency, so as to quickly update the pre-simulation results and generate the target simulation results of the emergency.

[0124] Step 206, constructing an emergency network of the target community according to the structural components and the target deduction results.

[0125] Step 206 specifically includes: constructing an emergency response model according to the distribution, type and quantity of the structural components; and constructing an emergency network of the target community based on the emergency response model and the target deduction results.

[0126] The emergency network provided in this step is based on nodes formed by different structural components such as resident locations, stairs, corridors, rooms, roads, etc. and is constructed according to the spatial distribution and deduction conditions in actual conditions. It is composed of multiple nodes of various types. Specifically, the emergency network is composed of multiple links composed of structural components at key locations such as resident locations, stairs, corridors, rooms, roads, open spaces, medical supply points, and food supply points.

[0127] Step 207: setting a corresponding priority level based on the preset evaluation index, and extracting a target emergency link associated with the emergency situation from the emergency network according to the priority level of the preset evaluation index.

[0128] It should be noted that, under normal circumstances, based on the pre-simulation results in the case library, a comprehensive evaluation is conducted through preset evaluation indicators such as casualties, escape time, and emergency response time to evaluate the overall emergency handling capacity of the emergency network in real time, that is, how big a disaster it can withstand, and to determine whether it is necessary to add other emergency nodes to improve the handling capacity, and to increase the corresponding emergency nodes for the adaptability of the emergency network to the emergency situation;

[0129] It is understandable that in a community emergency state, the most appropriate emergency method should be selected according to the current situation. It is necessary to determine the corresponding weights of different preset evaluation indicators according to the emergency situation, or in other words, by setting the strategy priority of the preset evaluation indicators, the most appropriate processing method can be selected; for example, by setting the priority evacuation of residents in a certain area as the first factor, the relevant processing method can be selected when determining the processing method, that is, the target emergency link is extracted in the emergency network as the basis for subsequent decision-making; among them, the extraction of the target emergency link also needs to consider the time window, such as the crowd evacuation time window, the material delivery time window, etc.;

[0130] It should be noted that the sequence of connection links of the emergency network should be the same as the target simulation result. The target emergency link should be an emergency chain from the residents' location to the evacuation point to guide residents to avoid danger and subsequent resource replenishment.

[0131] For example, see Figure 4, This embodiment combines the updated escape route after deduction with the actual building space, and models it as an emergency network. According to the constructed emergency network, the minimum casualties of the crowd is used as the preset evaluation index, and the various emergency indicators of each node are detected, and different nodes are selected to select the crowd evacuation link with the shortest time. Starting from the crowd gathering place 3, the fire hydrant is used through the corridor 2. Since the crowd time window at the corner 2 is short, it is necessary to go from the corner 2 to the stairs 2 and stairs 4 to get gas masks, so as to evacuate the crowd in a shorter time, and walk from the stairs to the open space 4. At the same time, the materials of the material concentration place 2 pass through the road 2 and the road 3 to the road 4, and reach the open space from the road 4; wherein, the node emergency indicators include factors such as the concentration of toxic gases, the degree of wall damage, and the degree of vulnerability to military attacks;

[0132] In practical applications, emergency links can be extracted according to different indicators through one or more methods such as greedy algorithms, dynamic programming, swarm intelligence algorithms, graph neural networks, etc.

[0133] Step 208: Generate and output community emergency handling instructions for guiding community residents to select escape routes and allocate resources based on the target emergency link.

[0134] Among them, community emergency response instructions include personnel guidance instructions, signal instructions and allocation instructions;

[0135] Step 208 includes the following sub-steps:

[0136] Sub-step S20, generating and outputting personnel guidance instructions and allocation instructions according to the target emergency link.

[0137] It is understandable that community emergency response instructions should be issued to the physical space of the target community; specifically, personnel guidance should be provided through broadcasting, personnel instructions should be issued through visual methods, and relevant materials and personnel should be pre-allocated and allocated through superior instructions to guide community residents in choosing escape routes and allocating resources.

[0138] Sub-step S21, determining the emergency level of the emergency situation based on the emergency handling model.

[0139] Sub-step S22, combining the emergency level and the target emergency link, generates and outputs a signal instruction on the escape route.

[0140] It can be understood that signal instructions may include security signals, fire signals, alarm signals, and signal light guidance signals on escape routes; the emergency level of the emergency situation is determined through the emergency response model to trigger security signals, fire signals, alarm signals, and signal light guidance signals on escape routes corresponding to different emergency levels, thereby providing residents with escape and risk avoidance instructions and saving community emergency response time.

[0141] The community emergency response instructions provided in this embodiment can efficiently present immediate and highly explainable resource allocation plans and evacuation routes to community residents, thereby improving the coordination of community emergency response.

[0142] The optional embodiment of the present application provides a community emergency method based on digital twins, including: obtaining target data and historical data of a target community, and determining the structural components of the target community based on the target data; constructing a digital twin model based on the target data, training the digital twin model through historical data, and generating a deduction model; setting multiple decision initial conditions and inputting them into the deduction model for multi-branch deduction simulation to generate multiple pre-deduction results; forming an initial situation corresponding to each pre-deduction result by the decision initial conditions and structural components corresponding to each branch deduction simulation; monitoring whether an emergency occurs in the target community in real time through a monitoring device, and if so, determining whether the emergency is consistent with the initial situation; if consistent, selecting the pre-deduction result corresponding to the initial situation consistent with the emergency as the target deduction result; if inconsistent, determining the impact range of the emergency, and determining the target deduction result based on the impact range; constructing an emergency network of the target community according to the structural components and the target deduction results; setting corresponding priority levels based on preset evaluation indicators, and extracting target emergency links associated with the emergency from the emergency network according to the priority levels of the preset evaluation indicators; generating and outputting community emergency handling instructions for guiding community residents to select escape routes and allocate resources according to the target emergency links.

[0143] In this method, the pre-simulation results are used for emergency response in community critical moments. It can comprehensively consider multi-dimensional factors, pre-allocate resources before the emergency moment, and combine escape route selection and resource allocation in the emergency moment to obtain the optimal processing method; at the same time, when facing emergencies in the emergency processing process, combined with the characteristics of digital twins, it is possible to determine the impact range of the emergency, quickly modify the emergency processing decision plan, update the decision results and issue instructions; this method is used in community emergency situation processing and other aspects. Compared with traditional community emergency methods, the present invention simultaneously considers three aspects: resource pre-allocation, resource allocation and residents' escape routes, and can dynamically respond to actual processing plans based on existing pre-simulation results, so as to provide decision-making assistance for realizing efficient and safe emergency processing methods, coordinate all-round resources in community emergencies, and improve the rationality and explainability of community emergency processing.

[0144] See also Figure 5 , Figure 5 A structural block diagram of a community emergency device based on digital twins provided in an embodiment of the present invention.

[0145] The present invention provides a community emergency device based on digital twins, comprising:

[0146] A data acquisition module 501 is used to acquire target data and historical data of a target community, and determine the structural components of the target community based on the target data;

[0147] A deduction model generation module 502 is used to build a digital twin model based on target data, train the digital twin model through historical data, and generate a deduction model;

[0148] The pre-deduction result generation module 503 is used to set a variety of decision initial conditions and input them into the deduction model to perform multi-branch deduction simulation to generate a variety of pre-deduction results; the initial conditions and structural components corresponding to each branch deduction simulation are used to form the initial situation corresponding to each pre-deduction result;

[0149] The monitoring module 504 is used to monitor in real time whether an emergency occurs in the target community through a monitoring device, and if so, to determine whether the emergency is consistent with the initial situation;

[0150] The target deduction result determination module 505 includes a target deduction result determination first submodule and a target deduction result determination second submodule;

[0151] The first submodule for determining the target deduction result is used to select the pre-deduction result corresponding to the initial situation consistent with the emergency situation as the target deduction result if they are consistent; the second submodule for determining the target deduction result is used to determine the impact range of the emergency situation if they are inconsistent, and determine the target deduction result based on the impact range;

[0152] The community emergency handling instruction output module 506 is used to determine the target emergency link associated with the emergency situation according to the structural components, target deduction results and preset evaluation indicators, and generate and output the community emergency handling instruction according to the target emergency link.

[0153] The target data includes community data, environmental data, and resident data; the steps for building the digital twin model include:

[0154] Based on community data, environmental data and resident data, digital twin community model, digital twin environmental model and digital twin resident distribution model are constructed respectively;

[0155] The digital twin community model, digital twin environment model and digital twin resident distribution model are interconnected to generate a digital twin model.

[0156] The second submodule of target deduction result determination is specifically used to, if there is inconsistency, determine the impact range of the emergency situation based on the structural components and the pre-deduction results; determine the similar pre-deduction results corresponding to the emergency situation from all pre-deduction results according to the impact range; use the deduction algorithm to re-decode the pre-deduction results in a small range to generate the target deduction results.

[0157] The community emergency handling instruction output module 506 includes:

[0158] The emergency network submodule is used to build the emergency network of the target community based on the structural components and target deduction results;

[0159] A target emergency link extraction submodule is used to set a corresponding priority level based on a preset evaluation index, and extract a target emergency link associated with an emergency situation from the emergency network according to the priority level of the preset evaluation index;

[0160] The community emergency handling instruction output submodule is used to generate and output community emergency handling instructions for guiding community residents to select escape routes and allocate resources according to the target emergency link.

[0161] Among them, the emergency network submodule is specifically used to build an emergency response model according to the distribution, type and quantity of structural components; and to build an emergency network of the target community based on the emergency response model and target deduction results.

[0162] Among them, the community emergency handling instructions include personnel guidance instructions, signal instructions and allocation instructions; the community emergency handling instruction output submodule is specifically used to generate and output personnel guidance instructions and allocation instructions according to the target emergency link; determine the emergency level of the emergency situation based on the emergency handling model; combine the emergency level and the target emergency link to generate and output signal instructions on the escape route.

[0163] The device also includes:

[0164] Interface module: used to receive the data required for building the digital twin model and the simulation result data; storage module, used to parameterize and store real-time status data through the digital twin model.

[0165] The present application also provides an electronic device, the device comprising a processor and a memory;

[0166] The memory is used to store storage instructions; wherein the instructions are used to implement the community emergency method based on digital twins in any one of the above embodiments;

[0167] A processor is used to execute instructions in memory.

[0168] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, a community emergency response method based on digital twins as in any one of the embodiments is implemented.

[0169] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0170] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0174] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A community emergency response method based on digital twins, characterized in that: The method comprises: Acquire target data and historical data of a target community, and determine structural components of the target community based on the target data; Building a digital twin model based on the target data, training the digital twin model through the historical data, and generating a deduction model; Setting a plurality of decision initial conditions and inputting them into the deduction model for multi-branch deduction simulation to generate a plurality of pre-deduction results; forming an initial situation corresponding to each pre-deduction result by the decision initial conditions and structural components corresponding to each branch deduction simulation; Monitor the target community in real time through monitoring equipment to see if an emergency occurs, and if so, determine whether the emergency is consistent with the initial situation; If they are consistent, the pre-deduction result corresponding to the initial situation consistent with the emergency situation is selected as the target deduction result; if they are inconsistent, the impact range of the emergency situation is determined, and the target deduction result is determined based on the impact range; Determine the target emergency link associated with the emergency situation according to the structural components, the target deduction results and the preset evaluation indicators, and generate and output the community emergency processing instructions according to the target emergency link; If there is inconsistency, determining the impact scope of the emergency, and determining the target deduction result based on the impact scope, includes: If they are inconsistent, determining the impact scope of the emergency situation based on the structural components and the pre-simulation results; Determine, according to the impact range, a similar pre-deduction result corresponding to the emergency situation from all the pre-deduction results; Using a deduction algorithm to re-deducing the pre-deduction result in a small range to generate a target deduction result; If there is inconsistency, the step of determining the impact scope of the emergency situation based on the structural components and the pre-simulation results comprises: If they are inconsistent, the relationship between the structural components and the pre-deduction results is recorded in the form of a node diagram; Using a graph neural network to learn the node graph and generate a causal correlation model; Determine the impact scope of the emergency situation according to the emergency situation by using the causal correlation model; The step of using a graph neural network to learn the node graph and generate a causal correlation model includes: A graph neural network is used to learn and update the representation vector of each node on the node graph, and the node representation information is aggregated through a function to obtain the graph-level representation vector of the node graph, where the aggregation process and the readout process are respectively: ; ; In the formula, Representation Node exist The feature vector of the layer; is a nonlinear activation function; is the aggregation function of the feature vector; For Node The neighbor nodes of is the read function, is the node set on the node graph, is the node graph vector; The graph representation of the node graph is passed through a plurality of different multi-layer perceptron models and classifier models to separate different causal features; the causal features represent the impact features of an initial impact range of the emergency; Recombining the separated causal features to obtain a new graphical representation after intervention, and re-estimating the causal relationship between the structural components and the initial impact range; Different causal relationships are aggregated into the same loss function with different weights, and the parameters of the model are optimized to obtain a causal correlation model related to the causal features; ; in, Indicates Weight value, Indicates the number of categories, represents the number of samples, Indicates the number of sequences, represents the true value of the classification, Represents the classification prediction value, and the subscripts represent different classification categories.

2. The community emergency response method according to claim 1, characterized in that: The target data includes community data, environmental data and resident data; The steps of constructing the digital twin model include: Based on the community data, environmental data and resident data, a digital twin community model, a digital twin environmental model and a digital twin resident distribution model are respectively constructed; The digital twin community model, the digital twin environment model and the digital twin resident distribution model are mutually associated to generate a digital twin model.

3. The community emergency response method according to claim 1, characterized in that: The step of determining a target emergency link associated with an emergency situation according to the structural components, the target deduction results and preset evaluation indicators, and generating and outputting a community emergency handling instruction according to the target emergency link includes: Constructing an emergency network of the target community according to the structural components and the target deduction results; Setting a corresponding priority level based on a preset evaluation index, and extracting a target emergency link associated with the emergency situation from the emergency network according to the priority level of the preset evaluation index; A community emergency handling instruction is generated and outputted according to the target emergency link for guiding community residents to select escape routes and allocate resources.

4. The community emergency response method according to claim 3, characterized in that: The step of constructing an emergency network of a target community according to the structural components and the target deduction results includes: constructing an emergency response model based on the distribution, type and quantity of the structural components; An emergency network of the target community is constructed based on the emergency handling model and the target deduction result.

5. The community emergency response method according to claim 4, characterized in that: The community emergency handling instructions include personnel guidance instructions, signal instructions and allocation instructions; the step of generating and outputting community emergency handling instructions for guiding community residents to select escape routes and allocate resources according to the target emergency link includes: Generate and output personnel guidance instructions and allocation instructions according to the target emergency link; Determining the emergency level of the emergency situation based on the emergency handling model; In combination with the emergency event level and the target emergency link, a signal instruction on the escape route is generated and output.

6. A community emergency device based on digital twins, characterized in that: The device comprises: A data acquisition module, used to acquire target data and historical data of a target community, and determine the structural components of the target community based on the target data; A deduction model generation module, used to build a digital twin model based on the target data, train the digital twin model through the historical data, and generate a deduction model; A pre-deduction result generation module is used to set a variety of decision initial conditions and input them into the deduction model for multi-branch deduction simulation to generate a variety of pre-deduction results; the initial conditions and structural components corresponding to each branch deduction simulation are used to form the initial situation corresponding to each pre-deduction result; A monitoring module is used to monitor in real time whether an emergency occurs in the target community through monitoring equipment, and if so, to determine whether the emergency is consistent with the initial situation; The target deduction result determination module includes a first submodule for determining the target deduction result and a second submodule for determining the target deduction result; the first submodule for determining the target deduction result is used to select the pre-deduction result corresponding to the initial situation consistent with the emergency situation as the target deduction result if they are consistent; the second submodule for determining the target deduction result is used to determine the impact range of the emergency situation if they are inconsistent, and determine the target deduction result based on the impact range; A community emergency handling instruction output module is used to determine the target emergency link associated with the emergency situation according to the structural components, the target deduction results and the preset evaluation indicators, and generate and output the community emergency handling instruction according to the target emergency link; The first submodule for determining the target deduction result is specifically used to, if there is inconsistency, determine the impact range of the emergency situation based on the structural components and the pre-deduction results; determine the similar pre-deduction results corresponding to the emergency situation from all the pre-deduction results according to the impact range; and use a deduction algorithm to re-deduct the pre-deduction results in a small range to generate a target deduction result; If there is inconsistency, the step of determining the impact scope of the emergency situation based on the structural components and the pre-simulation results comprises: If they are inconsistent, the relationship between the structural components and the pre-deduction results is recorded in the form of a node diagram; Using a graph neural network to learn the node graph and generate a causal correlation model; Determine the impact scope of the emergency situation according to the emergency situation by using the causal correlation model; The step of using a graph neural network to learn the node graph and generate a causal correlation model includes: A graph neural network is used to learn and update the representation vector of each node on the node graph, and the node representation information is aggregated through a function to obtain the graph-level representation vector of the node graph, where the aggregation process and the readout process are respectively: ; ; In the formula, Representation Node exist The feature vector of the layer; is a nonlinear activation function; is the aggregation function of the feature vector; For Node The neighbor nodes of is the read function, is the node set on the node graph, is the node graph vector; The graph representation of the node graph is passed through a plurality of different multi-layer perceptron models and classifier models to separate different causal features; the causal features represent the impact features of an initial impact range of the emergency; Recombining the separated causal features to obtain a new graphical representation after intervention, and re-estimating the causal relationship between the structural components and the initial impact range; Different causal relationships are aggregated into the same loss function with different weights, and the parameters of the model are optimized to obtain a causal correlation model related to the causal features; ; in, Indicates Weight value, Indicates the number of categories, represents the number of samples, Indicates the number of sequences, represents the true value of the classification, Represents the classification prediction value, and the subscripts represent different classification categories.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the community emergency response method based on digital twins as described in any one of claims 1 to 5 is implemented.