A compound of formula I, wherein R 1 and R 2 are each independently selected from hydrogen and halogen, and R 1 and R 2 are not both hydrogen; R 3 and R 4 are each independently selected from hydrogen and C 1-6 alkyl, or form a 5-10 membered nitrogen containing heterocycle optionally substituted by a substituent along with a N atom connected thereto; R 5 and R 6 are each independently selected from hydrogen and C 1-6 alkyl; L 1 is absent, or is -CR'R"-, -N-, -O-, -S-, -SO 2 -, S, -SONR'-, -SO 2 NR'- or -NR'CONR'-, and R' and R" are each independently selected from hydrogen and C 1-6 alkyl; Cy 1 is a group that is unsubstituted or substituted by one or more R a shown in general formula (A-1), (A-2), (A-3) or (a): m is an integer from 0 to 3; Y 1, Y 2, Y 3 and Y 4 are each independently selected from CH 2, CH, NH, O, S and C=O; X 1, X 2 and X 3 are each independently selected from CH 2, CH, N, NH and C=O, and at least one of X 1, X 2 and X 3 is N; each R a is independently selected from hydroxyl, amino, carboxyl, cyano, nitro, halogen, and C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 1-6 alkoxy C 1-6 alkoxy, C 1-6 alkylthio, C 1-6 alkylthio C 1-6 alkyl, C 1-6 alkylamino, (C 1-6 alkyl) 2 amino, C 1-6 alkylamino C 1-6 alkyl, C 1-6 alkylaminocarbonyl, C 1-6 alkylaminocarbonyl C 1-6 alkyl, C 1-6 alkylcarbonylamino, C 1-6 alkylcarbonylamino C 1-6 alkyl, (C 1-6 alkyl) 2 amino C 1-6 alkyl, C 1-6 alkylcarbonyl, C 1-6 alkylcarbonyl C 1-6 alkyl, C 1-6 alkylaminosulfonyl, C 1-6 alkylaminosulfonyl C 1-6 alkyl, C 1-6 alkylsulfonylamino, C 1-6 alkylsulfonylamino C 1-6 alkyl, C 1-6 alkylsulfonyl, C 1-6 alkylsulfonyl C 1-6 alkyl, Cy 2 -, Cy 2 -C 1-6 alkyl, Cy 2 -C 1-6 alkoxy, Cy 2 -carbonyl and Cy 2 -aminocarbonyl unsubstituted or substituted by one or more R b, Cy 2 is 3-12 membered cycloalkyl, 3-12 membered cycloalkenyl, 3-12 membered heterocyclyl, aryl or 5-14 membered heteroaryl; each R b is independently selected from hydroxyl, amino, carboxyl, cyano, nitro, halogen, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 1-6 alkoxy C 1-6 alkoxy, C 1- r, alkylthio, C 1-6 alkylamino, (C 1-6 alkyl) 2 amino, C 1-6 alkylaminocarbonyl, C 1-6 alkylcarbonylamino, C 1-6 alkylcarbonyl, C 1-6 alkylaminosulfonyl, C 1-6 alkylsulfonylamino and C 1-6 alkylsulfonyl; - - - represents a single bond or a double bond; and represents a double bond optionally present in the ring structure, or a pharmaceutically acceptable salt, a stereoisomer or a tautomer thereof. R 2 are not both hydrogen; R 3 and R 4 are each independently selected from hydrogen and C 1-6 alkyl, or form a 5-10 membered nitrogen containing heterocycle optionally substituted by a substituent along with a N atom connected thereto; R 5 and R 6 are each independently selected from hydrogen and C 1-6 alkyl; L 1 is absent, or is -CR'R"-, -N-, -O-, -S-, -SO 2 -, S, -SONR'-, -SO 2 NR'- or -NR'CONR'-, and R' and R" are each independently selected from hydrogen and C 1-6 alkyl; Cy 1 is a group that is unsubstituted or substituted by one or more R a shown in general formula (A-1), (A-2), (A-3) or (a): m is an integer from 0 to 3; Y 1, Y 2, Y 3 and Y 4 are each independently selected from CH 2, CH, NH, O, S and C=O; X 1, X 2 and X 3 are each independently selected from CH 2, CH, N, NH and C=O, and at least one of X 1, X 2 and X 3 is N; each R a is independently selected from hydroxyl, amino, carboxyl, cyano, nitro, halogen, and C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 1-6 alkoxy C 1-6 alkoxy, C 1-6 alkylthio, C 1-6 alkylthio C 1-6 alkyl, C 1-6 alkylamino, (C 1-6 alkyl) 2 amino, C 1-6 alkylamino C 1-6 alkyl, C 1-6 alkylaminocarbonyl, C 1-6 alkylaminocarbonyl C 1-6 alkyl, C 1-6 alkylcarbonylamino, C 1-6 alkylcarbonylamino C 1-6 alkyl, (C 1-6 alkyl) 2 amino C 1-6 alkyl, C 1-6 alkylcarbonyl, C 1-6 alkylcarbonyl C 1-6 alkyl, C 1-6 alkylaminosulfonyl, C 1-6 alkylaminosulfonyl C 1-6 alkyl, C 1-6 alkylsulfonylamino, C 1-6 alkylsulfonylamino C 1-6 alkyl, C 1-6 alkylsulfonyl, C 1-6 alkylsulfonyl C 1-6 alkyl, Cy 2 -, Cy 2 -C 1-6 alkyl, Cy 2 -C 1-6 alkoxy, Cy 2 -carbonyl and Cy 2 -aminocarbonyl unsubstituted or substituted by one or more R b, Cy 2 is 3-12 membered cycloalkyl, 3-12 membered cycloalkenyl, 3-12 membered heterocyclyl, aryl or 5-14 membered heteroaryl; each R b is independently selected from hydroxyl, amino, carboxyl, cyano, nitro, halogen, C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 alkoxy, C 1-6 alkoxy C 1-6 alkyl, C 1-6 alkoxy C 1-6 alkoxy, C 1- r, alkylthio, C 1-6 alkylamino, (C 1-6 alkyl) 2 amino, C 1-6 alkylaminocarbonyl, C 1-6 alkylcarbonylamino, C 1-6 alkylcarbonyl, C 1-6 alkylaminosulfonyl, C 1-6 alkylsulfonylamino and C 1-6 alkylsulfonyl; - - - represents a single bond or a double bond; and represents a double bond optionally present in the ring structure, or a pharmaceutically acceptable salt, a stereoisomer or a tautomer thereof.