This article presents a novel heterogeneous system architecture designed to ensure robust and ubiquitous connectivity for civil and military operations in areas lacking terrestrial networks. The proposed architecture integrates satellites, High Altitude Platform Stations (HAPS), unmanned aerial vehicles (UAVs), and terrestrial infrastructure into a unified secure network. To enhance system performance, we incorporate distributed computing techniques such as multiple-access edge computing (MEC), encryption, and blockchain technology. Leveraging the extensive coverage of satellites alongside the capabilities of 5G and anticipated advancements in 6G, our approach addresses potential quality of service (QoS) issues and outages by utilizing HAPS and UAVs as intermediary nodes for communication link establishment and relay. This strategy not only offloads heavy communication and computing tasks from satellites but also optimizes power usage while ensuring fast connections and secure data transmission. Ultimately, our work aims to extend connectivity to underserved regions, thereby improving operational efficiency and reliability.