# A Damage-Tolerant Task Assignment Algorithm for UAV Swarm in Confrontational Environments

Authors: Chao Chen; Weidong Bao; Tong Men; Wen Zhou; Daqian Liu; Li Ma
Journal: International Journal of Aerospace Engineering
 (2020)

---

## Abstract

As Unmanned Aerial Vehicles (UAVs) are widely used in many applications, a lot of military missions in confrontational environments are being undertaken by UAV swarm rather than human beings due to its advantages. In confrontational environments, the reliability and availability of UAV swarm would be the major concern because of UAVs’ vulnerability, so damage-tolerant task assigning algorithms are of great importance. In this paper, we come up with a novel damage-tolerant framework for assigning real-time tasks to UAVs with dynamical states in confrontational environments. Different from existing scheduling methods, we not only assign tasks but also back up copies of tasks to UAVs when needed, to promote reliability. Meanwhile, we adopt an overlapping mechanism, including Backup-Primary overlapping and Backup-Backup overlapping, in assignment to save the limited swarm resources. On the basis of the damage-tolerant and overlapping mechanism, for the first time, we propose a new damage-tolerant task assignment algorithm named DTTA, aiming at promoting the task success probability. Extensive experiments are conducted based on random synthetic workloads to compare DTTA with three baseline algorithms. The experimental results indicate that DTTA can efficiently promote the probability of tasks’ success without affecting the effectiveness of swarms in confrontational environments.


---

## Body

## 1. Introduction

With the development of mechanical technologies, automation technology, and artificial intelligence, Unmanned Aerial Vehicles (UAVs) are becoming more and more capable in various industries. Owing to its low cost, no risk of casualties, and good maneuverability, it has been widely applied in many scenarios to replace manual tasks in recent years, e.g., remote sensing [1], precision agriculture [2], disaster relief [3], and logistics service [4]. Especially in military operations, UAVs are replacing warriors to undertake more and more work [5], showing its great advantages in concealment, survivability, and diversified capabilities. Moreover, the large-scale use of UAVs, named swarm, has brought new ways of generating fighting power [6].In the applications of UAV swarms, how to assign tasks is a key factor that greatly influences the performance. And the main problem of the assignment process is how to effectively allocate arrived tasks to proper UAVs, with the consideration of task demands, time constraints, capability requirements, and UAV real-time states [7]. Besides, the complexity of UAV swarm management would grow dramatically with the increase of scale. That is because the amount of computation for task assignment optimization increases exponentially with the number of UAVs. Especially in the battlefield [8, 9], the damaging of UAVs, the weak communication condition, and uncertainty environment [10] should not be ignored. It should be noted that the damages considered in this paper contain all kinds of abnormal conditions which would lead to the failure of task execution. Thus, the task assignment process in the confrontational environment would face two main challenges apart from regular constraints: one is that UAVs may be damaged, and the tasks on it should be reallocated; another is that the real-time requirements and weak communication conditions would make rescheduling after the occurrence of damaging infeasible.As the real-time reallocation method is not feasible, another solution is the task assigning plan which can tolerate UAV damaging problem; that is to say, the scheduling plan should ensure the tasks on a damaged UAV to be finished successfully as many as possible, which can be achieved by using multiple copies of tasks on different UAVs. The damage-tolerant mechanism is derived from the studies on fault-tolerant scheduling, among which the primary and backup model is the most used scheme [11].However, the problem of damage-tolerant for UAV swarm has distinct differences: the communication channel is usually unstable, the tasks on UAVs usually have different locations, and the heterogeneous UAVs usually have diverse capabilities. Such features make it hard to study the fault-tolerant mechanism in UAV swarms.To the best of our knowledge, few studies have a focus on the damage-tolerant problem of UAV swarm applications in confrontational environments. And the traditional fault-tolerant assignment algorithms cannot well fit the confrontational UAV swarm scenario. Consequently, we attempt to propose a damage-tolerant mechanism on the base of traditional fault-tolerant methods and give damage-tolerant assigning algorithms for UAV swarms in confrontational environments. The main contributions of this study are concluded below:(i)
We designed a new damage-tolerant assignment framework, including damage-tolerant model and mechanisms(ii)
We studied the overlapping model for resource saving, and the properties of the model are analyzed in detail(iii)
We proposed a damage-tolerant algorithm (DTTA) for task assignment on UAV swarms in confrontational environments, which includes Backup-Primary (BP) overlapping and Backup-Backup (BB) overlapping mechanism(iv)
We conducted extensive simulation experiments to verify the effectiveness of the proposed damage-tolerant mechanism and algorithmsThe rest of the paper is organized as follows. In Section2, we summarize the related work in the literature. The definitions and damage-tolerant models are given in Section 3. And Section 4 illustrates the damage-tolerant mechanism. In Section 5, a damage-tolerant task assigning algorithm—DTTA—is given in detail. This is followed by the experiments and performance analysis in Section 6. Finally, we summarize the research and future directions in Section 7.


## 2. Related Works

In this section, we will summarize the related literature from three corresponding aspects: assigning algorithm, damage-tolerant mechanism, and overlapping mechanism.For assigning algorithms, many researchers have developed effective strategies for cooperating UAVs. Generally, scheduling algorithms can be divided into two categories: centralized methods and distributed ones. As discussed by Shumacher [12], a centralized UAV task scheduling method was studied, and the authors solved the optimization problem by using a mixed-integer linear programming method. Liu and Kroll [13] aimed to solve the multirobot task allocation problems, and they developed a subpopulation-based genetic algorithm by using inversion mutation and selection. Other centralized algorithms like ant colony optimization [14], genetic algorithm [15], and wolf pack algorithm [16] also show effectiveness in solving the task allocation problem for multirobot systems. Though the centralized algorithms show advantages in optimization, the huge real-time communication pressure of the center and complexity of computation limit its performance. And the decentralized methods are becoming increasingly popular when facing dynamic tasks and uncertain environment. Kim et al. [17] developed a distributed task allocation method based on their proposed measure of resource welfare. The method can acquire a globally high resource welfare and quick attack response for the UAV team by utilizing limited resources in a balanced way. As discussed in [7], the authors aimed to produce a satisfactory solution in a reasonable amount of time rather than finding the global optimal solution in an unacceptable amount of time presented, and they proposed a new hierarchical method to solve the task assignment problem for multiple UAV teams, which divided the assignment process into two phases: clustering and assigning clusters. The experiment results identified the effectiveness of its application to intelligent robots. Besides, there are many other models such as contract net (CN) [18], decentralized Markov decision process (Dec-MDP) [19], market auction mechanism [20], and dynamic ant colony’s labor division (DACLD) [21]. However, for the battlefield dynamic tasks in confrontational environments, these models and algorithms are weak in some points; they did not take the damaging problem of UAVs and heterogeneous UAVs into account when doing task allocation.For the damage-tolerant mechanism, there is very little research about it. However some literature related to fault-tolerant mechanisms of UAVs can be found, which is similar to damage-tolerant methods. And the researchers mainly focus on fault-tolerant control mechanisms in the applications of UAVs [22, 23]. In [24], Yu et al. proposed a fault-tolerant control solution against the actuator faults for UAVs. And the fault scenarios happen on the actuator, so the fault-tolerant method only could be used to deal with a fault in behaviour level. In order to solve more complicated fault-tolerant problems, a multilevel reconfiguration framework was proposed for UAVs in [25], and the authors tried to accommodate fault problems of different levels. By the demonstration on UAV based on a full six-degrees-of-freedom nonlinear simulation model, the effectiveness was identified. It is worth noting that the fault control mechanisms only focus on the problems of single UAV. As for UAV swarms, the fault tolerance mechanism was not studied yet.In this paper, we would adopt the replication technology to achieve damage tolerance for UAV swarms. Based on the replications, the assignment algorithms try to assign the copies of tasks to enhance reliability. A mainly used fault-tolerant model is the primary-backup model [11, 26], where the tasks would have primary copies and backup copies in case of encountering failure. By using replications, the backup copies would consume much more resources, leading to the poor efficiency of UAVs. In order to reduce the extra resource expense of backups, the overlapping mechanism was studied by many researchers. By using the overlapping model, the backups can overlap other tasks for resource saving. The backup overlapping for dependent tasks was investigated in [27], and the authors designed a fault-tolerant scheduling algorithm in heterogeneous systems. And as discussed elsewhere [28, 29], an overlapping model is also identified to be an effective mechanism to promote the utilization of resources.To the best of our knowledge, few previous works have researched the assigning algorithm, damage-tolerant mechanism, and overlapping model collaboratively. Consequently, we propose DTTA to promote the successful probability of tasks in confrontational environments with no damage to UAVs’ efficiency.


## 3. Definitions and System Model

In this section, we firstly introduce the notations used in this article. Then, we present task models and UAV models. Furthermore, the task assignment framework for smart swarm consisting of UAVs is to be illustrated. Finally, we would introduce assigning objectives.


### 3.1. Main Notations

In Table1, we summarize the main notations adopted in this paper. It is worth noting that eti is a decimal fraction used to indicate the risk level faced by the executing UAV, and the value of eti is usually between 0 and 1. The value of time is simulated by a positive real number, we set the initial moment to be 0, and the unit of the time is seconds. For example, if the value of tai is 5, that means the task will arrive in the moment of 5 s; if the value of tdi is 10.2, that means the task should be finished by 10.2 s at the latest; if the value of enj is 1500, that means the UAV’s flying can last for 1500 seconds; if the value of lftj is 36, that means UAV uj would be busy until 36 s to finish its task list; if the value of ei is 3, that means the UAV uj should spend 3 seconds on the execution of task ti. If the value of ptij is 10, that means the UAV needs to spend 10 seconds to be prepared for the execution of task ti after finishing uj’s last task in its task list.Table 1
Definition of main notations.
NotationDefinitiontiTheith task in task settyi, tai, tdi, pi, eti, siiTaskti’s type, target appearance time, deadline, execution position, environment-threatened value, supplementary instructionujThejth UAV in UAV setenj, vj, atj, lftj, ltpj, rsrj, tftjUAVuj’s endurance time, maximum velocity, ability type, finish time of the last execution task, position of the last execution task, remained striking resource, total flying timeptijThe preparation time of UAVuj to execute task tiEFTjtiThe earliest finish time of taskti on UAV ujeij, fijThe execution time and finish time ofti on ujspij, seijThe preparation start time and execution start time of taskti on UAV ujsttistti is “1” if task ti has backup tiB; otherwise, stti is “0”UtiP, UtiBThe UAV to whichtiP and tiB are assignedxijP, xijBxijPxijB is “1” if tiPtiB is assigned to uj; otherwise, xijPxijB is “0”


### 3.2. Task Model and UAV Model

In this paper, we choose three kinds of representative tasks, which are the reconnaissance task [30], striking task [31], and damage assessment task [32], respectively, to study the damage-tolerant task assignment algorithm. And we assume that all UAVs would take off at the base, and each UAV’s departure time is determined by the moment the first task of it is assigned.We use a setT=t1,t2,t3,⋯,tn to denote the real-time tasks which arrive aperiodically. As the tasks to be assigned are imported by the commander, the coupling tasks’ decomposition process can be handled; thus, we assume the tasks to be scheduled are independent. In addition, the UAV resources on the battlefield would face complex confrontational environments and weak communication environment. It would be harder to schedule tasks in a preemptive mode, which needs reliable real-time state parameters. Therefore, the tasks in set T are non-preemptive and independent to simulate the UAV tasks in confrontational environments.We model taskti∈T as a tuple ti=ti=tyi,tai,tdi,pi,eti,sii, where tyi, tai, tdi, pi, eti, and sii represent task ti’s task type, arrival time, deadline, task execution position, task execution environment-threatened value, and supplementary instruction, respectively. It is worth noting that the task type can be reconnaissance, striking, or damage assessment task.LetU=u1,u2,u3,⋯,um be a UAV set. UAV uj is modeled as a tuple ui=enj,vj,atj,lftj,ltpj,rsrj,tftj, where enj, vj, atj, lftj, ltpj, rsrj, and tftj denote UAV uj’s endurance time, flying velocity, ability type set, finish time of the last assigned task, position of the last assigned task, remained striking resources, and total flying time, respectively. It should be noted that the ability type can be reconnaissance ability or striking ability and damage assessment ability. The element rsrj represents the striking resources remained in uj; when the value of rsrj is equal to 0, that means UAV uj can no longer undertake striking tasks. In addition, tftj is used to indicate the total flying time of uj, when UAV uj is damaged in the confrontational environments, tftj represents the time from its takeoff to the finish moment of uj’s last successfully executed task; otherwise, tftj is the time from its takeoff to landing.There are many other parameters related to both UAVs, and tasks should be illustrated in detail. Take Figure1 as an example: tk is the last task to be processed in UAV uj’s task list, and ti is a task to be assigned. We use ptij to denote the preparing time of UAV uj to execute task ti, which mainly refers to the flying time from position pk to position pi. It is worth noting that the ptij would refer to flying time from UAV base position to task ti execution position when there is no task that has been assigned to UAV uj. We use spij and seij to represent the preparation start time and execution start time of task ti on UAV uj, of which spij means the start time of the preparing process. The parameter sttiB is used to denote the status of the backup task tiB, and the value of it will be illustrated in part 4. The lftj is the finish time of the last task that has been allocated to UAV uj; take Figure 1 as an example: the value of lftj equals to fkj before task ti is assigned while the value is equal to fij after the assignment. In addition, the relationship between these parameters in the assigning process can be described as equation (1), where the parameters can be found in Table 1.
(1)spij≥tai,seij=spij+ptij,fij=seij+eij≤tdi.Figure 1
The task assigning parameters.


### 3.3. Task Assignment Framework

In a confrontational combat environment, various threat factors (enemy firepower, high electromagnetic environment, harsh natural environment, etc.) are easy to make the missions of the UAVs fail. In order to improve the task success ratio, we designed a new task assignment framework, which is shown in Figure2.Figure 2
Task assignment framework.Different from other UAV task allocation frameworks [21], we use task backup to improve the success probability of tasks. As can be seen in Figure 2, the tasks are produced by the commanders, who will design the combat operations according to the combat purpose, satellite observation, and UAV reconnaissance. When a commander inputs the task into the assignment system, the task manager would analyze relative parameters and select available UAVs as candidates. Then, the task scheduler would assign the task’s primary copy to a proper UAV, and the backup copy of the task, if needed, would be scheduled in the meantime. There are two main reasons we choose backup mechanism rather than real-time reallocation after damaging, one is that the available UAVs may be occupied by other tasks with loose time constraints before the time of damaging occurs, and another is that the weak communication condition cannot support the real-time reallocation’s demands for real-time state parameters.The backup controller needs to manage task backup copies. In the assignment process, whether a task’s backup copy is needed or not is decided by the environment of the task, which is because the UAV in a more threatening environment has a higher probability to be damaged by the enemies; thus, a backup is needed. And in the managing process, the backup controller would cancel the backuptiB when the primary copy tiP has been executed successfully, and in other cases, the backup will not be canceled until its execution.For the UAVs, they receive task information from the task assignment system and report their state information to the system. In addition, the UAVs will contribute the intelligence information to the commander for battlefield planning.


### 3.4. Damage Model

In our research, we focus on the battle damage of the UAVs in confrontational environments. If a UAV is damaged in the execution process, the tasks in its list would fail to finish. In our study, we apply a backup mechanism to battlefield tasks to promote the success probability of them.In addition, the damaging detection mechanism like fail signal [28, 33] is existing in UAVs, reporting about UAV battle damages. Moreover, newly arrived tasks will not be assigned to a known damaged UAV.As for the damaging probability in the case UAVuj executing task ti, the value can be simulated by equation (2) according to the following analysis. The damaging probability value has a positive relationship with execution time while it has a negative relationship with velocity and environment-threatened value. And the parameter μ is used for linear adjustment.
(2)pdamage=μeijvj1−1eeti.In this paper, we will first analyze the damaging of one UAV in the two related (primary and backup relation) UAVs. Then, we would extend the model to multi-UAV damages. Furtherly, the mechanism of a multidamage scenario will be discussed for damage tolerance.The damaging model would ignore some nonsignificant factors about the actual scene. That is because our paper is an original innovation base research about the damage-tolerant problem for UAV in confrontational environments, and we focus on the mechanism and rules on the damage-tolerant problem. Further research will consider a more complex scenario and take more complicated factors into account.


### 3.5. Assignment Objectives

In our study, we pay attention to the task assignment process for UAVs in confrontational environments. The feature of such a scene is that the UAV may be damaged by enemies, making tasks easy to fail, and the UAV resources available are usually limited. Consequently, we take a backup algorithm into account to promote success probability. The main objectives are to accommodate as many battlefield tasks as possible and achieve higher utilization of heterogeneous UAVs. In addition, we study the backup overlap mechanism to save resources to make the utilization for UAVs as higher as possible in the case of ensuring task success.The overarching assignment goal modeled in formula (3) is to maximize the number of successfully assigned tasks under timing constraints.
(3)maxti∈T,uj∈U∑i=1n∑j=1mxijp.As for the utilization of UAVs, the higher the value is, the better. We delineate the goal in(4)maxti∈T,uj∈U∑i=1n∑j=1meij∗xijp∑j=1mtftj.The above equations indicate that our damage-tolerant assignment scheme has to aim at scheduling more tasks to UAVs for successful execution within complex constraints and realize higher resource utilization.


## 3.1. Main Notations

In Table1, we summarize the main notations adopted in this paper. It is worth noting that eti is a decimal fraction used to indicate the risk level faced by the executing UAV, and the value of eti is usually between 0 and 1. The value of time is simulated by a positive real number, we set the initial moment to be 0, and the unit of the time is seconds. For example, if the value of tai is 5, that means the task will arrive in the moment of 5 s; if the value of tdi is 10.2, that means the task should be finished by 10.2 s at the latest; if the value of enj is 1500, that means the UAV’s flying can last for 1500 seconds; if the value of lftj is 36, that means UAV uj would be busy until 36 s to finish its task list; if the value of ei is 3, that means the UAV uj should spend 3 seconds on the execution of task ti. If the value of ptij is 10, that means the UAV needs to spend 10 seconds to be prepared for the execution of task ti after finishing uj’s last task in its task list.Table 1
Definition of main notations.
NotationDefinitiontiTheith task in task settyi, tai, tdi, pi, eti, siiTaskti’s type, target appearance time, deadline, execution position, environment-threatened value, supplementary instructionujThejth UAV in UAV setenj, vj, atj, lftj, ltpj, rsrj, tftjUAVuj’s endurance time, maximum velocity, ability type, finish time of the last execution task, position of the last execution task, remained striking resource, total flying timeptijThe preparation time of UAVuj to execute task tiEFTjtiThe earliest finish time of taskti on UAV ujeij, fijThe execution time and finish time ofti on ujspij, seijThe preparation start time and execution start time of taskti on UAV ujsttistti is “1” if task ti has backup tiB; otherwise, stti is “0”UtiP, UtiBThe UAV to whichtiP and tiB are assignedxijP, xijBxijPxijB is “1” if tiPtiB is assigned to uj; otherwise, xijPxijB is “0”


## 3.2. Task Model and UAV Model

In this paper, we choose three kinds of representative tasks, which are the reconnaissance task [30], striking task [31], and damage assessment task [32], respectively, to study the damage-tolerant task assignment algorithm. And we assume that all UAVs would take off at the base, and each UAV’s departure time is determined by the moment the first task of it is assigned.We use a setT=t1,t2,t3,⋯,tn to denote the real-time tasks which arrive aperiodically. As the tasks to be assigned are imported by the commander, the coupling tasks’ decomposition process can be handled; thus, we assume the tasks to be scheduled are independent. In addition, the UAV resources on the battlefield would face complex confrontational environments and weak communication environment. It would be harder to schedule tasks in a preemptive mode, which needs reliable real-time state parameters. Therefore, the tasks in set T are non-preemptive and independent to simulate the UAV tasks in confrontational environments.We model taskti∈T as a tuple ti=ti=tyi,tai,tdi,pi,eti,sii, where tyi, tai, tdi, pi, eti, and sii represent task ti’s task type, arrival time, deadline, task execution position, task execution environment-threatened value, and supplementary instruction, respectively. It is worth noting that the task type can be reconnaissance, striking, or damage assessment task.LetU=u1,u2,u3,⋯,um be a UAV set. UAV uj is modeled as a tuple ui=enj,vj,atj,lftj,ltpj,rsrj,tftj, where enj, vj, atj, lftj, ltpj, rsrj, and tftj denote UAV uj’s endurance time, flying velocity, ability type set, finish time of the last assigned task, position of the last assigned task, remained striking resources, and total flying time, respectively. It should be noted that the ability type can be reconnaissance ability or striking ability and damage assessment ability. The element rsrj represents the striking resources remained in uj; when the value of rsrj is equal to 0, that means UAV uj can no longer undertake striking tasks. In addition, tftj is used to indicate the total flying time of uj, when UAV uj is damaged in the confrontational environments, tftj represents the time from its takeoff to the finish moment of uj’s last successfully executed task; otherwise, tftj is the time from its takeoff to landing.There are many other parameters related to both UAVs, and tasks should be illustrated in detail. Take Figure1 as an example: tk is the last task to be processed in UAV uj’s task list, and ti is a task to be assigned. We use ptij to denote the preparing time of UAV uj to execute task ti, which mainly refers to the flying time from position pk to position pi. It is worth noting that the ptij would refer to flying time from UAV base position to task ti execution position when there is no task that has been assigned to UAV uj. We use spij and seij to represent the preparation start time and execution start time of task ti on UAV uj, of which spij means the start time of the preparing process. The parameter sttiB is used to denote the status of the backup task tiB, and the value of it will be illustrated in part 4. The lftj is the finish time of the last task that has been allocated to UAV uj; take Figure 1 as an example: the value of lftj equals to fkj before task ti is assigned while the value is equal to fij after the assignment. In addition, the relationship between these parameters in the assigning process can be described as equation (1), where the parameters can be found in Table 1.
(1)spij≥tai,seij=spij+ptij,fij=seij+eij≤tdi.Figure 1
The task assigning parameters.


## 3.3. Task Assignment Framework

In a confrontational combat environment, various threat factors (enemy firepower, high electromagnetic environment, harsh natural environment, etc.) are easy to make the missions of the UAVs fail. In order to improve the task success ratio, we designed a new task assignment framework, which is shown in Figure2.Figure 2
Task assignment framework.Different from other UAV task allocation frameworks [21], we use task backup to improve the success probability of tasks. As can be seen in Figure 2, the tasks are produced by the commanders, who will design the combat operations according to the combat purpose, satellite observation, and UAV reconnaissance. When a commander inputs the task into the assignment system, the task manager would analyze relative parameters and select available UAVs as candidates. Then, the task scheduler would assign the task’s primary copy to a proper UAV, and the backup copy of the task, if needed, would be scheduled in the meantime. There are two main reasons we choose backup mechanism rather than real-time reallocation after damaging, one is that the available UAVs may be occupied by other tasks with loose time constraints before the time of damaging occurs, and another is that the weak communication condition cannot support the real-time reallocation’s demands for real-time state parameters.The backup controller needs to manage task backup copies. In the assignment process, whether a task’s backup copy is needed or not is decided by the environment of the task, which is because the UAV in a more threatening environment has a higher probability to be damaged by the enemies; thus, a backup is needed. And in the managing process, the backup controller would cancel the backuptiB when the primary copy tiP has been executed successfully, and in other cases, the backup will not be canceled until its execution.For the UAVs, they receive task information from the task assignment system and report their state information to the system. In addition, the UAVs will contribute the intelligence information to the commander for battlefield planning.


## 3.4. Damage Model

In our research, we focus on the battle damage of the UAVs in confrontational environments. If a UAV is damaged in the execution process, the tasks in its list would fail to finish. In our study, we apply a backup mechanism to battlefield tasks to promote the success probability of them.In addition, the damaging detection mechanism like fail signal [28, 33] is existing in UAVs, reporting about UAV battle damages. Moreover, newly arrived tasks will not be assigned to a known damaged UAV.As for the damaging probability in the case UAVuj executing task ti, the value can be simulated by equation (2) according to the following analysis. The damaging probability value has a positive relationship with execution time while it has a negative relationship with velocity and environment-threatened value. And the parameter μ is used for linear adjustment.
(2)pdamage=μeijvj1−1eeti.In this paper, we will first analyze the damaging of one UAV in the two related (primary and backup relation) UAVs. Then, we would extend the model to multi-UAV damages. Furtherly, the mechanism of a multidamage scenario will be discussed for damage tolerance.The damaging model would ignore some nonsignificant factors about the actual scene. That is because our paper is an original innovation base research about the damage-tolerant problem for UAV in confrontational environments, and we focus on the mechanism and rules on the damage-tolerant problem. Further research will consider a more complex scenario and take more complicated factors into account.


## 3.5. Assignment Objectives

In our study, we pay attention to the task assignment process for UAVs in confrontational environments. The feature of such a scene is that the UAV may be damaged by enemies, making tasks easy to fail, and the UAV resources available are usually limited. Consequently, we take a backup algorithm into account to promote success probability. The main objectives are to accommodate as many battlefield tasks as possible and achieve higher utilization of heterogeneous UAVs. In addition, we study the backup overlap mechanism to save resources to make the utilization for UAVs as higher as possible in the case of ensuring task success.The overarching assignment goal modeled in formula (3) is to maximize the number of successfully assigned tasks under timing constraints.
(3)maxti∈T,uj∈U∑i=1n∑j=1mxijp.As for the utilization of UAVs, the higher the value is, the better. We delineate the goal in(4)maxti∈T,uj∈U∑i=1n∑j=1meij∗xijp∑j=1mtftj.The above equations indicate that our damage-tolerant assignment scheme has to aim at scheduling more tasks to UAVs for successful execution within complex constraints and realize higher resource utilization.


## 4. Damage-Tolerant Mechanism

To deal with the problem that UAVs may be damaged in a confrontational battlefield environment, the task backup mechanism is employed in our work for damage tolerance. The main idea of the backup mechanism is that an arrived task may have a backup copy, which is decided by the environment-threatened condition, in another UAV in case of damaging problem. In addition, the backup overlapping methods, which include Backup-Primary (BP for short) overlapping and Backup-Backup (BB for short) overlapping, are used to save UAV resources. That is because a considerable part of task backup copies only occupies UAV time slot but do not process as UAV damaging probability is not very high.


### 4.1. BP Overlapping Model

The results and discussion may be presented separately, or in one combined section, and may optionally be divided into headed subsections.Take Figure3 as an example to illustrate the backup and BP overlapping model. The backslash rectangle represents the backup copy of the task ta. It should be noted that the preparation time of the primary copy and backup copy would be different; this is because the locations of the candidate UAVs are different. As depicted in Figure 3, the part where taB and tbP coincide on uk’s time axis is overlapping time.Figure 3
An example for BP overlapping.As the settings before, we firstly analyzed the situation that at most one damage problem occurs in a certain time slot, so there would be four cases for the UAVs in Figure3:
(i)
If UAVuj, uk, and ul encounter no damage, taP will be processed successfully, and the backup copy taB will be canceled. In addition, a time slot of uk occupied by taB will be released, and task tbP will be executed. Finally, ta and tb will be executed successfully and backup copies of them will be canceled, with no task conflict(ii)
If only UAVuj encounters a damage problem during the time slot, task taP will fail, leading to the situation that backup copy tbB should be processed for damage tolerance. As a result, task tbP will be canceled, and backup copy task tbB will be executed. Finally, tasks ta and tb will be executed successfully in the situation of uj’s being damaged, with no task conflict(iii)
If UAVuk encounters a damage problem during the time slot, task tbP will fail, and task taP and task tbB will be processed successfully. Finally, tasks ta and tb will be finished in the situation of uk’s being damaged, with no task conflict(iv)
If UAVul encounters a damage problem, task taP and task tbP will be finished successfully, and task taB and task tbB will be canceled. In the situation of uk’s being damaged, tasks ta and tb will be successful, with no task conflictFurtherly, the more complex situation is that more than one damage problem occur. Whenuj and uk encounter damage problem in a certain time slot, tasks taP, tbP, and tbB would fail, but taB would succeed. Similarly, in other cases that only two of the three UAVs in Figure 3 encounter a damage problem, one of the two tasks would succeed. Only in the case that uj, uk, and ul encounter damaging at the same time in a certain time slot, the two tasks all fail. As is discussed above, the overlapping model can effectively promote task success probability with little extra UAV resource expense.Consequently, the BP overlapping model is effective for damage tolerance.


### 4.2. BB Overlapping Model

Similar to the BP model, we give an example for the BB overlapping model in Figure4. The backslash rectangle above and below the axis represents the backup copies of tasks ta and tb, respectively. And the two backup tasks overlap in uk’s time slot for damage-tolerant.Figure 4
An example for BB overlapping.As for the case that at most one damage problem occurs, we consider the damaging problem of four conditions:(i)
If UAVuj, uk, and ul fly safely, tasks taP and task tbP will be executed, and their backup copies will be canceled. In addition, no task conflict will occur(ii)
If UAVuj encounters a damage problem during the time slot, task taP will fail, and task taB and task tbP will be executed. Finally, tasks ta and tb will succeed in the situation of uj’s damaging, with no conflict(iii)
If UAVuk encounters a damage problem, task taP and task tbP will be executed. Finally, tasks ta and tb will be finished in the situation of uk’s being damaged, with no task conflict(iv)
If UAVul encounters a damage problem, task taP and task tbB will be finished successfully, and task taB and will be canceled. In the situation of ul’s being damaged, tasks ta and tb will be successful, with no task conflictAnd for the complex situation of the multidamage case, the analysis is similar to that in the part of BP overlapping.Consequently, the backup copies can overlap for the consideration of UAVs’ utilization, and the BB overlapping model is effective for damaging problems in confrontational environments.


### 4.3. Basic Properties for Overlapping Model

Based on the models, we firstly introduce some basic properties to indicate some constraints that the overlapping mechanism should satisfy.Property 1.
The UAV executing primary copytaP must be different from the UAV where the corresponding backup copy taB is allocated.
(5)∀ta∈T,UtaP≠UtaB.Property1 suggests that the backup copy and primary copy should not be scheduled to the same UAV. That is because when a damage problem occurs on the UAV, both the backup copy and primary copy would be canceled, leading to the failure of the task. That is to say, the damage tolerance would not work under this condition.Property 2.
The preparation start time of backup copytaB should be later than the finish time of taP and the finish time of UtaB’s last execution task.
(6)∀ta∈T,spajB>fakP,spajB>lftj,k≠j.Property2 indicates that the backup copy and primary copy of the same task would have no overlapping on the timeline. The reason is that different tasks are usually in different locations; the start of a backup task would strongly affect the UAV’s response time to the newly arrived tasks (it is scarcely possible to predict when the damaging would happen; thus, no UAV position can be used for assignment), leading to the situation that a task occupies twice the UAV resources, which is not in line with our idea of achieving higher UAV efficiency. So we set the start time of backup copy to be later than the finish time of its primary copy. Another idea described in Property 2 is that the start time of backup copy should be later than the UAV’s last execution task; it is because the resource cannot undertake two different tasks at the same time.Property 3.
Taskta can be assigned to UAV uj if and only if uj’s ability types can satisfy ta’s task-type requirement.
(7)∀ta∈T,xajP=1,tya∈atj,∀ta∈T,xakB=1,tya∈atk.Equation (7) suggests that the UAV’s ability type must satisfy task-type demands of all tasks that have been assigned to it.Property 4.
Taskta’s primary copy can overlap with other tasks if and only if task ta has backup copies.In our work, not all tasks have backup copies in the consideration of resource efficiency. Whenstta is equal to 0, that means there is no backup copy for ta, and the primary copy must be executed entirely on the undertaking UAV. Consequently, taP cannot overlap with other tasks.Property 5.
If a primary copytaP overlaps with a backup copy tbB on UAV uj, then the start preparation time spbjB must be earlier than spajP.According to the overlapping mechanism, a backup copy task belongs to a kind of task that may be processed, and it must begin after the failure of its corresponding primary task. However, a primary copy task belongs to a kind of tasks that cannot be suspended unless damaging occurs. That is to say, once a primary copy task has started, it would occupy the UAV until its finish time. IfspbjB is later than spajP, the backup copy is meaningless because task taP will occupy uj until its finishing no matter whether tbP fails or not. Take Figure 5 as an example for illustration.Figure 5
The relationship between start preparation times of overlapping tasks.Ifuk encounters a damage problem, task tbP would fail and backup copy task tbB needs to be executed. However, task taP has occupied the UAV uj, making task tbB fails to start. As a result, the assignment plan is not able to tolerate the damaging problem. Therefore, the start preparation time of taP must be earlier than that of tbB.Property 6.
IfUtaP=UtbB, then taB cannot overlap with tbP.As depicted in Figure6, we give proof by contradiction. Suppose that UAV uj undertakes task taP and task tbB and task taB overlaps with task tbP on UAV uk. Consider a situation that uj encounters a damaging problem when executing task taP, task taP would fail, and task taB would have to start, making primary task tbP fail because of overlapping. Moreover, task tbB would also fail owing to uj’s damaging. Consequently, task tb fails, and the assignment plan is not able to deal with the damage problem of uj.Property 7.
IfUtaP=UtbP, then taB cannot overlap with tbB.Figure 6
Illustration example for Property6.That is to say, when the primary copies of two tasks are assigned to the same UAV, then the backup copies of them cannot overlap. The property can be illustrated in Figure7.Figure 7
Illustration example for Property7.As depicted in Figure7, UtaP=UtbP, and taB overlaps with tbB. When the UAV uj is damaged, both taP and tbP would fail, leading to the condition that both taB and tbB need to be executed. However, taB and tbB overlapped in the same UAV; a time conflict happens. Therefore, taB cannot overlap with tbB in the situation that UtaP=UtbP.It should be noted that each of the seven attributes must not be violated at any time; otherwise, the overlap mechanism may not be able to effectively deal with the damaging problem, thereby affecting the success execution of the tasks.


## 4.1. BP Overlapping Model

The results and discussion may be presented separately, or in one combined section, and may optionally be divided into headed subsections.Take Figure3 as an example to illustrate the backup and BP overlapping model. The backslash rectangle represents the backup copy of the task ta. It should be noted that the preparation time of the primary copy and backup copy would be different; this is because the locations of the candidate UAVs are different. As depicted in Figure 3, the part where taB and tbP coincide on uk’s time axis is overlapping time.Figure 3
An example for BP overlapping.As the settings before, we firstly analyzed the situation that at most one damage problem occurs in a certain time slot, so there would be four cases for the UAVs in Figure3:
(i)
If UAVuj, uk, and ul encounter no damage, taP will be processed successfully, and the backup copy taB will be canceled. In addition, a time slot of uk occupied by taB will be released, and task tbP will be executed. Finally, ta and tb will be executed successfully and backup copies of them will be canceled, with no task conflict(ii)
If only UAVuj encounters a damage problem during the time slot, task taP will fail, leading to the situation that backup copy tbB should be processed for damage tolerance. As a result, task tbP will be canceled, and backup copy task tbB will be executed. Finally, tasks ta and tb will be executed successfully in the situation of uj’s being damaged, with no task conflict(iii)
If UAVuk encounters a damage problem during the time slot, task tbP will fail, and task taP and task tbB will be processed successfully. Finally, tasks ta and tb will be finished in the situation of uk’s being damaged, with no task conflict(iv)
If UAVul encounters a damage problem, task taP and task tbP will be finished successfully, and task taB and task tbB will be canceled. In the situation of uk’s being damaged, tasks ta and tb will be successful, with no task conflictFurtherly, the more complex situation is that more than one damage problem occur. Whenuj and uk encounter damage problem in a certain time slot, tasks taP, tbP, and tbB would fail, but taB would succeed. Similarly, in other cases that only two of the three UAVs in Figure 3 encounter a damage problem, one of the two tasks would succeed. Only in the case that uj, uk, and ul encounter damaging at the same time in a certain time slot, the two tasks all fail. As is discussed above, the overlapping model can effectively promote task success probability with little extra UAV resource expense.Consequently, the BP overlapping model is effective for damage tolerance.


## 4.2. BB Overlapping Model

Similar to the BP model, we give an example for the BB overlapping model in Figure4. The backslash rectangle above and below the axis represents the backup copies of tasks ta and tb, respectively. And the two backup tasks overlap in uk’s time slot for damage-tolerant.Figure 4
An example for BB overlapping.As for the case that at most one damage problem occurs, we consider the damaging problem of four conditions:(i)
If UAVuj, uk, and ul fly safely, tasks taP and task tbP will be executed, and their backup copies will be canceled. In addition, no task conflict will occur(ii)
If UAVuj encounters a damage problem during the time slot, task taP will fail, and task taB and task tbP will be executed. Finally, tasks ta and tb will succeed in the situation of uj’s damaging, with no conflict(iii)
If UAVuk encounters a damage problem, task taP and task tbP will be executed. Finally, tasks ta and tb will be finished in the situation of uk’s being damaged, with no task conflict(iv)
If UAVul encounters a damage problem, task taP and task tbB will be finished successfully, and task taB and will be canceled. In the situation of ul’s being damaged, tasks ta and tb will be successful, with no task conflictAnd for the complex situation of the multidamage case, the analysis is similar to that in the part of BP overlapping.Consequently, the backup copies can overlap for the consideration of UAVs’ utilization, and the BB overlapping model is effective for damaging problems in confrontational environments.


## 4.3. Basic Properties for Overlapping Model

Based on the models, we firstly introduce some basic properties to indicate some constraints that the overlapping mechanism should satisfy.Property 1.
The UAV executing primary copytaP must be different from the UAV where the corresponding backup copy taB is allocated.
(5)∀ta∈T,UtaP≠UtaB.Property1 suggests that the backup copy and primary copy should not be scheduled to the same UAV. That is because when a damage problem occurs on the UAV, both the backup copy and primary copy would be canceled, leading to the failure of the task. That is to say, the damage tolerance would not work under this condition.Property 2.
The preparation start time of backup copytaB should be later than the finish time of taP and the finish time of UtaB’s last execution task.
(6)∀ta∈T,spajB>fakP,spajB>lftj,k≠j.Property2 indicates that the backup copy and primary copy of the same task would have no overlapping on the timeline. The reason is that different tasks are usually in different locations; the start of a backup task would strongly affect the UAV’s response time to the newly arrived tasks (it is scarcely possible to predict when the damaging would happen; thus, no UAV position can be used for assignment), leading to the situation that a task occupies twice the UAV resources, which is not in line with our idea of achieving higher UAV efficiency. So we set the start time of backup copy to be later than the finish time of its primary copy. Another idea described in Property 2 is that the start time of backup copy should be later than the UAV’s last execution task; it is because the resource cannot undertake two different tasks at the same time.Property 3.
Taskta can be assigned to UAV uj if and only if uj’s ability types can satisfy ta’s task-type requirement.
(7)∀ta∈T,xajP=1,tya∈atj,∀ta∈T,xakB=1,tya∈atk.Equation (7) suggests that the UAV’s ability type must satisfy task-type demands of all tasks that have been assigned to it.Property 4.
Taskta’s primary copy can overlap with other tasks if and only if task ta has backup copies.In our work, not all tasks have backup copies in the consideration of resource efficiency. Whenstta is equal to 0, that means there is no backup copy for ta, and the primary copy must be executed entirely on the undertaking UAV. Consequently, taP cannot overlap with other tasks.Property 5.
If a primary copytaP overlaps with a backup copy tbB on UAV uj, then the start preparation time spbjB must be earlier than spajP.According to the overlapping mechanism, a backup copy task belongs to a kind of task that may be processed, and it must begin after the failure of its corresponding primary task. However, a primary copy task belongs to a kind of tasks that cannot be suspended unless damaging occurs. That is to say, once a primary copy task has started, it would occupy the UAV until its finish time. IfspbjB is later than spajP, the backup copy is meaningless because task taP will occupy uj until its finishing no matter whether tbP fails or not. Take Figure 5 as an example for illustration.Figure 5
The relationship between start preparation times of overlapping tasks.Ifuk encounters a damage problem, task tbP would fail and backup copy task tbB needs to be executed. However, task taP has occupied the UAV uj, making task tbB fails to start. As a result, the assignment plan is not able to tolerate the damaging problem. Therefore, the start preparation time of taP must be earlier than that of tbB.Property 6.
IfUtaP=UtbB, then taB cannot overlap with tbP.As depicted in Figure6, we give proof by contradiction. Suppose that UAV uj undertakes task taP and task tbB and task taB overlaps with task tbP on UAV uk. Consider a situation that uj encounters a damaging problem when executing task taP, task taP would fail, and task taB would have to start, making primary task tbP fail because of overlapping. Moreover, task tbB would also fail owing to uj’s damaging. Consequently, task tb fails, and the assignment plan is not able to deal with the damage problem of uj.Property 7.
IfUtaP=UtbP, then taB cannot overlap with tbB.Figure 6
Illustration example for Property6.That is to say, when the primary copies of two tasks are assigned to the same UAV, then the backup copies of them cannot overlap. The property can be illustrated in Figure7.Figure 7
Illustration example for Property7.As depicted in Figure7, UtaP=UtbP, and taB overlaps with tbB. When the UAV uj is damaged, both taP and tbP would fail, leading to the condition that both taB and tbB need to be executed. However, taB and tbB overlapped in the same UAV; a time conflict happens. Therefore, taB cannot overlap with tbB in the situation that UtaP=UtbP.It should be noted that each of the seven attributes must not be violated at any time; otherwise, the overlap mechanism may not be able to effectively deal with the damaging problem, thereby affecting the success execution of the tasks.


## 5. Damage-Tolerant Task Assigning Algorithm

Based on the backup mechanism and overlapping models, we present a novel damage-tolerant task assignment algorithm—DTTA—for aperiodic and independent tasks on UAVs in confrontational environments. Specifically, DTTA judiciously considers scheduling objectives so long as damage tolerance. In this section, the primary copy and backup copy assigning algorithm are to be present.


### 5.1. Assigning Algorithm for Primary Copies

As it is easy to be known, the primary copies need to be finished as early as possible for the sake of UAV utilization and, if it has backup copies, leaving enough time for its backup copies. Besides, primary copies should be distributed into several UAVs according to Property7, which would make the overlapping mechanism more feasible. Consequently, the primary copy assignment should work towards the two objectives:
(i)
Earliest finish time(ii)
Even load to several UAVsIn addition, the assigning approach should be illustrated. As depicted in Figure8, for each primary copy, it can be assigned in two kinds of modes. Like task taP, the primary copy can be assigned to a UAV, with no overlapping. Moreover, the primary copy can be assigned to a UAV and overlaps with another backup copy like tbP, if tb has a backup copy. As the overlapping ways may promote the utilization of UAVs, and leaving more resources for the latter tasks, the second way is used preferentially.Figure 8
Assigning modes for primary copies.In Algorithm1, we present the primary copy assigning algorithm in DTTA. Algorithm 1 firstly considers the distance between the task and UAVs and chooses the nearest α% for assignment (see lines 1-6). For each UAV in the candidate set, Algorithm 1 would calculate the task’s earliest finish time in an overlapping mode on the premise that tasktiP can overlap UAV uj’s last task. The overlapping qualification is decided by the fact that the environment-threatened value eti is larger than the threshold, and uj’s last task is a backup copy with the condition that backup copy was not overlapped (see lines 8-15). In order to obtain a load balance for UAVs, the earliest finish time in a nonoverlapping mode would be calculated for comparison, and the algorithm finally acquires an earlier finish time (see lines 16-21). In line 22, if the algorithm has found a proper UAV u and the corresponding backup copy tiB can be scheduled based on tiP’s earliest finish time, the assigning in the overlapping mode would happen. It would set AllocateTag to be true, the task and its backup copy would be allocated, and Algorithm 1 terminates for another task (see lines 23-27). If the overlapping assignment attempt fails, it tries the nonoverlapping mode (see line 28). If the nonoverlapping assignment attempt succeeds, task tiP would be scheduled in the nonoverlapping mode (see lines 29-30), and the backup copy of tiP would be assigned according to whether it is needed (see lines 31-33); then Algorithm 1 terminates for another task (see line 34). If the task fails to be assigned in both the overlapping mode and nonoverlapping mode, the candidate UAV set would be updated to be the next top α% nearest UAVs (see line 35), and a new round assigning attempt would start. If the task fails to be assigned after all UAVs in U∗ have been scanned, the task is to be rejected (see lines 36-37), and Algorithm 1 terminates for another task. It is worth noting that a task can be assigned in an overlapping mode only when its backup copy can be assigned either (see line 22). The reason is that a task must have a backup copy when it overlaps with other tasks. When in the nonoverlapping assigning mode, a task would try to assign its backup if needed, and the failure of the backup assigning would not lead to the failure of the primary task.Algorithm 1: Primary Copies Assigning in DTTA.
1 Getpi of arrival task tiP;2 LetU∗⟵UAVs in U that satisfies task ti’ demands;3foreachuj in U∗do.4  Calculate the distancedij between task ti and UAV uj;5 SortU∗ in an increasing order by the value of dij;6Ucandidate ⟵ top α% UAV in U∗;7AllocateTag ⟵ FALSE; FT ⟵ +∞; u ⟵ NULL;8while!all uj∈U∗has been scanneddo.9OverlapTag ⟵ TRUE;10foreachuj in Ucandidatedo.11ifuj’s assigned last task can be overlapped then.12    CalculateEFTj(tiP) in overlapping mode;13ifEFTj(tiP)<FT & EFTj(tiP) <tdithen.14     FT ⟵EFTj(tiP);15u ⟵ uj;16foreachuj in Ucandidatedo.17   CalculateEFTj(tiP) in non-overlapping mode;18ifEFTj(tiP)<FT & EFTj(tiP) <tdithen.19    OverlapTag ⟵ FALSE;20    FT ⟵EFTj(tiP);21u ⟵ uj;22ifu is not null & tiB can be scheduled & OverlapTag = TRUEthen.23AllocateTag ⟵ TRUE;24   AssigntiP on UAV u in overlapping mode;25   generate backup copytiB based on FT;26   scheduletiB;27   break;28ifu is not null then.29   AssigntiP on UAV u in non-overlapping mode;30AllocateTag ⟵ TRUE;31ifeti > etthresholdthen.32    generatetiB based on FT;33    scheduletiB;34   break;35Ucandidate ⟵ next top α% UAV in U∗;36ifallocateTag ⟵ FALSEthen.37  RejecttiP;


### 5.2. Assigning Algorithm for Backup Copies

For the backup copies, the assignment preference is different. As the damage-tolerant mechanism illustrated before, an earlier finish time of tasktiP would promote the success probability of its corresponding backup copy tiB, but the backup copy does not have such preference. Consequently, the assignment of backup copy mainly considers the distance and load balance among UAVs rather than the earliest finish time.Similar to the case of Figure8, the assigning for backup copies also has two modes, which are the overlapping mode and non-overlapping mode. And the algorithm is given in Algorithm 2.From the code, we can see that lines 1-6 are the same as those in Algorithm1, and the explanation is similar. Line 8 is to make sure all UAVs would be scanned before the task is being rejected. In line 9, we sort the candidate UAV by its unfinished tasks; the reason is that the tasks should be assigned to UAVs as even as possible for higher UAV utilization. Lines 10-17 mean that the task would be assigned in the overlapping mode firstly. If the task fails to overlap with other tasks, the nonoverlapping mode is to be used for assignment (see lines 18-25). Lines 26-27 mean that if the allocation has been succeeded, it would end the scanning loop. Line 28 is used for update candidate UAV set on the condition that existing candidate UAVs cannot satisfy the demands of task tiB. When all UAVs have been scanned and the task was not assigned, tiB would be rejected.It is worth noting that, line 22 in Algorithm1 would make sure that the backup copy is to be successfully assigned. But the backup copy of tiP in line 32 of Algorithm 1 may be rejected in some cases, decided by the UAVs’ status. The reason for this setting is that the backup copy is a prerequisite of overlapping assignment, and but the backup copies are just an optimal goal rather than prerequisites in the nonoverlapping mode.Algorithm 2: Backup Copies Assigning in DTTA.
1 Getpi of arrival task tiB;2 LetU∗⟵UAVs in U that satisfies task ti’ demands;3foreachuj in U∗do.4  Calculate the distancedij between task ti and UAV uj;5 SortU∗ in an increasing order by the value of dij;6Ucandidate ⟵ top α% UAV in U∗;7AllocateTag ⟵ FALSE;8while!all uj∈U∗has been scanneddo.9  SortUcandidate by task count in ascending order;10foreachuj in Ucandidatedo.11iftiB can overlap with uj’ last task then.12    CalculateEFTj(tiB) in overlapping mode;13ifEFTj(tiB)<tdithen.14AllocateTag ⟵ TRUE;15     AssigntiB on UAV uj in overlapping mode;16st(ti) ⟵1;17     break;18ifAllocateTag = FALSE;19foreachuj in Ucandidatedo.20   CalculateEFTj(tiB) in non-overlapping mode;21ifEFTj(tiB)<tdithen.22AllocateTag ⟵ TRUE;23    AssigntiB on UAV uj in non-overlapping mode;24st(ti) ⟵1;25    break;26ifAllocateTag = TRUE;27   break;28Ucandidate ⟵ next top α% UAV in U∗;29ifallocateTag ⟵ FALSEthen.30  RejecttiB;


## 5.1. Assigning Algorithm for Primary Copies

As it is easy to be known, the primary copies need to be finished as early as possible for the sake of UAV utilization and, if it has backup copies, leaving enough time for its backup copies. Besides, primary copies should be distributed into several UAVs according to Property7, which would make the overlapping mechanism more feasible. Consequently, the primary copy assignment should work towards the two objectives:
(i)
Earliest finish time(ii)
Even load to several UAVsIn addition, the assigning approach should be illustrated. As depicted in Figure8, for each primary copy, it can be assigned in two kinds of modes. Like task taP, the primary copy can be assigned to a UAV, with no overlapping. Moreover, the primary copy can be assigned to a UAV and overlaps with another backup copy like tbP, if tb has a backup copy. As the overlapping ways may promote the utilization of UAVs, and leaving more resources for the latter tasks, the second way is used preferentially.Figure 8
Assigning modes for primary copies.In Algorithm1, we present the primary copy assigning algorithm in DTTA. Algorithm 1 firstly considers the distance between the task and UAVs and chooses the nearest α% for assignment (see lines 1-6). For each UAV in the candidate set, Algorithm 1 would calculate the task’s earliest finish time in an overlapping mode on the premise that tasktiP can overlap UAV uj’s last task. The overlapping qualification is decided by the fact that the environment-threatened value eti is larger than the threshold, and uj’s last task is a backup copy with the condition that backup copy was not overlapped (see lines 8-15). In order to obtain a load balance for UAVs, the earliest finish time in a nonoverlapping mode would be calculated for comparison, and the algorithm finally acquires an earlier finish time (see lines 16-21). In line 22, if the algorithm has found a proper UAV u and the corresponding backup copy tiB can be scheduled based on tiP’s earliest finish time, the assigning in the overlapping mode would happen. It would set AllocateTag to be true, the task and its backup copy would be allocated, and Algorithm 1 terminates for another task (see lines 23-27). If the overlapping assignment attempt fails, it tries the nonoverlapping mode (see line 28). If the nonoverlapping assignment attempt succeeds, task tiP would be scheduled in the nonoverlapping mode (see lines 29-30), and the backup copy of tiP would be assigned according to whether it is needed (see lines 31-33); then Algorithm 1 terminates for another task (see line 34). If the task fails to be assigned in both the overlapping mode and nonoverlapping mode, the candidate UAV set would be updated to be the next top α% nearest UAVs (see line 35), and a new round assigning attempt would start. If the task fails to be assigned after all UAVs in U∗ have been scanned, the task is to be rejected (see lines 36-37), and Algorithm 1 terminates for another task. It is worth noting that a task can be assigned in an overlapping mode only when its backup copy can be assigned either (see line 22). The reason is that a task must have a backup copy when it overlaps with other tasks. When in the nonoverlapping assigning mode, a task would try to assign its backup if needed, and the failure of the backup assigning would not lead to the failure of the primary task.Algorithm 1: Primary Copies Assigning in DTTA.
1 Getpi of arrival task tiP;2 LetU∗⟵UAVs in U that satisfies task ti’ demands;3foreachuj in U∗do.4  Calculate the distancedij between task ti and UAV uj;5 SortU∗ in an increasing order by the value of dij;6Ucandidate ⟵ top α% UAV in U∗;7AllocateTag ⟵ FALSE; FT ⟵ +∞; u ⟵ NULL;8while!all uj∈U∗has been scanneddo.9OverlapTag ⟵ TRUE;10foreachuj in Ucandidatedo.11ifuj’s assigned last task can be overlapped then.12    CalculateEFTj(tiP) in overlapping mode;13ifEFTj(tiP)<FT & EFTj(tiP) <tdithen.14     FT ⟵EFTj(tiP);15u ⟵ uj;16foreachuj in Ucandidatedo.17   CalculateEFTj(tiP) in non-overlapping mode;18ifEFTj(tiP)<FT & EFTj(tiP) <tdithen.19    OverlapTag ⟵ FALSE;20    FT ⟵EFTj(tiP);21u ⟵ uj;22ifu is not null & tiB can be scheduled & OverlapTag = TRUEthen.23AllocateTag ⟵ TRUE;24   AssigntiP on UAV u in overlapping mode;25   generate backup copytiB based on FT;26   scheduletiB;27   break;28ifu is not null then.29   AssigntiP on UAV u in non-overlapping mode;30AllocateTag ⟵ TRUE;31ifeti > etthresholdthen.32    generatetiB based on FT;33    scheduletiB;34   break;35Ucandidate ⟵ next top α% UAV in U∗;36ifallocateTag ⟵ FALSEthen.37  RejecttiP;


## 5.2. Assigning Algorithm for Backup Copies

For the backup copies, the assignment preference is different. As the damage-tolerant mechanism illustrated before, an earlier finish time of tasktiP would promote the success probability of its corresponding backup copy tiB, but the backup copy does not have such preference. Consequently, the assignment of backup copy mainly considers the distance and load balance among UAVs rather than the earliest finish time.Similar to the case of Figure8, the assigning for backup copies also has two modes, which are the overlapping mode and non-overlapping mode. And the algorithm is given in Algorithm 2.From the code, we can see that lines 1-6 are the same as those in Algorithm1, and the explanation is similar. Line 8 is to make sure all UAVs would be scanned before the task is being rejected. In line 9, we sort the candidate UAV by its unfinished tasks; the reason is that the tasks should be assigned to UAVs as even as possible for higher UAV utilization. Lines 10-17 mean that the task would be assigned in the overlapping mode firstly. If the task fails to overlap with other tasks, the nonoverlapping mode is to be used for assignment (see lines 18-25). Lines 26-27 mean that if the allocation has been succeeded, it would end the scanning loop. Line 28 is used for update candidate UAV set on the condition that existing candidate UAVs cannot satisfy the demands of task tiB. When all UAVs have been scanned and the task was not assigned, tiB would be rejected.It is worth noting that, line 22 in Algorithm1 would make sure that the backup copy is to be successfully assigned. But the backup copy of tiP in line 32 of Algorithm 1 may be rejected in some cases, decided by the UAVs’ status. The reason for this setting is that the backup copy is a prerequisite of overlapping assignment, and but the backup copies are just an optimal goal rather than prerequisites in the nonoverlapping mode.Algorithm 2: Backup Copies Assigning in DTTA.
1 Getpi of arrival task tiB;2 LetU∗⟵UAVs in U that satisfies task ti’ demands;3foreachuj in U∗do.4  Calculate the distancedij between task ti and UAV uj;5 SortU∗ in an increasing order by the value of dij;6Ucandidate ⟵ top α% UAV in U∗;7AllocateTag ⟵ FALSE;8while!all uj∈U∗has been scanneddo.9  SortUcandidate by task count in ascending order;10foreachuj in Ucandidatedo.11iftiB can overlap with uj’ last task then.12    CalculateEFTj(tiB) in overlapping mode;13ifEFTj(tiB)<tdithen.14AllocateTag ⟵ TRUE;15     AssigntiB on UAV uj in overlapping mode;16st(ti) ⟵1;17     break;18ifAllocateTag = FALSE;19foreachuj in Ucandidatedo.20   CalculateEFTj(tiB) in non-overlapping mode;21ifEFTj(tiB)<tdithen.22AllocateTag ⟵ TRUE;23    AssigntiB on UAV uj in non-overlapping mode;24st(ti) ⟵1;25    break;26ifAllocateTag = TRUE;27   break;28Ucandidate ⟵ next top α% UAV in U∗;29ifallocateTag ⟵ FALSEthen.30  RejecttiB;


## 6. Performance Evaluation

In this section, we conduct simulation experiments to verify the effectiveness of the proposed algorithm—DTTA. We compare it with three baseline algorithms: Non-BPoverlapping DTTA (NBPDTTA), Non-BBoverlapping DTTA (NBBDTTA), and No-Backup and No-Overlapping Task assignment Algorithm (NBNOTA).NBBDTTA is an algorithm derived from DTTA by removing BP overlapping mechanism and NBBDTTA a variant of DTTA by removing BB overlapping mechanism. The difference between NBNOA and DTTA is that there are no backup and overlapping mechanism in DTTA.The performance metrics, by which we evaluate the effectiveness of algorithms, include:(i)
TGR (task guarantee ratio) is defined to be the percentage of tasks that succeed among all arriving tasks. TGR is used to evaluate the objective in equation (3)(ii)
ETR (execution time ratio) is defined to be the percentage of task execution time among total flying time of UAVs. ETR is used to evaluate the objective in equation (4)(iii)
DR (damaging ratio) is defined to be the percentage of damaged UAVs among all UAVs


### 6.1. Simulation Setup

In order to ensure the repeatability of the experiments, we choose simulation to verify the effectiveness of the proposed algorithms. The detailed setting and parameters are given as follows:(i)
The initial number of UAVs is set to be 300(ii)
The mission area is a rectangle of3000m∗2000m. The UAVs take off from the base at the location (0, 0), and the survival UAVs must return to the base at last(iii)
Each UAV has one or two kinds of abilities, which are chosen from set {reconnaissance ability, striking ability, damage assessment ability}. The initial striking resource is set to be 5, which means a UAV can undertake mostly 5 striking tasks(iv)
The maximum velocity of UAVs is set to be80m/s according to current technologies [34](v)
The tasks arrive at the task assignment system dynamically, following Poisson distribution with the average internal time1/λ(vi)
The execution time follows a uniform distribution pattern, and the value of execution time is determined by their types. For reconnaissance tasks, the value of en is between [15, 25] and striking tasks en~[25, 35] assessment tasks en~[35, 45](vii)
We use parameter BaseDeadline to set the deadline of taskti; the formula is as follows:(8)tdi=tai+BaseDeadline,where parameters tdi and tai denote the deadline time and arrival time of ti, and BaseDeadline follows a uniform distribution in the interval 30,30+a∗30(viii)
Valueα is set to be 20 when assigning primary and backup copies of arrival tasks(ix)
Valueμ is set to be 0.2 when calculating the damage probability of arrival tasks, which means the maximum damaging probability of a task is 20%The experiments mainly contain four groups, analyzing the effectiveness of backup and overlapping mechanism, and DTTA’s performance variation trend with the parameters ofλ, a, etthreshold, among which a can be found above. And the intervals of these parameters are listed in Table 2.Table 2
Parameters for experiment studies.
ParameterValue (fixed)-(varied)ExperimentTime(600)-100,200,⋯,800λ(3)-1,2,3,4,5,6,7a(4)-1,2,3,4,5,6,7etthreshold(0.5)-0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8


### 6.2. Performance with the Time Variation

In this experiment, we study the performance of four algorithms when experiment time varies. It should be noted that the time variation mainly influences the number of UAVs, owing to a damaging problem. In this group of experiments, the tasks are assigned in four kinds of schemas, which are determined according to DTTA, NBPDTTA, NBBDTTA, and NBNOTA, respectively. Figure9 shows the performance of the four algorithms in terms of TGR, ETR, and DR.Figure 9
Performance impact of time.
(a)(b)(c)It can be observed from Figure9(a) that the damaging ratio of all four algorithms increases rapidly with time. At the moment of 100 s, the damaging ratio reaches 15%. At the moment of 800 s, the damaging ratio reaches 78% for an average under the condition that the maximum damaging probability is 20% when executing a task. That means nearly 240 UAVs of initial 300 UAVs have damage in their task execution when time is 800 s. The reason can be concluded that the damaging probability increases exponentially with the number of tasks undertaken. As a result, the experiments show that the damaging problem cannot be ignored on the battlefield.From Figure9(b), we can observe that DTTA and its deriving algorithms achieve higher performance than NBNOTA for nearly 12%. We can attribute this to the fact that the damage-tolerant mechanism has made its contribution. Besides, we can see that the TGR drops slowly before 500 s and decreases rapidly after 500 s. The reason is that survival UAVs would become less and less with the time. Before 500 s, the survival UAVs can satisfy the tasks’ demand, so the TGR only drops slowly. However, the survival UAVs are not enough for arriving tasks after 500 s, so the TGR would decrease quickly. Another phenomenon that can be observed from Figure 9(b) is that the TGR of NBBDTTA drops faster than the TGR of DTTA and NBPDTTA, which means that the BB overlapping model would achieve higher performance than the PB model in the case of lacking UAV resource. The reason is that, when the UAVs are working in heavy burden, the UAVs may encounter much more primary task cancel owing to UAV damage problem in the BP mode, the chain reaction of cancel would lead to resource waste. But in the BB model, only backup copies are overlapping, and no such chain reaction would affect the performance of DTTA and NBPDTTA. We can also find that the NBNOTA would reach higher performance than others after 800 s; this is because backup mechanism and overlapping mode are not suitable for full load environment. That can be explained as follows: the backup mechanism would definitely, although not much, bring the extra expense of resources to guarantee task success probability. When UAVs are in full load, it would be better for UAVs to reject a backup and accept a new task for the reason of no extra resource consumption. So we can make a conclusion that DTTA is not fit for full load UAVs.We can observe from Figure9(c) that the difference between the ETRs of four algorithms is very small. This means the proposed algorithm can achieve a higher task success ratio without damaging the UAVs’ efficiency. It can be seen in Figure 9(c) that the ETR would grow slowly with time. This is due to the fact that there are fewer UAVs that survive, leading to the fact that each UAV should undertake more tasks, so the ETR will be higher. And the reason for it growing slowly is that a certain part of time is used for transition between tasks’ locations. In addition, the ETR of NBBDTTA is smaller than that of DTTA and NBPDTTA. The reason is like the explanation of NBBDTTA dropping faster in the part of Figure 9(b). As for the value of the ETR, it cannot reach nearly 100%; the reason is that flying between different task locations would occupy the usage of time of UAVs.We can conclude from Figure9 that the proposed algorithm is effective in enhancing the performance of UAVs to complete tasks in confrontational environments, with no damaging to UAVs’ efficiency. And DTTA can perform better among UAVs which are not in full load states. Besides, BB overlapping would achieve higher performance than BP overlapping mode in heavy load conditions.


### 6.3. Performance Impact of Arrival Rate

In this group of experiments, we focus on the impact of arrival rate on performance among DTTA, NBBDTTA, and NBPDTTA. Parameterλ varies from 1 to 7 with an increment of 1. The experiment results can be seen in Figure 10.Figure 10
Performance impact ofλ.
(a)(b)It can be seen from Figure10(a) that the damage ratio grows with the increase of λ. The reason is that, when the value of λ is becoming larger, more tasks would arrive in a certain time slot, leading to the condition that each UAV needs to execute more tasks. Therefore, the damage risk would increase, and the DR grows.The results in Figure10(b) demonstrate that when the value of λ increases, the TGR of all algorithms would decrease slowly before λ=3 and drop rapidly after that. We explain this phenomenon as follows. When before λ=3, the UAVs have not reached full load, and they can accept some tasks for execution, so the TGR only decreases slowly. When after λ=3, many more tasks would come in a certain time slot, and existing UAV resources would be much less than the demands, leading to the fact that UAVs have no choice but to reject the majority of arriving tasks, so the TGR drops rapidly. An interesting observation is that the performance of DTTA, NBBDTTA, and NBPDTTA is higher than that of NBNOTA before λ=3, and NBNOTA would perform better after λ=3. This is due to the fact that DTTA and its deriving algorithms are not fit for heavy load conditions, which is consistent with the explanation in Figure 9(b). Besides, we can see that the proposed DTTA performs better than NBBDTTA and NBPDTTA when the value of λ=3 varies from 1 to 4. Therefore, when in suitable conditions, the proposed DTTA is definitely effective.Consequently, we can conclude from Figure10 that parameter λ mainly affects the load state for UAV swarms. And when not facing a full load environment, the DTTA can perform stably better than other algorithms with the variation of λ.


### 6.4. Performance Impact of Deadline

We investigate the impact of the task’s deadline on the performance of the DTTA. Parametera, which can be found in equation (8), varies from 1 to 7 with an increment of 1.Figure11 shows that when the deadline is very short, the DTTA, NBBDTTA, and NBPDTTA achieve very similar performance with NBNOTA. We can attribute the reason to the fact that tasks would fail to schedule backup copies owing to a short deadline. When the deadline becomes longer, the performance of all algorithms increases rapidly, but the DTTA grows faster. This is because the backup mechanism makes its contribution. And the DTTA can perform better than NBNOTA for nearly 7% when the value of a reaches 4. However, with the increment of a after the value of 4, the performance would be kept the same. The reason is that when the backup mechanism has reached its potential, a longer deadline is meaningless for performance promotion.Figure 11
Performance impact ofa.We can conclude from Figure11 that the deadline would affect the performance of DTTA only when the deadline is short enough to influence the success of assigning backup copies.


### 6.5. Performance Impact of Backup Threshold

In this group of experiments, the impact of the threshold value for backup or not would be studied. The results are presented in Figure12.Figure 12
Performance impact ofetthreshold.It can be observed that the performance of DTTA, NBPDTTA, and NBBDTTA would change with the variation ofetthreshold. However, the performance of NBNOTA was stable. The reason is that NBNOTA does not apply backup mechanism, and the value of etthreshold would not affect the scheduling of tasks under NBNOTA. In addition, DTTA would achieve the highest performance when the value of etthreshold is 0.5. We can attribute this to that, when the etthreshold is smaller than the proper value, too many backups would bring extra resource expense and, when the etthreshold is bigger than the proper value, too little backup would make the overlapping mechanism and backup mechanism cannot reach their potential. Obviously, the proper value of etthreshold is 0.5 under the experiment settings of this group.\Another phenomenon found in Figure12 is that DTTA and its deriving algorithms would keep better performance than NBNOTA. This result proves that the damage-tolerant algorithm would enhance the task success ratio. We can also find that the DTTA achieves the highest performance among the three damage-tolerant algorithms. It means that the BB overlapping model and PB overlapping model should work together for TGR performance in any value of etthreshold. In addition, by comparing the performance of etthreshold=0.5 in Figure 12, a=4 in Figure 11, and λ=3 in Figure 10, we can see the difference among them is very small. That identifies the stability of the proposed algorithm DTTA.


## 6.1. Simulation Setup

In order to ensure the repeatability of the experiments, we choose simulation to verify the effectiveness of the proposed algorithms. The detailed setting and parameters are given as follows:(i)
The initial number of UAVs is set to be 300(ii)
The mission area is a rectangle of3000m∗2000m. The UAVs take off from the base at the location (0, 0), and the survival UAVs must return to the base at last(iii)
Each UAV has one or two kinds of abilities, which are chosen from set {reconnaissance ability, striking ability, damage assessment ability}. The initial striking resource is set to be 5, which means a UAV can undertake mostly 5 striking tasks(iv)
The maximum velocity of UAVs is set to be80m/s according to current technologies [34](v)
The tasks arrive at the task assignment system dynamically, following Poisson distribution with the average internal time1/λ(vi)
The execution time follows a uniform distribution pattern, and the value of execution time is determined by their types. For reconnaissance tasks, the value of en is between [15, 25] and striking tasks en~[25, 35] assessment tasks en~[35, 45](vii)
We use parameter BaseDeadline to set the deadline of taskti; the formula is as follows:(8)tdi=tai+BaseDeadline,where parameters tdi and tai denote the deadline time and arrival time of ti, and BaseDeadline follows a uniform distribution in the interval 30,30+a∗30(viii)
Valueα is set to be 20 when assigning primary and backup copies of arrival tasks(ix)
Valueμ is set to be 0.2 when calculating the damage probability of arrival tasks, which means the maximum damaging probability of a task is 20%The experiments mainly contain four groups, analyzing the effectiveness of backup and overlapping mechanism, and DTTA’s performance variation trend with the parameters ofλ, a, etthreshold, among which a can be found above. And the intervals of these parameters are listed in Table 2.Table 2
Parameters for experiment studies.
ParameterValue (fixed)-(varied)ExperimentTime(600)-100,200,⋯,800λ(3)-1,2,3,4,5,6,7a(4)-1,2,3,4,5,6,7etthreshold(0.5)-0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8


## 6.2. Performance with the Time Variation

In this experiment, we study the performance of four algorithms when experiment time varies. It should be noted that the time variation mainly influences the number of UAVs, owing to a damaging problem. In this group of experiments, the tasks are assigned in four kinds of schemas, which are determined according to DTTA, NBPDTTA, NBBDTTA, and NBNOTA, respectively. Figure9 shows the performance of the four algorithms in terms of TGR, ETR, and DR.Figure 9
Performance impact of time.
(a)(b)(c)It can be observed from Figure9(a) that the damaging ratio of all four algorithms increases rapidly with time. At the moment of 100 s, the damaging ratio reaches 15%. At the moment of 800 s, the damaging ratio reaches 78% for an average under the condition that the maximum damaging probability is 20% when executing a task. That means nearly 240 UAVs of initial 300 UAVs have damage in their task execution when time is 800 s. The reason can be concluded that the damaging probability increases exponentially with the number of tasks undertaken. As a result, the experiments show that the damaging problem cannot be ignored on the battlefield.From Figure9(b), we can observe that DTTA and its deriving algorithms achieve higher performance than NBNOTA for nearly 12%. We can attribute this to the fact that the damage-tolerant mechanism has made its contribution. Besides, we can see that the TGR drops slowly before 500 s and decreases rapidly after 500 s. The reason is that survival UAVs would become less and less with the time. Before 500 s, the survival UAVs can satisfy the tasks’ demand, so the TGR only drops slowly. However, the survival UAVs are not enough for arriving tasks after 500 s, so the TGR would decrease quickly. Another phenomenon that can be observed from Figure 9(b) is that the TGR of NBBDTTA drops faster than the TGR of DTTA and NBPDTTA, which means that the BB overlapping model would achieve higher performance than the PB model in the case of lacking UAV resource. The reason is that, when the UAVs are working in heavy burden, the UAVs may encounter much more primary task cancel owing to UAV damage problem in the BP mode, the chain reaction of cancel would lead to resource waste. But in the BB model, only backup copies are overlapping, and no such chain reaction would affect the performance of DTTA and NBPDTTA. We can also find that the NBNOTA would reach higher performance than others after 800 s; this is because backup mechanism and overlapping mode are not suitable for full load environment. That can be explained as follows: the backup mechanism would definitely, although not much, bring the extra expense of resources to guarantee task success probability. When UAVs are in full load, it would be better for UAVs to reject a backup and accept a new task for the reason of no extra resource consumption. So we can make a conclusion that DTTA is not fit for full load UAVs.We can observe from Figure9(c) that the difference between the ETRs of four algorithms is very small. This means the proposed algorithm can achieve a higher task success ratio without damaging the UAVs’ efficiency. It can be seen in Figure 9(c) that the ETR would grow slowly with time. This is due to the fact that there are fewer UAVs that survive, leading to the fact that each UAV should undertake more tasks, so the ETR will be higher. And the reason for it growing slowly is that a certain part of time is used for transition between tasks’ locations. In addition, the ETR of NBBDTTA is smaller than that of DTTA and NBPDTTA. The reason is like the explanation of NBBDTTA dropping faster in the part of Figure 9(b). As for the value of the ETR, it cannot reach nearly 100%; the reason is that flying between different task locations would occupy the usage of time of UAVs.We can conclude from Figure9 that the proposed algorithm is effective in enhancing the performance of UAVs to complete tasks in confrontational environments, with no damaging to UAVs’ efficiency. And DTTA can perform better among UAVs which are not in full load states. Besides, BB overlapping would achieve higher performance than BP overlapping mode in heavy load conditions.


## 6.3. Performance Impact of Arrival Rate

In this group of experiments, we focus on the impact of arrival rate on performance among DTTA, NBBDTTA, and NBPDTTA. Parameterλ varies from 1 to 7 with an increment of 1. The experiment results can be seen in Figure 10.Figure 10
Performance impact ofλ.
(a)(b)It can be seen from Figure10(a) that the damage ratio grows with the increase of λ. The reason is that, when the value of λ is becoming larger, more tasks would arrive in a certain time slot, leading to the condition that each UAV needs to execute more tasks. Therefore, the damage risk would increase, and the DR grows.The results in Figure10(b) demonstrate that when the value of λ increases, the TGR of all algorithms would decrease slowly before λ=3 and drop rapidly after that. We explain this phenomenon as follows. When before λ=3, the UAVs have not reached full load, and they can accept some tasks for execution, so the TGR only decreases slowly. When after λ=3, many more tasks would come in a certain time slot, and existing UAV resources would be much less than the demands, leading to the fact that UAVs have no choice but to reject the majority of arriving tasks, so the TGR drops rapidly. An interesting observation is that the performance of DTTA, NBBDTTA, and NBPDTTA is higher than that of NBNOTA before λ=3, and NBNOTA would perform better after λ=3. This is due to the fact that DTTA and its deriving algorithms are not fit for heavy load conditions, which is consistent with the explanation in Figure 9(b). Besides, we can see that the proposed DTTA performs better than NBBDTTA and NBPDTTA when the value of λ=3 varies from 1 to 4. Therefore, when in suitable conditions, the proposed DTTA is definitely effective.Consequently, we can conclude from Figure10 that parameter λ mainly affects the load state for UAV swarms. And when not facing a full load environment, the DTTA can perform stably better than other algorithms with the variation of λ.


## 6.4. Performance Impact of Deadline

We investigate the impact of the task’s deadline on the performance of the DTTA. Parametera, which can be found in equation (8), varies from 1 to 7 with an increment of 1.Figure11 shows that when the deadline is very short, the DTTA, NBBDTTA, and NBPDTTA achieve very similar performance with NBNOTA. We can attribute the reason to the fact that tasks would fail to schedule backup copies owing to a short deadline. When the deadline becomes longer, the performance of all algorithms increases rapidly, but the DTTA grows faster. This is because the backup mechanism makes its contribution. And the DTTA can perform better than NBNOTA for nearly 7% when the value of a reaches 4. However, with the increment of a after the value of 4, the performance would be kept the same. The reason is that when the backup mechanism has reached its potential, a longer deadline is meaningless for performance promotion.Figure 11
Performance impact ofa.We can conclude from Figure11 that the deadline would affect the performance of DTTA only when the deadline is short enough to influence the success of assigning backup copies.


## 6.5. Performance Impact of Backup Threshold

In this group of experiments, the impact of the threshold value for backup or not would be studied. The results are presented in Figure12.Figure 12
Performance impact ofetthreshold.It can be observed that the performance of DTTA, NBPDTTA, and NBBDTTA would change with the variation ofetthreshold. However, the performance of NBNOTA was stable. The reason is that NBNOTA does not apply backup mechanism, and the value of etthreshold would not affect the scheduling of tasks under NBNOTA. In addition, DTTA would achieve the highest performance when the value of etthreshold is 0.5. We can attribute this to that, when the etthreshold is smaller than the proper value, too many backups would bring extra resource expense and, when the etthreshold is bigger than the proper value, too little backup would make the overlapping mechanism and backup mechanism cannot reach their potential. Obviously, the proper value of etthreshold is 0.5 under the experiment settings of this group.\Another phenomenon found in Figure12 is that DTTA and its deriving algorithms would keep better performance than NBNOTA. This result proves that the damage-tolerant algorithm would enhance the task success ratio. We can also find that the DTTA achieves the highest performance among the three damage-tolerant algorithms. It means that the BB overlapping model and PB overlapping model should work together for TGR performance in any value of etthreshold. In addition, by comparing the performance of etthreshold=0.5 in Figure 12, a=4 in Figure 11, and λ=3 in Figure 10, we can see the difference among them is very small. That identifies the stability of the proposed algorithm DTTA.


## 7. Conclusions and Future Work

In this study, we investigated the damage-tolerant assigning problem for UAV swarms in confrontational environments and proposed a novel damage-tolerant task assignment algorithm named DTTA. The DTTA employs backup mechanism to enhance the probability of task success and applies the BB and BP overlapping models to promote the utilization of UAVs. Based on the models, we investigate the overlapping properties to avoid collision between tasks. What is more, a no backup algorithm NBNOTA and two algorithms, named NBBDTTA and NBPDTTA, derived from DTTA are proposed to be the baseline. We conducted extensive simulation studies by using random synthetic tasks, indicating that DTTA is a feasible task allocation algorithm in confrontational environments. When not in full load environment, the DTTA can enhance the task success ratio for about 10% or more (see the performance of time 200 s in Figure9(b)), without damaging the efficiency of UAV utilization.Our DTTA is the first of its kind reported in the literature, because DTTA takes the assigning algorithm, damage-tolerant mechanism, and overlapping model into collaborative thinking. And the experiments verified its advantages. In our future work, we will enhance the task and UAV models to be more in line with the real case. Moreover, we will apply the algorithm into real systems to deal with real tasks for damage tolerance.



---

*Source: 8878136-2020-08-28.xml*