The present invention provides 2,6-dinitrogen-containing substituted purine compounds of formula (A) or salts or solvates thereof or the solvates of salts thereof, as well as pharmaceutical compositions containing such compounds. The compounds of the present invention have the characteristics of lower toxicity, broad anticancer spectrum, higher anticancer activity, good stability and the like. The compounds are useful for the manufacture of an antitumor medicament. The present invention also provides a process for preparing these compounds.