public ClickStreamLog preProcess(String value) {
        if (value == null || value.length() > 1000000) {
            return null;
        }
        value = this.cleanData(value);
        String logSet[] = value.split(Constant.SEPARATION_CHARACTER);
        if (logSet == null) {
            return null;
        }

        if (logSet.length < 8) {
            return null;
        }
        //url与uuid为空，抛弃该条记录，需要优先处理
        //网页地址
        if (this.urlProcess(logSet[4]).equals("-")) {
            return null;
        }
        //uuid处理
        if (this.uuidProcess("1234jlkfsdk").equals("-")) {
            return null;
        }
        //上次url，没有为“-”
        this.refer_urlProcess(logSet[0]);
        //浏览器版本browser_type
        this.browser_typeProcess(logSet[5]);

        //设备操作系统operation_system
        this.operation_systemProcess(logSet[1]);

        //visit_timestamp 访问的用户端时间戳（ms）,访问的真实服务端日期,访问的真实服务端小时
        this.visit_timestampProcess(logSet[2]);

        //屏幕分辨率,接受到的格式为sr=h1080!l1920
        this.screen_resolutionProcess(logSet[3]);

        //ip的赋值处理
        //用户所在国家
        //用户所在省份
        //用户所在市县
        this.ipProcess(logSet[6]);
        //String recive_time;      //无，web容器获取	服务端接收时间
        //String recive_date;
        //String recive_hour;
        this.receive_timeProcess(logSet[7]);

        //sessionid处理
        this.sessionidProcess("sessionid");
        //session_time处理
        this.session_timeProcess("sessiontime");
        //csvp处理
        this.csvpProcess("csvp");

        ClickStreamLog data = new ClickStreamLog();
        data.setIp(ip);
        data.setCountry(country);
        data.setProvince(province);
        data.setCity(city);

        data.setUuid(uuid);

        data.setUrl(url);
        data.setUtm_medium(utm_medium);
        data.setUtm_source(utm_source);
        data.setUtm_term(utm_term);

        data.setSessionid(sessionid);
        data.setSession_times(session_times);
        data.setCsvp(csvp);

        data.setBrowser_type(browser_type);
        data.setOperation_system(operation_system);
        data.setScreen_resolution(screen_resolution);

        data.setRefer_url(refer_url);

        data.setVisit_timestamp(visit_timestamp);
        data.setReal_date(real_date);
        data.setReal_hour(real_hour);

        data.setReceive_time(receive_time);
        data.setReceive_date(receive_date);
        data.setReceive_hour(receive_hour);
        return data;
    }