微信公眾號(hào)設(shè)計(jì)外文翻譯文獻(xiàn)_第1頁(yè)
微信公眾號(hào)設(shè)計(jì)外文翻譯文獻(xiàn)_第2頁(yè)
微信公眾號(hào)設(shè)計(jì)外文翻譯文獻(xiàn)_第3頁(yè)
微信公眾號(hào)設(shè)計(jì)外文翻譯文獻(xiàn)_第4頁(yè)
微信公眾號(hào)設(shè)計(jì)外文翻譯文獻(xiàn)_第5頁(yè)
已閱讀5頁(yè),還剩7頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

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

publicNo.background

design1systemdesignTointroducethefollowing

designideas

ofthesystem.1.1overallstructureThefirstis

thestructure

diagram

asshowninfigure5-1-1.寵物資訊微信公眾平臺(tái)寵物資訊微信公眾平臺(tái)微信前端后臺(tái)管理信息管理數(shù)據(jù)更新系統(tǒng)設(shè)置資料更新其它服務(wù)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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論