微信公眾號設計外文翻譯文獻_第1頁
微信公眾號設計外文翻譯文獻_第2頁
微信公眾號設計外文翻譯文獻_第3頁
微信公眾號設計外文翻譯文獻_第4頁
微信公眾號設計外文翻譯文獻_第5頁
已閱讀5頁,還剩7頁未讀 繼續免費閱讀

下載本文檔

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

文檔簡介

微信公眾號設計外文翻譯文獻PAGE1微信公眾號設計外文翻譯文獻(文檔含中英文對照即英文原文和中文翻譯)微信公眾號后臺設計下面來介紹一下本系統的總體設計思路。1總體結構首先是結構圖如圖5-1-1所示。寵物資訊微信公眾平臺寵物資訊微信公眾平臺微信前端后臺管理信息管理數據更新系統設置資料更新其它服務圖5-1-1總體結構圖1.1功能分配通過對上面功能需求的分析總結得出,各項功能需求的實現同各塊程序的分配關系如表5-1-2所示。表5-1-2功能分配表用戶資訊圖片添加√√√修改√√√刪除√√√查看√√2數據結構設計數據結構是代碼實現的先決條件,一個良好的數據設計可以使各部分功能實現起來更加輕松。2.1邏輯結構設計 數據庫的邏輯設計是將各局部的結構圖進行分解、合并后重新組織起來形成數據庫全局邏輯結構,包括所確定的關鍵字和屬性、重新確定的記錄結構、所建立的各個數據之間的相互關系。根據本系統需求分析,系統的數據庫包括了身份驗證、管理員身份、用戶身份、數據同居和論壇檢索等幾個部分。2.2物理結構設計此處只列舉出部分數據庫表的設計數據結構和程序關系數據結構為關系型數據庫,所以,在程序中可以通過標準的SQL語句與數據結構進行交互,交互過程中采用通用的數據庫訪問接口。為了保持良好的程序架構,對數據庫訪問采用DAO設計模式實現,提高維護性及擴展性。物理數據結構主要用于各模塊之間信息的傳遞,借口傳遞的信息將是以數據結構封裝了得數據,以參數傳遞或返回值的形式在各模塊之間傳輸。3運行設計運行設計包括運行模塊組合、運行控制和運行時間。3.1運行模塊組合本程序主要是以一個網頁為模塊,一般一個網頁完成一個特定的功能,主網頁通過打開另一個子網頁來實現各個模塊之間不同的功能的連接和組合。各個模塊之間相對獨立,程序的可移植性好。各個模塊之間主要以傳遞數據項的引用來實現模塊之間的合作和數據共享。運行控制只要符合操作說明書,用戶可以自由控制,不額外限定用戶輸入,異常程序內部進行處理,給出相應的提示信息。3.2運行時間由用戶決定,但每次操作的響應時間上限控制在3s以內4出錯處理設計我認為,只要是人做出來的系統是不可能沒有出錯的時候,更何況是我這樣剛畢業的新手。所以我還設計了出錯處理,主要是對我能想到的可能出現的錯誤或者說bug進行的分析和處理。4.1數據庫連接錯誤這類錯誤主要是數據庫設置不正確引起的,我們只要取消本次操作,提醒維護人員自己檢查數據庫問題即可。4.2輸入錯誤主要是用戶輸入不規范造成的,我們在盡量減少用戶出錯的條件的情況下對用戶進行提醒,然后再次操作。4.3亂碼主要發生在提交漢字信息的情況下,這是我們只需要對提交的漢字從新進行編碼即可。4.4操作錯誤對于用戶的不正當操作,有可能是程序發生錯誤。我們主要是種植操作,并提醒用戶種植的原因和操作規范。4.5不可預知錯誤程序也會有一些我們無法預知或沒有考慮完全的錯誤,我們對此不可能做出完全的異常處理,為了保證數據的安全,要經常對數據庫進行備份。然后犯規錯誤信息,以逐步完善程序。5安全保密設計5.1系統安全常見的系統安全有網絡蠕蟲侵害,系統漏洞與補丁,以及客戶信息丟失等。應對知識庫進行安全的開發與管理。以及定時發布安全信息警告。常用的系統安全措施有:安裝安全工具,在使用論壇時,一定要為電腦安裝安全工具,同時把效驗碼放到安全的地方,以便日后對系統進行檢查。配置防火墻對網絡進行預防。根據CERT的UNIX/NT配置指南檢查系統的安全性。CERT的UNIX/NT配置指南可以幫助你檢查系統中容易被入侵者利用的配置問題。5.2數據安全數據安全主要包括以下幾個方面:對數據用戶進行身份鑒別。訪問主體、訪問對象的控制策略和實現方法。數據加密方法。6維護設計基礎數據維護:對于一些基礎數據,安排管理員進行維護數據庫備份和恢復:利用NavicatforMySQL自身提供的備份和恢復功能實現。系統升級維護:根據用戶使用效果調查表,篩選用戶提出的功能要求,對于合理的要求予以采納,并安排人員對系統進行修改和完善。定期建立數據庫備份,一旦服務器數據庫被破壞,可以使用最近的一份數據庫副本進行還原。為防止服務器故障,預備另外一臺服務器,主要主服務器出現故障,可以迅速啟動預備服務器運行系統。恢復及再啟動技術說明將使用的恢復再啟動技術,使軟件從故障點恢復執行或使軟件從頭開始重新運行的方法。WeChat

publicNo.background

design1systemdesignTointroducethefollowing

designideas

ofthesystem.1.1overallstructureThefirstis

thestructure

diagram

asshowninfigure5-1-1.寵物資訊微信公眾平臺寵物資訊微信公眾平臺微信前端后臺管理信息管理數據更新系統設置資料更新其它服務Figure5-1-1

schematicstructure1.2distribution

functionThroughtheanalysisofthefunctionalrequirementsoftheabovearesummarized,thefunctionalrequirementstoachievetable5-1-2shownwitheachblockdistributionrelationship.Table5-1-2

function

allocationtableUserInformationPictureAddto√√√Modify√√√Delete√√√check√√2datastructuredesignDatastructureisthecodetoachievetheprerequisites,agooddatadesigncanmakethefunctionofeachpartcanbemoreeasily.2.1LogicalstructuredesignLogicdesignofthedatabaseisdecomposition,mergerandreorganizedintoglobaldatabaselogicstructureofthevariouspartsofthestructure,includingtherelationshipbetweenthedeterminedkeywordsandattributes,todeterminetherecordstructure,theestablishmentofvariousdata.

Accordingtothesystemdemandanalysis,systemdatabaseincludesauthentication,administrator,useridentity,cohabitationdataandforumretrievalseveralparts.2.2PhysicalstructuredesignHere

onlytoenumerate

partofthedesignof

datastructureandprogram

databasetablerelationshipDatastructurefortherelationaldatabase,sointheprogramcaninteractviastandardSQLstatementsanddatastructure,interactionprocessinthegeneraldatabaseaccessinterface.Inorderto

maintainagood

programstructure,

accesstothedatabase

usingDAOdesignmode,

improvethe

maintainabilityandscalability.

Physicalstructureofthedataismainlyusedfortheinformationtransferbetweeneachmodule,anexcusetodelivertheinformationwillbeencapsulatedinthedatastructureofterribledata,topassparametersorreturnvaluesoftransmissionbetweenthemodules.3OperationdesignTheoperationdesign

includestheoperation

modulecombination,

operationcontrol

andoperation

time.3.1operation

moduleThisprocedureismainlytoawebpagemodule,generalawebpagecompleteaspecificfunction,themainpagethroughopenanothersubpagetorealizeeachmodulebetweendifferentfunctionalconnectionsandcombinations.

Eachmodule

isindependent,

programportability.

Eachmodule

betweenthemain

reference

to

thedataitem

toachieve

datasharingand

cooperation

betweenmodules.

OperationcontrolAslongasitmeetstheoperatinginstructions,theusercancontrolthefree,noextralimiteduserinput,internalprogramexceptionprocessingarethecorrespondingmessage.3.2RuntimeThedecisionbytheuser,

buttheresponsetime

limit

ofeachoperation

within3S.4DesignoftheerrorIbelievethataslongaspeoplemakeitouttothesystemisnotpossiblewithouterrorwhen,nottomentionIjustgraduatedfromthenovice.

SoIdesignedtheerrorhandling,mainlyistoIcanthinkofpossibleerrororbuganalysisandprocessing.4.1databaseconnectionerrorThistypeoferrorismainlydatabasesettingsincorrectcaused,wejustcanceltheoperationremindmaintenancepersonneltochecktheirdatabasecanbe.4.2inputerrorIsmainlyuserinputcausedbyirregular,weinminimizingtheerrortotheuserforremindingauser,andthenretrytheoperationagain.4.3GarbledMainlyoccursinthe

caseof

information

submitted

Chinesecharacters,

thisis

weonlyneedtosubmit

the

code

to

thenew

Chinesecharacters.4.4OperationerrorThe

improper

operationoftheuser,

there

maybeanerror

program.

We

are

planting,

reasonsandoperatingrules

andalertstheuser

ofthe

plant.4.5unpredictable

errorProcedureswillbesomewecannotpredictornotconsideredcompletelywrong,wethiscouldmakeacompleteexceptionhandling,oftenmakeabackupcopyofthedatabasetoensuredatasecurity.

Thenfoul

errorinformation,

inordertograduallyimprovethe

program.5Security

design5.1systemsecurityCommon

systemsecurity

network

worm

infringement,

systemvulnerabilitiesand

patches,

andthe

lossofcustomerinformation

etc..

Todealwiththe

knowledgebase

forthedevelopmentandmanagement

ofsafety.

Safety

warning

information

andtimedrelease.

Systemsecuritymeasures

arecommonlyused:installationsecuritytools,intheuseoftheforum,besuretoinstallsecuritytoolsforcomputer,atthesametime,thechecksumintoasafeplace,forthefutureofthesystemareexamined.

configure

thefirewalltonetwork

prevention.accordingtothe

UNIX/NTsecurity

configurationguide

inspectionsystem

ofCERT.

UNIX/NTconfigurationguide

CERTcan

helpyou

tocheckthesystem

configuration

to

intrudersuse.5.2datasecurityDatasecurity

mainlyincludesthefollowingseveralaspects:

ofthedata

user

identification.themain

access

controlstrategy

andrealizationmethodof

accessobject.dataencryptionmethod.6maintenancedesignA.

basicdatamaintenance:

forsomeofthebasic

data,

arrangethe

maintenance

administratorB.databasebackupandrecovery:

usin

溫馨提示

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

最新文檔

評論

0/150

提交評論