Ever of the plasmas layer and layer of magnetic plasma environment detection is mainly based on satellite in place or passive detection means, and spaceborne plasma probe as a way of active detection（active） to send and receive electromagnetic wave echo, to detect the plasma space environment provides a new means of detection, This mode can obtain the distribution structure of electron density along the propagation path in plasma space environment. This article is based on our country has not yet have access to spaceborne Plasma detector measured echo figure, put forward the combined with Plasma GCPM（Global Core Plasma Model）and the ray tracing technique to simulate the electromagnetic waves in plasmas layer and magnetospheric Plasma environment in the communication process. The ray tracing method adopted in this paper is based on the refraction index of cold plasma, considering the effect of magnetic field on the refraction index. This simulation method can obtain the structural characteristics of plasma echo through simulation, which provides a certain reference value for spaceborne plasma detector to obtain the measured plasma echo image. At the same time, it can also provide guidance for the subsequent inversion of electron density profile from measured plasma echo map, and provide important reference for the smooth implementation of deep space exploration and communication engineering.