teeb信息資源平臺-系統改造方案_第1頁
teeb信息資源平臺-系統改造方案_第2頁
teeb信息資源平臺-系統改造方案_第3頁
teeb信息資源平臺-系統改造方案_第4頁
teeb信息資源平臺-系統改造方案_第5頁
已閱讀5頁,還剩18頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

A-增加,D-刪除,M 文檔目 參考資 術語定 需求概 運行環 設計目 設計思 總體架 功能架 技術架 內容管 應用安 數據安 外部安 主要是對teeb(環境保護及生物多樣性)互聯網用戶及環保部用硬件環境:X86200G8G操作系統:windowsserver2003或以上版本;客戶端:IE10性 PORTAL AJAX 工作流 SOAPORTLET 第登前端第登通 登錄進入F登錄界面第登用戶第登陸如圖F,用戶點擊 圖標進入第登錄頁面輸入用戶名和,點擊登陸,進入信息資源平臺。點擊回首頁,放棄登陸,跳轉到首頁通過開放平臺調 、的接口,對接上所需要傳遞的參數,實現登錄前端頁前端頁F界規則,給予提示,點擊,成功跳轉到登錄頁面,失敗返回到頁面。點擊返回登陸,放棄,跳轉到登陸界面記錄用戶操作的信用戶在操作的信息被記錄下來,能找到誰操作過的信息F4.1.18統計人TEEB信息資源平臺首頁界面如圖F4.1.18,統計人統計總人數代碼:用session//統計人ServletContextcontext=arg0.getSession().getServletContext();isitorCount人{WebVisitorCount=new}{intco=WebVisitorCValue();WebVisitorCount=new}context.setAttribute("WebVisitorCount",統計用戶人數代碼 {intuserco=userCValue();userCount=newInteger(userco+1);context.setAttribute("userCount",userCount);}{intuserco=userCValue();userCount=newInteger(userco+0);context.setAttribute("userCount",userCount);}ServletContextintuserco=userCValue();userCount=newInteger(userco-1);context.setAttribute("userCount",userCount);登錄人員(擁有審核權限的查看訪客的記錄信F4.2.12實時統計訪客人數和用戶人記錄所有用戶的信息(IP地址,所屬省份,是否登錄和瀏覽頁面)分析各個省份用戶人數最多的頁面和用戶次數最多的頁面統計總人數代碼:用session//統計人ServletContextcontext=arg0.getSession().getServletContext();isitorCount人數{WebVisitorCount=new}{intco=WebVisitorCValue();WebVisitorCount=new}context.setAttribute("WebVisitorCount",統計用戶人數代碼 {intuserco=userCValue();userCount=newInteger(userco+1);context.setAttribute("userCount",userCount);}{intuserco=userCValue();userCount=newInteger(userco+0);context.setAttribute("userCount",userCount);}ServletContextintuserco=userCValue();userCount=newInteger(userco-context.setAttribute("userCount",獲取用戶信息代碼StringIp=request.getRemoteAddr();StringStringtitle=msgService.queryTitle(pageId);StringIp="14";Stringaddress="";{

address=ipProvince.getAddresses("ip="+Ip,}catch(UnsupportedEncodingException{}{}{}publicclassIpProvince{publicStringgetAddresses(Stringcontent,StringencodingString)throwsUnsupportedEncodingException{pconlineStringurlStr= //從 if(returnStr!={//處理返回的省市區信息String[]tempreturnStr.split(",");return"0";/IP,}Stringregion=(temp[5].split(":"))[1].receAll("\"","");region=decodeUnicode(region);returnregion;//}return}publicStringgetResult(StringurlStr,Stringcontent,String{URLurl=HttpURLConnectionconnection=null;try{url=newconnection=(HttpURLConnection)url.openConnection();//新connection.setConnectTimeout(2000);//connection.setReadTimeout(2000);//設置數據超時時間單connection.setDoOutput(true);true|falseconnection.setnput(true);//是否打開輸入流true|falseconnection.setRequestMethod("POST");//POST|GETconnection.setUseCaches(falsetrue|falseconnection.connect();//打開連接端口DataOutputStreamout=new.getOutputStream());//out.writeBytes(content);// connection.getInputStream(),encoding));//往對端寫完數據BufferedReaderStringBufferbuffer=newStringBuffer();Stringline="";while((line=reader.readLine())!=null){}return}catch(IOExceptione){}{if(connection!={ }return}publicstaticStringdecodeUnicode(StringtheString){charaChar;intlen=StringBufferoutBuffer=newStringBuffer(len);for(intx=0;x<len;){aChar=theString.charAt(x++);if(aChar=='\\'){aChar=theString.charAt(x++);if(aChar=='u'){intvalue=for(inti=0;i<4;i++){aChar=theString.charAt(x++);switch(aChar){casecasecasecasecasecasecasecasecasecasevalue=(value<<4)+aChar-'0';casecasecasecasecasecasevalue=(value<<4)+10+aChar-'a';casecasecasecasecasecasevalue=(value<<4)+10+aChar-'A';thrownewIllegalArgumentException( }}outBuffer.append((char)}elseif(aChar=='t'){aChar='\t';}elseif(aChar=='r'){aChar='\r';}elseif(aChar=='n')aChar=}elseif(aChar=='f'){aChar='\f';}}}{}}return}}無驗證:要求驗證貫串在Web程序的各個頁面:對用戶的要分用戶的角色,用戶的權限劃分要盡量XSS、

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論