A method, system and device for automatically generating emergency plans for highway tunnels
The deep learning model processes highway tunnel equipment data and text descriptions to automatically generate emergency plans, which solves the flexibility and timeliness issues of traditional plan generation methods and improves the accuracy and effectiveness of emergency plans.
Patent Information
- Application Number
- CN202310209696.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-03-01
AI Technical Summary
The traditional method of generating emergency plans for highway tunnels lacks flexibility, relies on manual judgment and has poor timeliness. It cannot fully consider the associated impacts of emergency events, resulting in insufficient comprehensive and accurate generation of plans.
Using the inductive analysis capabilities of deep learning, it builds a multi-task deep learning model by acquiring and processing equipment data and text description information in highway tunnels, and automatically generates emergency plans, including lighting intensity adjustment, ventilation system opening, lane indication, firefighting facility activation and Emergency broadcast and other decisions.
It improves the accuracy and effectiveness of emergency plans, realizes all elements, automated processing and precise decision-making of emergency events, and generates intelligent plans.
Smart Images

Figure CN116304697B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of highway tunnel safety, and more particularly to a method, system and device for automatically generating a highway tunnel emergency plan. Background Art
[0002] Highway tunnels are passages for automobile transportation. With the development of social economy and production, a large number of highways have emerged, which put forward higher standards for road construction technology, requiring straight lines, gentle slopes, and wide roads. Therefore, when roads pass through mountainous areas, the previous winding route is often changed to a tunnel. The construction of tunnels plays an important role in improving the technical status of highways, shortening operating distances, increasing transportation capacity, and reducing accidents.
[0003] However, compared with general highways, tunnels have unique road and environmental characteristics. Considering issues such as tunnel fire protection, safety and road illumination, cement pavement is generally used inside highway tunnels, while asphalt pavement is mostly used outside the tunnels. Tunnels are relatively closed driving passages, and the internal moisture is serious, resulting in a decrease in the road adhesion coefficient; poor ventilation performance can easily lead to the exhaust gas emitted by vehicles being difficult to discharge, mixed with the coolant and lubricating oil leaked from the vehicles and deposited on the road surface, further reducing the road adhesion coefficient. In addition, the climatic conditions in mountainous areas are special, with frequent rainfall, snowfall and fog, which leads to water accumulation at the entrance of the tunnel, ice on the road surface in winter, and reduced visibility, which seriously threatens the driving safety of highway tunnels. There are great hidden dangers in traffic safety in tunnels. The only places inside the tunnel that are connected to the outside world are the entrances and exits at both ends. Once a traffic accident occurs, the entire road section will be deeply affected, and even more serious consequences of the accident will be caused.
[0004] Therefore, when an emergency occurs in a highway tunnel, plan generation is a key link in the incident handling process. The traditional plan generation process mostly formulates emergency strategies in advance according to the type of emergency event, and further amends or supplements the plan based on manual judgment. This plan formulation method is relatively fixed and lacks certain flexibility. In addition, the occurrence of emergency events may have certain collateral events. This method is obviously not comprehensive enough. At the same time, manual judgment relies on experience and a certain degree of subjectivity, and has a certain impact on the timeliness of plan generation. Summary of the invention
[0005] In view of the problems existing in the prior art, the purpose of the present invention is to provide a method, system and device for automatically generating emergency plans for highway tunnels, which can automatically generate emergency plans for highway tunnels by utilizing the inductive analysis capabilities of deep learning.
[0006] In order to achieve the above object, the present invention is implemented through the following technical solutions:
[0007] A method for automatically generating a highway tunnel emergency plan comprises the following steps:
[0008] S1: Obtain data information of preset type equipment in the highway tunnel when the event occurs;
[0009] S2: Get text description information of the event;
[0010] S3: normalizing the data information and generating a corresponding data representation matrix;
[0011] S4: Encode the text description information to generate text information with the same dimension as the data information;
[0012] S5: Fuse data information and text information to construct a data set;
[0013] S6: Use the dataset to build a multi-task deep learning model and perform model training;
[0014] S7: After the model training is completed, the test results are generated, and the emergency plan information is generated according to the preset template.
[0015] Further, preset type equipment includes:
[0016] Information board equipment, meteorological equipment, lane indication equipment, photovoltaic equipment, UPS equipment, microwave vehicle inspection equipment, lighting equipment, ventilation equipment and fire fighting equipment.
[0017] Further, step S3 includes:
[0018] Get the data information of the preset type of equipment in the past 1 minute;
[0019] The mean of each data item was taken to make up for the missing individual data during the data collection process;
[0020] Each type of data is padded to the same length D, and the missing parts are filled with 0 values;
[0021] The data is normalized and a data representation matrix of size N×D is generated; wherein D is the number of types of preset type devices.
[0022] Further, step S4 includes:
[0023] Use the Sentence2Vec algorithm to encode each sentence of the text description information and generate text information with the same dimension as the data information.
[0024] Further, step S5 includes:
[0025] The data information and text information are fused to construct the input sample of the multi-task deep learning model, and the input sample dimension is (N+1)×D;
[0026] Bind a label to each input sample to build a dataset;
[0027] Divide the dataset into training, validation, and test sets.
[0028] Further, step S6 includes:
[0029] Using the DenseNet model as the main feature extraction structure, the dataset is used to build a multi-task deep learning model in a hard parameter sharing manner;
[0030] In the output layer of the multi-task deep learning model, there are 5 sub-task outputs, and each sub-task output has a corresponding calculation loss function;
[0031] Use the training set and validation set to train the multi-task deep learning model, and generate the optimal multi-task deep learning model after evaluation on the test set;
[0032] Among them, the five subtasks include: regression loss of lighting intensity adjustment, regression loss of ventilation system opening intensity, classification loss of vehicle finger closing quantity, classification loss of whether fire-fighting facilities are activated, and classification loss of whether emergency broadcasting and information boards are activated.
[0033] Further, step S7 includes:
[0034] After the training is completed, the test set accuracy and sample results of the test set are generated, and emergency plan information is generated according to the preset template.
[0035] Furthermore, the preset template includes: tunnel information, event description and plan information; wherein, the tunnel information is imported by the preset system, the event description is the acquired text description information, the plan information is the generated information of the multi-task deep learning model, and the plan information includes a description of the situations that each type of equipment should execute.
[0036] Correspondingly, the present invention also discloses a highway tunnel emergency plan automatic generation system, comprising: a first information collection module, used to obtain data information of a preset type of equipment in a highway tunnel when an event occurs; a second information collection module, used to obtain text description information of the event;
[0037] A first data processing module, used for normalizing the data information and generating a corresponding data representation matrix;
[0038] The second data processing module is used to encode the text description information to generate text information with the same dimension as the data information;
[0039] Data fusion module, used to fuse data information and text information to construct a data set;
[0040] The deep learning module is used to use the data set to establish a multi-task deep learning model and perform model training; the plan generation module is used to generate test results after the model training is completed, and generate emergency plan information according to the preset template.
[0041] Correspondingly, the present invention also discloses a device for automatically generating emergency plans for highway tunnels, comprising:
[0042] Memory for storing computer programs;
[0043] A processor is used to implement the steps of the method for automatically generating a highway tunnel emergency plan as described in any one of the above items when executing the computer program.
[0044] Compared with the prior art, the beneficial effect of the present invention is that: the present invention provides a method, system and device for automatically generating emergency plans for highway tunnels, which collects and mines known information, combines manually entered event description information, and uses the inductive analysis ability of deep learning to perform full-factor and automatic processing on the emergency plan generation process, makes accurate decisions on the execution of all types of equipment according to preset templates, and generates intelligent plans. The present invention effectively improves the accuracy and effectiveness of emergency plans.
[0045] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0047] Figure 1 It is a method flow chart of a specific implementation mode of the present invention.
[0048] Figure 2 It is a system structure diagram of a specific implementation mode of the present invention.
[0049] In the figure, 1. First information acquisition module; 2. Second information acquisition module; 3. First data processing module; 4. Second data processing module; 5. Data fusion module; 6. Deep learning module; 7. Plan generation module. DETAILED DESCRIPTION
[0050] The specific implementation of the present invention is described below with reference to the accompanying drawings.
[0051] like Figure 1 A method for automatically generating a highway tunnel emergency plan is shown, comprising the following steps:
[0052] S1: Obtain data information of preset type equipment in the highway tunnel when the event occurs.
[0053] Among them, the preset types of equipment include: information board equipment, meteorological equipment, lane indication equipment, photovoltaic equipment, UPS equipment, microwave vehicle inspection equipment, lighting equipment, ventilation equipment and fire fighting equipment, etc., a total of N types.
[0054] S2: Get text description information of the event.
[0055] S3: normalize the data information and generate a corresponding data representation matrix.
[0056] First, obtain the data information of N types of equipment in the past minute, take the mean of each data to make up for the problem of missing individual data during the data collection process; secondly, lengthen each type of data to the same length D, and fill the missing part with 0; then, perform data normalization, and finally generate a data representation matrix of size N×D.
[0057] S4: Encode the text description information to generate text information with the same dimension as the data information.
[0058] Specifically, the Sentence2Vec algorithm is used to encode each sentence of the text description information to generate text information with the same dimension as the data information.
[0059] S5: Fuse data information and text information to construct a data set.
[0060] First, the data information and text information are fused to construct the input samples of the multi-task deep learning model, and the input sample dimension is (N+1)×D. Then, a label is bound to each input sample to construct a dataset. Finally, the dataset is divided into training set, validation set, and test set.
[0061] S6: Use the dataset to build a multi-task deep learning model and perform model training.
[0062] Specifically: Using the DenseNet model as the main feature extraction structure, the dataset is used to build a multi-task deep learning model in a hard parameter sharing manner. The model output layer is designed according to the task requirements and adjusted to 5 subtask outputs. Each subtask calculates the loss function separately and together constitutes the total loss function, a total of 6 loss functions, each subtask represents the regression loss of lighting intensity adjustment, the regression loss of ventilation system opening intensity, the classification loss of the number of car pointers closed, the classification loss of whether the fire protection facilities are activated, and the classification loss of whether the emergency broadcast and information board are activated.
[0063] Use the training set and validation set to train the multi-task deep learning model, and generate the optimal multi-task deep learning model after evaluation on the test set;
[0064] S7: After the model training is completed, the test results are generated, and the emergency plan information is generated according to the preset template.
[0065] Specifically, after the training is completed, the test set accuracy and the sample results of the test set are generated, and the emergency plan information is generated according to the preset template.
[0066] In this step, a preset template is used to quickly and directly generate an emergency plan. The template content should include tunnel information, event description, and plan information. The tunnel information is imported by the system, the event description is the text description information, and the plan information is the generated information of the multi-task deep learning model, including the situations that each type of equipment should execute.
[0067] Correspondingly, such as Figure 2 As shown, the present invention also discloses a highway tunnel emergency plan automatic generation system, including: a first information acquisition module 1, a second information acquisition module 2, a first data processing module 3, a second data processing module 4, a data fusion module 5, a deep learning module 6 and a plan generation module 7.
[0068] The first information acquisition module 1 is data-connected with the first data processing module 3, the second information acquisition module 2 is data-connected with the second data processing module 4, the data fusion module 5 is data-connected with the first data processing module 3, the second data processing module 4 and the deep learning module 6 respectively, and the deep learning module 6 is data-connected with the plan generation module 7.
[0069] The first information collection module 1 is used to obtain data information of a preset type of equipment in a highway tunnel when an event occurs.
[0070] The second information collection module 2 is used to obtain text description information of the event.
[0071] The first data processing module 3 is used to normalize the data information and generate a corresponding data representation matrix.
[0072] The second data processing module 4 is used to encode the text description information to generate text information with the same dimension as the data information.
[0073] The data fusion module 5 is used to fuse the data information and the text information to construct a data set.
[0074] The deep learning module 6 is used to establish a multi-task deep learning model using the data set and perform model training.
[0075] The plan generation module 7 is used to generate test results after the model training is completed, and to generate emergency plan information according to the preset template.
[0076] Correspondingly, the present invention also discloses a device for automatically generating emergency plans for highway tunnels, comprising:
[0077] Memory for storing computer programs;
[0078] A processor is used to implement the steps of the method for automatically generating a highway tunnel emergency plan as described in any one of the above items when executing the computer program.
[0079] Those skilled in the art can clearly understand that the technology in the embodiment of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution in the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc. Various media that can store program codes include several instructions to enable a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The same and similar parts between the various embodiments in this specification can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
[0080] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system 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 through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0081] 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.
[0082] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
[0083] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.
[0084] The present invention will be further described with reference to the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art may make various changes or modifications to the present invention, and these equivalent forms also fall within the scope limited by the application.
Claims
1. A method for automatically generating emergency plans for highway tunnels, characterized in that: The steps include: S1: Obtain data information of preset type equipment in the highway tunnel when the event occurs; S2: Get text description information of the event; S3: normalizing the data information and generating a corresponding data representation matrix; S4: Encode the text description information to generate text information with the same dimension as the data information; S5: Fuse data information and text information to construct a data set; S6: Use the dataset to build a multi-task deep learning model and perform model training; S7: After the model training is completed, the test results are generated, and the emergency plan information is generated according to the preset template; The step S3 comprises: Get the data information of the preset type of equipment in the past 1 minute; The mean of each data item was taken to make up for the missing individual data during the data collection process; Each type of data is padded to the same length D, and the missing parts are filled with 0 values; Perform data normalization and generate a data representation matrix of size N×D; wherein D is the number of types of preset type devices; The step S4 comprises: Use the Sentence2Vec algorithm to encode each sentence of the text description information and generate text information with the same dimension as the data information; The step S5 comprises: The data information and text information are fused to construct the input sample of the multi-task deep learning model, and the input sample dimension is (N+1)×D; Bind a label to each input sample to build a dataset; Divide the dataset into training, validation and test sets; The step S6 comprises: Using the DenseNet model as the main feature extraction structure, the dataset is used to build a multi-task deep learning model in a hard parameter sharing manner; In the output layer of the multi-task deep learning model, there are 5 sub-task outputs, and each sub-task output has a corresponding calculation loss function; Use the training set and validation set to train the multi-task deep learning model, and generate the optimal multi-task deep learning model after evaluation on the test set; Among them, the five subtasks include: regression loss of lighting intensity adjustment, regression loss of ventilation system opening intensity, classification loss of vehicle finger closing quantity, classification loss of whether fire-fighting facilities are activated, and classification loss of whether emergency broadcasting and information boards are activated.
2. The method for automatically generating emergency plans for highway tunnels according to claim 1, characterized in that: The preset type device includes: Information board equipment, meteorological equipment, lane indication equipment, photovoltaic equipment, UPS equipment, microwave vehicle inspection equipment, lighting equipment, ventilation equipment and fire fighting equipment.
3. The method for automatically generating emergency plans for highway tunnels according to claim 1, characterized in that: The step S7 comprises: After the training is completed, the test set accuracy and sample results of the test set are generated, and emergency plan information is generated according to the preset template.
4. The method for automatically generating emergency plans for highway tunnels according to claim 3, characterized in that: The preset template includes: tunnel information, event description and plan information; Among them, tunnel information is imported by the preset system, event description is the acquired text description information, and plan information is the generated information of the multi-task deep learning model. The plan information includes the description of the situations that each type of equipment should execute.
5. A highway tunnel emergency plan automatic generation system, characterized in that: include: The first information collection module is used to obtain data information of a preset type of equipment in the highway tunnel when an event occurs; The second information collection module is used to obtain text description information of the event; The first data processing module is used to normalize the data information and generate a corresponding data representation matrix, including: Get the data information of the preset type of equipment in the past 1 minute; The mean of each data item was taken to make up for the missing individual data during the data collection process; Each type of data is padded to the same length D, and the missing parts are filled with 0 values; Perform data normalization and generate a data representation matrix of size N×D; wherein D is the number of types of preset type devices; The second data processing module is used to encode the text description information to generate text information with the same dimension as the data information, including: Use the Sentence2Vec algorithm to encode each sentence of the text description information and generate text information with the same dimension as the data information; The step S5 comprises: The data information and text information are fused to construct the input sample of the multi-task deep learning model, and the input sample dimension is (N+1)×D; Bind a label to each input sample to build a dataset; Divide the dataset into training, validation and test sets; Data fusion module, used to fuse data information and text information to construct a data set; The deep learning module is used to build a multi-task deep learning model using the data set and perform model training, including: Using the DenseNet model as the main feature extraction structure, the dataset is used to build a multi-task deep learning model in a hard parameter sharing manner; In the output layer of the multi-task deep learning model, there are 5 sub-task outputs, and each sub-task output has a corresponding calculation loss function; Use the training set and validation set to train the multi-task deep learning model, and generate the optimal multi-task deep learning model after evaluation on the test set; Among them, the five subtasks include: regression loss of lighting intensity adjustment, regression loss of ventilation system opening intensity, classification loss of vehicle indicator closing quantity, classification loss of whether fire-fighting facilities are activated, and classification loss of whether emergency broadcast and information board are activated; The plan generation module is used to generate test results after model training is completed, and to generate emergency plan information based on preset templates.
6. A device for automatically generating emergency plans for highway tunnels, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for automatically generating a highway tunnel emergency plan as claimed in any one of claims 1 to 4 when executing the computer program.
