Secure Block Transmission in Blockchain-Enabled Unmanned Aerial Vehicle Networks

In recent years, the rapid expansion of low-altitude economies has accelerated the deployment of unmanned aerial vehicles (UAVs) in a wide range of communication scenarios. UAVs offer low cost, high maneuverability, and the ability to establish line-of-sight links from optimal three-dimensional positions. They have thus become essential components of future aerial-ground integrated networks. However, the openness of wireless channels introduces significant security challenges, especially when blockchain technology is integrated to provide decentralized, tamper-resistant, and traceable data services. In this context, blocks generated by the UAV system must be broadcast over wireless links, where malicious eavesdroppers may intercept sensitive information. Traditional cryptographic methods can provide strong confidentiality but often consume excessive computational resources and energy, which are scarce on UAV platforms. Therefore, there is a critical need to develop efficient security mechanisms that jointly consider physical layer characteristics and blockchain performance.

This paper investigates secure block transmission in blockchain-enabled UAV networks from a physical layer security perspective. We systematically study three representative scenarios: single-antenna UAV networks, multi-antenna UAV networks, and cooperative multi-UAV networks. For each scenario, we formulate joint optimization problems that couple UAV trajectory design, power or beamforming allocation, and block size selection. The objectives are designed to enhance the security of block transmission while preserving the overall efficiency of the blockchain system. By leveraging successive convex approximation (SCA), block coordinate descent, and multi-objective particle swarm optimization, we develop efficient algorithms to solve the non-convex problems. Simulation results validate the effectiveness of the proposed approaches in improving secrecy performance and system utility.

The remainder of the paper is organized as follows. Section 2 introduces the system models and problem formulations for the three studied scenarios. Section 3 presents the proposed optimization algorithms. Section 4 provides numerical results and discussions. Finally, Section 5 concludes the paper and outlines future research directions.

System Models and Problem Formulations

Blockchain-Enabled Single-Antenna UAV Networks

We first consider a downlink transmission scenario consisting of an information source UAV (UAV-B), a friendly jamming UAV (UAV-J), a ground user (GU), and an eavesdropper (EVE). The UAV-B transmits confidential messages to the ground user, while the UAV-J emits jamming signals to degrade the eavesdropper’s reception. The confidential messages are encapsulated in blocks and stored on the blockchain. The flight period \(T\) is divided into \(I\) equal time slots, each with duration \(\tau\). The horizontal coordinate of UAV \(u\) at slot \(\tau\) is denoted as \(\mathbf{q}_u[\tau] = [x_u[\tau], y_u[\tau]]^T\). The maximum speed constraint is given by

$$
\|\mathbf{q}_u[\tau+1] – \mathbf{q}_u[\tau]\| \le d_{\max}, \quad u \in \{B,J\},
$$

where \(d_{\max} = V_{\max} \tau\). To avoid collisions, we impose

$$
\|\mathbf{q}_B[\tau] – \mathbf{q}_J[\tau]\| \ge d_{\min}.
$$

The air-to-ground channel between UAV \(u\) and ground node \(g\) is modeled as Rayleigh fading:

$$
g_{u,g}[\tau] = \delta_{u,g}[\tau] d_{u,g}[\tau]^{-\alpha/2}, \quad u \in \{B,J\}, \; g \in \{m,e\},
$$

where \(\delta_{u,g}[\tau]\) is the random fading gain, \(d_{u,g}[\tau]\) is the instantaneous distance, and \(\alpha = 2\) is the path-loss exponent. Let \(P_B[\tau]\) and \(P_J[\tau]\) denote the transmit powers of UAV-B and UAV-J at slot \(\tau\), respectively. The signal-to-interference-plus-noise ratio (SINR) at the legitimate receiver \(m\) is

$$
r_{B,m}[\tau] = \frac{P_B[\tau] \rho_{B,m}[\tau] \|\mathbf{q}_B[\tau] – \mathbf{q}_m\|^{-2}}{P_J[\tau] \rho_{J,m}[\tau] \|\mathbf{q}_J[\tau] – \mathbf{q}_m\|^{-2}},
$$

where \(\rho_{u,g}[\tau] = |\delta_{u,g}[\tau]|^2 / \sigma^2\), and \(\sigma^2\) is the noise power. The corresponding achievable rates are

$$
R_m[\tau] = \log_2\left(1 + r_{B,m}[\tau]\right), \quad R_e[\tau] = \log_2\left(1 + r_{B,e}[\tau]\right),
$$

where \(r_{B,e}[\tau]\) is defined similarly with the eavesdropper’s channel gain and UAV-J’s jamming effect.

Since finite blocklength coding is used, the secrecy rate at slot \(\tau\) is given by

$$
R_m^{\text{sec}}[\tau] = \left[ R_m[\tau] – R_e[\tau] – \frac{Q^{-1}(\varepsilon)}{\ln 2}\sqrt{\frac{V_m[\tau]}{l[\tau]}} – \frac{Q^{-1}(\eta)}{\ln 2}\sqrt{\frac{V_e[\tau]}{l[\tau]}} \right]^+,
$$

where \(\varepsilon\) is the decoding error probability, \(\eta\) is the information leakage probability, \(l[\tau]\) is the block size, and \(V_x[\tau] = 1 – (1 + r_x[\tau])^{-2}\) is the channel dispersion. Here, \(Q^{-1}(\cdot)\) denotes the inverse Gaussian Q-function.

The blockchain performance is characterized by the block generation time and transmission delay. The generation time can be expressed as

$$
T_g[\tau] = T_{\text{overhead}} + T_{\text{Merkle}} \left\lceil \frac{S_{\text{mem}} / S_t}{l[\tau] / S_t} \right\rceil,
$$

where \(S_{\text{mem}}\) is the memory pool size, \(S_t\) is the single transaction size, and \(T_{\text{Merkle}}\) is the Merkle tree construction time. The block propagation delay is

$$
T_d[\tau] = h \cdot T_p + \frac{l[\tau]}{R},
$$

where \(h\) is the blockchain tree depth, \(T_p\) is the processing time, and \(R\) is the transmission rate. We define the blockchain utility function as

$$
F(l[\tau]) = \rho T_d[\tau] + (1-\rho) T_g[\tau],
$$

where \(\rho\) is a weighting factor.

The joint optimization problem aims to maximize the average minimum secrecy rate while considering blockchain performance. The overall objective is

$$
\max_{\substack{\mathbf{Q}_B,\mathbf{Q}_J\\P_B,P_J,l}} \frac{1}{T}\sum_{\tau=1}^{I} \left[ R_m^{\text{sec}}[\tau] – \omega \left(1 – F(l[\tau])\right) \right],
$$

subject to mobility constraints, collision avoidance, power constraints, and block size limits. This problem is non-convex due to the coupled variables and the non-convex secrecy rate expression.

Blockchain-Enabled Multi-Antenna UAV Networks

To support multiple ground users simultaneously, we extend the model to the case where both UAVs are equipped with uniform linear arrays of \(N_T\) antennas. The UAV-B employs beamforming to enhance the desired signal at the legitimate users while suppressing leakage to other users. The UAV-J uses beamforming to direct artificial noise toward the eavesdroppers. The beamforming vectors of UAV-B and UAV-J are denoted as \(\mathbf{w}_B[\tau] \in \mathbb{C}^{N_T \times 1}\) and \(\mathbf{w}_J[\tau] \in \mathbb{C}^{N_T \times 1}\), respectively. The SINR at user \(m\) is now

$$
r_{B,m}[\tau] = \frac{P_B[\tau] |\mathbf{h}_{B,m}^H[\tau] \mathbf{w}_B[\tau]|^2}{P_J[\tau] |\mathbf{h}_{J,m}^H[\tau] \mathbf{w}_J[\tau]|^2 + \sigma^2},
$$

where \(\mathbf{h}_{u,g}[\tau] = \sqrt{\rho_{u,g}[\tau]} e^{j \phi_{u,g}[\tau]} \mathbf{a}(\theta_{u,g}[\tau])\) is the channel vector, and \(\mathbf{a}(\cdot)\) is the array response. The eavesdropping rate \(R_e[\tau]\) is similarly defined with the channel vector to the eavesdropper.

The system must also consider the energy consumption of UAVs. The propulsion power consumption of a rotary-wing UAV at slot \(\tau\) is modeled as

$$
E_p[\tau] = \tau \left[ P_0 \left(1 + \frac{3 \|\mathbf{v}[\tau]\|^2}{U_{\text{tip}}^2}\right) + P_1 \left( \sqrt{1 + \frac{\|\mathbf{v}[\tau]\|^4}{4 v_0^4}} – \frac{\|\mathbf{v}[\tau]\|^2}{2 v_0^2} \right)^{1/2} + \frac{1}{2} d^{\prime} s^{\prime} A \rho \|\mathbf{v}[\tau]\|^3 \right],
$$

where \(\mathbf{v}[\tau] = (\mathbf{q}_u[\tau+1] – \mathbf{q}_u[\tau]) / \tau\) is the velocity. The blockchain-related energy consumption includes generation and transmission energies:

$$
E_{\text{block}}[\tau] = P_{\text{gen}} T_{\text{gen}}[\tau] + P_{\text{trans}} T_{\text{trans}}[\tau],
$$

where \(T_{\text{gen}}\) and \(T_{\text{trans}}\) are the generation and transmission times, respectively. The total energy consumption is then

$$
E_{\text{total}}[\tau] = E_p[\tau] + E_{\text{block}}[\tau].
$$

We define the secrecy energy efficiency (MSEE) as the ratio of the total secure utility to the total energy consumption:

$$
\text{MSEE} = \frac{\sum_{\tau=1}^{I}\sum_{m=1}^{M} \left[ R_m^{\text{sec}}[\tau] – \omega F(l[\tau]) \right]}{\sum_{\tau=1}^{I} E_{\text{total}}[\tau]}.
$$

The optimization problem maximizes this MSEE by jointly optimizing the trajectories \(\mathbf{Q}_B, \mathbf{Q}_J\), beamforming vectors \(\mathbf{w}_B, \mathbf{w}_J\), and block size \(l[\tau]\), subject to mobility, collision avoidance, power constraints, and block size limits. This is a highly non-convex fractional programming problem.

Blockchain-Enabled Cooperative Multi-UAV Networks

In the third scenario, a set of \(N\) UAVs forms a virtual antenna array (UVAA) to communicate with remote base stations (BSs) while facing potential eavesdroppers. The UAVs first broadcast the collected confidential information to each other. To prevent eavesdropping during this broadcast phase, one UAV is selected as a jammer to transmit interference toward the eavesdropper. After all UAVs receive the complete information, they collectively perform cooperative beamforming to deliver the data to the BS cluster. The array factor of the UVAA is given by

$$
F_c(\theta[\tau], \phi[\tau]) = \sum_{n=1}^{N} I_n[\tau] e^{j k_c (x_n[\tau] \sin\theta \cos\phi + y_n[\tau] \sin\theta \sin\phi + z_n[\tau] \cos\theta)},
$$

where \(I_n[\tau]\) is the excitation current weight of UAV \(n\), and \(k_c = 2\pi/\lambda\) is the phase constant. The gain of the UVAA toward the BS is

$$
G_B[\tau] = \frac{4\pi |F_c(\theta_b, \phi_b)|^2 w_b^2}{\int_{0}^{\pi}\int_{-\pi}^{\pi} |F_c(\theta, \phi)|^2 w_b^2 \sin\theta \, d\theta \, d\phi} \eta,
$$

where \(\eta\) is the antenna efficiency. The gain toward the eavesdropper \(G_e[\tau]\) is defined similarly.

The transmission rate from the UVAA to the BS is

$$
R_B[\tau] = \log_2\left(1 + \frac{P_t K_0 G_B[\tau] d_{B}^{-\alpha}}{\sigma^2 + P_J K_0 G_e[\tau] d_{e}^{-\alpha}}\right),
$$

where \(P_t\) is the total transmit power, and \(K_0\) is the path-loss constant. Similarly, the rate to the eavesdropper is \(R_e[\tau]\). The UAV-to-UAV broadcast rate is limited by the minimum rate among the receiving UAVs:

$$
R_n[\tau] = \min_{k \neq n} \log_2\left(1 + \frac{P_n K_n d_{n,k}^{-\alpha}}{\sigma^2 + P_J K_{J,e} d_{J,e}^{-\alpha}}\right),
$$

where \(d_{n,k}\) is the distance between UAVs \(n\) and \(k\). The secrecy rate during the broadcast phase is

$$
R_{n}^{\text{sec}}[\tau] = R_n[\tau] – R_{e,n}[\tau] – \frac{Q^{-1}(\varepsilon)}{\ln 2}\sqrt{\frac{V_n}{l[\tau]}} – \frac{Q^{-1}(\eta)}{\ln 2}\sqrt{\frac{V_{e,n}}{l[\tau]}}.
$$

In this multi-objective scenario, we aim to maximize the secrecy rate while minimizing the energy consumption and maintaining a low side-lobe level (SLL) for the cooperative beam pattern. The conflicting objectives are combined into a multi-objective optimization problem. We use the multi-objective particle swarm optimization (MOPSO) algorithm to find a set of Pareto-optimal solutions that trade off these objectives.

Proposed Optimization Algorithms

Alternating Iterative Algorithm for the Single-Antenna Scenario

For the single-antenna problem, we decompose the original non-convex problem into three subproblems: UAV-B trajectory optimization, UAV-J trajectory optimization, block size optimization, and power optimizations for UAV-B and UAV-J. Each subproblem is solved iteratively using SCA. We introduce auxiliary variables to handle the non-convex constraints and apply first-order Taylor expansions to obtain concave lower bounds. The resulting convex subproblems are efficiently solved using the CVX toolbox. The algorithm is summarized below:

Step Operation
1 Initialize feasible points for trajectories, powers, and block size.
2 Update block size by solving (P3.5.2).
3 Update UAV-B and UAV-J trajectories by solving (P3.3.2) and (P3.4.2).
4 Update UAV-B and UAV-J powers by solving (P3.6.2) and (P3.7.2).
5 Compute the objective value. If the change is below a threshold, terminate; otherwise, go to Step 2.

The monotonic improvement of the objective and the boundedness guarantee convergence to a local optimal solution.

MSEE Maximization for the Multi-Antenna Scenario

For the multi-antenna problem, we apply the Dinkelbach method to handle the fractional form of the MSEE. The outer loop updates the auxiliary parameter \(\lambda\) iteratively, while the inner loop solves a series of convex subproblems. The trajectory subproblems are handled by introducing slack variables to convexify the energy constraints. The beamforming subproblems are solved using the SCA technique, where the quadratic terms are linearized around the current beamforming vectors. The overall algorithm alternates between trajectory optimization, block size optimization, and beamforming optimization until convergence.

Step Operation
1 Initialize trajectories, beamforming vectors, and block size.
2 Fix the Dinkelbach parameter and solve the convexified subproblems for trajectories.
3 Optimize block size using the closed-form or CVX-based solution.
4 Optimize beamforming vectors using SCA.
5 Update the Dinkelbach parameter based on the current MSEE.
6 Repeat until convergence.

MOPSO for the Multi-UAV Scenario

In the cooperative multi-UAV scenario, we employ the MOPSO algorithm to solve the multi-objective problem. Each particle represents a candidate solution comprising the three-dimensional positions of all UAVs, the excitation current weights, and the block size. The objectives include maximizing the secrecy rate, minimizing the SLL, and minimizing the total energy consumption. The algorithm maintains an external archive to store non-dominated solutions. The particle update rules are:

$$
\mathbf{v}_k^{(t+1)} = \omega^{(t)} \mathbf{v}_k^{(t)} + c_1 r_1 \left( \mathbf{p}_k^{(t)} – \mathbf{x}_k^{(t)} \right) + c_2 r_2 \left( \mathbf{g}_k^{(t)} – \mathbf{x}_k^{(t)} \right),
$$
$$
\mathbf{x}_k^{(t+1)} = \mathbf{x}_k^{(t)} + \mathbf{v}_k^{(t+1)},
$$

where \(\omega^{(t)}\) is the inertia weight, \(c_1\) and \(c_2\) are acceleration coefficients, and \(\mathbf{p}_k\) and \(\mathbf{g}_k\) are the personal and global best positions, respectively. The global best is selected from the external archive based on crowding distance to maintain diversity.

The computational complexity of MOPSO is approximately \(O(L (K^2 + K A))\) where \(L\) is the number of iterations, \(K\) is the population size, and \(A\) is the archive size. This complexity is acceptable for moderate network sizes.

Numerical Results and Discussion

In this section, we provide extensive simulation results to evaluate the performance of the proposed algorithms. The default simulation parameters are summarized in the following tables.

Parameter Value
Maximum UAV speed \(V_{\max}\) 25 m/s
UAV flight altitude \(H\) 30 m
Maximum power of UAV-B \(P_B^{max}\) 10 W
Maximum power of UAV-J \(P_J^{max}\) 1 W
Task duration \(T\) 30 s
Noise power \(\sigma^2\) -80 dBm
Decoding error probability \(\varepsilon\) \(10^{-3}\)
Leakage constraint \(\eta\) \(10^{-2}\)
Memory pool size \(S_{\text{mem}}\) 3000 Kb
Maximum block size \(l_{\max}\) 200 Kb
Transaction size \(S_t\) 2 Kb
Merkle tree transactions \(M_{\text{Merkle}}\) 20
Merkle tree construction time \(T_{\text{Merkle}}\) 0.02 s
Processing delay \(T_p\) 0.03 s
Bandwidth \(R\) 10 Mbps

Figure 1 illustrates a typical deployment of UAVs in a blockchain-enabled communication network, where multiple unmanned aerial vehicles form a virtual antenna array and interact with ground base stations and potential eavesdroppers.

Convergence Behavior

Figure 2 compares the convergence of the average minimum secrecy rate (AMSR) for different schemes. The proposed joint trajectory-blockchain-power (JTBP) algorithm achieves the highest AMSR and converges within a few iterations. The benchmark with fixed trajectories (BPFT) and the one with fixed resources (TFBP) exhibit lower performance. Increasing the task duration from 25 s to 30 s leads to a significant improvement in AMSR, since the UAV can hover near the ground user for a longer period of time.

Similarly, the total utility function values follow the same trend, confirming that joint optimization of blockchain performance and physical layer security provides substantial gains.

Trajectory and Power Allocation

The optimized trajectories show that the UAV-B moves toward the legitimate receiver and hovers there to maximize the secrecy rate, while the UAV-J approaches the eavesdropper to jam the eavesdropping link. When the task time is shorter, the UAVs are forced to fly at maximum speed to reach their destinations, resulting in less favorable positions and lower secrecy rates.

The transmit power profiles indicate that both UAVs adopt a power control strategy: they transmit with higher power when far from the target node and reduce power when close to it. This balances reliability, security, and energy consumption.

Impact of Blockchain Performance

We also investigate the effect of considering blockchain performance in the optimization. When the blockchain performance is ignored (i.e., \(\omega = 1\)), the block size is always set to its maximum value, leading to a higher AMSR but potentially causing large propagation delays and transaction congestion. When blockchain performance is incorporated (\(\omega = 0.8\)), the block size is adjusted dynamically: smaller blocks are used when the UAV is near the receiver to reduce latency, while larger blocks are used when the channel is poor to maintain a sufficient transmission rate. This dynamic block size adjustment achieves a better trade-off between security and blockchain efficiency.

Multi-Antenna Scenario Results

For the multi-antenna scenario, the MSEE performance is evaluated under different numbers of antennas and users. As shown in Table 3, increasing the number of antennas from 2 to 8 improves the MSEE due to the additional beamforming gain. Similarly, increasing the number of users from 3 to 9 enhances the overall MSEE, since more users contribute to the aggregated secure throughput.

Parameter Configuration MSEE (bits/J/Hz)
Antennas \(N_T\) 2 2.31
Antennas \(N_T\) 4 3.12
Antennas \(N_T\) 8 4.05
Users \(M\) 3 2.87
Users \(M\) 6 3.44
Users \(M\) 9 3.98

Cooperative Multi-UAV Scenario Results

In the multi-UAV case, the system utility converges stably as the number of iterations increases, and the proposed MOPSO-based method outperforms the fixed-parameter baseline. The average secrecy rate increases with the number of UAVs \(N\), as more UAVs provide higher array gain and stronger spatial suppression. The three-dimensional radiation pattern reveals a clear main lobe directed toward the base station and suppressed side lobes, demonstrating the effectiveness of collaborative beamforming in focusing energy and reducing leakage.

Conclusion

This paper has presented a comprehensive study on secure block transmission in blockchain-enabled unmanned aerial vehicle networks. We have addressed three progressively complex scenarios, ranging from a single-antenna UAV to multi-antenna and cooperative multi-UAV networks. Physical layer security is leveraged to protect block confidentiality against eavesdropping, while blockchain performance is explicitly considered by optimizing the block size. Joint optimization frameworks have been formulated for UAV trajectory, power allocation, beamforming, and block size, with objectives including AMSR maximization and secrecy energy efficiency maximization. For the multi-UAV cooperative scenario, a multi-objective optimization approach based on MOPSO is adopted to balance multiple conflicting goals. Extensive simulations have demonstrated that the proposed algorithms significantly improve both the security and the blockchain performance. Future work will extend the current framework to imperfect channel state information, dynamic eavesdropper locations, and more realistic blockchain consensus mechanisms.

Scroll to Top