ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf

上传人:花仙子 文档编号:730790 上传时间:2019-01-08 格式:PDF 页数:59 大小:294.44KB
下载 相关 举报
ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf_第1页
第1页 / 共59页
ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf_第2页
第2页 / 共59页
ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf_第3页
第3页 / 共59页
ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf_第4页
第4页 / 共59页
ETSI ES 201 873-7-2018 Methods for Testing and Specification (MTS) The Testing and Test Control Notation version 3 Part 7 Using ASN 1 with TTCN-3 (V4 7 1).pdf_第5页
第5页 / 共59页
点击查看更多>>
资源描述

1、 ETSI ES 201 873-7 V4.7.1 (2018-05) Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 7: Using ASN.1 with TTCN-3 ETSI STANDARD ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)2Reference RES/MTS-201873-7ed471 Keywords ASN.1, language, testing, TTCN, XML ETSI 65

2、0 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www

3、.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived differ

4、ence in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or chan

5、ge of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportSt

6、aff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization

7、 of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. ETSI 2018. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are trademarks of ETSI registered for the benefit of its Members. 3GPPTM and LTETMare trademarks of ETSI registered for the benefit

8、of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members. GSMand the GSM logo are trademarks registered and owned by the GSM Association. ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)3Contents Intellectual Property Rights 5g3Foreword . 5g3Modal verbs

9、terminology 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative references 7g33 Definitions and abbreviations . 8g33.1 Definitions 8g33.2 Abbreviations . 9g34 Introduction 9g35 General . 9g35.1 Approach 9g35.2 Conformance and compatibility . 10g36 Amendments to the core langu

10、age . 10g37 Additional TTCN-3 types . 10g37.1 General . 10g37.2 The object identifier type . 10g37.2.0 The objid type . 10g37.2.1 Sub-typing of the objid type 11g37.2.1.1 Subtrees of the objid type 11g37.2.1.2 List subtypes . 12g37.2.1.3 Range subtypes . 12g37.2.1.4 Mixing list and range subtypings

11、12g37.2.2 Object identifier values . 12g37.2.3 Using objid values to identify modules . 12g37.2.3.1 Identifying module definitions 12g37.2.3.2 Identifying modules in import statements . 13g37.2.4 Object identifier templates 13g37.2.4.0 General 13g37.2.4.1 In-line templates 13g37.2.4.2 Template match

12、ing mechanisms . 13g37.2.5 Using objid with operators 14g37.2.5.1 List operator 14g37.2.5.2 Relational operators 14g37.2.6 Using objid with predefined functions 15g37.2.6.1 Number of components of an objid value or template. 15g37.2.6.2 The Substring function 15g37.2.6.3 The isvalue function 15g37.2

13、.7 Supporting objid in TCI 16g37.2.7.0 General 16g37.2.7.1 Adding objid to abstract data types and values . 16g37.2.7.2 Adding objid to Java language mapping . 17g37.2.7.3 Adding objid to ANSI C language mapping . 18g38 ASN.1 and TTCN-3 type equivalents 22g38.1 General . 22g38.1.a Importing from ASN

14、.1 modules . 23g38.1.a.1 Language specification strings 23g38.1.a.2 Importing definitions from ASN.1 modules . 23g38.1.a.3 Importing import statements from ASN.1 modules 24g38.1.a.4 Import Visibility of ASN.1 definitions . 24g3ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)48.2 Identifiers . 24g39 ASN.1 dat

15、a types and values 25g39.1 Transformation rules for ASN.1 types and values 25g39.2 Transformation rules for values 33g39.3 Scope of ASN.1 identifiers . 33g310 Parameterization in ASN.1 . 33g311 Defining ASN.1 message templates . 34g311.1 General . 34g311.2 Receiving messages based on ASN.1 types . 3

16、4g311.3 Ordering of template fields . 35g312 Encoding information . 35g312.1 General . 35g312.2 ASN.1 encoding attributes . 35g312.3 ASN.1 variant attributes . 36g3Annex A (normative): Additional BNF and static semantics . 37g3A.0 General rules 37g3A.1 New productions for ASN.1 support 37g3A.2 Amend

17、ed core language BNF productions and static semantics 37g3Annex B (normative): Additional Pre-defined TTCN-3 functions 39g3Annex C (informative): Additional information on object identifiers . 40g3C.1 The top-level arcs of the OID tree 40g3C.2 Character patterns to match OID IRI-s . 42g3Annex D (inf

18、ormative): Deprecated features . 43g3Annex E (informative): Example patterns for ASN.1 time types . 44g3E.0 General rules 44g3E.1 Patterns corresponding to unconstrained time types 44g3E.2 Constructing patterns corresponding to constrained time types . 57g3Annex F (informative): Bibliography . 58g3H

19、istory 59g3ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)5Intellectual Property Rights Essential patents IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and n

20、on-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (https:/ipr.etsi.org/). P

21、ursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present

22、document. Trademarks The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners. ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no right to use or reproduce any trademark and/or t

23、radename. Mention of those trademarks in the present document does not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks. Foreword This ETSI Standard (ES) has been produced by ETSI Technical Committee Methods for Testing and Specification (MTS)

24、. The present document is part 7 of a multi-part deliverable. Full details of the entire series can be found in part 1 1. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as d

25、escribed in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)61 Scope The present document defines a normative way of using ASN

26、.1 as defined in Recommendations ITU-T X.680 2, X.681 3, X.682 4 and X.683 5 with TTCN-3. The harmonization of other languages with TTCN-3 is not covered by the present document. 2 References 2.1 Normative references References are either specific (identified by date of publication and/or edition nu

27、mber or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location

28、might be found at https:/docbox.etsi.org/Reference/. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. 1 ETSI ES 201 8

29、73-1: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 1: TTCN-3 Core Language“. 2 Recommendation ITU-T X.680 (2008): “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation“. 3 Recommendation ITU-T X.681 (200

30、8): “Information technology - Abstract Syntax Notation One (ASN.1): Information object specification“. 4 Recommendation ITU-T X.682 (2008): “Information technology - Abstract Syntax Notation One (ASN.1): Constraint specification“. 5 Recommendation ITU-T X.683 (2008): “Information technology - Abstra

31、ct Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications“. 6 Recommendation ITU-T X.690 (2008): “Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)“. 7 Recommendation ITU-T

32、X.691 (2008): “Information technology - ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)“. 8 Recommendation ITU-T X.693 (2008): “Information technology - ASN.1 encoding rules: XML Encoding Rules (XER)“. 9 Recommendation ITU-T T.100 (1988): “International information exchange for in

33、teractive Videotex“. 10 Recommendation ITU-T T.101 (1994): “International interworking for Videotex services“. 11 Recommendation ITU-T X.660 (2011): “Information technology - Procedures for the operation of object identifier registration authorities: General procedures and top arcs of the internatio

34、nal object identifier tree“. 12 ETSI ES 201 873-6: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 6: TTCN-3 Control Interface (TCI)“. 13 Recommendation ITU-T X.696 (2015): “Information technology - ASN.1 encoding rules: Specification of Octet Enco

35、ding Rules (OER)“. ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)72.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the

36、latest version of the referenced document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are not necessary for the application of the pres

37、ent document but they assist the user with regard to a particular subject area. i.1 ISO 8601 (2004): “Data elements and interchange formats - Information interchange - Representation of dates and times“. i.2 ETSI ES 201 873-10: “Methods for Testing and Specification (MTS); The Testing and Test Contr

38、ol Notation version 3; Part 10: TTCN-3 Documentation Comment Specification“. i.3 ISO 3166-1: “Codes for the representation of names of countries and their subdivisions - Part 1: Country codes“. i.4 Recommendation ITU-T X.121: “Public data networks - Network aspects - International numbering plan for

39、 public data networks“. NOTE: References to Recommendations ITU-T include the Recommendation and all Amendments and Corrigenda published to the Recommendation except when specified otherwise in other parts of the present document. i.5 Recommendation ITU-T X.208: “Specification of Abstract Syntax Not

40、ation One (ASN.1)“ (Blue Book). i.6 Recommendation ITU-T X.680 (1994): “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation“. i.7 Recommendation ITU-T X.680 (1997): “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notat

41、ion“. i.8 Recommendation ITU-T X.680 (2002): “Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation“. i.9 Recommendation ITU-T X.681 (1994): “Information technology - Abstract Syntax Notation One (ASN.1): Information object specification“. i.10 Recommendation

42、 ITU-T X.681 (1997): “Information technology - Abstract Syntax Notation One (ASN.1): Information object specification“. i.11 Recommendation ITU-T X.681 (2002): “Information technology - Abstract Syntax Notation One (ASN.1): Information object specification“. i.12 Recommendation ITU-T X.682 (1994): “

43、Information technology - Abstract Syntax Notation One (ASN.1): Constraint specification“. i.13 Recommendation ITU-T X.682 (1997): “Information technology - Abstract Syntax Notation One (ASN.1): Constraint specification“. i.14 Recommendation ITU-T X.682 (2002): “Information technology - Abstract Synt

44、ax Notation One (ASN.1): Constraint specification“. i.15 Recommendation ITU-T X.683 (1994): “Information technology - Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications“. i.16 Recommendation ITU-T X.683 (1997): “Information technology - Abstract Syntax Notation One (ASN.1

45、): Parameterization of ASN.1 specifications“. i.17 Recommendation ITU-T X.683 (2002): “Information technology - Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications“. ETSI ETSI ES 201 873-7 V4.7.1 (2018-05)8i.18 Recommendation ITU-T X.690 (2002): “Information technology - A

46、SN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)“. i.19 Recommendation ITU-T X.691 (2002): “Information technology - ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)“. i.20 ETSI ES 202 781: “Meth

47、ods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Configuration and Deployment Support“. i.21 ETSI ES 202 782: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions

48、: TTCN-3 Performance and Real Time Testing“. i.22 ETSI ES 202 784: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Advanced Parameterization“. i.23 ETSI ES 202 785: “Methods for Testing and Specification (MTS); The Testing an

49、d Test Control Notation version 3; TTCN-3 Language Extensions: Behaviour Types“. i.24 ETSI ES 202 786: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Support of interfaces with continuous signals“. i.25 ETSI ES 202 789: “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; TTCN-3 Language Extensions: Extended TRI“. i.26 CCITT Blue Book. i.27 ETSI ES 201 873-8: “Methods for

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1