GLProtein is the first framework for global protein learning, integrating both global structural similarity and local amino acid information to improve prediction accuracy and functional insights. In addition to traditional protein sequence analysis, it leverages not only 3D structural information but also local information at the amino acid molecular level and global information such as protein-protein structural similarity. By innovatively combining masked protein modeling, triplet structural similarity scoring, 3D distance encoding, and substructure-based amino acid molecular encoding, it outperforms existing methods in various bioinformatics tasks, including protein-protein interaction prediction and contact prediction.