医学信息集成标准与技术 课件 第二章 DICOM标准_第1页
医学信息集成标准与技术 课件 第二章 DICOM标准_第2页
医学信息集成标准与技术 课件 第二章 DICOM标准_第3页
医学信息集成标准与技术 课件 第二章 DICOM标准_第4页
医学信息集成标准与技术 课件 第二章 DICOM标准_第5页
已阅读5页,还剩100页未读 继续免费阅读

下载本文档

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

文档简介

内容2.1DICOM标准概述2.2DICOM数据结构与编码2.3DICOM信息对象定义IOD2.4DICOM消息交换和网络通信2.5DICOM服务类2.6DICOM介质存储与文件格式2.7DICOM信息组织与表达2.8DICOMWeb服务2.4DICOM消息交换和网络通信2.4.1DICOM网络的层次模型2.4.2DICOM上层协议2.4.3协议数据单元2.4.4DICOM消息2.4.5DICOM消息服务元素2.4.6DIMSE-C服务2.4.7DIMSE-N服务2.4.1.DICOM网络的层次模型在DICOM标准的制定中,主要采用了TCP/IP协议,作为对DICOM网络支持的基础。在这个协议之上分别定义了DICOM上层协议(UL)和DICOM消息服务元素

(DicomMessageServiceElement,DIMSE)。DICOM应用消息交换TCP/IP上的DICOM上层协议TCP/IP网络医学图像应用上层服务边界SAPSAP请求Request指示Indication响应Response确认Comfirm调用方DIMSE服务用户执行方DIMSE服务用户DIMSE服务提供者消息消息DIMSE服务原语SAP:服务访问点2.4DICOM消息交换和网络通信2.4.1DICOM网络的层次模型2.4.2DICOM上层协议2.4.3协议数据单元2.4.4DICOM消息2.4.5DICOM消息服务元素2.4.6DIMSE-C服务2.4.7DIMSE-N服务2.4.2DICOM上层协议在TCP/IP之上,将DICOM所要求的应用层、表示层和会话层功能在DICOM标准中组合为一个层,称为DICOM上层(UpperLayer,UL)或DULDICOM上层协议建立在TCP/IP协议之上,由系统指定的端口号来标定。在通信过程中需要建立TCP连接,一个TCP连接仅与一个DICOMUL对应。DICOM上层协议的功能是为消息交换提供传输支持,实现了OSI表示层服务和连接控制服务元素(ACSE)的一个子集向下通过对应的协议数据单元(PDU)在对等实体间交换消息向上为DICOM应用实体提供了5种服务证实服务:其中一些服务必须经请求、指示、响应、证实四步过程,非证实服务服务类型功

能类

别A-ASSOCIATE在两个应用实体间建立关联证实服务A-RELEASE正常释放两个应用实体间的关联证实服务A-ABORT建立关联的两个应用实体的任何一方异常释放关联非证实服务A-P-ABORTDUL服务出错时通知关联的两个应用实体异常释放关联提供者发起P-DATA由建立关联的两个应用实体间交换应用消息(如DICOM消息)非证实服务A-ASSICIATE关联服务UL协议中两个应用实体之间的用于信息交换的连接称为关联(Association)。在关联服务过程中,确定了该通信连接的上下文(Context):应用上下文协商:应用层必须使用DIMSE,UID“1.2.840.10008.3.1.1.1”表示上下文协商:可以使用哪些服务,使用什么传输语法表示上下文ID:1~255之间的奇数抽象语法名:1个传输语法名:请求多个,接受1个应用上下文的UID在关联初始化中传递到对方。通过比较应用上下文的UID,对方能够决定是否能够处理这个关联的请求从而接受或拒绝这个关联请求。在关联的建立过程中,发起方建议所有特定SOP类自身能够处理的传输语法,另一方选择其中一个传输语法。经过协商,确定SOP类双方都能接受的表示上下文应用实体A应用实体BA-ASSOCIATE-RQA-ASSOCIATE-ACA-RELEASE释放关联服务A-RELEASE服务是两个应用实体间的正常释放关联的证实服务。A-ABORT服务是建立关联的两个应用实体的任何一方异常释放关联,为非证实服务,会带来数据的丢失。P-DATA数据服务DICOM消息在P-DATA请求原语中被封装为表示数据值(PDV)消息被分段成多个命令段和数据段,每段分别放在一个PDV中。同一个消息的每一个分段必须使用相同的表示上下文一个PDV用户数据参数有且只有一个分段,前面加上消息控制头,用来指示该分段是命令集分段还是数据集分段,以及该分段是否为一条DICOM消息的命令/数据流的最后一个分段DICOM消息通过分段会产生一系列的PDV,在保持每一个消息分段顺序的前提下,以相应的一系列P-DATA请求的形式在指定的关联上进行发送,也就是说一个消息的所有分段发送完之前不能发送其他消息的分段。P-DATA是一个非证实服务2.4DICOM消息交换和网络通信2.4.1DICOM网络的层次模型2.4.2DICOM上层协议2.4.3协议数据单元2.4.4DICOM消息2.4.5DICOM消息服务元素2.4.6DIMSE-C服务2.4.7DIMSE-N服务2.4.3UL协议数据单元(PDU)UL协议数据单元(ProtocolDataUnit,PDUs)是在UL对等实体间交换的信息格式,它用于管理关联及发送DICOM消息到对方。DICOMUL协议有七种PDUs:协议数据单元PDU注释Comment类型typeA-ASSOCIATE-RQ关联请求01HA-ASSOCIATE-AC关联请求被接受02HA-ASSOCIATE-RJ关联请求被拒绝03HP-DATA-TF数据04HA-RELEASE-RQ释放关联请求05HA-RELEASE-RP释放关联请求的响应06HA-ABORT关联中止07H1.关联建立类A-ASSOCIATE-RQ:关联请求PDUA-ASSOCIATE-AC:关联接受PDUA-ASSOCIATE-RQPDUbytesFieldnameDescriptionoffield1PDU‑type01H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU‑lengthPDU长度ThisPDU‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthevariablefield.Itshallbeencodedasanunsignedbinarynumber7-8Protocol‑version协议版本ThistwobytefieldshalluseonebittoidentifyeachversionoftheDICOMULprotocolsupportedbythecallingend‑system.ThisisVersion1andshallbeidentifiedwithbit0set.AreceiverofthisPDUimplementingonlythisversionoftheDICOMULprotocolshallonlytestthatbit0isset.9-10ReservedThisreservedfieldshallbesentwithavalue0000Hbutnottestedtothisvaluewhenreceived.11-26Called‑AE‑title被叫方应用实体名DestinationDICOMApplicationName.Itshallbeencodedas16charactersasdefinedbytheISO646:1990‑BasicG0Setwithleadingandtrailingspaces(20H)beingnon‑significant.Thevaluemadeof16spaces(20H)meaning“noApplicationNamespecified”shallnotbeused.Foracompletedescriptionoftheuseofthisfield,seeSection7.1.1.4.27-42Calling‑AE‑title主叫方应用实体名SourceDICOMApplicationName.Itshallbeencodedas16charactersasdefinedbytheISO646:1990‑BasicG0Setwithleadingandtrailingspaces(20H)beingnon‑significant.Thevaluemadeof16spaces(20H)meaning“noApplicationNamespecified”shallnotbeused.Foracompletedescriptionoftheuseofthisfield,seeSection7.1.1.3.43-74ReservedThisreservedfieldshallbesentwithavalue00Hforallbytesbutnottestedtothisvaluewhenreceived75-xxxVariableitems可变条目Thisvariablefieldshallcontainthefollowingitems:oneApplicationContextItem,oneormorePresentationContextItemsandoneUserInformationItem.ForacompletedescriptionoftheuseoftheseitemsseeSections7.1.1.2,7.1.1.13,and7.1.1.6.A-ASSOCIATE-RQPDU格式

A-ASSOCIATE-ACPDU格式11422161632xxxPDU类型保留PDU长度协议版本保留被叫实体标题主叫实体标题保留应用上下文条目表示上下文条目1...表示上下文条目n用户信息条目A-ASSOCIATE-RQ

A-ASSOCIATE-ACPDU格式条

目说

明类

型条目数量RQACApplicationContextItem应用上下文条目10H11PresentationContextItem表示上下文条目20H(RQ)21H(AC)1-n1-nAbstractSyntaxSub‑Item抽象语法子条目30H10TransferSyntaxSub‑Item传输语法子条目40H1-n1UserInformationItem用户信息条目50H11MaximumLengthSub-Item最大长度子条目51H11ImplementationClassUID用户类UID子条目52H0-10-1AsynchronousOperationsWindowSub-Item异步操作窗口子条目53H0-10-1SCP/SCURoleSelectionSub-ItemSCP/SCU角色选择子条目54H0-10-1ImplementationVersion用户版本子条目55H0-10-1A-ASSOCIATION-RQ/ACPDU条目组成A-ASSOCIATE-RQ

A-ASSOCIATE-ACITEM/SUBITEMtypeApplicationContext10HPresentationContext20HAbstractSyntax30HTransferSyntax40HUserDataFields50HMaximumPDU51HImplementationClassUID52HAsynchronousOperationsNegotiation53HSCU/SCPRoleSelection54HImplementationVersion55HTable9‑12

APPLICATIONCONTEXTITEMFIELDS

应用上下文条目字段定义

ItembytesFieldnameDescriptionoffield1Item‑type条目类型10H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item‑length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheApplication‑context‑namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxApplication-context-name应用上下文名称AvalidApplication‑context‑nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.2.Application‑context‑namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexAforanoverviewofthisconcept).DICOMApplication‑context‑namesareregisteredinPS3.7.Table9‑13

PRESENTATIONCONTEXTITEMFIELDS

表示上下文条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型20H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item‑length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthelastTransferSyntaxItem.Itshallbeencodedasanunsignedbinarynumber.5Presentation‑

context‑ID表示上下文IDPresentation‑context‑IDvaluesshallbeoddintegersbetween1and255,encodedasanunsignedbinarynumber.ForacompletedescriptionoftheuseofthisfieldseeSection7.1.1.13.6ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.7ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.8ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.9-xxxAbstract/TransferSyntaxSub‑Items抽象/传输语法子条目Thisvariablefieldshallcontainthefollowingsub‑items:oneAbstractSyntaxandoneormoreTransferSyntax(es).Foracompletedescriptionoftheuseandencodingofthesesub‑itemsseeSections9.3.2.2.1and9.3.2.2.2.Table9‑14

ABSTRACTSYNTAXSUB‑ITEMFIELDS

抽象语法子条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型30H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheAbstract-syntax‑namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxAbstract-syntax-name抽象语法名称ThisvariablefieldshallcontaintheAbstract‑syntax‑namerelatedtotheproposedpresentationcontext.AvalidAbstract‑syntax‑nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.13.Abstract‑syntax‑namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMAbstract‑syntax‑namesareregisteredinPS3.4.Table9‑15

TRANSFERSYNTAXSUB‑ITEMFIELDS

传输语法子条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型40H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheTransfer-syntax‑namefield(s).Itshallbeencodedasanunsignedbinarynumbers5-xxxTransfer‑syntax‑name(s)传输语法名称ThisvariablefieldshallcontaintheTransfer‑syntax‑nameproposedforthispresentationcontext.AvalidTransfer‑syntax‑nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.13.Transfer‑syntax‑namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMTransfer‑syntax‑namesareregisteredinPS3.5.Table9‑16

USERINFORMATIONITEMFIELDS

用户信息条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型50H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item‑length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheUser-datafield(s).Itshallbeencodedasanunsignedbinarynumber.5-xxxUser‑data用户数据ThisvariablefieldshallcontainUser‑datasub‑itemsasdefinedbytheDICOMApplicationEntity.Thestructureandcontentofthesesub‑itemsisdefinedinAnnexD.Table

D.1-1.

MaximumLengthSub-ItemFields(A-ASSOCIATE-RQ)Table

D.1-2.

MaximumLengthSub-ItemFields(A-ASSOCIATE-AC)ItembytesFieldnameDescriptionoffield1Item-type

条目类型51H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem-lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheMaximum-length-receivedfield.InthecaseofthisItem,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.5-8Maximum-length-received最大接收长度Thisparameterallowstheassociation-requestortorestrictthemaximumlengthofthevariablefieldoftheP-DATA-TFPDUssentbytheacceptorontheassociationonceestablished.Thislengthvalueisindicatedasanumberofbytesencodedasanunsignedbinarynumber.Thevalueof(0)indicatesthatnomaximumlengthisspecified.ThismaximumlengthvalueshallneverbeexceededbythePDUlengthvaluesusedinthePDU-lengthfieldoftheP-DATA-TFPDUsreceivedbytheassociation-requestor.Otherwise,itshallbeaprotocolerror.ItembytesFieldnameDescriptionoffield1Item-type

条目类型51H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem-lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheMaximum-length-receivedfield.InthecaseofthisItem,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.5-8Maximum-length-received最大接收长度Thisparameterallowstheassociation-acceptortorestrictthemaximumlengthofthevariablefieldoftheP-DATA-TFPDUssentbytherequestorontheassociationonceestablished.Thislengthvalueisindicatedasanumberofbytesencodedasanunsignedbinarynumber.Thevalueof(0)indicatesthatnomaximumlengthisspecified.ThismaximumlengthvalueshallneverbeexceededbythePDUlengthvaluesusedinthePDU-lengthfieldoftheP-DATA-TFPDUsreceivedbytheassociation-acceptor.Otherwise,itshallbeaprotocolerror.例:A-ASSOCIATE-RQ解析字节名称数据说明1PDU‑type01A-ASSOCIATE-RQ2Reserved003-6PDU‑lengthPDU长度000002365667-8Protocol‑version协议版本000119-10Reserved000011-26Called‑AE‑title被叫方应用实体名53746f72616765534350202020202020StorageSCP27-42Calling‑AE‑title主叫方应用实体名51525343552020202020202020202020QRSCU43-74Reserved0000......

0075-xxxVariableitems可变条目应用上下文条目表示上下文条目1…表示上下文条目n用户信息条目条目字节名称数据说明1Item‑type10APPLICATIONCONTEXTITEM2Reserved003-4Item‑length0015215-xxxApplication-context-name312e322e3834302e31303030382e332e312e312e311.2.840.10008.3.1.1.1

应用上下文条目APPLICATIONCONTEXTITEM表示上下文条目1

PRESENTATIONCONTEXTITEM条目字节名称数据说明1Item‑type20PRESENTATIONCONTEXTITEM2Reserved003-4Item‑length002e465Presentation‑context‑ID0116Reserved007Reserved008Reserved009-xxxAbstractSyntaxSub‑Items抽象语法子条目TransferSyntaxSub‑Items传输语法子条目抽象语法子条目

ABSTRACTSYNTAXSUB‑ITEM条目字节名称数据说明1Item‑type30ABSTRACTSYNTAXSUB‑ITEM2Reserved003-4Item-length0011175-xxxAbstract-syntax-name312e322e3834302e31303030382e312e311.2.840.10008.1.1Verification

SOP

Class传输语法子条目

TRANSFERSYNTAXSUB‑ITEM条目字节名称数据说明1Item‑type40TRANSFERSYNTAXSUB‑ITEM2Reserved003-4Item-length0011175-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e321.2.840.10008.1.2DICOM默认传输语法表示上下文条目1ItembytesFieldnameDATADescriptionoffield1Item‑type20PRESENTATIONCONTEXTITEM2Reserved003-4Item‑length002e465Presentation‑context‑ID0116Reserved007Reserved008Reserved009-xxxAbstract/TransferSyntaxSub‑Items1Item‑type30ABSTRACTSYNTAXSUB‑ITEM2Reserved003-4Item-length0011175-xxxAbstract-syntax-name312e322e3834302e31303030382e312e311.2.840.10008.1.11Item‑type40TRANSFERSYNTAXSUB‑ITEM2Reserved003-4Item-length0011175-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e321.2.840.10008.1.2表示上下文条目2

PRESENTATIONCONTEXTITEMItembytesFieldnameDATADescriptionoffield1Item‑type20PRESENTATIONCONTEXTITEM2Reserved003-4Item‑length004d775Presentation‑context‑ID0336Reserved007Reserved008Reserved009-xxxAbstract/TransferSyntaxSub‑Items1Item‑type30ABSTRACTSYNTAXSUB‑ITEM2Reserved003-4Item-length0019255-xxxAbstract-syntax-name312e322e3834302e31303030382e352e312e342e312e312e321.2.840.10008.5.1.4.1.1.2(CTStorageSOP类)1Item‑type40TRANSFERSYNTAXSUB‑ITEM12Reserved003-4Item-length0011175-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e321.2.840.10008.1.2

(隐式VR/LE)1Item‑type40TRANSFERSYNTAXSUB‑ITEM22Reserved003-4Item-length0013195-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e322e311.2.840.10008.1.2.1(显式VR/LE)表示上下文条目3

PRESENTATIONCONTEXTITEMItembytesFieldnameDATADescriptionoffield1Item‑type20PRESENTATIONCONTEXTITEM2Reserved003-4Item‑length004d775Presentation‑context‑ID0556Reserved007Reserved008Reserved009-xxxAbstract/TransferSyntaxSub‑Items1Item‑type30ABSTRACTSYNTAXSUB‑ITEM2Reserved003-4Item-length0019255-xxxAbstract-syntax-name312e322e3834302e31303030382e352e312e342e312e312e341.2.840.10008.5.1.4.1.1.4MRStorageSOP1Item‑type40TRANSFERSYNTAXSUB‑ITEM12Reserved003-4Item-length0011175-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e321.2.840.10008.1.2

(隐式VR/LE)1Item‑type40TRANSFERSYNTAXSUB‑ITEM22Reserved003-4Item-length0013195-xxxTransfer‑syntax‑name(s)312e322e3834302e31303030382e312e322e311.2.840.10008.1.2.1(显式VR/LE)用户信息条目

USERINFORMATIONITEMItembytesFieldnameDATADescriptionoffield1Item‑type50USERINFORMATIONITEM2Reserved003-4Item‑length003b595-xxxUser‑data包含3条用户信息子条目1Item-type51MaximumLengthSub-Item2Reserved003-4Item-length000445-8Maximum-length-received00008000327681Item-type52ImplementationClassUID2Reserved003-4Item-length001c285-XXXUserinfo312e322e3832362e302e312e333638303034332e322e36302e302e311.2.826.0.1.3680043.2.60.0.11Item-type55ImplementationVersion2Reserved003-4Item-length000f155-xxxUserinfo736f66746c696e6b5f6a6474313033softlink_jdt103A-ASSOCIATE-ACPDUbytesFieldnameDescriptionoffield1PDU‑type02H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU‑lengthPDU长度ThisPDU‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthevariablefield.Itshallbeencodedasanunsignedbinarynumber.7-8Protocol‑

version协议版本ThistwobytefieldshalluseonebittoidentifyeachversionoftheDICOMULprotocolsupportedbythecallingend‑system.ThisisVersion1andshallbeidentifiedwithbit0set.AreceiverofthisPDUimplementingonlythisversionoftheDICOMULprotocolshallonlytestthatbit0isset.9-10ReservedThisreservedfieldshallbesentwithavalue0000Hbutnottestedtothisvaluewhenreceived.11-26ReservedThisreservedfieldshallbesentwithavalueidenticaltothevaluereceivedinthesamefieldoftheA‑ASSOCIATE‑RQPDU,butitsvalueshallnotbetestedwhenreceived.27-42ReservedThisreservedfieldshallbesentwithavalueidenticaltothevaluereceivedinthesamefieldoftheA‑ASSOCIATE‑RQPDU,butitsvalueshallnotbetestedwhenreceived.43-74ReservedThisreservedfieldshallbesentwithavalueidenticaltothevaluereceivedinthesamefieldoftheA‑ASSOCIATE‑RQPDU,butitsvalueshallnotbetestedwhenreceived.75-xxxVariableitems可变条目Thisvariablefieldshallcontainthefollowingitems:oneApplicationContextItem,oneormorePresentationContextItem(s)andoneUserInformationItem.ForacompletedescriptionoftheseitemsseeSections7.1.1.2,7.1.1.14,and7.1.1.6.Table9‑18

PRESENTATIONCONTEXTITEMFIELDS

表示上下文条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type21H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item‑lengthThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheTransferSyntaxSub‑Item.Itshallbeencodedasanunsignedbinarynumber.5Presentation‑

context‑ID表示上下文IDPresentation‑context‑IDvaluesshallbeoddintegersbetween1and255,encodedasanunsignedbinarynumber.ForacompletedescriptionoftheuseofthisfieldseeSection7.1.1.13.6ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.7Result/Reason结果/原因ThisResult/Reasonfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:0‑acceptance接受

1‑user‑rejection用户拒绝

2‑no‑reason(providerrejection)无原因

3‑abstract‑syntax‑not‑supported(providerrejection)抽象语法不支持

4‑transfer‑syntaxes‑not‑supported(providerrejection)传输语法不支持8ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.9-xxxTransfersyntaxsub‑item传输语法子条目ThisvariablefieldshallcontainoneTransferSyntaxSub‑Item.WhentheResult/Reasonfieldhasavalueotherthanacceptance(0),thisfieldshallnotbesignificantanditsvalueshallnotbetestedwhenreceived.ForacompletedescriptionoftheuseandencodingofthisitemseeSection9.3.3.2.1.Table9‑19

TRANSFERSYNTAXSUB‑ITEMFIELDS

传输语法子条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型40H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheTransfer-syntax-namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxTransfer‑syntax‑name传输语法名称ThisvariablefieldshallcontaintheTransfer‑syntax‑nameproposedforthispresentationcontext.AvalidTransfer‑syntax‑nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.14.Transfer‑syntax‑namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMTransfer‑syntax‑namesareregisteredinPS3.5.Table9‑20

USERINFORMATIONITEMFIELDS

用户信息条目字段定义ItembytesFieldnameDescriptionoffield1Item‑type条目类型50H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheUser-data-informationfield(s).Itshallbeencodedasanunsignedbinarynumber.5-xxxUser-data用户数据ThisvariablefieldshallcontainUser‑datasub‑itemsasdefinedbytheDICOMApplicationEntity.Thestructureandcontentofthesesub‑itemsisdefinedinAnnexD.2.拒绝关联类A-ASSOCIATION-RJ:关联拒绝PDUA-RELEASE-RQ:关联释放请求PDUA-RELEASE-RP:关联释放应答PDUA-ABORT:关联中断PDUA-ASSOCIATE-RJPDU格式

A-RELEASE-RQPDU格式

A-RELEASE-RPPDU格式

A-ABORTPDU格式

节A-ASSOCIATE-RJA-RELEASE-RQA-RELEASE-RPA-ABORT1PDU类型:03HPDU类型:05HPDU类型:06HPDU类型:07H2保留:00H保留:00H保留:00H保留:00H3~6PDU长度:00000004HPDU长度:00000004HPDU长度:00000004HPDU长度;00000004H7保留:00H保留:00H保留:00H保留:00H8结果:1,永久拒绝;2,临时拒绝保留:00H保留:00H保留:00H9来源:1-DICOMUL服务使用者;2-DICOMUL服务提供者(ACSE相关功能块);3-DICOMUL服务提供者(表示层相关功能块)保留:00H保留:00H来源:0-DICOMUL服务使用者;1-保留;2-DICOMUL服务提供者10原因/诊断:来源=1:1-未知原因;2-应用上下文名不支持;3-主叫应用实体名未识别;4~6-保留;7-被叫应用实体名未识别;8~10-保留。来源=2:1-无原因;2-协议版本不支持。来源=3:0-保留;1-临时拥塞;2-局部超限;3~7-保留保留:00H保留:00H原因/诊断:来源=0:0。来源=2:0-未知原因;1-未知PDU;2-非期望PDU;3-保留;4-未知PDU参数;5-非期望PDU参数;6-无效PDU参数值A-ASSOCIATE-RJPDUbytesFieldnameDescriptionoffield1PDU‑typePDU类型03H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU‑lengthPDU长度ThisPDU‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheReason/Diag.field.InthecaseofthisPDU,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.7ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.8Result结果ThisResultfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:1‑rejected‑permanent永久拒绝

2‑rejected‑transient临时拒绝9Source来源ThisSourcefieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:

1‑DICOMULservice‑user服务用户方

2‑DICOMULservice‑provider(ACSErelatedfunction)服务提供方的ACSE

3‑DICOMULservice‑provider(Presentationrelatedfunction)服务提供方的表示层10Reason/Diag.原因/诊断Thisfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.IftheSourcefieldhasthevalue(1)“DICOMULservice‑user”,itshalltakeoneofthefollowing: 1‑no‑reason‑given未知原因

2‑application‑context‑name‑not‑supported应用上下文名不支持

3‑calling‑AE‑title‑not‑recognized主叫方应用实体名未识别

4-6‑reserved

7‑called‑AE‑title‑not‑recognized被叫方应用实体名未识别

8-10‑reservedIftheSourcefieldhasthevalue(2)“DICOMULserviceprovided(ACSErelatedfunction),”itshalltakeoneofthefollowing: 1‑no‑reason‑given未知原因

2‑protocol‑version‑not‑supported协议版本号不支持IftheSourcefieldhasthevalue(3)

“DICOMULserviceprovided(Presentationrelatedfunction),”itshalltakeoneofthefollowing: 0‑reserved

1‑temporary‑congestion暂时拥塞

2‑local‑limit‑exceeded超过本地门限

3-7‑reservedNote: ThereservedfieldsareusedtopreservesymmetrywithOSIACSE/PresentationServicesandProtocols.3数据传输类P‑DATA‑TFPDUbytesFieldnameDescriptionoffield1PDU-typePDU类型04H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU-lengthPDU长度ThisPDU‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthevariablefield.Itshallbeencodedasanunsignedbinarynumber.7-xxxPresentation‑

data‑valueItem(s)PDV条目ThisvariabledatafieldshallcontainoneormorePresentation‑data‑valueItems(s).ForacompletedescriptionoftheuseofthisfieldseeSection9.3.5.1P-DATA-TFPDU格式

Table9‑23

PRESENTATION‑DATA‑VALUEITEMFIELDS

表示数据值PDV条目字段定义

ItembytesFieldnameDescriptionoffield1-4Item‑length条目长度ThisItem‑lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthePresentation‑data‑valuefield.Itshallbeencodedasanunsignedbinarynumber.5Presentation‑

context‑ID表示上下文IDPresentation‑context‑IDvaluesshallbeoddintegersbetween1and255,encodedasanunsignedbinarynumber.ForacompletedescriptionoftheuseofthisfieldseeSection7.1.1.13.6-xxxPresentation‑

data‑value表示数据值PDVThisPresentation‑data‑valuefieldshallcontainDICOMmessageinformation(commandand/ordataset)withamessagecontrolheader.ForacompletedescriptionoftheuseofthisfieldseeAnnexE.UL状态机3.8

UL状态机StateNoAssociationSta1IdleStateAssociationEstablishmentSta2Transportconnectionopen(AwaitingA-ASSOCIATE-RQPDU)Sta3AwaitinglocalA-ASSOCIATEresponseprimitive(fromlocaluser)Sta4Awaitingtransportconnectionopeningtocomplete(fromlocaltransportservice)Sta5AwaitingA-ASSOCIATE-ACorA-ASSOCIATE-RJPDUStateDataTransferSta6AssociationestablishedandreadyfordatatransferStateAssociationReleaseSta7AwaitingA-RELEASE-RPPDUSta8AwaitinglocalA-RELEASEresponseprimitive(fromlocaluser)Sta9Releasecollisionrequestorside;awaitingA-RELEASEresponse(fromlocaluser)Sta10Releasecollisionacceptorside;awaitingA-RELEASE-RPPDUSta11Releasecollisionrequestorside;awaitingA-RELEASE-RPPDUSta12Releasecolli

温馨提示

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

评论

0/150

提交评论