public static void initBloomFilter() {
        try {
            if (filterFile.exists()) {    //如果存在则读入整个对象流
                ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filterFile));
                filter = (BloomFilter) ois.readObject();
                SimpleDateFormat format = new SimpleDateFormat("dd");
                String today = format.format(new Date());
                if (!today.equals(filter.recordDate))
                    filter = new BloomFilter(100000, 15000);
            } else {
                filter = new BloomFilter(100000, 15000);
            }
            System.out.println("[BloomFilter] 初始化成功");
            logger.info("[BloomFilter] 初始化成功");
        }catch (Exception e) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            e.printStackTrace(new PrintStream(baos));
            NewsEyeSpider.logger.debug(baos.toString());
        }
    }