A compound la or Ig of following general formulas, optical isomers or mixtures of the compounds, salts, solvates, or N oxides thereof: R 1 represents H, substituted or unsubstituted C 1 -C 4 alkyl, and substituted or unsubstituted C 1 -C 4 heteroalkyl; R 2 represents R 6 CO, R 7 SO, R 8 SO 2 or C1 -C6 alkyl substituted by R 9; R 3 represents H, one or more substituent groups, such as halogens (fluorine, chlorine, bromine and iodine), C 1 -C 4 alkoxy, nitro, cyano, substituted or unsubstituted amino and substituted or unsubstituted alkyl; R 4 represents H, one or more substituent groups, such as halogens (fluorine, chlorine, bromine and iodine), C 1 -C 4 alkoxy, nitro, cyano, substituted or unsubstituted amino and substituted or unsubstituted alkyl; R 6 is alkenyl, alkynyl, as well as alkenyl and alkynyl substituted by alkyl, alkenyl, amido or halogens; R 7 and R 8 are independently selected from C 2 -C 6 alkenyl or C 2 -C 6 alkynyl, and are optionally substituted by one or more groups selected from hydroxyl, C 1 -C 4 alkyl, C 3 -C 7 cycloalkyl, (C 1 -C 4 alkyl) amino, di(C 1 -C 4 alkyl) amino, C 1 -C 3 alkoxy, C 3 -C 7 cycloalkoxy, C 6 -C 10 aryl or C 3 -C 7 hetero-cycloalkyl, or optionally selected from C 1 -C 5 heteroaryl substituted by one or more groups of halogens or cyano; R 9 is independently selected from halogen, cyano or C 2 -C 6 alkenyl or C 2 -C 6 alkynyl, and are optionally substituted by one or more groups selected from hydroxyl, C 1 -C 4 alkyl, C 3 -C 7 cycloalkyl, (C 1 -C 4 alkyl) amino, di(C 1 -C 4 alkyl) amino, C 1 -C 3 alkoxy, C 3 -C 7 cycloalkoxy, C 6 -C 10 aryl, C 1 -C 5 heteroaryl or C 3 -C 7 hetero-cycloalkyl; Z is CH 2, O, NH or S; n1 represents 0 or 1, n 2 represents an integer of 1-4, and n 3 represents 1; X represents nitrogen or carbon and may exist at any position of a benzene ring; and Y represents nitrogen. R 1 represents H, substituted or unsubstituted C 1 -C 4 alkyl, and substituted or unsubstituted C 1 -C 4 heteroalkyl; R 2 represents R 6 CO, R 7 SO, R 8 SO 2 or C1 -C6 alkyl substituted by R 9; R 3 represents H, one or more substituent groups, such as halogens (fluorine, chlorine, bromine and iodine), C 1 -C 4 alkoxy, nitro, cyano, substituted or unsubstituted amino and substituted or unsubstituted alkyl; R 4 represents H, one or more substituent groups, such as halogens (fluorine, chlorine, bromine and iodine), C 1 -C 4 alkoxy, nitro, cyano, substituted or unsubstituted amino and substituted or unsubstituted alkyl; R 6 is alkenyl, alkynyl, as well as alkenyl and alkynyl substituted by alkyl, alkenyl, amido or halogens; R 7 and R 8 are independently selected from C 2 -C 6 alkenyl or C 2 -C 6 alkynyl, and are optionally substituted by one or more groups selected from hydroxyl, C 1 -C 4 alkyl, C 3 -C 7 cycloalkyl, (C 1 -C 4 alkyl) amino, di(C 1 -C 4 alkyl) amino, C 1 -C 3 alkoxy, C 3 -C 7 cycloalkoxy, C 6 -C 10 aryl or C 3 -C 7 hetero-cycloalkyl, or optionally selected from C 1 -C 5 heteroaryl substituted by one or more groups of halogens or cyano; R 9 is independently selected from halogen, cyano or C 2 -C 6 alkenyl or C 2 -C 6 alkynyl, and are optionally substituted by one or more groups selected from hydroxyl, C 1 -C 4 alkyl, C 3 -C 7 cycloalkyl, (C 1 -C 4 alkyl) amino, di(C 1 -C 4 alkyl) amino, C 1 -C 3 alkoxy, C 3 -C 7 cycloalkoxy, C 6 -C 10 aryl, C 1 -C 5 heteroaryl or C 3 -C 7 hetero-cycloalkyl; Z is CH 2, O, NH or S; n1 represents 0 or 1, n 2 represents an integer of 1-4, and n 3 represents 1; X represents nitrogen or carbon and may exist at any position of a benzene ring; and Y represents nitrogen.