计算机网络英文版1

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Chapter1IntroductionLi-pingShen申丽萍Email:shen-lp@cs.sjtu.edu.cn《ComputerNetworkv4》cs.sjtu2004-11-3TopicszWhatisComputerNetworkszUsesofComputerNetworkszComponentsofComputerNetworkszReferenceModelofComputerNetworkszBasicConceptsofDataTransmission《ComputerNetworkv4》cs.sjtu2004-11-3WhatisComputerNetworkzCollectionofautonomouscomputersinterconnectedbyasingletechnology.zTheoldmodelofalargecomputerlinkingmanyterminals,servingalloftheorganization’scomputationalneedsisnowtotallyobsolete.zDistributedSystemisasoftwaresystembuiltontopofanetwork,e.g.《ComputerNetworkv4》cs.sjtu2004-11-3UsesofComputerNetworkszBusinessApplicationszResourceSharingzE-mailzVideoconferencingzE-commercezHomeApplicationszAccesstoremoteinformationzPerson-to-personcommunicationzInteractiveentertainmentzElectroniccommercezMobileUsers:notebook,PDA《ComputerNetworkv4》cs.sjtu2004-11-3client-servermodel《ComputerNetworkv4》cs.sjtu2004-11-3peer-to-peerModelzInpeer-to-peersystemtherearenofixedclientsandservers.《ComputerNetworkv4》cs.sjtu2004-11-3ComponentsofComputerNetworkszHardware:howyoucanconfigureabunchofcomputersintoanetwork:zLocalAreaNetworks(LAN)zMetropolitanAreaNetworks(MAN)zWideAreaNetworks(WAN)zInternetworkszSoftware:Thisiswhatactuallymakescomputernetworks–notthehardware!zProtocols:describehowtwocommunicatingpartiesexchangeinformation.zServices:describewhatanetworkofferstopartiesthatwanttocommunicate.zInterfaces:describehowaclientcanmakeuseofnetworkservices,i.e.howtheservicescanbeaccessed.《ComputerNetworkv4》cs.sjtu2004-11-3NetworkHardwarezTypesoftransmissiontechnologyzBroadcastnetwork:asinglecommunicationchannelissharedbyallcomputers=sendingapacketimpliesthatallothersreceiveit.zPoint-to-pointnetwork:Computersareconnectedinpairs=sendingapacketgoesstrictlyfromthesendertothereceiver,possiblyhavingtovisitintermediatemachines(routing).《ComputerNetworkv4》cs.sjtu2004-11-3Classificationofnetworkbyscale《ComputerNetworkv4》cs.sjtu2004-11-3LocalAreaNetworkszApartfromscale,LANsdistinguishthemselvesfromothernetworksby(generally)usingbroadcasttechnology,zandhavingsimpletopologies:《ComputerNetworkv4》cs.sjtu2004-11-3MetropolitanAreaNetworksAmetropolitanareanetworkbasedoncableTV.《ComputerNetworkv4》cs.sjtu2004-11-3WideAreaNetworkszAstreamofpacketsfromsendertoreceiver.《ComputerNetworkv4》cs.sjtu2004-11-3InternetworkszTheassumptionsofaristhatanetworkishomogeneous:thereishardlyanyvariationinhardwareandsoftware.Inpractice,largenetworkscanonlybeconstructedbyinterconnectingdifferentkindsofnetworks=internet(work).zConnectingLANstoeachotherthroughaWAN(thinkofenterprisenetworksformultinationals).zConnectingWANstoeachother(theInternet).《ComputerNetworkv4》cs.sjtu2004-11-3NetworkSoftwarezProtocolszLayeringzConnection-OrientedandConnectionlessServiceszTheRelationshipofServicestoProtocols《ComputerNetworkv4》cs.sjtu2004-11-3TheNeedforProtocolszBasiccommunicationhardwareconsistsofmechanismsthatcantransferbitsfromonepointtoanother.(cumbersomeandinconvenient)zApplicationprogramsthatuseanetworkdon’tinteractdirectlywithnetworkhardware.Instead,theyinteractwithprotocolsoftwarethatfollowstherulesofagivenprotocol.zAnagreementthatspecifiestheformatandmeaningofmessagescomputersexchangeisknownasacommunicationprotocol,whichhandlesmostlow-levelcommunicationdetails《ComputerNetworkv4》cs.sjtu2004-11-3WhyLayeringzmostnetworksoftwareareorganizedasastackoflayersorlevels,eachonebuiltupontheonebelowit.zToreducedesigncomplexity,dividethecommunicationproblemintosubpiecesandtodesignaseparateprotocolforeachsubpiece,makingeachprotocoleasiertodesign,analyzeandimplement.zIndependence.Eachlayercouldbedesignedindependently,aslongaskeepinmindtheservicesthelowerlayerprovidesforitandtheservicesitshouldprovidesfortheupperlayer.zFlexibility.Allowsubsetsofprotocolsbeusedasneededandallowanyoneoftheprotocolsbereplacedorupdated.《ComputerNetworkv4》cs.sjtu2004-11-3LayeringModelStackLayer3SAPzLayers,protocols,services,interfacesandstack.《ComputerNetworkv4》cs.sjtu2004-11-3ConceptsofLayeringzTwopartiesatdifferentsites,butatthesamelevel,alwaysagreeonhowtheywillexchangeinformation=specifiedinaprotocol.Example:weallagreetospeakEnglish.zInorderforonepartytosendandreceiveinformation,itcanonlymakeuseofthecommunicationservicesofferedbythelayerdirectlyunderneathit.Example:Theuseofinterpretersinnegotiationsbetweencountries.zServicesofferedbyalayerarealwaysfullyspecifiedintermsofaninterfacethatmakesthoseservicesaccessible.Example:phoneshavebuttonsthatallowyouto“dial”anumber.《ComputerNetworkv4》cs.sjtu2004-11-3HowLayeredSoftwareWorkszMultiple,nestedHeaderszProtocolsoftwareinagivenlayeronthesendingcomputeraddsinformation(header)totheoutgoingdata,andsoftwareinthesamelayeronthereceivingcomputerusestheheadertoprocessincomingdata.zOutgoingdatapassesdownthrougheachlayer,withheadersadded,andincomingdatapassesupthrougheachlayer,withheadersverifiedandremoved.zLayeringPrinciple:LayerNsoftwareonthedestinationcomputermustreceiveexactlythemessagesentbylayerNsoftwareonthesendingcomputer.Demo《ComputerNetworkv4》cs.sjtu2004-11-3ServicestoProtocolsRela

1 / 51
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功