完善网络状态检测，移除不和谐字符串