Positive Mass Theorem and the Boundary Behaviors of Compact Manifolds with Nonnegative Scalar Curvature