code: public static long getId(int serverId)
  	{
  		synchronized (seq) {
  			long second=System.currentTimeMillis()/1000;
  			System.out.println("second:"+second);
  			int inc=seq.incrementAndGet();
  			System.out.println("inc:"+inc);
  			return ((long)(serverId & 0xFFFF))<< 48 | 
  					((second & 0x00000000FFFFFFFF) <<16) | (inc & 0x0000FFFF);
  		}
  	}
docs: serverId(16位)-sec(32位)-seq(16位)
  @param serverId 支持65535个服务器
  @return