Provided are a pyrimidinyl amino compound having protein kinase inhibitor activity, and a pharmaceutical composition containing said compound; also provided are a use and application of said compound. What is provided is selected from a group consisting of the compound represented by formula (I), a stereoisomer thereof, a tautomer thereof, a pharmacologically acceptable salt thereof, a solvate thereof, and a prodrug thereof. The described compound has good inhibitory activity against the JAK family of kinases and the SYK family of kinases, and therefore may serve as a JAK inhibitor and SYK inhibitor, and is effective in use for the prevention or treatment of diseases related to the JAK and SYK families of kinases.