欢迎来到天天文库
浏览记录
ID:5551263
大小:77.50 KB
页数:4页
时间:2017-12-18
《华东交大软件体系结构作业》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Question#1:Explaintheconceptofcohesionandcouplinginsoftwarearchitectureanddesign.Pleaseexplainitwithexamplesanddiagrams.CohesioncouplingConceptCohesionfromafunctionalpointofviewtomeasurethecontactmodule,whichdescribesthefunctionwithinthemodulelinks.Thecouplingisbetweenthevariousmodu
2、lesofthesoftwarestructureofmutuallyconnectedameasure,thecouplingstrengthdependsonthecomplexityoftheinterfacebetweenmodules,into,ortoaccessamodulepointandthedatathroughtheinterface.Classification(1)accidentalcohesion.(2)logicalcohesion.(3)withinthepoly(4)withinaprocesspolyethylene(5)
3、communicationpoly(6)inorderwithinthepoly(7)Functioncohesive(1)contentcoupled(2)commoncoupling(3)Theexternalcoupling(4)ControlCoupling(5)markercoupling(6)Datacoupling(7)Anon-directcouplingQuestion#2:Whicharchitecturestyleisbestsuitedfordistributedsoftwaresystem?Explainitwithexamplesa
4、nddiagramsContrastmainstreamB/SandC/Ssystem,thattheB/SismoresuitablefordistributedsystemsB/SC/SDatasecurityB/Sstructureofthesoftwarebecauseofitsdataisstoredcentrallyattheheadquartersofthedatabaseserver,theclientdoesnotsaveanybusinessdataanddatabaseconnectioninformation,withoutthenee
5、dforanydatasynchronization,sothesesecurityproblemswillnotexistnaturallyC/Sstructuresoftwaremustbeinstalledinvariousmultipleservers,anddatasynchronizationbetweenmultipleservers,eachdatapoint,thedatasecurityaffectstheentireapplicationdatasecurity,intermsofthelarge-scaleapplicationofth
6、eGroupclassC/Sstructuresoftware'ssecurityisunacceptable.B/SC/SDataconsistencyThedataisstoredcentrally,theclienteverybusinessdocumentsdirectlyintothecentraldatabase,thereisnodataconsistencyproblemsServermustbesynchronizeddailyaftertheheadquartersbeforeyoucangetthefinaldata,thenumbero
7、fdatacanneverbethesame,cannotbeusedindecision-makingReal-timedataB/Sstructureinrealtimetoseeallthishappenedbusinesstofacilitaterapiddecision-makingtoavoidbusinesslosses.C/Sstructureimpossibleanywheretoseetheoccurrenceofthecurrentbusinesssituation,seeareafterthedataDatatraceabilityB/
8、Sstructureofthedata
此文档下载收益归作者所有