版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
內(nèi)容2.1DICOM標(biāo)準(zhǔn)概述2.2DICOM數(shù)據(jù)結(jié)構(gòu)與編碼2.3DICOM信息對(duì)象定義IOD2.4DICOM消息交換和網(wǎng)絡(luò)通信2.5DICOM服務(wù)類(lèi)2.6DICOM介質(zhì)存儲(chǔ)與文件格式2.7DICOM信息組織與表達(dá)2.8DICOMWeb服務(wù)2.4DICOM消息交換和網(wǎng)絡(luò)通信2.4.1DICOM網(wǎng)絡(luò)的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務(wù)元素2.4.6DIMSE-C服務(wù)2.4.7DIMSE-N服務(wù)2.4.1.DICOM網(wǎng)絡(luò)的層次模型在DICOM標(biāo)準(zhǔn)的制定中,主要采用了TCP/IP協(xié)議,作為對(duì)DICOM網(wǎng)絡(luò)支持的基礎(chǔ)。在這個(gè)協(xié)議之上分別定義了DICOM上層協(xié)議(UL)和DICOM消息服務(wù)元素
(DicomMessageServiceElement,DIMSE)。DICOM應(yīng)用消息交換TCP/IP上的DICOM上層協(xié)議TCP/IP網(wǎng)絡(luò)醫(yī)學(xué)圖像應(yīng)用上層服務(wù)邊界SAPSAP請(qǐng)求Request指示Indication響應(yīng)Response確認(rèn)Comfirm調(diào)用方DIMSE服務(wù)用戶(hù)執(zhí)行方DIMSE服務(wù)用戶(hù)DIMSE服務(wù)提供者消息消息DIMSE服務(wù)原語(yǔ)SAP:服務(wù)訪問(wèn)點(diǎn)2.4DICOM消息交換和網(wǎng)絡(luò)通信2.4.1DICOM網(wǎng)絡(luò)的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務(wù)元素2.4.6DIMSE-C服務(wù)2.4.7DIMSE-N服務(wù)2.4.2DICOM上層協(xié)議在TCP/IP之上,將DICOM所要求的應(yīng)用層、表示層和會(huì)話(huà)層功能在DICOM標(biāo)準(zhǔn)中組合為一個(gè)層,稱(chēng)為DICOM上層(UpperLayer,UL)或DULDICOM上層協(xié)議建立在TCP/IP協(xié)議之上,由系統(tǒng)指定的端口號(hào)來(lái)標(biāo)定。在通信過(guò)程中需要建立TCP連接,一個(gè)TCP連接僅與一個(gè)DICOMUL對(duì)應(yīng)。DICOM上層協(xié)議的功能是為消息交換提供傳輸支持,實(shí)現(xiàn)了OSI表示層服務(wù)和連接控制服務(wù)元素(ACSE)的一個(gè)子集向下通過(guò)對(duì)應(yīng)的協(xié)議數(shù)據(jù)單元(PDU)在對(duì)等實(shí)體間交換消息向上為DICOM應(yīng)用實(shí)體提供了5種服務(wù)證實(shí)服務(wù):其中一些服務(wù)必須經(jīng)請(qǐng)求、指示、響應(yīng)、證實(shí)四步過(guò)程,非證實(shí)服務(wù)服務(wù)類(lèi)型功
能類(lèi)
別A-ASSOCIATE在兩個(gè)應(yīng)用實(shí)體間建立關(guān)聯(lián)證實(shí)服務(wù)A-RELEASE正常釋放兩個(gè)應(yīng)用實(shí)體間的關(guān)聯(lián)證實(shí)服務(wù)A-ABORT建立關(guān)聯(lián)的兩個(gè)應(yīng)用實(shí)體的任何一方異常釋放關(guān)聯(lián)非證實(shí)服務(wù)A-P-ABORTDUL服務(wù)出錯(cuò)時(shí)通知關(guān)聯(lián)的兩個(gè)應(yīng)用實(shí)體異常釋放關(guān)聯(lián)提供者發(fā)起P-DATA由建立關(guān)聯(lián)的兩個(gè)應(yīng)用實(shí)體間交換應(yīng)用消息(如DICOM消息)非證實(shí)服務(wù)A-ASSICIATE關(guān)聯(lián)服務(wù)UL協(xié)議中兩個(gè)應(yīng)用實(shí)體之間的用于信息交換的連接稱(chēng)為關(guān)聯(lián)(Association)。在關(guān)聯(lián)服務(wù)過(guò)程中,確定了該通信連接的上下文(Context):應(yīng)用上下文協(xié)商:應(yīng)用層必須使用DIMSE,UID“1.2.840.10008.3.1.1.1”表示上下文協(xié)商:可以使用哪些服務(wù),使用什么傳輸語(yǔ)法表示上下文ID:1~255之間的奇數(shù)抽象語(yǔ)法名:1個(gè)傳輸語(yǔ)法名:請(qǐng)求多個(gè),接受1個(gè)應(yīng)用上下文的UID在關(guān)聯(lián)初始化中傳遞到對(duì)方。通過(guò)比較應(yīng)用上下文的UID,對(duì)方能夠決定是否能夠處理這個(gè)關(guān)聯(lián)的請(qǐng)求從而接受或拒絕這個(gè)關(guān)聯(lián)請(qǐng)求。在關(guān)聯(lián)的建立過(guò)程中,發(fā)起方建議所有特定SOP類(lèi)自身能夠處理的傳輸語(yǔ)法,另一方選擇其中一個(gè)傳輸語(yǔ)法。經(jīng)過(guò)協(xié)商,確定SOP類(lèi)雙方都能接受的表示上下文應(yīng)用實(shí)體A應(yīng)用實(shí)體BA-ASSOCIATE-RQA-ASSOCIATE-ACA-RELEASE釋放關(guān)聯(lián)服務(wù)A-RELEASE服務(wù)是兩個(gè)應(yīng)用實(shí)體間的正常釋放關(guān)聯(lián)的證實(shí)服務(wù)。A-ABORT服務(wù)是建立關(guān)聯(lián)的兩個(gè)應(yīng)用實(shí)體的任何一方異常釋放關(guān)聯(lián),為非證實(shí)服務(wù),會(huì)帶來(lái)數(shù)據(jù)的丟失。P-DATA數(shù)據(jù)服務(wù)DICOM消息在P-DATA請(qǐng)求原語(yǔ)中被封裝為表示數(shù)據(jù)值(PDV)消息被分段成多個(gè)命令段和數(shù)據(jù)段,每段分別放在一個(gè)PDV中。同一個(gè)消息的每一個(gè)分段必須使用相同的表示上下文一個(gè)PDV用戶(hù)數(shù)據(jù)參數(shù)有且只有一個(gè)分段,前面加上消息控制頭,用來(lái)指示該分段是命令集分段還是數(shù)據(jù)集分段,以及該分段是否為一條DICOM消息的命令/數(shù)據(jù)流的最后一個(gè)分段DICOM消息通過(guò)分段會(huì)產(chǎn)生一系列的PDV,在保持每一個(gè)消息分段順序的前提下,以相應(yīng)的一系列P-DATA請(qǐng)求的形式在指定的關(guān)聯(lián)上進(jìn)行發(fā)送,也就是說(shuō)一個(gè)消息的所有分段發(fā)送完之前不能發(fā)送其他消息的分段。P-DATA是一個(gè)非證實(shí)服務(wù)2.4DICOM消息交換和網(wǎng)絡(luò)通信2.4.1DICOM網(wǎng)絡(luò)的層次模型2.4.2DICOM上層協(xié)議2.4.3協(xié)議數(shù)據(jù)單元2.4.4DICOM消息2.4.5DICOM消息服務(wù)元素2.4.6DIMSE-C服務(wù)2.4.7DIMSE-N服務(wù)2.4.3UL協(xié)議數(shù)據(jù)單元(PDU)UL協(xié)議數(shù)據(jù)單元(ProtocolDataUnit,PDUs)是在UL對(duì)等實(shí)體間交換的信息格式,它用于管理關(guān)聯(lián)及發(fā)送DICOM消息到對(duì)方。DICOMUL協(xié)議有七種PDUs:協(xié)議數(shù)據(jù)單元PDU注釋Comment類(lèi)型typeA-ASSOCIATE-RQ關(guān)聯(lián)請(qǐng)求01HA-ASSOCIATE-AC關(guān)聯(lián)請(qǐng)求被接受02HA-ASSOCIATE-RJ關(guān)聯(lián)請(qǐng)求被拒絕03HP-DATA-TF數(shù)據(jù)04HA-RELEASE-RQ釋放關(guān)聯(lián)請(qǐng)求05HA-RELEASE-RP釋放關(guān)聯(lián)請(qǐng)求的響應(yīng)06HA-ABORT關(guān)聯(lián)中止07H1.關(guān)聯(lián)建立類(lèi)A-ASSOCIATE-RQ:關(guān)聯(lián)請(qǐng)求PDUA-ASSOCIATE-AC:關(guān)聯(lián)接受PDUA-ASSOCIATE-RQPDUbytesFieldnameDescriptionoffield1PDU?type01H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU?lengthPDU長(zhǎng)度ThisPDU?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthevariablefield.Itshallbeencodedasanunsignedbinarynumber7-8Protocol?version協(xié)議版本ThistwobytefieldshalluseonebittoidentifyeachversionoftheDICOMULprotocolsupportedbythecallingend?system.ThisisVersion1andshallbeidentifiedwithbit0set.AreceiverofthisPDUimplementingonlythisversionoftheDICOMULprotocolshallonlytestthatbit0isset.9-10ReservedThisreservedfieldshallbesentwithavalue0000Hbutnottestedtothisvaluewhenreceived.11-26Called?AE?title被叫方應(yīng)用實(shí)體名DestinationDICOMApplicationName.Itshallbeencodedas16charactersasdefinedbytheISO646:1990?BasicG0Setwithleadingandtrailingspaces(20H)beingnon?significant.Thevaluemadeof16spaces(20H)meaning“noApplicationNamespecified”shallnotbeused.Foracompletedescriptionoftheuseofthisfield,seeSection7.1.1.4.27-42Calling?AE?title主叫方應(yīng)用實(shí)體名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類(lèi)型保留PDU長(zhǎng)度協(xié)議版本保留被叫實(shí)體標(biāo)題主叫實(shí)體標(biāo)題保留應(yīng)用上下文條目表示上下文條目1...表示上下文條目n用戶(hù)信息條目A-ASSOCIATE-RQ
A-ASSOCIATE-ACPDU格式條
目說(shuō)
明類(lèi)
型條目數(shù)量RQACApplicationContextItem應(yīng)用上下文條目10H11PresentationContextItem表示上下文條目20H(RQ)21H(AC)1-n1-nAbstractSyntaxSub?Item抽象語(yǔ)法子條目30H10TransferSyntaxSub?Item傳輸語(yǔ)法子條目40H1-n1UserInformationItem用戶(hù)信息條目50H11MaximumLengthSub-Item最大長(zhǎng)度子條目51H11ImplementationClassUID用戶(hù)類(lèi)UID子條目52H0-10-1AsynchronousOperationsWindowSub-Item異步操作窗口子條目53H0-10-1SCP/SCURoleSelectionSub-ItemSCP/SCU角色選擇子條目54H0-10-1ImplementationVersion用戶(hù)版本子條目55H0-10-1A-ASSOCIATION-RQ/ACPDU條目組成A-ASSOCIATE-RQ
A-ASSOCIATE-ACITEM/SUBITEMtypeApplicationContext10HPresentationContext20HAbstractSyntax30HTransferSyntax40HUserDataFields50HMaximumPDU51HImplementationClassUID52HAsynchronousOperationsNegotiation53HSCU/SCPRoleSelection54HImplementationVersion55HTable9?12
APPLICATIONCONTEXTITEMFIELDS
應(yīng)用上下文條目字段定義
ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型10H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item?length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheApplication?context?namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxApplication-context-name應(yīng)用上下文名稱(chēng)AvalidApplication?context?nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.2.Application?context?namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexAforanoverviewofthisconcept).DICOMApplication?context?namesareregisteredinPS3.7.Table9?13
PRESENTATIONCONTEXTITEMFIELDS
表示上下文條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型20H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item?length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteofthelastTransferSyntaxItem.Itshallbeencodedasanunsignedbinarynumber.5Presentation?
context?ID表示上下文IDPresentation?context?IDvaluesshallbeoddintegersbetween1and255,encodedasanunsignedbinarynumber.ForacompletedescriptionoftheuseofthisfieldseeSection7.1.1.13.6ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.7ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.8ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.9-xxxAbstract/TransferSyntaxSub?Items抽象/傳輸語(yǔ)法子條目Thisvariablefieldshallcontainthefollowingsub?items:oneAbstractSyntaxandoneormoreTransferSyntax(es).Foracompletedescriptionoftheuseandencodingofthesesub?itemsseeSections9.3.2.2.1and9.3.2.2.2.Table9?14
ABSTRACTSYNTAXSUB?ITEMFIELDS
抽象語(yǔ)法子條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型30H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheAbstract-syntax?namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxAbstract-syntax-name抽象語(yǔ)法名稱(chēng)ThisvariablefieldshallcontaintheAbstract?syntax?namerelatedtotheproposedpresentationcontext.AvalidAbstract?syntax?nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.13.Abstract?syntax?namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMAbstract?syntax?namesareregisteredinPS3.4.Table9?15
TRANSFERSYNTAXSUB?ITEMFIELDS
傳輸語(yǔ)法子條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型40H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheTransfer-syntax?namefield(s).Itshallbeencodedasanunsignedbinarynumbers5-xxxTransfer?syntax?name(s)傳輸語(yǔ)法名稱(chēng)ThisvariablefieldshallcontaintheTransfer?syntax?nameproposedforthispresentationcontext.AvalidTransfer?syntax?nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.13.Transfer?syntax?namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMTransfer?syntax?namesareregisteredinPS3.5.Table9?16
USERINFORMATIONITEMFIELDS
用戶(hù)信息條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型50H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item?length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheUser-datafield(s).Itshallbeencodedasanunsignedbinarynumber.5-xxxUser?data用戶(hù)數(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
條目類(lèi)型51H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem-lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheMaximum-length-receivedfield.InthecaseofthisItem,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.5-8Maximum-length-received最大接收長(zhǎng)度Thisparameterallowstheassociation-requestortorestrictthemaximumlengthofthevariablefieldoftheP-DATA-TFPDUssentbytheacceptorontheassociationonceestablished.Thislengthvalueisindicatedasanumberofbytesencodedasanunsignedbinarynumber.Thevalueof(0)indicatesthatnomaximumlengthisspecified.ThismaximumlengthvalueshallneverbeexceededbythePDUlengthvaluesusedinthePDU-lengthfieldoftheP-DATA-TFPDUsreceivedbytheassociation-requestor.Otherwise,itshallbeaprotocolerror.ItembytesFieldnameDescriptionoffield1Item-type
條目類(lèi)型51H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem-lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheMaximum-length-receivedfield.InthecaseofthisItem,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.5-8Maximum-length-received最大接收長(zhǎng)度Thisparameterallowstheassociation-acceptortorestrictthemaximumlengthofthevariablefieldoftheP-DATA-TFPDUssentbytherequestorontheassociationonceestablished.Thislengthvalueisindicatedasanumberofbytesencodedasanunsignedbinarynumber.Thevalueof(0)indicatesthatnomaximumlengthisspecified.ThismaximumlengthvalueshallneverbeexceededbythePDUlengthvaluesusedinthePDU-lengthfieldoftheP-DATA-TFPDUsreceivedbytheassociation-acceptor.Otherwise,itshallbeaprotocolerror.例:A-ASSOCIATE-RQ解析字節(jié)名稱(chēng)數(shù)據(jù)說(shuō)明1PDU?type01A-ASSOCIATE-RQ2Reserved003-6PDU?lengthPDU長(zhǎng)度000002365667-8Protocol?version協(xié)議版本000119-10Reserved000011-26Called?AE?title被叫方應(yīng)用實(shí)體名53746f72616765534350202020202020StorageSCP27-42Calling?AE?title主叫方應(yīng)用實(shí)體名51525343552020202020202020202020QRSCU43-74Reserved0000......
0075-xxxVariableitems可變條目應(yīng)用上下文條目表示上下文條目1…表示上下文條目n用戶(hù)信息條目條目字節(jié)名稱(chēng)數(shù)據(jù)說(shuō)明1Item?type10APPLICATIONCONTEXTITEM2Reserved003-4Item?length0015215-xxxApplication-context-name312e322e3834302e31303030382e332e312e312e311.2.840.10008.3.1.1.1
應(yīng)用上下文條目APPLICATIONCONTEXTITEM表示上下文條目1
PRESENTATIONCONTEXTITEM條目字節(jié)名稱(chēng)數(shù)據(jù)說(shuō)明1Item?type20PRESENTATIONCONTEXTITEM2Reserved003-4Item?length002e465Presentation?context?ID0116Reserved007Reserved008Reserved009-xxxAbstractSyntaxSub?Items抽象語(yǔ)法子條目TransferSyntaxSub?Items傳輸語(yǔ)法子條目抽象語(yǔ)法子條目
ABSTRACTSYNTAXSUB?ITEM條目字節(jié)名稱(chēng)數(shù)據(jù)說(shuō)明1Item?type30ABSTRACTSYNTAXSUB?ITEM2Reserved003-4Item-length0011175-xxxAbstract-syntax-name312e322e3834302e31303030382e312e311.2.840.10008.1.1Verification
SOP
Class傳輸語(yǔ)法子條目
TRANSFERSYNTAXSUB?ITEM條目字節(jié)名稱(chēng)數(shù)據(jù)說(shuō)明1Item?type40TRANSFERSYNTAXSUB?ITEM2Reserved003-4Item-length0011175-xxxTransfer?syntax?name(s)312e322e3834302e31303030382e312e321.2.840.10008.1.2DICOM默認(rèn)傳輸語(yǔ)法表示上下文條目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類(lèi))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)用戶(hù)信息條目
USERINFORMATIONITEMItembytesFieldnameDATADescriptionoffield1Item?type50USERINFORMATIONITEM2Reserved003-4Item?length003b595-xxxUser?data包含3條用戶(hù)信息子條目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長(zhǎng)度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結(jié)果/原因ThisResult/Reasonfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:0?acceptance接受
1?user?rejection用戶(hù)拒絕
2?no?reason(providerrejection)無(wú)原因
3?abstract?syntax?not?supported(providerrejection)抽象語(yǔ)法不支持
4?transfer?syntaxes?not?supported(providerrejection)傳輸語(yǔ)法不支持8ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.9-xxxTransfersyntaxsub?item傳輸語(yǔ)法子條目ThisvariablefieldshallcontainoneTransferSyntaxSub?Item.WhentheResult/Reasonfieldhasavalueotherthanacceptance(0),thisfieldshallnotbesignificantanditsvalueshallnotbetestedwhenreceived.ForacompletedescriptionoftheuseandencodingofthisitemseeSection9.3.3.2.1.Table9?19
TRANSFERSYNTAXSUB?ITEMFIELDS
傳輸語(yǔ)法子條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型40H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheTransfer-syntax-namefield.Itshallbeencodedasanunsignedbinarynumber.5-xxxTransfer?syntax?name傳輸語(yǔ)法名稱(chēng)ThisvariablefieldshallcontaintheTransfer?syntax?nameproposedforthispresentationcontext.AvalidTransfer?syntax?nameshallbeencodedasdefinedinAnnexF.ForadescriptionoftheuseofthisfieldseeSection7.1.1.14.Transfer?syntax?namesarestructuredasUIDsasdefinedinPS3.5(seeAnnexBforanoverviewofthisconcept).DICOMTransfer?syntax?namesareregisteredinPS3.5.Table9?20
USERINFORMATIONITEMFIELDS
用戶(hù)信息條目字段定義ItembytesFieldnameDescriptionoffield1Item?type條目類(lèi)型50H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-4Item-length條目長(zhǎng)度ThisItem?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheUser-data-informationfield(s).Itshallbeencodedasanunsignedbinarynumber.5-xxxUser-data用戶(hù)數(shù)據(jù)ThisvariablefieldshallcontainUser?datasub?itemsasdefinedbytheDICOMApplicationEntity.Thestructureandcontentofthesesub?itemsisdefinedinAnnexD.2.拒絕關(guān)聯(lián)類(lèi)A-ASSOCIATION-RJ:關(guān)聯(lián)拒絕PDUA-RELEASE-RQ:關(guān)聯(lián)釋放請(qǐng)求PDUA-RELEASE-RP:關(guān)聯(lián)釋放應(yīng)答PDUA-ABORT:關(guān)聯(lián)中斷PDUA-ASSOCIATE-RJPDU格式
A-RELEASE-RQPDU格式
A-RELEASE-RPPDU格式
A-ABORTPDU格式
字
節(jié)A-ASSOCIATE-RJA-RELEASE-RQA-RELEASE-RPA-ABORT1PDU類(lèi)型:03HPDU類(lèi)型:05HPDU類(lèi)型:06HPDU類(lèi)型:07H2保留:00H保留:00H保留:00H保留:00H3~6PDU長(zhǎng)度:00000004HPDU長(zhǎng)度:00000004HPDU長(zhǎng)度:00000004HPDU長(zhǎng)度;00000004H7保留:00H保留:00H保留:00H保留:00H8結(jié)果:1,永久拒絕;2,臨時(shí)拒絕保留:00H保留:00H保留:00H9來(lái)源:1-DICOMUL服務(wù)使用者;2-DICOMUL服務(wù)提供者(ACSE相關(guān)功能塊);3-DICOMUL服務(wù)提供者(表示層相關(guān)功能塊)保留:00H保留:00H來(lái)源:0-DICOMUL服務(wù)使用者;1-保留;2-DICOMUL服務(wù)提供者10原因/診斷:來(lái)源=1:1-未知原因;2-應(yīng)用上下文名不支持;3-主叫應(yīng)用實(shí)體名未識(shí)別;4~6-保留;7-被叫應(yīng)用實(shí)體名未識(shí)別;8~10-保留。來(lái)源=2:1-無(wú)原因;2-協(xié)議版本不支持。來(lái)源=3:0-保留;1-臨時(shí)擁塞;2-局部超限;3~7-保留保留:00H保留:00H原因/診斷:來(lái)源=0:0。來(lái)源=2:0-未知原因;1-未知PDU;2-非期望PDU;3-保留;4-未知PDU參數(shù);5-非期望PDU參數(shù);6-無(wú)效PDU參數(shù)值A(chǔ)-ASSOCIATE-RJPDUbytesFieldnameDescriptionoffield1PDU?typePDU類(lèi)型03H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU?lengthPDU長(zhǎng)度ThisPDU?lengthshallbethenumberofbytesfromthefirstbyteofthefollowingfieldtothelastbyteoftheReason/Diag.field.InthecaseofthisPDU,itshallhavethefixedvalueof00000004Hencodedasanunsignedbinarynumber.7ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.8Result結(jié)果ThisResultfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:1?rejected?permanent永久拒絕
2?rejected?transient臨時(shí)拒絕9Source來(lái)源ThisSourcefieldshallcontainanintegervalueencodedasanunsignedbinarynumber.Oneofthefollowingvaluesshallbeused:
1?DICOMULservice?user服務(wù)用戶(hù)方
2?DICOMULservice?provider(ACSErelatedfunction)服務(wù)提供方的ACSE
3?DICOMULservice?provider(Presentationrelatedfunction)服務(wù)提供方的表示層10Reason/Diag.原因/診斷Thisfieldshallcontainanintegervalueencodedasanunsignedbinarynumber.IftheSourcefieldhasthevalue(1)“DICOMULservice?user”,itshalltakeoneofthefollowing: 1?no?reason?given未知原因
2?application?context?name?not?supported應(yīng)用上下文名不支持
3?calling?AE?title?not?recognized主叫方應(yīng)用實(shí)體名未識(shí)別
4-6?reserved
7?called?AE?title?not?recognized被叫方應(yīng)用實(shí)體名未識(shí)別
8-10?reservedIftheSourcefieldhasthevalue(2)“DICOMULserviceprovided(ACSErelatedfunction),”itshalltakeoneofthefollowing: 1?no?reason?given未知原因
2?protocol?version?not?supported協(xié)議版本號(hào)不支持IftheSourcefieldhasthevalue(3)
“DICOMULserviceprovided(Presentationrelatedfunction),”itshalltakeoneofthefollowing: 0?reserved
1?temporary?congestion暫時(shí)擁塞
2?local?limit?exceeded超過(guò)本地門(mén)限
3-7?reservedNote: ThereservedfieldsareusedtopreservesymmetrywithOSIACSE/PresentationServicesandProtocols.3數(shù)據(jù)傳輸類(lèi)P?DATA?TFPDUbytesFieldnameDescriptionoffield1PDU-typePDU類(lèi)型04H2ReservedThisreservedfieldshallbesentwithavalue00Hbutnottestedtothisvaluewhenreceived.3-6PDU-lengthPDU長(zhǎng)度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條目長(zhǎng)度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)機(jī)3.8
UL狀態(tài)機(jī)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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 個(gè)人建筑用工合同范例
- 用房子抵押合同范例
- 縱橫簽約合同范例
- 科技公司融資合同范例
- 戶(hù)外桌子采購(gòu)合同范例
- 銅仁職業(yè)技術(shù)學(xué)院《城市文化設(shè)計(jì)與推廣》2023-2024學(xué)年第一學(xué)期期末試卷
- 銅仁幼兒師范高等專(zhuān)科學(xué)校《商務(wù)禮儀與形象設(shè)計(jì)》2023-2024學(xué)年第一學(xué)期期末試卷
- 銅仁學(xué)院《員工關(guān)系管理理論與實(shí)務(wù)》2023-2024學(xué)年第一學(xué)期期末試卷
- 銅川職業(yè)技術(shù)學(xué)院《冰雪運(yùn)動(dòng)損傷與康復(fù)》2023-2024學(xué)年第一學(xué)期期末試卷
- 桐城師范高等專(zhuān)科學(xué)?!豆碴P(guān)系學(xué)2》2023-2024學(xué)年第一學(xué)期期末試卷
- 糖尿病治療研究進(jìn)展
- 工業(yè)互聯(lián)網(wǎng)標(biāo)準(zhǔn)體系(版本3.0)
- 山東省菏澤市10校2023-2024學(xué)年高二上學(xué)期期末聯(lián)考地理試題(含答案解析)
- 初一數(shù)學(xué)期中考試分析
- 松果體區(qū)腫瘤護(hù)理
- 招聘司機(jī)方案
- 《施工現(xiàn)場(chǎng)安全防護(hù)標(biāo)準(zhǔn)化防高墜篇》測(cè)試附有答案
- 浙江省寧波市2023-2024學(xué)年高一上學(xué)期1月期末地理試題【含答案解析】
- 流動(dòng)資金貸款管理辦法培訓(xùn)1
- 期末測(cè)試(試題)-2023-2024學(xué)年冀教版英語(yǔ)五年級(jí)上冊(cè)
- 2022年1月上海春季高考英語(yǔ)真題(學(xué)生版+解析版+聽(tīng)力音頻)
評(píng)論
0/150
提交評(píng)論