Measurement on the cosmic curvature using the Gaussian process method