public static void write2ForeignServiceFile(){
		File file = new File(Util.FOREIGNSERVICEPATH);
		if(!file.getParentFile().exists()){
			file.getParentFile().exists();
		}
		try {
			OutputStream out = new FileOutputStream(file);
			ObjectOutputStream objOut = new ObjectOutputStream(out);
			//ȡforeignServiceMap
			objOut.writeObject(OnceClass.getOnce().getForeignServiceMap());
			objOut.close();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
	}