版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter14X.25第十四章X.2514.1X.25Layer14.2PacketLayerProtocol12.5SummaryContentsIntroductionofX.25X.25isapacketswitchingprotocol,developedbytheITU-Tin1976.TheformaldefinitionofX.25isaninterfacebetweenDTEandDCEforterminaloperationatthepacketmodeonpublicdatanetworks.Informally,wecansaythatX.25isapacketswitchingprotocolusedinawideareanetwork.X.25defineshowapacket-modeterminalcanbeconnectedtoapacketnetworkfortheexchangeofdata.ConceptualoverviewofX.25IntroductionofX.25AlthoughX.25isanend-to-endprotocol,theactualmovementofpacketsthroughthenetworkisinvisibletoit.IntroductionofX.25X.25isknownasasubscribernetworkinterface(SNI,用户网络接口)protocol.Itdefineshowtheuser’sDTEcommunicateswiththenetworkandhowpacketsaresentoverthatnetworkusingDCEs.X.25usesavirtualcircuitapproach(SVCorPVC)topacketswitching(包交换),andusesasynchronousTDM(异步时分复用)tomultiplexpackets(包复用).14.1X.25LayersTheX.25protocolisorganizedintothreelayers:
thephysicallayer,theframelayer,andthepacketlayer.Theselayersdefinefunctionsatthephysical,datalink,andnetworklayersoftheOSImodel.Atthephysicallayer,X.25specifiesaprotocolcalledX.21.X.21iscloseenoughtootherphysicallayerprotocols,suchasEIA-232,thatX.25isabletosupportthemaswell.X.25providesdatalinkcontrolsusingabit-orientedprotocolcalledlinkaccessprocedure,balanced(LAPB,平衡式链路访问规程)whichisasubsetofHDLC.14.1.1PhysicalLayer(物理层)14.1.2FrameLayer(Datalinklayer)14.1.3PacketLayer(Networklayer)ThenetworklayerinX.25iscalledPacketlayerprotocol(PLP).Itisresponsibleforestablishingtheconnection,transferringthedata,andterminatingtheconnection.X.25requireserrordetectionandcorrectioninBoththedatalinklayerandthenetworklayer.AtthePLP,aheadercontainingcontrolinformationisaddedtotransformthedataintoaPLPpacket.PLPpacketarepassedtotheLAPB,andareencapsulatedintoLAPBinformationframes(I-frame)andpassedtothephysicallayertobesent.14.1.3PacketLayer(Networklayer)14.2PacketLayerProtocolX.25usesTwotypesofPLPpackets
Informationpackets(I-packets) Controlpackets(C-packets)Theinformationpacketcontainsuserdata
comingfromtheupperlayers.Thecontrolpacketdoesnotcontainuserdata,butcontaininformationfieldnecessaryfortheoperationofthenetwork.14.2.1InformationpacketInformationpacketareusedtotransmituserdata.Thegeneralformatinclude: Aheader AuserdatafieldGeneralformatidentifier(GFI,通用格式标识符)field QNotdefined
DUsedinpacketsequencing
Mod
说明序列号字段的大小(01,序列号3比特
(0-7);10,序列号7比特
(0-127))Virtualcircuitidentificationfields(LCGNandLCN)
逻辑信道组号(LCGN),逻辑信道号(LCN)Controlfield P(R)packetreceived,Piggyback P(S)packetssent
MUsedinpacketsequencing(More)14.2.1Informationpacket14.2.2ControlpacketsTherearetwocategoriesofcontrolpackets:Thefirstcategoryisusedforflowanderrorcontrol.
ConsistofonlyaheaderThesecondcategoryisusedforconnection,termination,andmanagementcontrol.
这种类型的控制包在头部之外可以携带额外的信息,但是这些信息仅仅用于控制,不包含任何用户数据。14.2.3Completepacketsequence(安全包序列)Themaximumlengthofthedatafieldinaninformationpacketvariedfromnetworktonetwork,baseinpartonthelimitationsofthehardware.Itisimportanttobeabletobreakupalongmessageamongmultiplepacketsbutstillkeepthosepacketsidentifiableasasinglecontiguoustransmission.Acompletepacketsequenceinvolvestheuseoftwotypesofpackets:ApacketsandBpackets.Apacketisoneinwhichthedatafieldisfullandatleastoneadditionalpacketisneededtocarrytheremainderofthemessage. AnApacketisidentifiedbya1intheMore(M)fieldandbya0inthedataterminal(D)field. ~A包:M=1&D=0AnyApacketmustalwaysbefollowedbyatleastoneotherpacketanddonotrequireacknowledgment.14.2.3CompletepacketsequenceBpacketscaneitherstandalongoractasthefinalpacketinamultipacketsequence.ThedatafieldofaBpacketsdoesnothavetobecompletelyfull.Bpacketsalwayshave1intheDfieldtoindicatethatanacknowledgmentisrequired. ~B包:D=1AcompletepacketsequenceconsistsofoneBpacketfollowing0ormoreApacketsAcompletepacketsequence:B,AB,AABetc.14.2.3CompletepacketsequenceAcknowledgments: thecompletepacketsequencecanbedividedintosubsequencesofoneormoreApacketsandaBpacket.~对子序列确认,提高效率(可靠性)
D=1thepacketrequiresanacknowledgment.
D=0noacknowledgmentisneeded.
M=1morepacketaretofollow.
M=0Itisthelastpacketinthesequence.
14.2.3CompletepacketsequenceSequenceandsubsequence14.2.3CompletepacketsequenceAABAABAABA包:D=0&M=1
B包:D=1&(M=0orM=1)X.25allowsupto4096multiplexedchannelstobeidentifiedbetweeneachDTEandDCE.IDnumbersareassignedtoeachchanneltoidentifywhichpacketbelongstowhichchannel.Thesenumberarenotpermanent,butareallocateddynamically.Thecallingandcalledhostsusedifferentnumberstoidentifyavirtualcircuit.14.2.4VirtualchannelIDnumber14.2.4VirtualchannelIDnumberAllocationofvirtualchannelIDnumberSUMMARYX.25isthepacketswitchingprotocol.X.25definestheproceduresfordatatransmissionbe
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《弯道超车》2024年人教版新八年级生物暑假提升讲义 第02讲 植物体内的物质与能量变化(解析版)
- 某陶瓷厂烧制工艺规范制度
- 冶金厂设备维护
- 机构研究报告-意大利线上机票预订用户分析报告:Skyscanner
- 某铝型材厂挤压管控准则
- 2026年物流运输管理合同二篇
- 浙江省宁波市江北实验中学2024-2025学年九年级上学期语文期中考试试卷(含答案)
- 2026年入职体检流程管理试题及答案
- 证券分析师考试题及答案
- 工程地质第三版试题及答案
- 质量部职能与工作体系介绍
- 消防设施性能及系统功能联调联试现场确认表(试行)
- 学科专业设置调整优化机制改革研究
- 管路知识培训课件
- 收纳美学培训课件图片
- 刘润年度演讲2024
- 人教版九年级上册-历史全册课件(课件)【部编教材】
- 中建三局项目目标责任成本测算培训资料
- 手术患者的转运交接2
- JBT 7901-2023 金属材料实验室均匀腐蚀全浸试验方法 (正式版)
- 出货检验报告 A
评论
0/150
提交评论