pacs系统Debugging with DCMTK
1.系统组成: CT 设备 连接 pacs服务器实现数据下载功能。
2.pacs系统配置和搭建参考网站:https://support.dcmtk.org/redmine/projects/dcmtk/wiki/Howto_PACSDebuggingWithDCMTK
3.配置完成之后测了下本地与服务器连接是否正常:
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$ echoscu -d 220.0.5.55 1111 -aec ACME_STORE -aet jjkj
D: $dcmtk: echoscu v3.6.4 2018-11-29 $
D:
D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
F: Association Rejected:
F: Result: Rejected Permanent, Source: Service User
F: Reason: Called AE Title Not Recognized
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$ echoscu -d 127.0.0.1 1111 -aec ACME_STORE -aet jjkj
D: $dcmtk: echoscu v3.6.4 2018-11-29 $
D:
D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 184 + 6 bytes PDU header
D: 02 00 00 00 00 b8 00 01 00 00 41 43 4d 45 5f 53
D: 54 4f 52 45 20 20 20 20 20 20 6a 6a 6b 6a 20 20
D: 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 19 01 00 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 50 00 00 3a 51 00 00 04 00 00 40 00 52 00 00 1b
D: 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30 30 31
D: 30 2e 33 2e 30 2e 33 2e 36 2e 34 55 00 00 0f 4f
D: 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 34
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Their Implementation Version Name: OFFIS_DCMTK_364
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
I: Sending Echo Request (MsgID 1)
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Echo Response (Success)
I: Releasing Association
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
3.回环口可以连接,但是以太网分配的IP地址链接失败
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$ ifconfig
eno1 Link encap:以太网 硬件地址 4c:cc:6a:6b:1c:fa
inet 地址:220.0.5.55 广播:220.0.7.255 掩码:255.255.252.0
inet6 地址: fe80::2b4f:78fd:bec0:3c0e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:981613 错误:0 丢弃:39637 过载:0 帧数:0
发送数据包:17343 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:164037630 (164.0 MB) 发送字节:1505460 (1.5 MB)
中断:20 Memory:fb300000-fb320000
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 跃点数:1
接收数据包:830050 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:830050 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:4338991742 (4.3 GB) 发送字节:4338991742 (4.3 GB)
4.查看pacs系统的配置文件:
acme1 = (jjkj, localhost, 1111)
acme2 = (jjkj, 220.0.5.55, 1111)
acmeCTcompany = acme1, acme2
united1 = (UHICT, 220.0.4.15, 3333)
united2 = (jjkj, localhost, 1111)
united3 = (jjkj, localaddress, 1111)
unitedMRcompany = united1, united2 , united3
5.后来发现不支持ip地址的形式,配置给要用到的的IP地址配置了域名,将配置文件改成:
acme1 = (jjkj, localhost, 1111)
acme2 = (jjkj, localaddress, 1111)
#acme3 = (jjkj, localhost, 1111)
acmeCTcompany = acme1, acme2
united1 = (UHICT, ctaddress, 3333)
united2 = (UNITED2, unitedhost2, 2222)
united3 = (jjkj, localhost, 1111)
united4 = (jjkj, localaddress, 1111)
unitedMRcompany = united1, united2 , united3, united4
6.本地测试就通过了:
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$ echoscu -d 127.0.0.1 1111 -aec ACME_STORE -aet jjkj
D: $dcmtk: echoscu v3.6.4 2018-11-29 $
D:
D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 184 + 6 bytes PDU header
D: 02 00 00 00 00 b8 00 01 00 00 41 43 4d 45 5f 53
D: 54 4f 52 45 20 20 20 20 20 20 6a 6a 6b 6a 20 20
D: 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 19 01 00 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 50 00 00 3a 51 00 00 04 00 00 40 00 52 00 00 1b
D: 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30 30 31
D: 30 2e 33 2e 30 2e 33 2e 36 2e 34 55 00 00 0f 4f
D: 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 34
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Their Implementation Version Name: OFFIS_DCMTK_364
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
I: Sending Echo Request (MsgID 1)
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Echo Response (Success)
I: Releasing Association
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$ echoscu -d localaddress 1111 -aec ACME_STORE -aet jjkj
D: $dcmtk: echoscu v3.6.4 2018-11-29 $
D:
D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic
D: Request Parameters:
D: ====================== BEGIN A-ASSOCIATE-RQ =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID:
D: Their Implementation Version Name:
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 0
D: Presentation Contexts:
D: Context ID: 1 (Proposed)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Proposed Transfer Syntax(es):
D: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-RQ ======================
I: Requesting Association
D: setting network send timeout to 60 seconds
D: setting network receive timeout to 60 seconds
D: Constructing Associate RQ PDU
D: PDU Type: Associate Accept, PDU Length: 184 + 6 bytes PDU header
D: 02 00 00 00 00 b8 00 01 00 00 41 43 4d 45 5f 53
D: 54 4f 52 45 20 20 20 20 20 20 6a 6a 6b 6a 20 20
D: 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
D: 00 00 00 00 00 00 00 00 00 00 10 00 00 15 31 2e
D: 32 2e 38 34 30 2e 31 30 30 30 38 2e 33 2e 31 2e
D: 31 2e 31 21 00 00 19 01 00 00 00 40 00 00 11 31
D: 2e 32 2e 38 34 30 2e 31 30 30 30 38 2e 31 2e 32
D: 50 00 00 3a 51 00 00 04 00 00 40 00 52 00 00 1b
D: 31 2e 32 2e 32 37 36 2e 30 2e 37 32 33 30 30 31
D: 30 2e 33 2e 30 2e 33 2e 36 2e 34 55 00 00 0f 4f
D: 46 46 49 53 5f 44 43 4d 54 4b 5f 33 36 34
D: Parsing an A-ASSOCIATE PDU
D: Association Parameters Negotiated:
D: ====================== BEGIN A-ASSOCIATE-AC =====================
D: Our Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Our Implementation Version Name: OFFIS_DCMTK_364
D: Their Implementation Class UID: 1.2.276.0.7230010.3.0.3.6.4
D: Their Implementation Version Name: OFFIS_DCMTK_364
D: Application Context Name: 1.2.840.10008.3.1.1.1
D: Calling Application Name: jjkj
D: Called Application Name: ACME_STORE
D: Responding Application Name: ACME_STORE
D: Our Max PDU Receive Size: 16384
D: Their Max PDU Receive Size: 16384
D: Presentation Contexts:
D: Context ID: 1 (Accepted)
D: Abstract Syntax: =VerificationSOPClass
D: Proposed SCP/SCU Role: Default
D: Accepted SCP/SCU Role: Default
D: Accepted Transfer Syntax: =LittleEndianImplicit
D: Requested Extended Negotiation: none
D: Accepted Extended Negotiation: none
D: Requested User Identity Negotiation: none
D: User Identity Negotiation Response: none
D: ======================= END A-ASSOCIATE-AC ======================
I: Association Accepted (Max Send PDV: 16372)
I: Sending Echo Request (MsgID 1)
D: DcmDataset::read() TransferSyntax="Little Endian Implicit"
I: Received Echo Response (Success)
I: Releasing Association
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
jjkj@jjkj-MS-7A54-Invalid-entry-length-16-Fixed-up-to-11:~/Project$
pacs系统Debugging with DCMTK相关推荐
- 创建本地版PACS系统
创建本地版PACS系统 PACS简介 一.环境准备 1.1 下载dcmtk安装包: 1.3 生成项目文件 1.4 下载ORTHANC安装包: 二.使用步骤 2.1添加新用户 2.2上传病例数据 总结 ...
- 医院PACS系统之安装(win10)
系列文章目录 第二章 医院PACS系统之安装(win10) 文章目录 系列文章目录 一.环境准备 1.1 下载dcmtk安装包: 1.2 使用cmake编辑本地dcmtk环境: 1.3 生成项目文件 ...
- 运用DCM4CHEE docker镜像模拟医院PACS系统进行数据传输的测试
本文由Markdown语法编辑器编辑完成. 1. 开源PACS服务_dcm4chee: 在医疗影像的软件开发过程中,通常需要测试与PACS系统的数据通讯.PACS系统是医学影像存储和传输的一个系统,支 ...
- php 实现 pacs 系统,影像管理系统(PACS)
随着近年来医学影像学的发展,建设PACS系统以实现影像数字化.存储无胶片化.管理网络化等功能,已经成为各医院影像学科室的共识和发展趋势. (一) PACS系统简介: 1. PACS系统采用标准的系统( ...
- 医疗影像网络PACS系统方案
PACS系统是通过计算机网络来实现医学图像的获取.存储.传送和管理的综合系统.它基本上替代了传统上对影像胶片的各种繁复操作.该系统在国外于80年代开始起步,在90年代初趋于成熟,目前已在临床中广泛应用 ...
- 医学影像PACS系统解决方案与成功案例汇总
经历过2010年一年时间,HC3i论坛也与大家相伴快一年了,这一年中,网友分享专业医疗信息化资料超过15000个,HC3i感谢大家的支持与厚爱!岁末年初之极,也整理盘点一下,方便大家回顾一年中精华资源 ...
- pacs系统服务器配置,pacs系统 服务器配置
pacs系统 服务器配置 内容精选 换一换 简要介绍Mongoose是C语言写成的网络库.它为TCP.UDP.HTTP.WebSocket.CoAP.MQTT实现了事件驱动型的非阻塞api,常在嵌入式 ...
- pacs系统服务器配置,pacs系统服务器配置
pacs系统服务器配置 内容精选 换一换 简要介绍Mongoose是C语言写成的网络库.它为TCP.UDP.HTTP.WebSocket.CoAP.MQTT实现了事件驱动型的非阻塞api,常在嵌入式设 ...
- pacs系统服务器配置需求,pacs系统服务器配置
pacs系统服务器配置 内容精选 换一换 简要介绍Emacs是可扩展的.可定制的.自我记录的实时显示编辑器.其核心是Emacs Lisp的解释器,它是一种Lisp编程语言的方言,带有扩展以支持文本编辑 ...
最新文章
- Android 最火的高速开发框架xUtils
- [YTU]_2906( 多重继承 日期与时间)
- UNIX再学习 -- 错误和警告
- Spring中AOP开发步骤
- 图像相似度(信息学奥赛一本通-T1123)
- 青蛙吃蚊子小游戏源码
- java readLine()
- php打包mysql_PHP封装MySQL的单例
- oracle 二进制日志格式,二进制日志
- N - C语言实验——各位数字之和排序
- 1.4. network
- java随机生成昵称
- 信息安全体系建设(一)
- 利用DroidCam将手机摄像头打造成电脑摄像头
- HR面试都会问什么问题?(上)
- [android issue解析] fd leakage cause app ANR
- 猫咪APP 服务器不稳定,这下知道猫咪为啥经常情绪不稳定了不?
- 基于Python+kociemba+opencv的3阶魔方自动还原
- 一文看懂计算机视觉!7个专业术语别说你不知道!
- MSP432E401Y-按键中断点灯
热门文章
- 什么是robots协议?网站中的robots.txt写法和作用
- 脂质体-DSPE-PEG-Pt(IV),二硬脂酰基磷脂-聚乙二醇-金属元素铂
- C++将16进制补码转换为十进制数
- C3PO链接池配置(附带jar)
- hexo —— 搭建个人博客保姆级教程
- FPGA和USB3.0通信-USB3.0 PHY介绍
- 域名该怎样选_域名选择策略有哪些(教你如何选一个好的域名)
- python--海温、OLR数据分布做显著性检验,绘制空间分布并打点
- java sql date 加减_java.sql.Date 日期 加减天数的实现
- VSCode官网无法下载