Compounds of formula, or tautomers, racemates, enantiomers, diastereoisomers, and mixtures thereof, and pharmaceutically acceptable salts thereof: wherein: A is selected from the group consisting of carbon atom or nitrogen atom; when A is carbon atom, R 1 is selected from the group consisting of hydrogen or alkoxyl; wherein said alkoxyl is optionally further substituted by one or more groups selected from the group consisting of halogen or alkoxyl; R 2 is cyano; when A is nitrogen atom, R 1 is selected from the group consisting of hydrogen or alkoxyl; wherein said alkoxyl is optionally further substituted by one or more groups selected from the group consisting of halogen or alkoxyl; R 2 is absent; R 3 is a radical having the following formula: wherein: D is selected from the group consisting of aryl or heteroaryl, wherein said aryl or heteroaryl is each independently optionally further substituted by one or more groups selected from the group consisting of halogen, alkyl or trifluoromethyl; T is selected from the group consisting of -(CH 2)r-, -O(CH 2)r-, -NH(CH 2)r- or - S r(CH 2)r-; L is selected from the group consisting of aryl or heteroaryl, wherein said aryl or heteroaryl is each independently optionally further substituted by one or more groups selected from the group consisting of halogen or alkyl; R 4 and R 5 are each independently selected from the group consisting of hydrogen, alkyl, alkoxyl, hydroxyl, hydroxyalkyl, halogen, carbonyl, amino, cyano, nitro, carboxy or carboxylic ester; B is selected from the group consisting of carbon atom, oxygen atom or S r; when B is carbon atom, R 6 and R 7 are each independently selected from the group consisting of hydrogen, alkyl, alkoxyl, hydroxyl, hydroxyalkyl, halogen, carbonyl, amino, cyano, nitro, carboxy or carboxylic ester; when B is oxygen atom or S r, R 6 and R 7 are absent; R 8 is selected from the group consisting of hydrogen or alkyl; R 9 is selected from the group consisting of hydrogen, alkyl, aryl, carboxy or carboxylic ester; r is 0, 1, or 2; and n is 1, 2, 3, 4, or 5. A is selected from the group consisting of carbon atom or nitrogen atom; when A is carbon atom, R 1 is selected from the group consisting of hydrogen or alkoxyl; wherein said alkoxyl is optionally further substituted by one or more groups selected from the group consisting of halogen or alkoxyl; R 2 is cyano; when A is nitrogen atom, R 1 is selected from the group consisting of hydrogen or alkoxyl; wherein said alkoxyl is optionally further substituted by one or more groups selected from the group consisting of halogen or alkoxyl; R 2 is absent; R 3 is a radical having the following formula: D is selected from the group consisting of aryl or heteroaryl, wherein said aryl or heteroaryl is each independently optionally further substituted by one or more groups selected from the group consisting of halogen, alkyl or trifluoromethyl; T is selected from the group consisting of -(CH 2)r-, -O(CH 2)r-, -NH(CH 2)r- or - S r(CH 2)r-; L is selected from the group consisting of aryl or heteroaryl, wherein said aryl or heteroaryl is each independently optionally further substituted by one or more groups selected from the group consisting of halogen or alkyl; R 4 and R 5 are each independently selected from the group consisting of hydrogen, alkyl, alkoxyl, hydroxyl, hydroxyalkyl, halogen, carbonyl, amino, cyano, nitro, carboxy or carboxylic ester; B is selected from the group consisting of carbon atom, oxygen atom or S r; when B is carbon atom, R 6 and R 7 are each independently selected from the group consisting of hydrogen, alkyl, alkoxyl, hydroxyl, hydroxyalkyl, halogen, carbonyl, amino, cyano, nitro, carboxy or carboxylic ester; when B is oxygen atom or S r, R 6 and R 7 are absent; R 8 is selected from the group consisting of hydrogen or alkyl; R 9 is selected from the group consisting of hydrogen, alkyl, aryl, carboxy or carboxylic ester; r is 0, 1, or 2; and n is 1, 2, 3, 4, or 5.