Emergency resource automatic allocation system based on generative artificial intelligence
By introducing an automatic emergency resource allocation system based on generative artificial intelligence into the emergency command system, the problems of inefficient allocation of existing emergency resource allocation and chaotic management have been solved, and rapid, comprehensive and reasonable emergency resource allocation has been achieved, and emergency response has been improved. synergies and efficiency.
Patent Information
- Application Number
- CN202411631451.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing emergency command process, emergency resource allocation relies on manual decision-making, resulting in inefficient allocation efficiency, easy omissions in the material selection process, increasing the risk of insufficient or misallocation of emergency materials, and lacking a unified and coordinated management platform, resulting in communication barriers and Management chaos.
Adopt an emergency resource automatic allocation system based on generative artificial intelligence. The system generates the SQL statements and database query system through the emergency resource database query, receives the emergency resource information or emergency response tasks input by the user, analyzes and generates the corresponding database query SQL statements. , query the emergency materials, equipment and personnel that meet from the emergency resource database, and send and allocate reports to generate them.
It has achieved rapid completion of emergency resource query, shortened resource generation time, ensured the comprehensiveness and rationality of resource allocation, significantly enhanced the centralized allocation of emergency resources by the emergency command center, and improved the coordination and efficiency of overall emergency response.
Smart Images

Figure CN119476852A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of artificial intelligence and emergency management technology, and in particular to an automatic emergency resource allocation system based on generative artificial intelligence, an electronic device and a readable storage medium. Background Art
[0002] In the existing emergency command process, emergency resource allocation usually relies on manual decision-making. This traditional method has many problems: First, due to the slow speed of manual decision-making, the allocation of materials and personnel is inefficient when facing sudden emergency events, which delays the execution of the overall emergency response plan and tasks. Secondly, in the existing system, there is a lack of a clear mapping mechanism for the determination of material requirements, that is, the relationship between emergency response tasks and plans and the required materials has not been clearly defined, which leads to omissions in the selection process of materials and increases the risk of insufficient or misallocated emergency materials. In addition, each emergency unit manages its emergency materials separately and lacks a unified and coordinated management platform, which further aggravates the communication barriers and management chaos in the allocation of emergency resources and makes it impossible to quickly respond to the needs of emergencies. Summary of the invention
[0003] In view of the above problems, the present invention is proposed to provide an emergency resource automatic allocation system based on generative artificial intelligence, an electronic device and a readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] The present invention provides an emergency resource automatic allocation system based on generative artificial intelligence, wherein the emergency resource automatic allocation system manages an emergency resource database, and the emergency resource automatic allocation system includes an emergency resource database query SQL statement generation system and a database query system.
[0005] The emergency resource database query SQL statement generation system is used to receive the required emergency resource information or emergency response task input by the user, parse the required emergency resource information or emergency response task to obtain resource attribute information, and generate the emergency material, emergency equipment and emergency personnel database query SQL statement corresponding to the resource attribute information according to the preset emergency resource database query SQL statement output format; the emergency response task includes the emergency event information and task description;
[0006] The database query system is used to execute the emergency materials, emergency equipment and emergency personnel database query SQL statement, query the eligible emergency materials, emergency equipment and emergency personnel from the emergency resource database, and record the eligible emergency materials, emergency equipment and emergency personnel according to the emergency unit group and send them to the corresponding emergency unit, and generate a report on the deployed emergency resources.
[0007] Optionally, the emergency resource database query SQL statement generation system includes a generative artificial intelligence role defined by prompt words and a fixed preset emergency resource database query SQL statement output format; the generative artificial intelligence role defined by the prompt words is set to play the role of an emergency resource dispatcher through a preset large language model prompt word.
[0008] Optionally, the automatic emergency resource allocation system is also used to establish and initialize an emergency resource database, receive emergency material data, emergency equipment data and emergency personnel data input by the user through the data entry interface and store them in the emergency resource database, or import emergency material data, emergency equipment data and emergency personnel data from other systems to the emergency resource database through an API; the emergency material data and emergency equipment data include the name, purpose, affiliated unit, and contact information of the materials and equipment, and the emergency personnel data include the personnel's name, affiliated unit, position, skills and expertise, and contact information.
[0009] Optionally, the automatic emergency resource allocation system is also used to add allocation marks to the allocated emergency materials, emergency equipment and emergency personnel in the emergency resource database according to the allocated emergency resource report, and remove the allocation marks after the allocated emergency materials, emergency equipment and emergency personnel complete the emergency response task.
[0010] Optionally,
[0011] The database query system is also used to screen the optimal emergency materials, emergency equipment and emergency personnel according to the geographical location of the eligible emergency materials, emergency equipment and emergency personnel, the time required to arrive at the site of the emergency incident, the urgency of the task and the historical efficiency, and record the optimal emergency materials, emergency equipment and emergency personnel in groups according to emergency units and send them to the corresponding emergency units, and generate a report on deployed emergency resources.
[0012] Optionally,
[0013] The automatic emergency resource allocation system is also used to receive real-time feedback from the scene of the sudden emergency event or the emergency unit during the resource allocation process, and based on the feedback content, regenerate the emergency materials, emergency equipment and emergency personnel database query SQL statement and query the eligible emergency materials, emergency equipment and emergency personnel, or adjust the emergency materials, emergency equipment and emergency personnel in the allocated emergency resource report.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the electronic device executes the computer program, it loads the automatic emergency resource allocation system based on generative artificial intelligence as described in any one of the embodiments of the present invention.
[0015] The present invention also provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the emergency resource automatic allocation system based on generative artificial intelligence as described in any one of the embodiments of the present invention is loaded.
[0016] The present invention includes the following advantages:
[0017] The automatic allocation system of emergency resources based on generative artificial intelligence of the present invention is based on an emergency resource database that is pre-established and can be updated in real time. The emergency resource database query SQL statement generation system receives the required emergency resource information or emergency response task input by the user, parses the required emergency resource information or emergency response task to obtain resource attribute information, and generates emergency materials, emergency equipment and emergency personnel database query SQL statements corresponding to the resource attribute information according to the preset emergency resource database query SQL statement output format. The database query system executes emergency materials, emergency equipment and emergency personnel SQL statements, queries the emergency materials, emergency equipment and emergency personnel that meet the requirements from the emergency resource database, and records and sends the emergency materials, emergency equipment and emergency personnel to the corresponding emergency units according to the emergency unit groups, and generates a report on the allocated emergency resources. Based on the emergency resource database, through the collaborative work of the emergency resource SQL statement generation system and the database query system, the emergency resource query is quickly completed, which not only shortens the generation time of qualified emergency resources, but also ensures the comprehensiveness and rationality of resource allocation, significantly enhances the centralized allocation capability of the emergency command center for emergency resources, and improves the coordination and efficiency of the overall emergency response. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural block diagram of an emergency resource automatic allocation system based on generative artificial intelligence provided by an embodiment of the present invention;
[0019] Figure 2 The present invention provides a flowchart of searching for emergency resources that meet the requirements of an emergency event. DETAILED DESCRIPTION
[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0021] Reference Figure 1 , shows a structural block diagram of an emergency resource automatic allocation system based on generative artificial intelligence provided in an embodiment of the present invention, which may specifically include the following modules:
[0022] The emergency resource database query SQL statement generation system is used to receive the required emergency resource information or emergency response task input by the user, parse the required emergency resource information or emergency response task to obtain resource attribute information, and generate the emergency material, emergency equipment and emergency personnel database query SQL statement corresponding to the resource attribute information according to the preset emergency resource database query SQL statement output format; the emergency response task includes the emergency event information and task description;
[0023] The database query system is used to execute the emergency materials, emergency equipment and emergency personnel database query SQL statement, query the eligible emergency materials, emergency equipment and emergency personnel from the emergency resource database, and record the eligible emergency materials, emergency equipment and emergency personnel according to the emergency unit group and send them to the corresponding emergency unit, and generate a report on the deployed emergency resources.
[0024] In one embodiment of the present invention, the emergency resource database query SQL statement generation system includes a generative artificial intelligence role defined by prompt words and a fixed preset emergency resource SQL statement output format; the generative artificial intelligence role defined by the prompt words is set to play the role of an emergency resource dispatcher through a preset large language model prompt word.
[0025] In one embodiment of the present invention, the automatic emergency resource allocation system is also used to establish and initialize an emergency resource database, receive emergency material data, emergency equipment data and emergency personnel data input by the user through the data entry interface and store them in the emergency resource database, or import emergency material data, emergency equipment data and emergency personnel data from other systems to the emergency resource database through an API; the emergency material data and emergency equipment data include the name, purpose, affiliated unit, and contact information of the materials and equipment, and the emergency personnel data include the personnel's name, affiliated unit, position, skills and expertise, and contact information.
[0026] In one embodiment of the present invention, the automatic emergency resource allocation system is also used to add allocation marks to the allocated emergency materials, emergency equipment and emergency personnel in the emergency resource database according to the allocated emergency resource report, and remove the allocation marks after the allocated emergency materials, emergency equipment and emergency personnel complete the emergency response task.
[0027] In one embodiment of the present invention,
[0028] The database query system is also used to screen the optimal emergency materials, emergency equipment and emergency personnel according to the geographical location of the eligible emergency materials, emergency equipment and emergency personnel, the time required to arrive at the site of the emergency incident, the urgency of the task and the historical efficiency, and record the optimal emergency materials, emergency equipment and emergency personnel in groups according to emergency units and send them to the corresponding emergency units, and generate a report on deployed emergency resources.
[0029] In one embodiment of the present invention,
[0030] The automatic emergency resource allocation system is also used to receive real-time feedback from the scene of the sudden emergency event or the emergency unit during the resource allocation process, and based on the feedback content, regenerate the emergency materials, emergency equipment and emergency personnel database query SQL statement and query the eligible emergency materials, emergency equipment and emergency personnel, or adjust the emergency materials, emergency equipment and emergency personnel in the allocated emergency resource report.
[0031] The present invention provides an emergency resource automatic allocation system based on generative artificial intelligence, which can manage and utilize the emergency resource data stored in the emergency resource database. The emergency resource database stores emergency material data, emergency equipment data and emergency personnel data. The emergency material and emergency equipment tables contain information such as the name, purpose, affiliated unit, contact information, etc. of the materials and equipment, while the emergency unit personnel table records the name, affiliated unit, position, skills, expertise, contact information, etc. of the personnel. All data are uniformly entered into the database based on the actual statistical results of each unit. By uniformly storing information on materials, equipment and personnel, the coordination and allocation capabilities of the emergency command center in emergencies are significantly improved.
[0032] The automatic allocation system for emergency resources is built based on generative artificial intelligence technology, and its core module is the Large Language Model. The system consists of an emergency resource database query SQL statement generation system and a database query system.
[0033] Furthermore, the emergency resource database query SQL statement generation system includes a generative artificial intelligence "role" defined by prompt words and a fixed preset output format.
[0034] The generative AI "role" defined by the prompt words is realized through the preset large language model prompt words. These prompt words enable the large language model to play the "role" of an emergency resource allocation expert, responsible for performing resource search and allocation tasks. Through the definition of the prompt words, it is ensured that the generative AI can accurately extract and summarize the types and attributes of the required emergency resources for subsequent queries.
[0035] Furthermore, the preset output format of the generative artificial intelligence is used to standardize the output form of the large language model. Through this preset output format, it is ensured that the generated database query SQL statements conform to a fixed format, so that subsequent programs can accurately parse and execute these statements.
[0036] The emergency resource database query SQL statement generation system generates the required SQL statements based on the extracted resource attribute information, combined with the table names and column names in the emergency resource database, using the preset "roles" and output formats, and generative artificial intelligence.
[0037] Finally, the database query system generates the database query SQL statement output by executing the emergency resource database query SQL statement, queries the resources that meet the corresponding information in the emergency resource database, and reasonably allocates them according to the input task information. The database query system can further optimize the allocation of the list of emergency resources that meet the conditions. Specifically, multiple factors such as the geographical location, transportation time, current availability, task urgency, and historical utilization efficiency of resources can be considered to generate the optimal resource allocation plan. During the resource allocation process, real-time feedback from the site or emergency units can be received, and the resource allocation plan can be dynamically adjusted automatically or manually according to the feedback content. By analyzing the feedback data in real time, evaluating the effect of the current resource allocation and demand changes, regenerating the database query SQL statement or adjusting the allocated resources through generative artificial intelligence, the flexibility and effectiveness of the emergency response can be ensured.
[0038] Specifically, refer to Figure 2 The specific implementation process of the present invention mainly includes the following steps:
[0039] 1. System initialization:
[0040] First, establish and initialize the emergency resource database, which may include emergency material table, emergency equipment table and emergency personnel table. The data entered into the database should come from the actual statistical information of each emergency unit. For example, the emergency material table of a unit may include rescue equipment, medical supplies, etc. The relevant fields include name, purpose, affiliated unit, contact information, etc.
[0041] During the initialization phase, a data entry interface allows operators to enter data manually or import data from other systems via an API.
[0042] 2. Generative AI role setting:
[0043] The large language model can be set up with prompt words to enable it to play the role of an emergency resource allocation expert. For example, the specific setting of the role prompt words can be as follows: "You are an emergency resource allocation expert, responsible for generating corresponding SQL query statements for materials, equipment, and personnel based on the input task requirements."
[0044] The system inputs the prompt words into the large language model and fixes the output format as a standard SQL statement.
[0045] 3.SQL statement generation and query process:
[0046] When receiving an emergency task request for an emergency event, the system inputs the event information and task description into the emergency resource SQL statement generation system. For example, "A leakage hazard has occurred in a reservoir in a certain place. If the hazard is not eliminated in time, there may be a risk of dam collapse. Please deploy personnel, equipment, and materials to carry out the task of eliminating the hazard."
[0047] After the generative AI role extracts key information, it generates the corresponding SQL query statement, such as: "SELECT * FROM material table WHERE purpose LIKE "reverse osmosis leakage" AND unit = "A unit". "
[0048] The database query system executes the generated SQL statements to extract qualified resources from the emergency resource database, such as: inverted siphon suction pipe; pump; excavator; gravel; excavator driver.
[0049] 4. Resource Allocation and Execution:
[0050] The system displays the query results to the operator of the emergency command center, who can make adjustments or confirmations based on actual conditions.
[0051] The confirmed resource allocation results will be automatically recorded and sent to the relevant emergency units, and a report will be generated for subsequent analysis.
[0052] The emergency resource automatic allocation system based on generative artificial intelligence of the present invention has the following advantages:
[0053] 1. Unified resource management: This emergency resource automatic allocation system realizes the unified management of emergency resources by establishing special data storage tables for materials, equipment and personnel in the database. The database includes detailed information such as the name, purpose, and affiliated unit of emergency materials, as well as personnel information of emergency units (such as name, age, affiliated unit, skills and expertise, etc.). This unified storage method effectively solves the problem of information communication difficulties between units, significantly enhances the emergency command center's ability to centrally allocate emergency resources, and improves the coordination and efficiency of the overall emergency response.
[0054] 2. Automatic dispatch of emergency resources: Based on the detailed information of the emergency event, generative artificial intelligence is used to automatically generate the filtering conditions and database query statements for the required resources according to the emergency knowledge base formed by the relevant emergency plans and historical disposal data, and sent to the emergency resource database for resource search, and the search results are automatically assigned to the most appropriate corresponding tasks. Generative artificial intelligence has excellent natural language parsing capabilities, intent understanding capabilities, and emergency strategy generation capabilities. This invention not only shortens the time for emergency resource generation, but also ensures the comprehensiveness and rationality of resource allocation, thereby speeding up the execution of the overall emergency response task.
[0055] 3. Natural language search for emergency resources: After receiving the emergency response task or the required emergency resources, this system uses generative artificial intelligence to extract key attributes in the task or resource, such as resource name or purpose, and generates the corresponding database SQL query statement. By executing the SQL statement output by generative artificial intelligence, the emergency resource query is quickly completed. This method not only reduces the possibility of missing emergency resources, but also automates the process of converting natural language into SQL statements, shortening the emergency resource query time to seconds, so as to better respond to the time urgency requirements in emergencies.
[0056] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to load the automatic emergency resource allocation system based on generative artificial intelligence as described in any one of the embodiments of the present invention.
[0057] Specifically, the electronic device includes: a memory and a processor, the memory and the processor are connected via a bus communication, a computer program is stored in the memory, and the computer program can be run on the processor, thereby loading the emergency resource automatic allocation system based on generative artificial intelligence as described in any one of the first aspects of the embodiments of the present invention.
[0058] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0059] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a graphics or computing power processor (GPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0060] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium having a computer program / instruction stored thereon. When the computer program / instruction is executed by a processor, it loads an emergency resource automatic allocation system based on generative artificial intelligence as described in any one of the first aspects of the embodiments of the present invention.
[0061] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0062] Those skilled in the art will appreciate that embodiments of the present invention may be provided as systems, electronic devices, storage media or computer program products. Therefore, embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CDROM, optical storage, etc.) containing computer-usable program codes.
[0063] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0064] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0065] The above is a detailed introduction to an emergency resource automatic allocation system, electronic device and readable storage medium based on generative artificial intelligence provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application. The above embodiments are only preferred embodiments cited to fully illustrate the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art on the basis of the present invention are all within the scope of protection of the present invention.
Claims
1. An automatic emergency resource allocation system based on generative artificial intelligence, characterized in that: The automatic emergency resource allocation system manages the emergency resource database. The automatic emergency resource allocation system includes an emergency resource database query SQL statement generation system and a database query system. The emergency resource database query SQL statement generation system is used to receive the required emergency resource information or emergency response task input by the user, parse the required emergency resource information or emergency response task to obtain resource attribute information, and generate the emergency material, emergency equipment and emergency personnel database query SQL statement corresponding to the resource attribute information according to the preset emergency resource database query SQL statement output format; the emergency response task includes the emergency event information and task description; The database query system is used to execute the emergency materials, emergency equipment and emergency personnel database query SQL statement, query the eligible emergency materials, emergency equipment and emergency personnel from the emergency resource database, and record the eligible emergency materials, emergency equipment and emergency personnel according to the emergency unit group and send them to the corresponding emergency unit, and generate a report on the deployed emergency resources.
2. The emergency resource automatic allocation system based on generative artificial intelligence according to claim 1 is characterized in that: The emergency resource database query SQL statement generation system includes a generative artificial intelligence role defined by prompt words and a fixed preset emergency resource database query SQL statement output format; the generative artificial intelligence role defined by the prompt words is set to play the role of an emergency resource dispatcher through a preset large language model prompt word.
3. The automatic emergency resource allocation system based on generative artificial intelligence according to claim 1 is characterized in that: The automatic emergency resource allocation system is also used to establish and initialize an emergency resource database, receive emergency material data, emergency equipment data and emergency personnel data input by the user through the data entry interface and store them in the emergency resource database, or import emergency material data, emergency equipment data and emergency personnel data from other systems to the emergency resource database through an API; the emergency material data and emergency equipment data include the name, purpose, affiliated unit, and contact information of the materials and equipment, and the emergency personnel data include the personnel's name, affiliated unit, position, skills and expertise, and contact information.
4. The emergency resource automatic allocation system based on generative artificial intelligence according to claim 1 is characterized in that: The automatic emergency resource allocation system is also used to add allocation marks to the allocated emergency materials, emergency equipment and emergency personnel in the emergency resource database according to the allocated emergency resource report, and remove the allocation marks after the allocated emergency materials, emergency equipment and emergency personnel complete the emergency response task.
5. The automatic emergency resource allocation system based on generative artificial intelligence according to claim 1 is characterized in that: The database query system is also used to screen the optimal emergency materials, emergency equipment and emergency personnel according to the geographical location of the eligible emergency materials, emergency equipment and emergency personnel, the time required to arrive at the site of the emergency incident, the urgency of the task and the historical efficiency, and record the optimal emergency materials, emergency equipment and emergency personnel in groups according to emergency units and send them to the corresponding emergency response units, and generate a report on deployed emergency resources.
6. The emergency resource automatic allocation system based on generative artificial intelligence according to claim 1 or 5, characterized in that: The automatic emergency resource allocation system is also used to receive real-time feedback from the scene of the sudden emergency event or the emergency unit during the resource allocation process, and based on the feedback content, regenerate the emergency materials, emergency equipment and emergency personnel database query SQL statement and query the eligible emergency materials, emergency equipment and emergency personnel, or adjust the emergency materials, emergency equipment and emergency personnel in the allocated emergency resource report.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the electronic device executes the computer program, it loads the emergency resource automatic allocation system based on generative artificial intelligence as described in any one of claims 1 to 6.
8. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the emergency resource automatic allocation system based on generative artificial intelligence as described in any one of claims 1 to 6 is loaded.
Citation Information
Patent Citations
Intelligent allocation method for power emergency disposal materials
CN105303285A
GIS-based petrochemical enterprise emergency resource management and scheduling method
CN110874681A
Construction method of knowledge graph technology for emergency material management
CN114297410A
Database query instruction generation method and device, computer equipment and storage medium
CN117909355A
Tunnel emergency linkage method and device based on large model
CN118881421A