{'fraction_non_alphanumeric': 0.026624068157614485, 'fraction_numerical': 0.001597444089456869, 'mean_word_length': 4.927444794952681, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Optimal Power Allocation and Secrecy Sum Rate in Two-Way Untrusted Relaying Networks With an External Jammer

In this paper, we examine the secrecy performance of two-way relaying between a large-scale multiple antenna base station (BS) and a single antenna mobile user (MU) in the presence of a multiple antenna external jammer. We consider the untrusted relaying scenario, where an amplify-and-forward relay is both a necessary helper and a potential eavesdropper to the BS and MU transmissions. With the aim of maximizing the instantaneous secrecy sum rate, we derive new closed-form solutions for the optimal power allocation (OPA) under the following three scenarios: 1) without jamming (WoJ) where the jammer is not activated; 2) friendly jamming (FJ) where the jamming signal is known a priori at the BS and MU; and 3) Gaussian noise jamming (GNJ) where the jamming signal is unknown at the BS and MU. Based on our OPA solutions, new closed-form expressions are derived for the ergodic secrecy sum rate (ESSR) with Rayleigh fading channels. Furthermore, we characterize the high signal-to-noise ratio slope and power offset of the ESSR to provide a fundamental comparison of the WoJ, FJ, and GNJ scenarios. Based on our analysis, we propose a simple relay selection criterion for the scenario when the BS and MU are assisted by multiple untrusted relays. Numerical examples are presented to demonstrate the impact of the jammer’s location, number of antennas and the advantage of the proposed relay selection criterion on the secrecy performance. Our findings highlight that similar to the trusted relaying scenario, the ESSR of all three secure transmission scenarios improve as the number of untrusted relays increases. Moreover, we highlight an interesting insight that the OPA for the GNJ scenario results in the same ESSR performance as the OPA for the WoJ scenario.