A compound having a structure of formula or a pharmaceutically acceptable salt thereof, an geometric or stereoisomeric isomer, a solvate or a crystal, wherein, w is n=1; Y 1, Y 2 and Y 3 are -C 2 -; X 1 is selected from CR X1, and N; X 2 is selected from CR X2, and N; X 3 is selected from CR X3, and N; each of R X1, R X2, R X3 is independently selected from H, F, Cl, Br, I, CN, OH, SH, and NH 2, or each of R X1, R X2, R X3 is independently selected from a C 1-6 alkyl and a C 1-6 heteroalkyl which is optionally substituted by one, two, three or four R(s), R 1 is selected from H, F, Cl, Me, CN, and CF 3; R 2 is selected from R 02, OR 02, and SR 02; R 02 is independently selected from a C 1-4 alkyl, a C 1-4 heteroalkyl, and a C 3-5 cycloalkyl-(CH 2) 0-3 -, each of which is optionally substituted by one, two, three or four R(s); R 3 is selected from a C 1-6 alkyl, a C 1-6 heteroalkyl, a C 2-4 alkynyl, a 3- to 7-membered cycloalkyl, a 3- to 7-membered cycloalkyl-L-, a 3- to 7-membered heterocycloalkyl, and a 3- to 7-membered heterocycloalkyl-L-, each of which is optionally substituted by one, two, three or four R(s); L is selected from -O-, -S-, -C(=O)-, -S(=O) 2 -, and -S(=O)-, or L is selected from NH, a C 1-4 alkyl, and a C 1-4 heteroalkyl, each of which is optionally substituted by one, two, three or four R(s); the "hetero" represents a heteroatom or a hetero-atomic group, which is selected from -C(=O)NH-, -NH-, -O-, -S-, N, =O, =S, -C(=O)O-, -C(=O)-, -C(=S)-, -S(=O)-, and -S(=O) 2 -; the number of the heteroatom or the hetero-atomic group is independently selected from 0, 1, 2, and 3; R is selected from H, F, Cl, Br, I, OH, and CN, or R is selected from NH 2, a C 1-4 alkyl, a C 1-4 heteroalkyl, a 3- to 7-membered cycloalkyl, and a 3- to 7-membered heterocycloalkyl which is optionally substituted by one, two, three or four R'(s); R' is selected from F, Cl, Br, I, CN, OH, NH 2, CF 3, NHCH 3, CH 2 OCH 3, and N(CH 3) 2. w is n=1; Y 1, Y 2 and Y 3 are -C 2 -; X 1 is selected from CR X1, and N; X 2 is selected from CR X2, and N; X 3 is selected from CR X3, and N; each of R X1, R X2, R X3 is independently selected from H, F, Cl, Br, I, CN, OH, SH, and NH 2, or each of R X1, R X2, R X3 is independently selected from a C 1-6 alkyl and a C 1-6 heteroalkyl which is optionally substituted by one, two, three or four R(s), R 1 is selected from H, F, Cl, Me, CN, and CF 3; R 2 is selected from R 02, OR 02, and SR 02; R 02 is independently selected from a C 1-4 alkyl, a C 1-4 heteroalkyl, and a C 3-5 cycloalkyl-(CH 2) 0-3 -, each of which is optionally substituted by one, two, three or four R(s); R 3 is selected from a C 1-6 alkyl, a C 1-6 heteroalkyl, a C 2-4 alkynyl, a 3- to 7-membered cycloalkyl, a 3- to 7-membered cycloalkyl-L-, a 3- to 7-membered heterocycloalkyl, and a 3- to 7-membered heterocycloalkyl-L-, each of which is optionally substituted by one, two, three or four R(s); L is selected from -O-, -S-, -C(=O)-, -S(=O) 2 -, and -S(=O)-, or L is selected from NH, a C 1-4 alkyl, and a C 1-4 heteroalkyl, each of which is optionally substituted by one, two, three or four R(s); the "hetero" represents a heteroatom or a hetero-atomic group, which is selected from -C(=O)NH-, -NH-, -O-, -S-, N, =O, =S, -C(=O)O-, -C(=O)-, -C(=S)-, -S(=O)-, and -S(=O) 2 -; the number of the heteroatom or the hetero-atomic group is independently selected from 0, 1, 2, and 3; R is selected from H, F, Cl, Br, I, OH, and CN, or R is selected from NH 2, a C 1-4 alkyl, a C 1-4 heteroalkyl, a 3- to 7-membered cycloalkyl, and a 3- to 7-membered heterocycloalkyl which is optionally substituted by one, two, three or four R'(s); R' is selected from F, Cl, Br, I, CN, OH, NH 2, CF 3, NHCH 3, CH 2 OCH 3, and N(CH 3) 2.