Most of the water, gas, light hydrocarbon and solid impurities are initially separated through buffer, pressure regulation and settlement separation, and then the subsequent treatment process is determined according to the composition and quality of the gas.