`
xumingyong
  • 浏览: 182296 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

ACSE-1 (osi 8650-1)abstract syntax

阅读更多

-- Module ACSE-1 (X.227:04/1995)
-- See also the README file
-- See also the index of all ASN.1 assignments needed in this document

ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0) version1(1)}
--  ACSE-1 refers to ACSE version 1
DEFINITIONS ::=
BEGIN

EXPORTS
  acse-as-id, ACSE-apdu, aCSE-id, Application-context-name, AP-title,
    AE-qualifier, AE-title, AP-invocation-identifier, AE-invocation-identifier,
    Mechanism-name, Authentication-value, ACSE-requirements, ObjectSet;

IMPORTS
  Name, RelativeDistinguishedName
    FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
      informationFramework(1) 3};

--  The data types Name and RelativeDistinguishedName are imported from ISO/IEC 9594-2.
--  object identifier assignments
acse-as-id OBJECT IDENTIFIER ::=
  {joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0)
   version1(1)}

--  may be used to reference the abstract syntax of the ACSE APDUs
aCSE-id OBJECT IDENTIFIER ::=
  {joint-iso-itu-t association-control(2) ase-id(3) acse-ase(1) version(1)}

--  may be used to identify the Association Control ASE.
--  top level CHOICE
ACSE-apdu ::= CHOICE {
  aarq  AARQ-apdu,
  aare  AARE-apdu,
  rlrq  RLRQ-apdu,
  rlre  RLRE-apdu,
  abrt  ABRT-apdu,
  ...
}

AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
  protocol-version
    [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
  application-context-name          [1]  Application-context-name,
  called-AP-title                   [2]  AP-title OPTIONAL,
  called-AE-qualifier               [3]  AE-qualifier OPTIONAL,
  called-AP-invocation-identifier   [4]  AP-invocation-identifier OPTIONAL,
  called-AE-invocation-identifier   [5]  AE-invocation-identifier OPTIONAL,
  calling-AP-title                  [6]  AP-title OPTIONAL,
  calling-AE-qualifier              [7]  AE-qualifier OPTIONAL,
  calling-AP-invocation-identifier  [8]  AP-invocation-identifier OPTIONAL,
  calling-AE-invocation-identifier  [9]  AE-invocation-identifier OPTIONAL,
  --  The following field shall not be present if only the Kernel is used.
  sender-acse-requirements          [10] IMPLICIT ACSE-requirements OPTIONAL,
  --  The following field shall only be present if the Authentication functional unit is selected.
  mechanism-name                    [11] IMPLICIT Mechanism-name OPTIONAL,
  --  The following field shall only be present if the Authentication functional unit is selected.
  calling-authentication-value      [12] EXPLICIT Authentication-value OPTIONAL,
  application-context-name-list
    [13] IMPLICIT Application-context-name-list OPTIONAL,
  --  The above field shall only be present if the Application Context Negotiation functional unit is selected
  implementation-information        [29] IMPLICIT Implementation-data OPTIONAL,
  ...,
  ...,
  user-information
    [30] IMPLICIT Association-information OPTIONAL
}

AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
  protocol-version
    [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
  application-context-name             [1]  Application-context-name,
  result                               [2]  Associate-result,
  result-source-diagnostic             [3]  Associate-source-diagnostic,
  responding-AP-title                  [4]  AP-title OPTIONAL,
  responding-AE-qualifier              [5]  AE-qualifier OPTIONAL,
  responding-AP-invocation-identifier  [6]  AP-invocation-identifier OPTIONAL,
  responding-AE-invocation-identifier  [7]  AE-invocation-identifier OPTIONAL,
  --  The following field shall not be present if only the Kernel is used.
  responder-acse-requirements          [8] IMPLICIT ACSE-requirements OPTIONAL,
  --  The following field shall only be present if the Authentication functional unit is selected.
  mechanism-name                       [9] IMPLICIT Mechanism-name OPTIONAL,
  --  This following field shall only be present if the Authentication functional unit is selected.
  responding-authentication-value
    [10] EXPLICIT Authentication-value OPTIONAL,
  application-context-name-list
    [11] IMPLICIT Application-context-name-list OPTIONAL,
  --  The above field shall only be present if the Application Context Negotiation functional unit is selected
  implementation-information
    [29] IMPLICIT Implementation-data OPTIONAL,
  ...,
  ...,
  user-information
    [30] IMPLICIT Association-information OPTIONAL
}

RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
  reason            [0] IMPLICIT Release-request-reason OPTIONAL,
  ...,
  ...,
  user-information  [30] IMPLICIT Association-information OPTIONAL
}

RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
  reason            [0] IMPLICIT Release-response-reason OPTIONAL,
  ...,
  ...,
  user-information  [30] IMPLICIT Association-information OPTIONAL
}

ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
  abort-source      [0] IMPLICIT ABRT-source,
  abort-diagnostic  [1] IMPLICIT ABRT-diagnostic OPTIONAL,
  --  This field shall not be present if only the Kernel is used.
  ...,
  ...,
  user-information  [30] IMPLICIT Association-information OPTIONAL
}

ABRT-diagnostic ::= ENUMERATED {
  no-reason-given(1), protocol-error(2),
  authentication-mechanism-name-not-recognized(3),
  authentication-mechanism-name-required(4), authentication-failure(5),
  authentication-required(6), ...
  }

ABRT-source ::= INTEGER {acse-service-user(0), acse-service-provider(1)
}(0..1, ...)

ACSE-requirements ::= BIT STRING {
  authentication(0), application-context-negotiation(1)}

Application-context-name-list ::= SEQUENCE OF Application-context-name

Application-context-name ::= OBJECT IDENTIFIER

--  Application-entity title productions follow (not in alphabetical order)
AP-title ::= CHOICE {
  ap-title-form1  AP-title-form1,
  ap-title-form2  AP-title-form2,
  ...
}

AE-qualifier ::= CHOICE {
  ae-qualifier-form1  AE-qualifier-form1,
  ae-qualifier-form2  AE-qualifier-form2,
  ...
}

--  When both AP-title and AE-qualifier data values are present in an AARQ or AARE APDU, both must
--  have the same form to allow the construction of an AE-title as discussed in CCITT Rec. X.665 |
--  ISO/IEC 9834-6.
AP-title-form1 ::=
  Name

--  The value assigned to AP-title-form1 is The Directory Name of an application-process title.
AE-qualifier-form1 ::=
  RelativeDistinguishedName

--  The value assigned to AE-qualifier-form1 is the relative distinguished name of a particular
--  application-entity of the application-process identified by AP-title-form1.
AP-title-form2 ::= OBJECT IDENTIFIER

AE-qualifier-form2 ::= INTEGER

AE-title ::= CHOICE {
  ae-title-form1  AE-title-form1,
  ae-title-form2  AE-title-form2,
  ...
}

--  As defined in CCITT Rec. X.650 | ISO 7498-3, an application-entity title is composed of an application-
--  process title and an application-entity qualifier.  The ACSE protocol provides for the transfer of an
--  application-entity title value by the transfer of its component values.  However, the following data type
--  is provided for International Standards that reference a single syntactic structure for AE titles.
AE-title-form1 ::=
  Name

--  For access to The Directory (ITU-T Rec. X.500-Series | ISO/IEC 9594), an AE title has AE-title-form1.
--  This value can be constructed from AP-title-form1 and AE-qualifier-form1 values contained in an
--  AARQ or AARE APDU. A discussion of forming an AE-title-form1 from AP-title-form1 and AE-qualifier-
--  form1 may be found in CCITT Rec. X.665 | ISO/IEC 9834-6.
AE-title-form2 ::= OBJECT IDENTIFIER

--  A discussion of forming an AE-title-form2 from AP-title-form2 and AE-qualifier-form2 may be
--  found in CCITT Rec. X.665 | ISO/IEC 9834-6.
AE-invocation-identifier ::= INTEGER

AP-invocation-identifier ::= INTEGER

--  End of Application-entity title productions
Associate-result ::= INTEGER {
  accepted(0), rejected-permanent(1), rejected-transient(2)}(0..2, ...)

Associate-source-diagnostic ::= CHOICE {
  acse-service-user
    [1]  INTEGER {null(0), no-reason-given(1),
                  application-context-name-not-supported(2),
                  calling-AP-title-not-recognized(3),
                  calling-AP-invocation-identifier-not-recognized(4),
                  calling-AE-qualifier-not-recognized(5),
                  calling-AE-invocation-identifier-not-recognized(6),
                  called-AP-title-not-recognized(7),
                  called-AP-invocation-identifier-not-recognized(8),
                  called-AE-qualifier-not-recognized(9),
                  called-AE-invocation-identifier-not-recognized(10),
                  authentication-mechanism-name-not-recognized(11),
                  authentication-mechanism-name-required(12),
                  authentication-failure(13), authentication-required(14)}
                                                                    (0..14, ...),
  acse-service-provider
    [2]  INTEGER {null(0), no-reason-given(1), no-common-acse-version(2)}
                                                                    (0..2, ...)
}

Association-information ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNAL

Authentication-value ::= CHOICE {
  charstring  [0] IMPLICIT GraphicString,
  bitstring   [1] IMPLICIT BIT STRING,
  external    [2] IMPLICIT EXTERNAL,
  other
    [3] IMPLICIT SEQUENCE {other-mechanism-name
                             MECHANISM-NAME.&id({ObjectSet}),
                           other-mechanism-value
                             MECHANISM-NAME.&Type
                               ({ObjectSet}{@.other-mechanism-name})}
}

--  The abstract syntax of (calling/responding) authentication-value is determined by the authentication
--  mechanism used during association establishment.  The authentication mechanism is either explicitly
--  denoted by the &id field (of type OBJECT IDENTIFIER) for a mechanism belonging to the class
--  MECHANISM-NAME, or it is known implicitly by
--  prior agreement between the communicating partners.  If the "other" component is chosen, then
--  the "mechanism-name" component must be present in accordance with
--  ITU-T Rec. X.680 | ISO/IEC 8824. If the value "mechanism-name" occurs in the AARQ-apdu or the
--  AARE-apdu, then that value must be the same as the value for "other-mechanism-name"
Implementation-data ::= GraphicString

Mechanism-name ::= OBJECT IDENTIFIER

MECHANISM-NAME ::= TYPE-IDENTIFIER

ObjectSet MECHANISM-NAME ::=
  {...}

Release-request-reason ::= INTEGER {normal(0), urgent(1), user-defined(30)
}(0 | 1 | 30, ...)

Release-response-reason ::= INTEGER {
  normal(0), not-finished(1), user-defined(30)}(0 | 1 | 30, ...)

END


分享到:
评论
1 楼 行动与思考 2015-05-08  
你好!请问GraphicString这个类型是什么类型呀?怎么没有定义呀?

相关推荐

    environments_acse1:ACSE-1环境示例存储库

    "environments_acse1:ACSE-1环境示例存储库"是一个专为ACSE-1项目设计的资源集合,主要用于展示和提供与该课程相关的编程环境。这个存储库包含了一系列的配置文件、脚本和可能的样例代码,旨在帮助学生和开发者快速...

    acse-soap-adder

    基于SOAP的Web服务的示例项目 这些简单的项目显示了最少的功能集。 运行SOAP项目 要运行SOAP项目,请执行以下操作。 将此存储库克隆到一个临时文件夹。 按照中的描述导入项目。 将SoapService项目发布到应用程序...

    Rainfall_Data:将降雨数据从csv格式处理为更易读的数据

    降雨数据处理 在此存储库中,我们使用了Pandas和Docker...为了能够运行此工具,您需要将其克隆到计算机中git clone https://github.com/acse-2020/acse-1-assessment-2-acse-va220.git 该工具仅在Python 3.0上构建,因

    OSI七层详细网络图

    标题:“OSI七层详细网络图” 描述:本资料提供了对OSI(Open Systems Interconnection)七层模型的深入解析,旨在为网络基础知识的学习提供全面的指导。通过详细阐述每一层的功能、作用以及与上下层的交互关系,...

    IEC61850基础开发导言-asn1编码

    ASN1(Abstract Syntax Notation One)是一种用于定义数据结构的通用语法,它提供了描述复杂数据类型的手段,并且能够独立于具体的编程语言。IEC61850标准采用ASN1编码来定义其应用层协议、表述层、会话层和传输层的...

    IEC61850服务基础开发导言-ASN1编码

    **ASN1** (Abstract Syntax Notation One) 是一种数据表示和编码标准,广泛应用于各种通信协议中。在IEC61850标准中,所有应用层协议(如MMS、GOOSE、SMV等)均采用了ASN1编码方式。ASN1编码具有高度自描述性,能够...

    IEC61850-1

    ### IEC61850-1:数字化变电站标准概览 #### 一、引言 IEC61850系列标准是国际电工委员会(International Electrotechnical Commission, IEC)制定的一项旨在规范变电站自动化系统设计、集成与运行的综合性标准。它...

    ACSE_Recordings:ACSE20的录制链接

    ACSE_Recordings ACSE20的录制链接 ACSE6 L14(MPI L8)-26 / Feb (课程介绍) ACSE6 L13(MPI L7)-25 / Feb (并行通信体系结构和并行性能) ACSE6 L12(MPI L6)-24 / Feb (并行分解) ACSE6 L11(MPI ...

    dicom3 中文标准 9

    上层服务的定义允许使用完全兼容的 OSI 协议(层 1 到 6 加 ACSE)来完成健壮的和有效的通讯。通过广泛的物理网络的选择,如 ISO 8802-3 CSMA/CD(经常用在以太网),FDDI,ISDN,X.25,专用数字电路,和许多其他的 ...

    matlabhill代码-LinSol:用C++编写的线性求解器

    Hill代码acse-5-assignment-nan 小组成员 Sokratis Anagnostopoulos 朱林高娜 浩路 BLAS先决条件 OpenBLAS 为了确保它可以编译,需要首先导出已安装的OpenBLAS的路径(以下是macOS中使用的示例) brew install ...

    亚信 安全 TDA综合试题 ACSE考试,试题,含答案含答案.zip

    亚信 安全 TDA综合试题 ACSE考试,试题,含答案含答案.zip

    MMS与ASN.1编码规则

    MMS作为ISO/IEC 9506标准的一部分,在非专业人士看来存在一定的理解难度,主要是因为它涉及到了其他标准如Presentation、ASN.1(抽象语法表示第1部分)以及ACSE(应用关联控制元素)。这些额外的标准不仅增加了学习...

    fo-dicom开源库NET4.5.rar

    3. **DICOM网络组件**:支持TCP/IP上的DICOM通信,包括DIMSE(DICOM Management Message Entity)和ACSE(Abstract Syntax Negotiation Service Entity)协议。 4. **图像处理**:提供了一些基本的图像操作功能,如...

    dcm4che-5.16.0.zip

    3. **dcm4che-net**: 包含了实现DICOM网络服务的类,如DIMSE(DICOM Message Service Element)和ACSE(Abstract Syntax Negotiation Sub-layer)服务,用于设备间的安全连接和通信。 4. **dcm4che-tool**: 提供了...

    IEC 62351-4

    3. ACSE(Association Control Service Element)安全:ACSE是OSI网络模型中会话层的服务元素,负责建立、维护和终止通信会话。在安全方面,它包括了对等实体认证、AARQ(Association Request)和AARE(Association ...

    dcmtk-3.5.3-html-help.zip_Help!_dcmtk_dcmtk help

    2. **dcmnet**:实现了DICOM网络通信协议,如DIMSE(DICOM Management Message Facility)和ACSE(Abstract Syntax Negotiation for Communication Services Elements)。 3. **dcmimgle**:处理DICOM图像数据,提供...

    python----切片(csdn)————程序.pdf

    在列表 `[0,1,2,3,4,5,6]` 中,`a[0]` 返回第一个元素 0,`a[2]` 返回第三个元素 2,而 `a[-1]` 返回最后一个元素 6。这里的索引可以是正数或负数,负数索引表示从右向左数的顺序。 **2. 切割完整对象** 使用冒号`:...

    ci_acse1:虚拟课堂回购CI讲座

    【描述】"ci_acse1"可能代表了某种课程或项目代号,暗示我们将深入学习与CI相关的具体技术和工具。虚拟课堂回购CI讲座可能涵盖如何利用虚拟环境来模拟不同的开发和部署环境,以确保代码在各种条件下都能正常运行。...

    TD-LTE培训试题(含答案)

    1. **X2接口**:X2接口是E-NodeB之间的接口,用于E-NodeB之间的通信,包括负载管理、移动性管理和干扰协调等。 2. **资源块(Resource Block, RB)**:在一个时隙中,150kHz的频域连续资源称为一个资源块,是LTE中...

    EP1C6Q240C6开发板原理图

    ### EP1C6Q240C6 开发板原理图解析 #### 一、概述 EP1C6Q240C6 开发板是一款基于Altera Cyclone系列FPGA(Field Programmable Gate Array)的多功能开发板,广泛应用于教学、科研以及各种嵌入式系统开发场景中。该...

Global site tag (gtag.js) - Google Analytics