public void initStateVariable(String url, String referUrl,String url_md5) {
		if (url == null)
			currentUrl = "";
		else
			currentUrl = url;
		if (referUrl == null)
			previousUrl = "";
		else
			previousUrl = referUrl;
		if (url_md5 == null)
			currentUrl_md5 = "";
		else
			currentUrl_md5 = url_md5;
		preProCurrentUrl();
		preProPreviousUrl();
		proDiffHmParameters();
		if(previousPage.equals(currentPage))
		{
			diffPreAndCur=true;
		}
		try {
			applyStateRules();
		} catch (JSONException e) {
			System.out.println("Ӧjsonʱ!");
			e.printStackTrace();
		}
	}