Ambulance path planning method based on injury grading and survival probability

Through the ambulance path planning method based on injury classification and survival probability, using the improved max-min ant system algorithm and cross-mutation algorithm, the problem of ambulance resource shortage and low efficiency of the traditional classification method is solved, and efficient rescue path planning and Resource allocation improves the survival probability of injured patients and rescue efficiency.

CN118586565APending Publication Date: 2024-09-03TIANJIN UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410251949.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In large-scale disaster situations, ambulance resources are tight, and traditional injury classification methods cannot effectively guarantee the survival probability of injured patients, resulting in inefficient rescue path planning.

Method used

An ambulance path planning method based on injury classification and survival probability is adopted. Through the improved max-min ant system algorithm, combined with the pheromone matrix update and cross-mutation algorithm, the ambulance path planning is optimized to ensure the survival probability and resource allocation of injured patients.

Benefits of technology

It improves the efficiency and accuracy of ambulance route planning, ensures low time and fuel consumption in the case of multiple ambulances and mobile ambulance stations, and maintains good performance when the number of patients increases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586565A
    Figure CN118586565A
Patent Text Reader

Abstract

The invention discloses an ambulance path planning method based on injury grading and survival probability, and belongs to the field of Internet of Things. According to the method, an ambulance scheduling and path planning model for the injury degree grading of the wounded is provided, the ambulance is divided into three levels according to the injury condition of the wounded during rescue, then medical resources are allocated according to the injury condition grading, and the next path planning of the ambulance is determined. In order to solve the problem of path optimization, an improved maximum and minimum ant system algorithm is provided to solve the problem, and negative feedback adjustment of pheromone matrix update is added on the basis of the maximum and minimum ant system algorithm. The addition of negative feedback can avoid the continuous accumulation of ant pheromones in a fixed road section so as to provide stronger search ability for the algorithm, in addition, the ability of the algorithm for jumping out of local optimum is enhanced by introducing crossover mutation operators, and finally, the superiority of the algorithm in solving such model problems is proved through experiments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of Internet of Things, and in particular relates to an ambulance path planning method based on injury classification and survival probability. Background Art

[0002] At present, the main means of calling for help by ambulance in my country is mainly the 120 emergency call. The 120 emergency call in most cities in China is answered and managed by a dedicated person 24 hours a day. When the emergency center receives and confirms the distress message, it can arrange an ambulance and medical staff for the rescue location. The length of time it takes for the ambulance to reach the rescue location is directly related to the rescue quality of this ambulance trip and the probability of survival of the injured. Therefore, the primary task of the emergency center is to shorten the journey time of the ambulance and maximize the efficiency of the ambulance trip. In order to reduce the waiting time of the injured, it is necessary to establish an ambulance dispatch system suitable for my country. By deploying this system to the rescue center, the rescue center can realize real-time control of the patient's location and patient injury. All hospitals in the city establish an independent communication line, so that the hospital can be notified to prepare in advance for the patients to be received.

[0003] When the ambulance leaves the emergency center and begins the rescue mission, the path planning problem of the ambulance needs to be considered. The basis of the path planning problem of emergency vehicles is the vehicle path problem, which means arranging an efficient and reasonable driving path for the target vehicle through corresponding calculations, and ultimately enabling the vehicle to complete all customer needs and tasks at the lowest cost. In this process, the vehicle's objective function can be set to the shortest path, the lowest fuel consumption, the lowest time consumption, etc.

[0004] The main constraints in the vehicle routing problem are as follows: 1) the maximum number of people that the vehicle can accommodate; 2) the maximum distance that the vehicle can travel; 3) the time window constraint of the location to be served; 4) the maximum capacity of the destination point; 5) the path traffic condition constraint. Its objective function is as follows: 1) the minimum total cost of vehicle transportation; 2) the minimum driving distance for the vehicle to serve all target nodes; 3) the maximum task completion rate.

[0005] Injury classification is to determine the severity of the patient's injury. After classification, the corresponding medical services can be allocated according to the classification level. The traditional classification method is to focus the rescue on seriously injured patients. The higher the severity of the injury, the more attention they receive, and the more medical resources they can get. The two most widely used patient classification response methods are: START (simple triage and rapid treatment) and SALT (sequencing, assessment, life-saving intervention, treatment / transport).

[0006] Because the traditional injury classification method cannot guarantee the application in actual rescue situations, a STM model is proposed to solve the problem of maximizing the number of survivors by providing an integer programming method. The concept of survival probability function is introduced, in which the survival probability of the injured is determined by the function, and its survival probability decreases with the increase of time. Since then, most of the research on the survival probability function has been carried out on this basis, and mainly focused on two directions. The first is to define priority as an ambulance dispatch problem. This type of research requires a high degree of modeling completeness because they need to assume that all the information they need is available in the disaster environment, and thus derive an implementation classification plan. The second direction is to determine some rules and principles through actual situations in real life and medical theories, and to solve the priority problem of treating injured people in disasters by incorporating such theories and principles into the survival probability function. Summary of the invention

[0007] The purpose of the present invention is to solve the problem of tight ambulance resources when a large-scale disaster occurs, and to provide an ambulance path planning method based on injury classification and survival probability. When the ambulance is rescuing, the injured are divided into three levels according to their injuries, and then the medical resources are allocated according to the injury classification and the next route planning of the ambulance is determined. In order to solve the problem of path optimization, the present invention proposes an improved maximum-minimum ant system algorithm to solve it. On the basis of the maximum-minimum ant system algorithm, negative feedback regulation of pheromone matrix update is added. The addition of negative feedback can avoid the continuous accumulation of ant pheromones in fixed sections and thus provide the algorithm with a stronger search ability. By introducing a crossover mutation operator, the algorithm's ability to jump out of the local optimum is enhanced. Finally, the superiority of the algorithm of the present invention in solving such model problems is proved through experiments.

[0008] The ambulance path planning method based on injury classification and survival probability of the present invention mainly includes the following key steps:

[0009] 1. Construction of ambulance dispatch model:

[0010] Section 1.1. Establish the objective function;

[0011] 1.2. Establish constraint model;

[0012] Section 1.3: Establish a survival probability model;

[0013] Second, algorithm design for mobile rescue station redeployment and ambulance path planning:

[0014] Section 2.1: Redeployment of mobile first aid stations;

[0015] Section 2.2, Max-min ant system algorithm and its pheromone matrix update strategy;

[0016] 2.3. Use crossover and mutation algorithms to enhance the global search capability of the ant colony algorithm;

[0017] Section 2.4, Convergence Status Measurement;

[0018] Section 2.5. Improved maximum-minimum ant system algorithm.

[0019] Furthermore, the objective function is established in step 1.1, and the objective function is as follows:

[0020] Fitness=W R ·e R +W G ·e G +W M ·e M (1)

[0021] Formula (1) is the total time to treat all patients after weighting, W R With W G Represent the weights of treating seriously injured patients and treating ordinary patients, W M Represents the weight of the lightly injured patient. The weight value is set to a fixed value before the rescue begins. R With e G represents the time it takes to complete the treatment of all seriously injured patients and the time it takes to complete the treatment of all ordinary patients, e M Represents the time it takes to complete treatment of all lightly injured patients.

[0022] The method of establishing the constraint model in step 1.2 is as follows:

[0023] ∑ l∈P∪H (X hl )∈{0,1}h∈H (2)

[0024] (2) is the constraint condition, P represents the set of injured people, H represents the set of hospitals. Since the mobile ambulance station is responsible for treating general patients, the mobile ambulance station is regarded as a hospital that can only receive general patients. When the value of constraint condition (2) is 1, the ambulance drives from the hospital to node l, or it means that each ambulance is in an idle state before the rescue mission begins. When the value of the constraint condition is 0, it means that the ambulance is in the rescue process and cannot respond to the rescue mission of the rescue center.

[0025]

[0026] Constraint (3) means that after the ambulance successfully leaves a certain rescue location after completing its service, if the injured patient here is a minor one, the ambulance will proceed to the next rescue location after treating the patient. If the patient here is a general one, the ambulance will send him to a mobile rescue station for treatment. If the patient is seriously injured, the ambulance will send him to the nearest hospital for treatment.

[0027]

[0028] ∑ i∈R U ih ≤C h h∈H (5)

[0029] When the value of constraint (4) is 1, it means that the patient carried by the ambulance has arrived at the hospital and the remaining beds can accommodate the injured person. If it is 0, it means that the hospital capacity has reached its limit and cannot accommodate the injured person. The ambulance needs to transfer the patient to another hospital. ih is a decision variable whose value can only be 0 or 1. C in constraint (5) h represents the maximum capacity of the hospital;

[0030] e R ≥ b i +d R +U ih (t ih +d h )i∈R,h∈H (6)

[0031] Constraint (6) indicates that the time to treat all seriously injured patients is greater than or equal to the time to treat any seriously injured patient. i represents the time when the ambulance arrives at the i-th rescue location, d R The sum of the time it takes to treat a seriously injured patient on the spot and transport him to the ambulance, t ih Indicates the time required from the rescue location to the nearest hospital, d h represents the time required to transport the injured from the ambulance to the hospital, and R represents the collection of seriously injured patients;

[0032] e G ≥ b i +d G +U ih (t ih +d h )i∈G,h∈H (7)

[0033] Constraint (7) indicates that the time to treat all general patients is greater than or equal to the time to treat any general patient, d G It represents the sum of the time for on-site treatment and transportation to the ambulance for patients with average injuries, and G represents the set of average patients;

[0034] e M ≥ b i +d M i∈M (8)

[0035] Constraint (8) indicates that the time to treat all lightly injured patients is greater than or equal to the time to treat any lightly injured patient, d M It represents the time spent on on-site treatment of patients with less serious injuries, and M represents the set of patients with less serious injuries;

[0036]

[0037] Constraint (9) indicates that the time it takes for the ambulance to arrive at the rescue location cannot be less than 0;

[0038]

[0039]

[0040]

[0041] Constraints (10), (11), and (12) represent the on-site treatment time for seriously injured patients, general patients, and lightly injured patients, respectively. Because the on-site treatment time for patients with different injuries is different, we choose to set them to different fixed values;

[0042]

[0043] When constraint (13) is 1, it represents the arc segment of the route from point i to point j, and A represents the set of arc segments of all nodes;

[0044] W R +W a +W M =1R∪G∪M=P (14)

[0045] In constraint (14), W R , W G , W M They represent the weights of seriously injured patients, general patients, and slightly injured patients, respectively. The values ​​are set differently in different disaster situations, and their sum is 1. P is the set of all patients, R is the set of seriously injured patients, G is the set of general patients, and M is the set of slightly injured patients.

[0046] ∑ il∈P∪H E il =∑ il∈P∪H (t il *v*L)≤E max (15)

[0047] In constraint (15), E il represents the fuel consumption of the ambulance or mobile rescue station from node i to node t. il represents the time taken for the journey, v represents the driving speed, L represents the fuel consumption per kilometer, and E max Represents the maximum oil volume.

[0048] In step 1.3, a survival probability model for the injured with different injury severity levels was established. In order to be more practical for rescue and improve the objective function of fixing the weights of the injured with different injuries proposed in this method, a survival probability function was introduced as a supplement:

[0049]

[0050]

[0051] s r represents the survival probability model of seriously injured patients, T r Represents the arrival time of the ambulance arriving at the patient's location, s g The model representing the survival probability of a general patient over time, T g It represents the time when the ambulance arrives at the location of the patient of this grade. If s < 0.0001, it means that the treatment has failed and a penalty value of the objective function is given. The expression model of treatment failure is as follows:

[0052] e false =e transport +d (18)

[0053] Patients who fail to be treated will be penalized by the single fitness function, where d represents the penalty value and e transport represents the time taken by the ambulance to reach this treatment point from the previous treatment point, e false Represents the total cost of failing to treat patients.

[0054] Furthermore, in step 2.1, the kmeans++ algorithm is selected to cluster the disaster-stricken areas and obtain the centroid location. Then the rescue center transmits the location information to the mobile rescue station, and the mobile rescue station goes to the location for deployment according to the corresponding instructions;

[0055] The steps of kmeans++ algorithm are as follows:

[0056] Step 1: Randomly select a cluster centroid as the initial center point;

[0057] Step 2: Calculate the shortest distance between all patient positions and the current cluster centroid, expressed as D(X), and then calculate the probability of each sample point being selected as the next cluster centroid. The probability calculation formula is as follows:

[0058]

[0059] Then the patient position with the largest probability value will be selected as the next cluster center;

[0060] Step 3: Repeat step 2 until k center points are selected as the deployment locations of mobile first aid stations, where k is the number of mobile first aid stations.

[0061] In step 2.2, the maximum-minimum ant system is selected to update the pheromone matrix. The maximum-minimum ant system has a good performance in solving path optimization. The pheromone update strategy of the maximum-minimum ant system is as follows:

[0062]

[0063] τ(i, j) represents the pheromone content on the route from node i to node j, ρ is the pheromone volatilization rate, and its value is set to be greater than 0 and less than 1, Δτ k (i, j) represents the pheromone content released by the kth ant when passing through this round of road section. Its value is equal to the inverse of the length of the path as shown in the above formula. k It represents the length of the path constructed by the kth ant in this round. Since setting a fixed upper and lower limit of pheromone concentration cannot flexibly adjust the value with the iteration of the algorithm, the exploration ability of the algorithm is limited to a certain extent in the later stage of the algorithm. Therefore, the improved maximum and minimum ant system algorithm is proposed to improve this. The improved pheromone update process is as follows:

[0064] τ(i,j)=(1-ρ)·τ(i,j)+Δτ best (i,j) (21)

[0065] freq(i,j)=freq(i,j)+1 (22)

[0066] anti(i,j)=γ / freq(i,j) (23)

[0067] At the same time, the probability formula of the improved ant colony in path selection can be obtained as follows:

[0068]

[0069] The above formula represents a complete matrix update process. According to the process of the maximum and minimum ant system, we must first select the optimal ant for this iteration, then update the pheromone on the path it has walked, and record the frequency of occurrence of the path. Finally, update the negative feedback matrix. α and β are pre-set fixed parameters, which are used to control the weights of pheromone concentration and heuristic information respectively. γ represents the negative feedback weight, which is assigned at the beginning of the iteration. The value decreases with the increase of the number of iterations. freq represents the path frequency matrix. freq(i, j) represents the number of occurrences of the path from point i to point j. The initial value is 0. Anti represents the negative feedback matrix, which is used to adjust the probability of path selection.

[0070] In step 2.3, we choose to use the exchange and mutation operators in the genetic algorithm to enrich the population diversity of the ant colony algorithm in the later stage. The specific process of the crossover and mutation algorithm is as follows:

[0071] Step 1: Parameter initialization, such as population, number of exchanges, exchange probability, number of mutations, mutation probability, etc.;

[0072] Step 2: Randomly select two individuals from the original population, and randomly select some genes of equal length in the two individuals for exchange, and exchange several times;

[0073] Step 3: After the exchange, randomly select several individuals;

[0074] Step 4: According to the mutation probability, mutation operations are performed on several genes of these individuals;

[0075] Step 5: Return the population after exchange and mutation.

[0076] Step 2.4 chooses to use the fitness variance to measure the convergence state of the ant colony. The specific variance calculation formula is as follows:

[0077]

[0078] f i represents the fitness function value corresponding to the path, M represents the total number of ant colonies, and f avg It represents the average fitness of the ant colony, f is the normalization factor, which is used to limit the variance value. In addition, the variance convergence threshold C is set. When the variance is less than C, it means that the ant colony algorithm tends to converge. At this time, the crossover mutation algorithm is called to increase the exploration breadth. After obtaining the new solution, the fitness function is used to measure the quality of the path. If the fitness is less than the original optimal solution, the optimal path is updated to achieve the purpose of jumping out of the local optimum.

[0079] Step 2.5 chooses to use the improved maximum-minimum ant system algorithm, which is based on the maximum-minimum ant system algorithm and incorporates negative feedback mechanism and crossover mutation algorithm for improvement. The specific algorithm flow is as follows:

[0080] Step 1: First initialize the parameters and initialize the pheromone matrix;

[0081] Step 2: Randomly select the starting point for each ant. In this model, the ambulance is randomly assigned to each hospital as the starting point of the path.

[0082] Step 3: Select the next destination for the ant. For the specific formula, refer to formula (24). Until all patients are rescued;

[0083] Step 3: Calculate the fitness of the path explored by the ant colony using the fitness function (1), and update the optimal solution of this round and the global optimal solution;

[0084] Step 4: Determine the variance value of the ant colony exploration path in this round. If the variance value is less than the given f, the ant population in this round is input into the crossover mutation algorithm for solution. The specific algorithm flow is shown in Algorithm 1, and finally the optimal solution of this round is updated.

[0085] Step 5: Update the pheromone matrix according to the optimal solution of this round output by the algorithm. The pheromone update formula is (20). At the same time, update the negative feedback matrix, as shown in formulas (22) and (23);

[0086] Step 6: Repeat steps 2 to 5 until all iterations are completed;

[0087] Step 7: Output the global optimal solution after the end conditions are met.

[0088] Advantages and positive effects of the present invention:

[0089] The present invention mainly designs an ambulance path planning method based on injury classification and survival probability. In this method,

[0090] When the ambulance is rescuing, the injured are divided into three levels according to their injuries, and then the medical resources are allocated according to the injury level and the next route planning of the ambulance is determined. In order to solve the problem of path optimization, an improved maximum-minimum ant system algorithm is proposed to solve it. The algorithm adds negative feedback regulation of pheromone matrix update on the basis of the maximum-minimum ant system algorithm. The addition of negative feedback can avoid the continuous accumulation of ant pheromones in fixed sections and provide the algorithm with stronger search capabilities. In addition, the introduction of crossover mutation operators enhances the ability of the algorithm to jump out of the local optimum, and finally proves the superiority of the algorithm in solving such model problems through experiments.

[0091] Experimental results show that the IMMAS algorithm has stronger global search capabilities than other algorithms. In the case of multiple ambulances and multiple mobile rescue stations, the IMMAS algorithm can simultaneously ensure low time consumption and low fuel consumption. As the number of patients increases, the IMMAS algorithm always maintains good performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] Figure 1 It is the algorithm fitness comparison chart (W M :W G :W R =0.5∶0.3∶0.2);

[0093] Figure 2 It is the algorithm fitness comparison chart (W M :W G :W R =0.33:0.33:0.33);

[0094] Figure 3 It is the algorithm fitness comparison chart (W M :W G :W R =0.2∶0.3∶0.5);

[0095] Figure 4 is the effect of the number of ambulances on average fuel consumption;

[0096] Figure 5 is the effect of the number of ambulances on the total rescue time;

[0097] Figure 6 is the effect of the number of ambulances on the average fitness;

[0098] Figure 7 is the effect of the number of mobile aid stations on the average fuel consumption;

[0099] Figure 8 is the effect of the number of mobile first aid stations on the total rescue time;

[0100] Fig. 9 is the effect of the number of mobile aid stations on the average fitness;

[0101] Fig.10 is the effect of the number of patients on the average fuel consumption;

[0102] Fig.11 is the effect of the number of patients on the total rescue time;

[0103] Fig.12 is the effect of the number of patients on the average fitness;

[0104] Fig.13 It is a flow chart of the ambulance path planning method based on injury classification and survival probability of the present invention. DETAILED DESCRIPTION

[0105] Example 1

[0106] This example uses Python language to conduct simulation experiments and conducts four groups of experiments. Experiment 1: Compare the fitness of the IMMAS algorithm and other algorithms under different weights to evaluate the global optimization ability of the IMMAS algorithm. Experiment 2: Compare the impact of different numbers of ambulances dispatched under the same circumstances on fitness, rescue completion time, and travel fuel consumption. Experiment 3: Compare the performance of each algorithm under different numbers of mobile rescue stations under the same circumstances. Experiment 4: Compare the impact of different numbers of patients under the same circumstances on fitness, rescue completion time, and travel fuel consumption.

[0107] See attached Fig.13,This example uses an ambulance path planning method based on injury classification and survival probability, which mainly includes the following key steps:

[0108] 1. Construction of ambulance dispatch model:

[0109] Section 1.1. Establish the objective function;

[0110] 1.2. Establish constraint model;

[0111] Section 1.3: Establish a survival probability model;

[0112] Second, algorithm design for mobile rescue station redeployment and ambulance path planning:

[0113] Section 2.1: Redeployment of mobile first aid stations;

[0114] Section 2.2, Max-min ant system algorithm and its pheromone matrix update strategy;

[0115] 2.3. Use crossover and mutation algorithms to enhance the global search capability of the ant colony algorithm;

[0116] Section 2.4, Convergence Status Measurement;

[0117] Section 2.5. Improved maximum-minimum ant system algorithm.

[0118] In step 1.1 of the present invention, an objective function is established, and the objective function is as follows:

[0119] Fitness=W R ·e R +W G ·e G +W M ·e M (1)

[0120] (1) is the total time of treating all patients after weighting, W R With W G Represent the weights of treating seriously injured patients and treating ordinary patients, W M Represents the weight of the lightly injured patient. The weight value is set to a fixed value before the rescue begins. R With e G represents the time it takes to complete the treatment of all seriously injured patients and the time it takes to complete the treatment of all ordinary patients, e M Represents the time it takes to complete the treatment of all lightly injured patients;

[0121] The method of establishing the constraint model in step 1.2 is as follows:

[0122] ∑ l∈P∪H (X hl )∈{0,1}h∈H (2)

[0123] (2) is the constraint condition, P represents the set of injured people, H represents the set of hospitals. Since the mobile ambulance station is responsible for treating general patients, the mobile ambulance station is regarded as a hospital that can only receive general patients. When the value of constraint condition (2) is 1, the ambulance drives from the hospital to node l, or it means that each ambulance is in an idle state before the rescue mission begins. When the value of the constraint condition is 0, it means that the ambulance is in the rescue process and cannot respond to the rescue mission of the rescue center.

[0124]

[0125] Constraint (3) indicates that after the ambulance successfully leaves a certain rescue location after completing its service, if the injured patient here is a minor one, the ambulance will proceed to the next rescue location after treating the patient. If the patient here is a general one, the ambulance will send him to a mobile rescue station for treatment. Severely injured patients will be sent to the nearest hospital by ambulance for treatment.

[0126]

[0127] ∑ i∈R U ih ≤C h h∈H (5)

[0128] When the value of constraint (4) is 1, it means that the patient carried by the ambulance has arrived at the hospital and the remaining beds can accommodate the injured person. If it is 0, it means that the hospital capacity has reached its limit and cannot accommodate the injured person. The ambulance needs to transfer the patient to another hospital. ih is a decision variable whose value can only be 0 or 1. C in constraint (5) h represents the maximum capacity of the hospital;

[0129] e R ≥ b i +d R +U ih (t ih +d h ) i∈R,h∈H (6)

[0130] Constraint (6) indicates that the time to treat all seriously injured patients is greater than or equal to the time to treat any seriously injured patient. i represents the time when the ambulance arrives at the i-th rescue location, d R The sum of the time it takes to treat a seriously injured patient on the spot and transport him to the ambulance, t ih Indicates the time required from the rescue location to the nearest hospital, d h represents the time required to transport the injured from the ambulance to the hospital, and R represents the collection of seriously injured patients;

[0131] eG ≥ b i +d G +U ih (t ih +d h ) i∈G,h∈H (7)

[0132] Constraint (7) indicates that the time to treat all general patients is greater than or equal to the time to treat any general patient, d G It represents the sum of the time for on-site treatment and transportation to the ambulance for patients with average injuries, and G represents the set of average patients;

[0133] e M ≥ b i +d M i∈M (8)

[0134] Constraint (8) indicates that the time to treat all lightly injured patients is greater than or equal to the time to treat any lightly injured patient, d M It represents the time spent on on-site treatment of patients with less serious injuries, and M represents the set of patients with less serious injuries;

[0135]

[0136] Constraint (9) indicates that the time it takes for the ambulance to arrive at the rescue location cannot be less than 0;

[0137]

[0138]

[0139]

[0140] Constraints (10), (11), and (12) represent the on-site treatment time for seriously injured patients, general patients, and lightly injured patients, respectively. Because the on-site treatment time for patients with different injuries is different, we choose to set them to different fixed values;

[0141]

[0142] When constraint (13) is 1, it represents the arc segment of the route from point i to point j, and A represents the set of arc segments of all nodes;

[0143] W R +W a +W M =1 R∪G∪M=P (14)

[0144] In constraint (14), W R , W G , W MThey represent the weights of seriously injured patients, general patients, and slightly injured patients, respectively. The values ​​are set differently in different disaster situations, and their sum is 1. P is the set of all patients, R is the set of seriously injured patients, G is the set of general patients, and M is the set of slightly injured patients.

[0145] ∑ il∈P∪H E il =∑ il∈P∪H (t il *v*L)≤E max (15)

[0146] In constraint (15), E il represents the fuel consumption of the ambulance or mobile rescue station from node i to node t. il represents the time taken for the journey, v represents the driving speed, L represents the fuel consumption per kilometer, and E max Represents the maximum oil volume.

[0147] In step 1.3, a survival probability model for the injured with different injury severity levels was established. In order to be more practical for rescue and improve the objective function of fixing the weights of the injured with different injuries proposed in this method, a survival probability function was introduced as a supplement:

[0148]

[0149]

[0150] s r represents the survival probability model of seriously injured patients, T r Represents the arrival time of the ambulance arriving at the patient's location, s g The model representing the survival probability of a general patient over time, T g It represents the time when the ambulance arrives at the location of the patient of this grade. If s < 0.0001, it means that the treatment has failed and a penalty value of the objective function is given. The expression model of treatment failure is as follows:

[0151] e false =e transport +d (18)

[0152] Patients who fail to be treated will be penalized by the single fitness function, where d represents the penalty value and e transport represents the time taken by the ambulance to reach this treatment point from the previous treatment point, e false Represents the total cost of failing to treat patients.

[0153] Furthermore, in step 2.1, the kmeans++ algorithm is selected to cluster the disaster-stricken areas and obtain the centroid location. Then the rescue center transmits the location information to the mobile rescue station, and the mobile rescue station goes to the location for deployment according to the corresponding instructions;

[0154] The steps of kmeans++ algorithm are as follows:

[0155] Step 1: Randomly select a cluster centroid as the initial center point;

[0156] Step 2: Calculate the shortest distance between all patient positions and the current cluster centroid, expressed as D(X), and then calculate the probability of each sample point being selected as the next cluster centroid. The probability calculation formula is as follows:

[0157]

[0158] Then the patient position with the largest probability value will be selected as the next cluster center;

[0159] Step 3: Repeat step 2 until k center points are selected as the deployment locations of mobile first aid stations, where k is the number of mobile first aid stations.

[0160] In step 2.2, the maximum-minimum ant system is selected to update the pheromone matrix. The maximum-minimum ant system has a good performance in solving path optimization. The pheromone update strategy of the maximum-minimum ant system is as follows:

[0161]

[0162] τ(i, j) represents the pheromone content on the route from node i to node j, ρ is the pheromone volatilization rate, and its value is set to be greater than 0 and less than 1, Δτ k (i, j) represents the pheromone content released by the kth ant when passing through this round of road section. Its value is equal to the inverse of the length of the path as shown in the above formula. k Indicates the length of the path constructed by the kth ant in this round. Since setting a fixed upper and lower limit of pheromone concentration cannot flexibly adjust the value with the iteration of the algorithm, it limits the exploration ability of the algorithm to a certain extent in the later stage of the algorithm. Therefore, the improved maximum and minimum ant system algorithm is proposed to improve this. The improved pheromone update process is as follows:

[0163] τ(i,j)=(1-ρ)·τ(i,j)+Δτ best (i,j) (21)

[0164] freq(i,j)=freq(i,j)+1 (22)

[0165] anti(i,j)=γ / freq(i,j) (23)

[0166] At the same time, the probability formula of the improved ant colony in path selection can be obtained as follows:

[0167]

[0168] According to the process of the maximum and minimum ant system, we first select the best ant for this iteration, then update the pheromone on the path it has walked, record the frequency of occurrence of the path, and finally update the negative feedback matrix. α and β are pre-set parameters, which are used to control the weights of pheromone concentration and heuristic information respectively. γ represents the negative feedback weight, which is assigned at the beginning of the iteration and decreases with the increase of the number of iterations. freq represents the path frequency matrix. freq(i, j) represents the number of occurrences of the path from point i to point j. The initial value is 0. Anti represents the negative feedback matrix, which is used to adjust the probability of path selection.

[0169] In step 2.3, we choose to use the exchange and mutation operators in the genetic algorithm to enrich the population diversity of the ant colony algorithm in the later stage. The specific process of the crossover and mutation algorithm is as follows:

[0170] Step 1: Parameter initialization, such as population, number of exchanges, exchange probability, number of mutations, mutation probability, etc.;

[0171] Step 2: Randomly select two individuals from the original population, and randomly select some genes of equal length in the two individuals for exchange, and exchange several times;

[0172] Step 3: After the exchange, randomly select several individuals;

[0173] Step 4: According to the mutation probability, mutation operations are performed on several genes of these individuals;

[0174] Step 5: Return the population after exchange and mutation.

[0175] Step 2.4 chooses to use the fitness variance to measure the convergence state of the ant colony. The specific variance calculation formula is as follows:

[0176]

[0177] f i represents the fitness function value corresponding to the path, M represents the total number of ant colonies, and f avgIt represents the average fitness of the ant colony, f is the normalization factor, which is used to limit the variance value. In addition, the variance convergence threshold C is set. When the variance is less than C, it means that the ant colony algorithm tends to converge. At this time, the crossover mutation algorithm is called to increase the exploration breadth. After obtaining the new solution, the fitness function is used to measure the quality of the path. If the fitness is less than the original optimal solution, the optimal path is updated to achieve the purpose of jumping out of the local optimum.

[0178] Step 2.5 chooses to use the improved maximum-minimum ant system algorithm, which is based on the maximum-minimum ant system algorithm and incorporates negative feedback mechanism and crossover mutation algorithm for improvement. The specific algorithm flow is as follows:

[0179] Step 1: First initialize the parameters and initialize the pheromone matrix;

[0180] Step 2: Randomly select the starting point for each ant. In this model, the ambulance is randomly assigned to each hospital as the starting point of the path.

[0181] Step 3: Select the next destination for the ant. For the specific formula, refer to formula (24) until all patients are rescued.

[0182] Step 3: Calculate the fitness of the path explored by the ant colony using the fitness function (1), and update the optimal solution of this round and the global optimal solution.

[0183] Step 4: Determine the variance value of the ant colony exploration path in this round. If the variance value is less than the given f, the ant population in this round is input into the crossover mutation algorithm for solution. The specific algorithm flow is shown in Algorithm 1, and finally the optimal solution of this round is updated;

[0184] Step 5: Update the pheromone matrix according to the optimal solution of this round output by the algorithm. The pheromone update formula is (20). At the same time, update the negative feedback matrix, as shown in formulas (22) and (23);

[0185] Step 6: Repeat steps 2 to 5 until all iterations are completed;

[0186] Step 7: Output the global optimal solution after the end conditions are met.

[0187] A total of four experiments were conducted by using the python language for simulation experiments. Experiment 1: Compare the fitness of the IMMAS algorithm and other algorithms under different weights to evaluate the global optimization ability of the IMMAS algorithm. Experiment 2: Compare the impact of different numbers of ambulances dispatched under the same circumstances on fitness, rescue completion time, and travel fuel consumption. Experiment 3: Compare the performance of each algorithm under different numbers of mobile ambulance stations under the same circumstances. Experiment 4: Compare the impact of different numbers of patients under the same circumstances on fitness, rescue completion time, and travel fuel consumption.

[0188] The above four groups of experiments measure the performance of the IMMAS algorithm in the ambulance dispatch environment from different aspects. In addition to fitness, the algorithm's measurement indicators have added the average fuel consumption of the ambulance and the total rescue time. These three indicators can be used to more comprehensively compare different algorithms. At the same time, the impact of the algorithm on the fuel consumption and rescue completion time during the ambulance dispatch process is analyzed from three perspectives: the number of ambulances, the number of mobile rescue stations, and the number of patients. In the four groups of experiments, the improved maximum-minimum ant system algorithm proposed in this paper has better performance than the ant colony algorithm (ACO), the maximum-minimum ant system algorithm (MMAS), the taboo search algorithm (TS), the particle swarm algorithm (PSO), and the genetic algorithm (GA).

[0189] Table 1 Parameter settings

[0190]

[0191] The simulation results of this example are as follows:

[0192] (1) Comparison of algorithm optimization capabilities

[0193] The number of ambulances, hospitals and mobile rescue stations is set to 2, and other related parameter settings are shown in Table 1 to simulate the complex environment during the rescue process. The average fitness performance of various algorithms under different weights as the number of iterations increases is shown in the attached figure. Figures 1 to 3 As shown. It can be seen that the convergence speed of the IMMAS algorithm is slow, but it has stronger search capabilities than other algorithms. At the same time, in the ambulance rescue scene, the ambulance is only responsible for patient transportation and information transmission, and the calculation task is handed over to the rescue center. The server of the rescue center has stronger computing resources, and the running time difference between different algorithms will be greatly reduced. Therefore, compared with the calculation speed, the final calculation result has a greater impact on the actual rescue of the ambulance. Therefore, the algorithm in this article is more suitable for the rescue path optimization of ambulances in large-scale disaster situations.

[0194] (2) Impact of the number of ambulances on rescue

[0195] The number of mobile rescue stations is set to 2. In order to simulate the complex environment during the rescue process, other related parameter settings are shown in Table 1. The specific performance of each algorithm under different numbers of ambulances is shown in the attached figure. Figures 4 to 6As shown. It can be seen that the number of ambulances has an impact on the maximum time and total fuel consumption during the rescue process. As the number of ambulances increases, the fitness of the selected rescue route, the average fuel consumption of the ambulance and the maximum rescue time show a downward trend. From the three figures, the IMMAS algorithm is better than other algorithms in the three dimensions mentioned above. Moreover, each algorithm has the same sensitivity to the number of ambulances, and the performance of each algorithm will not widen as the number of ambulances increases. This shows that the IMMAS algorithm can guarantee excellent global search capabilities in different rescue scenarios, can jump out of the local optimal point and always outperform other algorithms.

[0196] (3) Impact of the number of mobile first aid stations on rescue

[0197] Experiments and analysis were conducted on the impact of the number of mobile first aid stations on rescue. Figures 7 to 9 As shown. It can be seen that in terms of fuel consumption, as the number of rescue stations increases, fuel consumption steadily decreases, fuel consumption decreases significantly, and then gradually slows down. Compared with other algorithms, IMMAS has a better rescue route to keep fuel consumption at a low level. In terms of maximum time consumption, as the number of mobile rescue stations increases, the maximum time consumption also gradually decreases, and the trend of reduction is the same as that of fuel consumption, and then gradually flattens out. The fitness value is also the same as the above two indicators, and a relatively flat fitness curve is maintained in the future.

[0198] (4) Impact of the number of patients on rescue

[0199] In order to measure the impact of the number of patients on various indicators during the rescue process, the number of ambulances and mobile rescue stations was set to 2, and other variables were referred to Table 1. The number of injured was set to 20, 30, 40, 50, and 60 respectively. The specific performance of each indicator is as follows Figures 10 to 12 As shown in the figure. With the same number of patients, the IMMAS algorithm outperforms other algorithms in all three indicators. When the number of patients is 20, the indicator values ​​of each algorithm are almost the same. As the number of patients increases, the performance of the IMMAS algorithm begins to emerge, and the gap between the algorithms widens. The IMMAS algorithm has better performance when facing multi-dimensional complex functions, and is more suitable for deployment and application under conditions where medical tasks are arduous and the number of patients is large.

Claims

1. An ambulance path planning method based on injury classification and survival probability, characterized in that The method mainly includes the following steps:

1. Construction of ambulance dispatch model: Section 1.

1. Establish the objective function; 1.

2. Establish constraint model; Section 1.3: Establish a survival probability model; Second, algorithm design for mobile rescue station redeployment and ambulance path planning: Section 2.1: Redeployment of mobile first aid stations; Section 2.2, Max-min ant system algorithm and its pheromone matrix update strategy; 2.

3. Use crossover and mutation algorithms to enhance the global search capability of ant colony algorithm: Section 2.4, Convergence Status Measurement; Section 2.

5. Improved maximum-minimum ant system algorithm.

2. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: The objective function is established in step 1.

1. The objective function is as follows: Fitness=W R ·have been R +W G ·have been G +W M ·have been M (1) (1) is the total time of treating all patients after weighting, W R With W G Represent the weights of treating seriously injured patients and treating ordinary patients, W M Represents the weight of the lightly injured patient. The weight value is set to a fixed value before the rescue begins. R With e G represents the time it takes to complete the treatment of all seriously injured patients and the time it takes to complete the treatment of all ordinary patients, e M Represents the time it takes to complete treatment of all lightly injured patients.

3. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: The method of establishing the constraint model in step 1.2 is as follows: ∑ l∈P∪H (X hl )∈{0,1} h∈H (2) (2) is the constraint condition, P represents the set of injured people, H represents the set of hospitals. Since the mobile ambulance station is responsible for treating general patients, the mobile ambulance station is regarded as a hospital that can only receive general patients. When the value of constraint condition (2) is 1, the ambulance drives from the hospital to node l, or it means that each ambulance is in an idle state before the rescue mission begins. When the value of the constraint condition is 0, it means that the ambulance is in the rescue process and cannot respond to the rescue mission of the rescue center. Constraint (3) means that after the ambulance successfully leaves a certain rescue location after completing its service, if the injured patient here is a minor one, the ambulance will proceed to the next rescue location after treating the patient. If the patient here is a general one, the ambulance will send him to a mobile rescue station for treatment. If the patient is seriously injured, the ambulance will send him to the nearest hospital for treatment. ∑ i∈R IN ih ≤C h h∈H (5) When the value of constraint (4) is 1, it means that the patient carried by the ambulance has arrived at the hospital and the remaining beds can accommodate the injured person. If it is 0, it means that the hospital capacity has reached its limit and cannot accommodate the injured person. The ambulance needs to transfer the patient to another hospital. ih is a decision variable whose value can only be 0 or 1. C in constraint (5) h represents the maximum capacity of the hospital; e R ≥b i +d R +U ih (t ih +d h ) i∈R,h∈H (6) Constraint (6) indicates that the time to treat all seriously injured patients is greater than or equal to the time to treat any seriously injured patient. i represents the time when the ambulance arrives at the i-th rescue location, d R The sum of the time it takes to treat a seriously injured patient on the spot and transport him to the ambulance, t ih Indicates the time required from the rescue location to the nearest hospital, d h represents the time required to transport the injured from the ambulance to the hospital, and R represents the collection of seriously injured patients; e G ≥b i +d G +U ih (t ih +d h ) i∈G,h∈H (7) Constraint (7) indicates that the time to treat all general patients is greater than or equal to the time to treat any general patient, d G It represents the sum of the time for on-site treatment and transportation to the ambulance for patients with average injuries, and G represents the set of average patients; e M ≥b i +d M i∈M (8) Constraint (8) indicates that the time to treat all lightly injured patients is greater than or equal to the time to treat any lightly injured patient, d M It represents the time spent on on-site treatment of patients with less serious injuries, and M represents the set of patients with less serious injuries; b i ≥0 Constraint (9) indicates that the time it takes for the ambulance to arrive at the rescue location cannot be less than 0; Constraints (10), (11), and (12) represent the on-site treatment time for seriously injured patients, general patients, and lightly injured patients, respectively. Because the on-site treatment time for patients with different injuries is different, we choose to set them to different fixed values; When constraint (13) is 1, it represents the arc segment of the route from point i to point j, and A represents the set of arc segments of all nodes; W R +W G +W M =1 R∪G∪M=P (14) In constraint (14), W R , W G , W M They represent the weights of seriously injured patients, general patients, and slightly injured patients, respectively. The values ​​are set differently in different disaster situations, and their sum is 1. P is the set of all patients, R is the set of seriously injured patients, G is the set of general patients, and M is the set of slightly injured patients. ∑ il∈P∪H E il =∑ il∈P∪H (t il *v*L)≤E max (15) In constraint (15), E il represents the fuel consumption of the ambulance or mobile rescue station from node i to node t. il represents the time taken for the journey, v represents the driving speed, L represents the fuel consumption per kilometer, and E max Represents the maximum oil volume.

4. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: In step 1.3, a survival probability model for the injured with different injury severity levels was established. In order to be more practical for rescue and improve the objective function of fixing the weights of the injured with different injuries proposed in this method, a survival probability function was introduced as a supplement: s r represents the survival probability model of seriously injured patients, T r Represents the arrival time of the ambulance arriving at the patient's location, s g The model representing the survival probability of a general patient over time, T g Represents the time when the ambulance arrives at the location of the patient of this grade. If s<0.0001, it means that the treatment failed and a penalty value is given to the objective function. The expression model of treatment failure is as follows: And false =and transport +d (18) Patients who fail to be treated will be penalized by the single fitness function, where d represents the penalty value and e transport represents the time taken by the ambulance to reach this treatment point from the previous treatment point, e false Represents the total cost of failing to treat patients.

5. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: In step 2.1, the kmeans++ algorithm is used to cluster the disaster-stricken areas and obtain the centroid location. The rescue center then transmits the location information to the mobile rescue station, which then deploys to the location according to the corresponding instructions. The steps of kmeans++ algorithm are as follows: Step 1: Randomly select a cluster centroid as the initial center point; Step 2: Calculate the shortest distance between all patient positions and the current cluster centroid, expressed as D(X), and then calculate the probability of each sample point being selected as the next cluster centroid. The probability calculation formula is as follows: Then the patient position with the largest probability value will be selected as the next cluster center; Step 3: Repeat step 2 until k center points are selected as the deployment locations of mobile first aid stations, where k is the number of mobile first aid stations.

6. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: In step 2.2, the maximum-minimum ant system is selected to update the pheromone matrix. The maximum-minimum ant system has a good performance in solving path optimization. The pheromone update strategy of the maximum-minimum ant system is as follows: τ(i,j) represents the pheromone content on the route from node i to node j, ρ is the pheromone volatilization rate, and its value is set to be greater than 0 and less than 1, Δτ k (i, j) represents the pheromone content released by the kth ant when passing through this round of road sections. Its value is equal to the inverse of the length of the path as shown in the above formula. k It represents the length of the path constructed by the kth ant in this round. Since setting a fixed upper and lower limit of pheromone concentration cannot flexibly adjust the value with the iteration of the algorithm, the exploration ability of the algorithm is limited to a certain extent in the later stage of the algorithm. Therefore, the improved maximum and minimum ant system algorithm is proposed to improve this. The improved pheromone update process is as follows: τ(i,j)=(1-ρ)·τ(i,j)+Δτ best (i,j) (21) freq(i,j)=freq(i,j)+1 (22) anti(i,j)=γ / freq(i,j) (23) At the same time, the probability formula of the improved ant colony in path selection can be obtained as follows: The above formula represents a complete matrix update process. According to the process of the maximum and minimum ant system, we must first select the optimal ant for this iteration, then update the pheromone on the path it has walked, and record the frequency of occurrence of the path. Finally, update the negative feedback matrix. α and β are pre-set fixed parameters, which are used to control the weights of pheromone concentration and heuristic information respectively. γ represents the negative feedback weight, which is assigned at the beginning of the iteration and decreases with the increase of the number of iterations. freq represents the path frequency matrix, freq(i,j) represents the number of occurrences of the path from point i to point j, and the initial value is 0. anti represents the negative feedback matrix, which is used to adjust the probability of path selection.

7. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: In step 2.3, we choose to use the exchange and mutation operators in the genetic algorithm to enrich the population diversity of the ant colony algorithm in the later stage. The specific process of the crossover and mutation algorithm is as follows: Step 1: Parameter initialization, such as population, number of exchanges, exchange probability, number of mutations, mutation probability, etc.; Step 2: Randomly select two individuals from the original population, and randomly select some genes of equal length in the two individuals for exchange, and exchange several times; Step 3: After the exchange, randomly select several individuals; Step 4: According to the mutation probability, mutation operations are performed on several genes of these individuals; Step 5: Return the population after exchange and mutation.

8. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: Step 2.4 chooses to use the fitness variance to measure the convergence state of the ant colony. The specific variance calculation formula is as follows: f i represents the fitness function value corresponding to the path, M represents the total number of ant colonies, and f avg It represents the average fitness of the ant colony, f is the normalization factor, which is used to limit the variance value. In addition, the variance convergence threshold C is set. When the variance is less than C, it means that the ant colony algorithm tends to converge. At this time, the crossover mutation algorithm is called to increase the exploration breadth. After obtaining the new solution, the fitness function is used to measure the quality of the path. If the fitness is less than the original optimal solution, the optimal path is updated to achieve the purpose of jumping out of the local optimum.

9. The ambulance path planning method based on injury classification and survival probability as claimed in claim 1, characterized in that: Step 2.5 chooses to use the improved maximum-minimum ant system algorithm, which is based on the maximum-minimum ant system algorithm and incorporates negative feedback mechanism and crossover mutation algorithm for improvement. The specific algorithm flow is as follows: Step 1: First initialize the parameters and initialize the pheromone matrix; Step 2: Randomly select the starting point for each ant. In this model, the ambulance is randomly assigned to each hospital as the starting point of the path. Step 3: Select the next destination for the ant. For the specific formula, refer to formula (24) until all patients are rescued. Step 3: Calculate the fitness of the path explored by the ant colony using the fitness function (1), and update the optimal solution of this round and the global optimal solution; Step 4: Determine the variance value of the ant colony exploration path in this round. If the variance value is less than the given f, the ant population in this round is input into the crossover mutation algorithm for solution. The specific algorithm flow is shown in Algorithm 1, and finally the optimal solution of this round is updated; Step 5: Update the pheromone matrix according to the optimal solution of this round output by the algorithm. The pheromone update formula is (20). At the same time, update the negative feedback matrix, as shown in formulas (22) and (23); Step 6: Repeat steps 2 to 5 until all iterations are completed; Step 7: Output the global optimal solution after the end conditions are met.

Citation Information

Cited By

  • Field injury assessment scheduling system based on deep learning model

    CN120412942A

  • On-site injury assessment and dispatching system based on deep learning model

    CN120412942B