An intense accelerator-based D-D/D-T neutron generator, with neutron yields of 6 × 10 10 n/s due to the D-D reaction and 6 × 10 12 n/s due to the D-T reaction, is being developed at Lanzhou University in China. The 2.45 GHz electron cyclotron resonance (ECR) ion source and the pre-analysis system, as the front injector for the accelerator tube of the neutron generator, are designed to provide a 35 mA deuterium beam for neutron production and a 50 mA proton beam for commissioning. The pre-analysis system consists of a solenoid, a steering magnet, a vacuum chamber, a dipole magnet, three quadrupole magnets, a beam dump, and a Faraday cup. The ion source and pre-analysis system were completed a trial operation, and the intensity of the proton beam measured at the end of the pre-analysis system was higher than 50 mA when the hydrogen ion beam current extracted from the ECR ion source was greater than 70 mA.