Abstract:In order to improve the flexibility of the deep space station VLBI baseband converter and the adaptability of multiple data formats, a data encoding method which conforms to VDIF specification is developed based-on GPU, including frame header computing module, multi-channel single-datathread encoding module and multi-channel multi-datathread encoding module. To optimize the efficiency of encoding process, a data quantization method based on lookup table using texture memory and a multi-frame asynchronous encoding method based on streaming architecture are designed. Experimental verification shows that the encoding method designed in this paper is accurate, efficient and reliable, which is expected to provide effective support for VLBI data recording system of China's deep space station to participate in international VLBI joint observation.