基于QT的电子点餐系统的设计与实现-外文翻译_第1页
基于QT的电子点餐系统的设计与实现-外文翻译_第2页
基于QT的电子点餐系统的设计与实现-外文翻译_第3页
基于QT的电子点餐系统的设计与实现-外文翻译_第4页
基于QT的电子点餐系统的设计与实现-外文翻译_第5页
已阅读5页,还剩8页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

0外文原文IntroductiontoTCP/IPSummary:TCPandIPweredevelopedbyaDepartmentofDefense(DOD)researchprojecttoconnectanumberdifferentnetworksdesignedbydifferentvendorsintoanetworkofnetworks(theInternet).Itwasinitiallysuccessfulbecauseitdeliveredafewbasicservicesthateveryoneneeds(filetransfer,electronicmail,remotelogon)acrossaverylargenumberofclientandserversystems.SeveralcomputersinasmalldepartmentcanuseTCP/IP(alongwithotherprotocols)onasingleLAN.TheIPcomponentprovidesroutingfromthedepartmenttotheenterprisenetwork,thentoregionalnetworks,andfinallytotheglobalInternet.Onthebattlefieldacommunicationsnetworkwillsustaindamage,sotheDODdesignedTCP/IPtoberobustandautomaticallyrecoverfromanynodeorphonelinefailure.Thisdesignallowstheconstructionofverylargenetworkswithlesscentralmanagement.However,becauseoftheautomaticrecovery,networkproblemscangoundiagnosedanduncorrectedforlongperiodsoftime.Aswithallothercommunicationsprotocol,TCP/IPiscomposedoflayers:IP-isresponsibleformovingpacketofdatafromnodetonode.IPforwardseachpacketbasedonafourbytedestinationaddress(theIPnumber).TheInternetauthoritiesassignrangesofnumberstodifferentorganizations.Theorganizationsassigngroupsoftheirnumberstodepartments.IPoperatesongatewaymachinesthatmovedatafromdepartmenttoorganizationtoregionandthenaroundtheworld.TCP-isresponsibleforverifyingthecorrectdeliveryofdatafromclienttoserver.Datacanbelostintheintermediatenetwork.TCPaddssupporttodetecterrorsorlostdataandtotriggerretransmissionuntilthedataiscorrectlyandcompletelyreceived.Sockets-isanamegiventothepackageofsubroutinesthatprovideaccesstoTCP/IPonmostsystems.NetworkofLowestBidders1TheArmyputsoutabidonacomputerandDECwinsthebid.TheAirForceputsoutabidandIBMwins.TheNavybidiswonbyUnisys.ThenthePresidentdecidestoinvadeGrenadaandthearmedforcesdiscoverthattheircomputerscannottalktoeachother.TheDODmustbuildanetworkoutofsystemseachofwhich,bylaw,wasdeliveredbythelowestbidderonasinglecontract.TheInternetProtocolwasdevelopedtocreateaNetworkofNetworks(theInternet).IndividualmachinesarefirstconnectedtoaLAN(EthernetorTokenRing).TCP/IPsharestheLANwithotheruses(aNovellfileserver,WindowsforWorkgroupspeersystems).OnedeviceprovidestheTCP/IPconnectionbetweentheLANandtherestoftheworld.Toinsurethatalltypesofsystemsfromallvendorscancommunicate,TCP/IPisabsolutelystandardizedontheLAN.However,largernetworksbasedonlongdistancesandphonelinesaremorevolatile.IntheUS,manylargecorporationswouldwishtoreuselargeinternalnetworksbasedonIBMsSNA.InEurope,thenationalphonecompaniestraditionallystandardizeonX.25.However,thesuddenexplosionofhighspeedmicroprocessors,fiberoptics,anddigitalphonesystemshascreatedaburstofnewoptions:ISDN,framerelay,FDDI,AsynchronousTransferMode(ATM).Newtechnologiesariseandbecomeobsoletewithinafewyears.WithcableTVandphonecompaniescompetingtobuildtheNationalInformationSuperhighway,nosinglestandardcangoverncitywide,nationwide,orworldwidecommunications.TheoriginaldesignofTCP/IPasaNetworkofNetworksfitsnicelywithinthecurrenttechnologicaluncertainty.TCP/IPdatacanbesentacrossaLAN,oritcanbecarriedwithinaninternalcorporateSNAnetwork,oritcanpiggybackonthecableTVservice.Furthermore,machinesconnectedtoanyofthesenetworkscancommunicatetoanyothernetworkthroughgatewayssuppliedbythenetworkvendor.AddressesEachtechnologyhasitsownconventionfortransmittingmessagesbetweentwomachineswithinthesamenetwork.OnaLAN,messagesaresentbetweenmachinesbysupplyingthesixbyteuniqueidentifier(theMACaddress).InanSNAnetwork,every2machinehasLogicalUnitswiththeirownnetworkaddress.DECNET,Appletalk,andNovellIPXallhaveaschemeforassigningnumberstoeachlocalnetworkandtoeachworkstationattachedtothenetwork.Ontopoftheselocalorvendorspecificnetworkaddresses,TCP/IPassignsauniquenumbertoeveryworkstationintheworld.ThisIPnumberisafourbytevaluethat,byconvention,isexpressedbyconvertingeachbyteintoadecimalnumber(0to255)andseparatingthebyteswithaperiod.Forexample,thePCLubeandTuneserveris34.AnorganizationbeginsbysendingelectronicmailtoHostmasterINTERNIC.NETrequestingassignmentofanetworknumber.ItisstillpossibleforalmostanyonetogetassignmentofanumberforasmallClassCnetworkinwhichthefirstthreebytesidentifythenetworkandthelastbyteidentifiestheindividualcomputer.Theauthorfollowedthisprocedureandwasassignedthenumbers192.35.91.*foranetworkofcomputersathishouse.LargerorganizationscangetaClassBnetworkwherethefirsttwobytesidentifythenetworkandthelasttwobytesidentifyeachofupto64thousandindividualworkstations.YalesClassBnetworkis130.132,soallcomputerswithIPaddress130.132.*.*areconnectedthroughYale.TheorganizationthenconnectstotheInternetthroughoneofadozenregionalorspecializednetworksuppliers.Thenetworkvendorisgiventhesubscribernetworknumberandaddsittotheroutingconfigurationinitsownmachinesandthoseoftheothermajornetworksuppliers.Thereisnomathematicalformulathattranslatesthenumbers192.35.91or130.132intoYaleUniversityorNewHaven,CT.ThemachinesthatmanagelargeregionalnetworksorthecentralInternetroutersmanagedbytheNationalScienceFoundationcanonlylocatethesenetworksbylookingeachnetworknumberupinatable.TherearepotentiallythousandsofClassBnetworks,andmillionsofClassCnetworks,butcomputermemorycostsarelow,sothetablesarereasonable.CustomersthatconnecttotheInternet,evencustomersaslargeasIBM,donotneedtomaintainanyinformationonothernetworks.Theysendallexternaldatatotheregionalcarriertowhichtheysubscribe,andtheregionalcarrier3maintainsthetablesanddoestheappropriaterouting.NewHavenisinaborderstate,split50-50betweentheYankeesandtheRedSox.Inthisspirit,YalerecentlyswitcheditsconnectionfromtheMiddleAtlanticregionalnetworktotheNewEnglandcarrier.Whentheswitchoccurred,tablesintheotherregionalareasandinthenationalspinehadtobeupdated,sothattrafficfor130.132wasroutedthroughBostoninsteadofNewJersey.Thelargenetworkcarriershandlethepaperworkandcanperformsuchaswitchgivensufficientnotice.Duringaconversionperiod,theuniversitywasconnectedtobothnetworkssothatmessagescouldarrivethrougheitherpath.SubnetsAlthoughtheindividualsubscribersdonotneedtotabulatenetworknumbersorprovideexplicitrouting,itisconvenientformostClassBnetworkstobeinternallymanagedasamuchsmallerandsimplerversionofthelargernetworkorganizations.ItiscommontosubdividethetwobytesavailableforinternalassignmentintoaonebytedepartmentnumberandaonebyteworkstationID.TheenterprisenetworkisbuiltusingcommerciallyavailableTCP/IProuterboxes.Eachrouterhassmalltableswith255entriestotranslatetheonebytedepartmentnumberintoselectionofadestinationEthernetconnectedtooneoftherouters.MessagestothePCLubeandTuneserver(34)aresentthroughthenationalandNewEnglandregionalnetworksbasedonthe130.132partofthenumber.ArrivingatYale,the59departmentIDselectsanEthernetconnectorintheC&ISbuilding.The234selectsaparticularworkstationonthatLAN.TheYalenetworkmustbeupdatedasnewEthernetsanddepartmentsareadded,butitisnoteffectedbychangesoutsidetheuniversityorthemovementofmachineswithinthedepartment.AUncertainPathEverytimeamessagearrivesatanIProuter,itmakesanindividualdecisionaboutwheretosenditnext.Thereisconceptofasessionwithapreselectedpathforalltraffic.ConsideracompanywithfacilitiesinNewYork,LosAngeles,ChicagoandAtlanta.Itcouldbuildanetworkfromfourphonelinesformingaloop(NYtoChicagotoLAtoAtlantatoNY).A4messagearrivingattheNYroutercouldgotoLAviaeitherChicagoorAtlanta.Thereplycouldcomebacktheotherway.Howdoestheroutermakeadecisionbetweenroutes?Thereisnocorrectanswer.Trafficcouldberoutedbytheclockwisealgorithm(goNYtoAtlanta,LAtoChicago).Therouterscouldalternate,sendingonemessagetoAtlantaandthenexttoChicago.Moresophisticatedroutingmeasurestrafficpatternsandsendsdatathroughtheleastbusylink.Ifonephonelineinthisnetworkbreaksdown,trafficcanstillreachitsdestinationthrougharoundaboutpath.AfterlosingtheNYtoChicagoline,datacanbesentNYtoAtlantatoLAtoChicago.Thisprovidescontinuedservicethoughwithdegradedperformance.ThiskindofrecoveryistheprimarydesignfeatureofIP.ThelossofthelineisimmediatelydetectedbytheroutersinNYandChicago,butsomehowthisinformationmustbesenttotheothernodes.Otherwise,LAcouldcontinuetosendNYmessagesthroughChicago,wheretheyarriveatadeadend.EachnetworkadoptssomeRouterProtocolwhichperiodicallyupdatestheroutingtablesthroughoutthenetworkwithinformationaboutchangesinroutestatus.Ifthesizeofthenetworkgrows,thenthecomplexityoftheroutingupdateswillincreaseaswillthecostoftransmittingthem.BuildingasinglenetworkthatcoverstheentireUSwouldbeunreasonablycomplicated.Fortunately,theInternetisdesignedasaNetworkofNetworks.Thismeansthatloopsandredundancyarebuiltintoeachregionalcarrier.Theregionalnetworkhandlesitsownproblemsandreroutesmessagesinternally.ItsRouterProtocolupdatesthetablesinitsownrouters,butnoroutingupdatesneedtopropagatefromaregionalcarriertotheNSFspineortotheotherregions(unless,ofcourse,asubscriberswitchespermanentlyfromoneregiontoanother).UndiagnosedProblemsIBMdesignsitsSNAnetworkstobecentrallymanaged.Ifanyerroroccurs,itisreportedtothenetworkauthorities.Bydesign,anyerrorisaproblemthatshouldbecorrectedorrepaired.IPnetworks,however,weredesignedtoberobust.Inbattlefieldconditions,thelossofanodeorlineisanormalcircumstance.Casualtiescanbesortedoutlateron,butthenetworkmuststayup.SoIPnetworksarerobust.Theyautomatically(andsilently)5reconfigurethemselveswhensomethinggoeswrong.Ifthereisenoughredundancybuiltintothesystem,thencommunicationismaintained.In1975whenSNAwasdesigned,suchredundancywouldbeprohibitivelyexpensive,oritmighthavebeenarguedthatonlytheDefenseDepartmentcouldaffordit.Today,however,simplerouterscostnomorethanaPC.However,theTCP/IPdesignthat,Errorsarenormalandcanbelargelyignored,producesproblemsofitsown.Datatrafficisfrequentlyorganizedaroundhubs,muchlikeairlinetraffic.OnecouldimagineanIProuterinAtlantaroutingmessagesforsmallercitiesthroughouttheSoutheast.Theproblemisthatdataarriveswithoutareservation.Airlinecompaniesexperiencetheproblemaroundmajorevents,liketheSuperBowl.Justbeforethegame,everyonewantstoflyintothecity.Afterthegame,everyonewantstoflyout.Imbalanceoccursonthenetworkwhensomethingnewgetsadvertised.AdamCandhisregionalcarrierwasswampedwithtrafficthenextday.Theproblemisthatmessagescomeinfromtheentireworldoverhighspeedlines,overwhatwasthenaslowspeedphoneline.Occasionallyasnowstormcancelsflightsandairportsfillupwithstrandedpassengers.Manygoofftohotelsintown.Whendataarrivesatacongestedrouter,thereisnoplacetosendtheoverflow.Excesspacketsaresimplydiscarded.Itbecomestheresponsibilityofthesendertoretrythedataafewsecondslaterandtopersistuntilitfinallygetsthrough.ThisrecoveryisprovidedbytheTCPcomponentoftheInternetprotocol.TCPwasdesignedtorecoverfromnodeorlinefailureswherethenetworkpropagatesroutingtablechangestoallrouternodes.Sincetheupdatetakessometime,TCPisslowtoinitiaterecovery.TheTCPalgorithmsarenottunedtooptimallyhandlepacketlossduetotrafficcongestion.Instead,thetraditionalInternetresponsetotrafficproblemshasbeentoincreasethespeedoflinesandequipmentinordertosayaheadofgrowthindemand.TCPtreatsthedataasastreamofbytes.Itlogicallyassignsasequencenumbertoeachbyte.TheTCPpackethasaheaderthatsays,ineffect,Thispacketstartswithbyte379642andcontains200bytesofdata.Thereceivercandetectmissingorincorrectlysequencedpackets.TCPacknowledgesdatathathasbeenreceivedandretransmitsdatathathasbeen6lost.TheTCPdesignmeansthaterrorrecoveryisdoneend-to-endbetweentheClientandServermachine.Thereisnoformalstandardfortrackingproblemsinthemiddleofthenetwork,thougheachnetworkhasadoptedsomeadhoctools.NeedtoKnowTherearethreelevelsofTCP/IPknowledge.Thosewhoadministeraregionalornationalnetworkmustdesignasystemoflongdistancephonelines,dedicatedroutingdevices,andverylargeconfigurationfiles.TheymustknowtheIPnumbersandphysicallocationsofthousandsofsubscribernetworks.Theymustalsohaveaformalnetworkmonitorstrategytodetectproblemsandrespondquickly.EachlargecompanyoruniversitythatsubscribestotheInternetmusthaveanintermediatelevelofnetworkorganizationandexpertise.AhalfdozenroutersmightbeconfiguredtoconnectseveraldozendepartmentalLANsinseveralbuildings.Alltrafficoutsidetheorganizationwouldtypicallyberoutedtoasingleconnectiontoaregionalnetworkprovider.However,theendusercaninstallTCP/IPonapersonalcomputerwithoutanyknowledgeofeitherthecorporateorregionalnetwork.Threepiecesofinformationarerequired:1.TheIPaddressassignedtothispersonalcomputerThepartoftheIPaddress(thesubnetmask)thatdistinguishesothermachinesonthesameLAN(messagescanbesenttothemdirectly)frommachinesinotherdepartmentsorelsewhereintheworld(whicharesenttoaroutermachine)2.TheIPaddressoftheroutermachinethatconnectsthisLANtotherestoftheworld.3.InthecaseofthePCLTserver,theIPaddressis34.Sincethefirstthreebytesdesignatethisdepartment,asubnetmaskisdefinedas(255isthelargestbytevalueandrepresentsthenumberwithallbitsturnedon).ItisaYaleconvention(whichwerecommendtoeveryone)thattherouterforeachdepartmenthavestationnumber1withinthedepartmentnetwork.ThusthePCLTrouteris.ThusthePCLTserverisconfiguredwiththevalues:MyIPaddress:347Subnetmask:Defaultrouter:ThesubnetmasktellstheserverthatanyothermachinewithanIPaddressbeginning130.132.59.*isonthesamedepartmentLAN,somessagesaresenttoitdirectly.AnyIPaddressbeginningwithadifferentvalueisaccessedindirectlybysendingthemessagethroughtherouterat(whichisonthedepartmentalLAN).Additionalinformationisavailableinself-studycoursesfromSRA(1-800-SRA-1277)TCP/IP34610Copyright1995PCLT-IntroductiontoTCP/IP-H.Gilbert8中文翻译摘要:TCP/IP是由美国国防部(DOD)开发的一个研究项目,用以将不同的网络厂商设计的不同网络连接到由许多网络组成的一个网络中(即“互联网”)。它取得了初步的成功,因为它通过穿越大量的客户机与服务器系统向人们提供了一些基本的需求服务(如文件传输的基本服务,电子邮件,远程登录)。在一个单一局域网中一个小部门多台计算机可以使用TCP/IP(同其他协议)。IP组件提供的路由可以从部门到企业网络,然后再到区域网络,并最终接入全球互联网。在战场上,通信网络将面临被破坏的危险,因此,美国国防部设计的TCP/IP要很健全稳定,并能从任何节点或电话线路故障中自动恢复。这样的设计允许在较少的中央控制下组建庞大的网络。此外,由于自动恢复机制,网络问题可以在很长一段时间内不被进行问题诊断和错误纠正。正如其他所有通信协议,TCP/IP协议是由多个层组成的:IP-负责将数据包从一个节点移动到另一个节点。每个数据包的IP转发基于四字节的目的地址(IP地址)。互联网管理机构对不同地区组织分配了一定数量的IP地址。各地区组织将他们所拥有的地址划分成数个组再分配到各个部门。IP运行在被称为网关的机器上面,而网关的作用是将数据包层层转发,从部门到组织再到地区最后送达全世界。TCP-负责核查从客户传送到服务器的数据正确性。数据在传递时可能会在中间的网络发生丢失。TCP增加了对错误以及丢失数据的检测并且能在发生问题时激活数据重传机制直到数据被正确和完整的接收。Sockets是一个数据包子程序的名称,该子程序能提供在大多数系统上接入TCP/IP的功能。网络的最低投标美国陆军提出了一个计算机上系统上的竞标由DEC公司赢得。美国空军也提出一个竞标并由IBM公司赢得。而美国海军的竞标则由Unisys公司赢得。当美国总统决定入侵格林纳达时,美国军方发现他们的陆海空三军各自所拥有的计算机不能与其他军种的计算机相互通信。因此,美国国防部必须建立一个网络体系,它不依赖于陆海空三军各自根据法律法规由最低竞价者按照合同所交付的计算机系统。开发Internet协议是为了建立一个将许多不同网络集合在一起的网络(以下简称“互联网”)。独立的机器都首先连接到局域网(以太网或令牌环)。TCP/IP协议与其他应用共同使用局域网(如Novell文件服务器,WindowsforWorkgroups的对等系统)。一台设备在局域网和世界的剩余地区提供TCP/IP连接。为了确保所有供应商的所有类型的系统可以彼此相互沟通,TCP/IP协议是局域网上的绝对标准。不过,基于长途电话线介质基础上的较大网络更加不稳定。在美国,许多大公司希望重新使用以IBM的SNA为基础的庞大的内部网络。在欧洲,国家通信公司传统上以X.25为标准。然而,随着高速微处理器、光纤以及数字电话系统的迅猛发展产生了一些新的选择:综合业务数字网(ISDN),帧中继,光纤分布式数据介面(FDDI),异步传输模式(ATM)。新技术诞生并在几年内就成为了过时产品。随着有线电视和电话公司竞相建立国家信息高速公路,没有一个标准可以统治全市,全国或全球通信。TCP/IP将众多网络再次组合成为一个网络,在当今技术存在不确定性的条件下,TCP/IP的原始设计是非常适合的。TCP/IP数据可以通过局域网发送,也可以在企业9SNA网络内部被传输,也可以搭载在有线电视服务网上。此外,接入这些网络的机器设备可以在网络供应商提供支持的情况下通过网关与其他任何网络进行通信交流。地址每一项技术都有其自己的公约使两台机器在同一个网络内的传递信息。在一个局域网内,根据所提供的六字节唯一标示符(即网卡物理地址MAC)使得消息在机器设备之间传递。在一个SNA网络,每一台机器拥有自己的网络地址逻辑单元。DECNET,AppleTalk以及NovellIPX都一套体系用来给每个本地网络以及接入网络的每一个工作站分配地址。在这些地方或供应商特定的网络地址中,TCP/IP给全球每一个工作站分配一个独一无二的地址。这种“IP地址”是一个4字节的值,按照约定,每一个字节通过将其转变成一个范围从0到255的十进制数来表示,并且每一个字节通过句点来作为间隔。例如,“PCLubeandTune”的服务器IP地址是34。一个组织起初可以通过向HostmasterINTERNIC.NET发送电子邮件来申请获得一个网络地址。几乎对于任何人来说申请得到一个小的C类网络地址也是可能的,这个C类网络地址前三个字节用于识别网络而最后一个字节用于标明独立的电脑。作者根据这个流程,为他放置在房屋里的电脑所组成的网络分配到了192.35.91.*这个地址群。大型组织可以得到“B类”网络,其中前两个字节识别网络而最后两个字节可以识别多达64000个人工作站。耶鲁大学的B类网络是130.132,因此耶鲁大学所有IP地址是130.132.*.*的计算机被连接在一起。然后该组织经过十几个区域中的一个或专门的网络供应商接入到互联网。该网络供应商得到用户的网络地址,并将其添加在自己机器和其他主要的网络供应商机器的路由选择配置中。将网络地址192.35.91或者130.132翻译计算成“耶鲁大学”或者“纽黑文市,康涅狄格州”是没有数学公式可循的。那些管理较大区域网络的计算机或者由国家科学基金会管理的中央因特网路由器只有通过搜寻路由表中每个网络地址才能定位到这些网络。尽管潜在着上千个B类网络地址以及上百万个C类网络地址,但是由于计算机存储器成本低廉,因此路由表的存在是合情合理的。接入到互联网的用户,甚至是像IBM这样庞大的机构,都不需要维护归属于其它网络的任何信息。他们向指定的区域运营商发送外部数据,而这些区域运营商维护路由表并且为数据选择合适的路由。纽黑文市在美国的边界州一带,洋基棒球队和红袜棒球队各占它一半地域。本着这一精神,耶鲁大学最近把它的连接大西洋沿岸中部地区网络转变到新英格兰的载体。当转换发生时,在其他地区的以及国家骨干网的路由表都必须更新,因此,130.132地址的数据传输在路由时通过的是波士顿而不是新泽西。大型网络运营商处理这些文档工作,并可以根据所给的通知来做出这样的转变。在转换期间,大学接入到两个网络之中以便使信息能够通过的两条中的任意一条路径到达目的地。子网虽然个人用户不需要将网络地址制表或提供明确的路由,但是使大多数B类网络相较于大型网络组织机构而言简化成内部管理型的网络组织机构无疑是很方便的。很常见的划分方式是把可利用的两字节进一步划分成一字节代表部门网络地址而剩下一字节代表工作站标示符。企业网络是使用商用TCP/IP路由器框建立起来的。每个路由器拥有带有255个入口的简单路由表,该表用来将一字节的部门网络地址翻译成一个路由器地址选项,该路由器连接着目的以太网。发送给PCLubeandTune服务器(34)的消息通过基于地址部分为130.132的国家网络以及新英格兰地区网络来传输。到达耶鲁10大学后,地址中的59为部门标示符,它选择在C&IS大楼里的一个以太网连接器。地址中的234则选择在局域网中的一个特定工作站。不确定路径每次信息在到达IP路由器时,它会做一个独立选择来确定下一步它该被送往何处。这里有一个为所有道路预先选择路径的一个会话的概念。假设一个拥有众多设施的公司分布于纽约、洛杉矶、芝加哥和亚特兰大。它可以从四条电话线路所构成的回环(纽约芝加哥洛杉矶亚特兰大纽约)中建立起一个网络。一个消息在抵达纽约路由器时可以经由芝加哥或者亚特兰大前往洛杉矶,而该消息回复则可以通过别的通路返回到始发地。然而路由器是如何在多条路由中选择一条合适的呢?这个问题是没有正确的答案的。路由线路可以根据“顺时针”算法来得出(从纽约到亚特兰大,从洛杉矶到芝加哥)。这些路由器是可以替换的,路由器发送一个消息亚特兰大然后下一步到芝加哥。如果这个网络中的一条电话线路发生故障,数据仍可以通过一个回旋路径到达其目的地。当纽约到芝加哥这条线路中断后,数据仍可以通过纽约到亚特兰大再到洛杉矶后被送达芝加哥。尽管这样会导致性能下降,但是此方式能保持服务持续被提供。这种恢复机制是IP设计的初衷。线路出现中断问题被纽约和芝加哥的路由器立即检测到,不过这个出错信息必须设法通知到网络上的其它节点,否则,洛杉矶可以继续通过芝加哥向纽约发送消息,然而这些消息却到达了一个死胡同。每个网络都采用一些路由协议来定期更新包含整个网络路由状况改变信息的路由表内容。如果网络规模不断增长,则该路由更新的复杂性将增加,同时也会增加传递路由信息的成本。建立一个覆盖全美国的单一网络无疑是过于复杂的。幸运的是,互联网被设计成一个由众多网络组合在一起的网络。这表明,对信息的循环和冗余被纳入各区域承载器的架构之中。区域网络在内部处理它自己的问题并且重新路由转发消息。它的路由协议更新了自己的路由器表,但不需要将该更新信息从区域路由器传送到国家科学基金会骨干网或者其它地区(除非,当然,用户永久的从一个地区切换

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论