Structural optimization and design of purging plug for improving its service performance