As data traffic in terrestrial-satellite systems surges, the integration of power allocation for caching, computing, and communication (3C) has attracted much research attention. However, previous works on 3C power allocation in terrestrial-satellite systems mostly focus on maximizing the overall system throughput. In this paper, we aim to guarantee both throughput fairness and data security in terrestrial-satellite systems. Specifically, we first divide the system implementation into three steps, i.e., data accumulation, blockchain computing, and wireless transmission. Then, we model and analyze the delay and power consumption in each step by proposing several theorems and lemmas regarding 3C power allocation. Based on the theorems and lemmas, we further formulate the problem of 3C power allocation as a Nash bargaining game and construct an optimization model for the game. Last, we solve the optimization problem using dual decomposition and obtain the optimal period of the satellite serving the ground stations as well as the optimal 3C power allocation solution. The optimal solution can provide guidelines for parameter configuration in terrestrial-satellite systems. The performance of the proposed terrestrial-satellite architecture is verified by extensive simulations.