The invention relates to a novel pyrazine derivative (which is shown as Formula I) as a SHP2 inhibitor, its synthesis method and its use for treating, inhibiting or preventing a disease or disorder mediated by the activity of SHP2. More particularly, the invention relates to a fused heterocyclic derivative useful as inhibitors of SHP2, methods for producing such compounds and methods for treating, inhibiting or preventing a disease or disorder mediated by the activity of SHP2.本發明關於可用作SHP2抑制劑的新穎吡衍生物(如結構式I所示),及其合成方法及治療、阻止或預防由SHP2活性媒介的疾病或失調。進一步,本發明關於用於作為SHP2抑制劑的融合雜環衍生物,及製備該化合物的方法及治療、阻止或預防由SHP2活性媒介的疾病或不適的方法。