Diaryl- β -lactam compound according to formula, and the pharmaceutically acceptable salt, hydrate, or solvent mixture thereof, wherein, R 2 is one or more groups located on the ring selected from the group consisting of substituted or unsubstituted C1-C6 alkoxy, substituted or unsubstituted C1-C6 alkyl, halogen, amino, hydroxyl, carboxyl, fluorosulfonyloxy, allyloxy, propargyloxy, C1-C4 alkylamino, C2-C10 ester group, substituted or unsubstituted C1-C6 alkyl-hydroxy, substituted or unsubstituted C6-C10 aryl, substituted or unsubstituted 5-12 membered heteroaryl, -OTBS, -CH 2 -R, -OR, -O(C=O)R, -O-(SO 2)-R, -O - R 2, -NH(C=O)R, -NH-(SO 2)-R; R 3 and R 4 are each independently selected from the group consisting of substituted or unsubstituted C1-C6 alkyl, hydrogen, acyloxy, carboxy, cyclopropyl, substituted or unsubstituted C1-C4 alkylamino, sulfonyloxy, substituted or unsubstituted C1-C4 alkoxy, substituted or unsubstituted C1-C6 alkyl-hydroxy, -CH 2 -R, -OR, -O(C=O)R, -O-(SO 2)-R, -O -R 2, -NH(C=O)R, -NH-(SO 2)-R; wherein R is selected from the group consisting of vinyl, halogen, amino, hydroxy, carboxy, fluorosulfonyloxy, methylsulfonyl (Ms), substituted or unsubstituted C1-C4 alkoxy, substituted or unsubstituted C1-C6 alkyl, substituted or unsubstituted C3-C6 cycloalkyl, substituted or unsubstituted C1-C4 alkylamino, substituted or unsubstituted C2-C10 ester group, substituted or unsubstituted C1-C6 alkyl-hydroxy, substituted or unsubstituted C6-C10 aryl, substituted or unsubstituted 5-12 membered heteroaryl; the substitution means that one or more hydrogen atoms on the group are substituted with a substituent selected from the group consisting of C1-C4 alkoxy, C1-C4 alkyl, halogen, C2-C10 acyloxy, C2-C10 ester group, hydroxy, cyclopropyl, vinyl, amino, oxy group (=O), morpholinyl, sulfonyloxy, C1-C6 amido, -NO 2, -NHBoc, -NHCbz, -NHC(=O)Me, -OBn, -NHBn, -SiMe 3, unsubstituted phenyl or pyridyl or substituted by 1 to 3 substituents selected from the group consisting of C1-C4 alkoxy, C1-C4 alkyl, halogen or hydroxy. R 2 is one or more groups located on the ring selected from the group consisting of substituted or unsubstituted C1-C6 alkoxy, substituted or unsubstituted C1-C6 alkyl, halogen, amino, hydroxyl, carboxyl, fluorosulfonyloxy, allyloxy, propargyloxy, C1-C4 alkylamino, C2-C10 ester group, substituted or unsubstituted C1-C6 alkyl-hydroxy, substituted or unsubstituted C6-C10 aryl, substituted or unsubstituted 5-12 membered heteroaryl, -OTBS, -CH 2 -R, -OR, -O(C=O)R, -O-(SO 2)-R, -O - R 2, -NH(C=O)R, -NH-(SO 2)-R; R 3 and R 4 are each independently selected from the group consisting of substituted or unsubstituted C1-C6 alkyl, hydrogen, acyloxy, carboxy, cyclopropyl, substituted or unsubstituted C1-C4 alkylamino, sulfonyloxy, substituted or unsubstituted C1-C4 alkoxy, substituted or unsubstituted C1-C6 alkyl-hydroxy, -CH 2 -R, -OR, -O(C=O)R, -O-(SO 2)-R, -O -R 2, -NH(C=O)R, -NH-(SO 2)-R; wherein R is selected from the group consisting of vinyl, halogen, amino, hydroxy, carboxy, fluorosulfonyloxy, methylsulfonyl (Ms), substituted or unsubstituted C1-C4 alkoxy, substituted or unsubstituted C1-C6 alkyl, substituted or unsubstituted C3-C6 cycloalkyl, substituted or unsubstituted C1-C4 alkylamino, substituted or unsubstituted C2-C10 ester group, substituted or unsubstituted C1-C6 alkyl-hydroxy, substituted or unsubstituted C6-C10 aryl, substituted or unsubstituted 5-12 membered heteroaryl; the substitution means that one or more hydrogen atoms on the group are substituted with a substituent selected from the group consisting of C1-C4 alkoxy, C1-C4 alkyl, halogen, C2-C10 acyloxy, C2-C10 ester group, hydroxy, cyclopropyl, vinyl, amino, oxy group (=O), morpholinyl, sulfonyloxy, C1-C6 amido, -NO 2, -NHBoc, -NHCbz, -NHC(=O)Me, -OBn, -NHBn, -SiMe 3, unsubstituted phenyl or pyridyl or substituted by 1 to 3 substituents selected from the group consisting of C1-C4 alkoxy, C1-C4 alkyl, halogen or hydroxy.