醫(yī)學信息集成標準與技術 課件 第二章 DICOM標準_第1頁
醫(yī)學信息集成標準與技術 課件 第二章 DICOM標準_第2頁
醫(yī)學信息集成標準與技術 課件 第二章 DICOM標準_第3頁
醫(yī)學信息集成標準與技術 課件 第二章 DICOM標準_第4頁
醫(yī)學信息集成標準與技術 課件 第二章 DICOM標準_第5頁
已閱讀5頁,還剩100頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

內容2.1DICOM標準概述2.2DICOM數(shù)據(jù)結構與編碼2.3DICOM信息對象定義IOD2.4DICOM消息交換和網(wǎng)絡通信2.5DICOM服務類2.6DICOM介質存儲與文件格式2.7DICOM信息組織與表達2.8DICOMWeb服務2.4DICOM消息交換和網(wǎng)絡通信2.4.1DICOM網(wǎng)絡的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務元素2.4.6DIMSE-C服務2.4.7DIMSE-N服務2.4.1.DICOM網(wǎng)絡的層次模型在DICOM標準的制定中,主要采用了TCP/IP協(xié)議,作為對DICOM網(wǎng)絡支持的基礎。在這個協(xié)議之上分別定義了DICOM上層協(xié)議(UL)和DICOM消息服務元素

(DicomMessageServiceElement,DIMSE)。DICOM應用消息交換TCP/IP上的DICOM上層協(xié)議TCP/IP網(wǎng)絡醫(yī)學圖像應用上層服務邊界SAPSAP請求Request指示Indication響應Response確認Comfirm調用方DIMSE服務用戶執(zhí)行方DIMSE服務用戶DIMSE服務提供者消息消息DIMSE服務原語SAP:服務訪問點2.4DICOM消息交換和網(wǎng)絡通信2.4.1DICOM網(wǎng)絡的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務元素2.4.6DIMSE-C服務2.4.7DIMSE-N服務2.4.2DICOM上層協(xié)議在TCP/IP之上,將DICOM所要求的應用層、表示層和會話層功能在DICOM標準中組合為一個層,稱為DICOM上層(UpperLayer,UL)或DULDICOM上層協(xié)議建立在TCP/IP協(xié)議之上,由系統(tǒng)指定的端口號來標定。在通信過程中需要建立TCP連接,一個TCP連接僅與一個DICOMUL對應。DICOM上層協(xié)議的功能是為消息交換提供傳輸支持,實現(xiàn)了OSI表示層服務和連接控制服務元素(ACSE)的一個子集向下通過對應的協(xié)議數(shù)據(jù)單元(PDU)在對等實體間交換消息向上為DICOM應用實體提供了5種服務證實服務:其中一些服務必須經(jīng)請求、指示、響應、證實四步過程,非證實服務服務類型功

能類

別A-ASSOCIATE在兩個應用實體間建立關聯(lián)證實服務A-RELEASE正常釋放兩個應用實體間的關聯(lián)證實服務A-ABORT建立關聯(lián)的兩個應用實體的任何一方異常釋放關聯(lián)非證實服務A-P-ABORTDUL服務出錯時通知關聯(lián)的兩個應用實體異常釋放關聯(lián)提供者發(fā)起P-DATA由建立關聯(lián)的兩個應用實體間交換應用消息(如DICOM消息)非證實服務A-ASSICIATE關聯(lián)服務UL協(xié)議中兩個應用實體之間的用于信息交換的連接稱為關聯(lián)(Association)。在關聯(lián)服務過程中,確定了該通信連接的上下文(Context):應用上下文協(xié)商:應用層必須使用DIMSE,UID“1.2.840.10008.3.1.1.1”表示上下文協(xié)商:可以使用哪些服務,使用什么傳輸語法表示上下文ID:1~255之間的奇數(shù)抽象語法名:1個傳輸語法名:請求多個,接受1個應用上下文的UID在關聯(lián)初始化中傳遞到對方。通過比較應用上下文的UID,對方能夠決定是否能夠處理這個關聯(lián)的請求從而接受或拒絕這個關聯(lián)請求。在關聯(lián)的建立過程中,發(fā)起方建議所有特定SOP類自身能夠處理的傳輸語法,另一方選擇其中一個傳輸語法。經(jīng)過協(xié)商,確定SOP類雙方都能接受的表示上下文應用實體A應用實體BA-ASSOCIATE-RQA-ASSOCIATE-ACA-RELEASE釋放關聯(lián)服務A-RELEASE服務是兩個應用實體間的正常釋放關聯(lián)的證實服務。A-ABORT服務是建立關聯(lián)的兩個應用實體的任何一方異常釋放關聯(lián),為非證實服務,會帶來數(shù)據(jù)的丟失。P-DATA數(shù)據(jù)服務DICOM消息在P-DATA請求原語中被封裝為表示數(shù)據(jù)值(PDV)消息被分段成多個命令段和數(shù)據(jù)段,每段分別放在一個PDV中。同一個消息的每一個分段必須使用相同的表示上下文一個PDV用戶數(shù)據(jù)參數(shù)有且只有一個分段,前面加上消息控制頭,用來指示該分段是命令集分段還是數(shù)據(jù)集分段,以及該分段是否為一條DICOM消息的命令/數(shù)據(jù)流的最后一個分段DICOM消息通過分段會產生一系列的PDV,在保持每一個消息分段順序的前提下,以相應的一系列P-DATA請求的形式在指定的關聯(lián)上進行發(fā)送,也就是說一個消息的所有分段發(fā)送完之前不能發(fā)送其他消息的分段。P-DATA是一個非證實服務2.4DICOM消息交換和網(wǎng)絡通信2.4.1DICOM網(wǎng)絡的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務元素2.4.6DIMSE-C服務2.4.7DIMSE-N服務2.4.3UL協(xié)議數(shù)據(jù)單元(PDU)UL協(xié)議數(shù)據(jù)單元(ProtocolDataUnit,PDUs)是在UL對等實體間交換的信息格式,它用于管理關聯(lián)及發(fā)送DICOM消息到對方。DICOMUL協(xié)議有七種PDUs:協(xié)議數(shù)據(jù)單元PDU注釋Comment類型typeA-ASSOCIATE-RQ關聯(lián)請求01HA-ASSOCIATE-AC關聯(lián)請求被接受02HA-ASSOCIATE-RJ關聯(lián)請求被拒絕03HP-DATA-TF數(shù)據(jù)04HA-RELEASE-RQ釋放關聯(lián)請求05HA-RELEASE-RP釋放關聯(lián)請求的響應06HA-ABORT關聯(lián)中止07H1.關聯(lián)建立類A-ASSOCIATE-RQ:關聯(lián)請求PDUA-ASSOCIATE-AC:關聯(lián)接受PDUA-ASSOCIATE-RQPDUbytesFieldnameDescriptionoffield1PDU?type01H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU?lengthPDU長度ThisPDU?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthevariablefield.Itshallbeencodedasanunsignedbinarynumber7-8Protocol?version協(xié)議版本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長度協(xié)議版本保留被叫實體標題主叫實體標題保留應用上下文條目表示上下文條目1...表示上下文條目n用戶信息條目A-ASSOCIATE-RQ

A-ASSOCIATE-ACPDU格式條

目說

明類

型條目數(shù)量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用戶數(shù)據(jù)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解析字節(jié)名稱數(shù)據(jù)說明1PDU?type01A-ASSOCIATE-RQ2Reserved003-6PDU?lengthPDU長度000002365667-8Protocol?version協(xié)議版本000119-10Reserved000011-26Called?AE?title被叫方應用實體名53746f72616765534350202020202020StorageSCP27-42Calling?AE?title主叫方應用實體名51525343552020202020202020202020QRSCU43-74Reserved0000......

0075-xxxVariableitems可變條目應用上下文條目表示上下文條目1…表示上下文條目n用戶信息條目條目字節(jié)名稱數(shù)據(jù)說明1Item?type10APPLICATIONCONTEXTITEM2Reserved003-4Item?length0015215-xxxApplication-context-name312e322e3834302e31303030382e332e312e312e311.2.840.10008.3.1.1.1

應用上下文條目APPLICATIONCONTEXTITEM表示上下文條目1

PRESENTATIONCONTEXTITEM條目字節(jié)名稱數(shù)據(jù)說明1Item?type20PRESENTATIONCONTEXTITEM2Reserved003-4Item?length002e465Presentation?context?ID0116Reserved007Reserved008Reserved009-xxxAbstractSyntaxSub?Items抽象語法子條目TransferSyntaxSub?Items傳輸語法子條目抽象語法子條目

ABSTRACTSYNTAXSUB?ITEM條目字節(jié)名稱數(shù)據(jù)說明1Item?type30ABSTRACTSYNTAXSUB?ITEM2Reserved003-4Item-length0011175-xxxAbstract-syntax-name312e322e3834302e31303030382e312e311.2.840.10008.1.1Verification

SOP

Class傳輸語法子條目

TRANSFERSYNTAXSUB?ITEM條目字節(jié)名稱數(shù)據(jù)說明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協(xié)議版本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用戶數(shù)據(jù)ThisvariablefieldshallcontainUser?datasub?itemsasdefinedbytheDICOMApplicationEntity.Thestructureandcontentofthesesub?itemsisdefinedinAnnexD.2.拒絕關聯(lián)類A-ASSOCIATION-RJ:關聯(lián)拒絕PDUA-RELEASE-RQ:關聯(lián)釋放請求PDUA-RELEASE-RP:關聯(lián)釋放應答PDUA-ABORT:關聯(lián)中斷PDUA-ASSOCIATE-RJPDU格式

A-RELEASE-RQPDU格式

A-RELEASE-RPPDU格式

A-ABORTPDU格式

節(jié)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-協(xié)議版本不支持。來源=3:0-保留;1-臨時擁塞;2-局部超限;3~7-保留保留:00H保留:00H原因/診斷:來源=0:0。來源=2:0-未知原因;1-未知PDU;2-非期望PDU;3-保留;4-未知PDU參數(shù);5-非期望PDU參數(shù);6-無效PDU參數(shù)值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協(xié)議版本號不支持IftheSourcefieldhasthevalue(3)

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

1?temporary?congestion暫時擁塞

2?local?limit?exceeded超過本地門限

3-7?reservedNote: ThereservedfieldsareusedtopreservesymmetrywithOSIACSE/PresentationServicesandProtocols.3數(shù)據(jù)傳輸類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

表示數(shù)據(jù)值PDV條目字段定義

ItembytesFieldnameDescriptionoffield1-4Item?length條目長度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthePresentation?data?valuefield.Itshallbeencodedasanunsignedbinarynumber.5Presentation?

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

data?value表示數(shù)據(jù)值PDVThisPresentation?data?valuefieldshallcontainDICOMmessageinformation(commandand/ordataset)withamessagecontrolheader.ForacompletedescriptionoftheuseofthisfieldseeAnnexE.UL狀態(tài)機3.8

UL狀態(tài)機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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論