1、 I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n ITU-T Z.105 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (04/2016) SERIES Z: LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS Formal description techniques (FDT) Specification and Description Language (SDL)
2、 Specification and Description Language SDL-2010 combined with ASN.1 modules Recommendation ITU-T Z.105 ITU-T Z-SERIES RECOMMENDATIONS LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS FORMAL DESCRIPTION TECHNIQUES (FDT) Specification and Description Language (SDL) Z.100Z.109 Appl
3、ication of formal description techniques Z.110Z.119 Message Sequence Chart (MSC) Z.120Z.129 User Requirements Notation (URN) Z.150Z.159 Testing and Test Control Notation (TTCN) Z.160Z.179 PROGRAMMING LANGUAGES CHILL: The ITU-T high level language Z.200Z.209 MAN-MACHINE LANGUAGE General principles Z.
4、300Z.309 Basic syntax and dialogue procedures Z.310Z.319 Extended MML for visual display terminals Z.320Z.329 Specification of the man-machine interface Z.330Z.349 Data-oriented human-machine interfaces Z.350Z.359 Human-machine interfaces for the management of telecommunications networks Z.360Z.379
5、QUALITY Quality of telecommunication software Z.400Z.409 Quality aspects of protocol-related Recommendations Z.450Z.459 METHODS Methods for validation and testing Z.500Z.519 MIDDLEWARE Processing environment architectures Z.600Z.609 For further details, please refer to the list of ITU-T Recommendati
6、ons. Rec. ITU-T Z.105 (04/2016) i Recommendation ITU-T Z.105 Specification and Description Language SDL-2010 combined with ASN.1 modules Summary Recommendation ITU-T Z.105 defines how Abstract Syntax Notation One (ASN.1) modules are usable in combination with Specification and Description Language 2
7、010 (SDL-2010). This text replaces Recommendation ITU-T Z.105 (2003) to align with Recommendations ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.106 and ITU-T Z.107 for SDL-2010. Recommendation ITU-T Z.105 (2003) replaced the semantic mappings from ASN.1 to SDL-2000 define
8、d in Recommendation ITU-T Z.105 (1999). The use of ASN.1 notation embedded in the Specification and Description Language previously defined in Recommendation ITU-T Z.107 (1999) is not defined by this Recommendation. The main area of application of this Recommendation is the specification of telecomm
9、unication systems. The combined use of SDL-2010 and ASN.1 permits a coherent way to specify the structure and behaviour of telecommunication systems, together with data, messages and encoding of messages that these systems use. This version of Recommendation ITU-T Z.105 includes necessary alignments
10、 with ASN.1:2002 Recommendations, mapping of XML values, improved mapping of bit string values and mapping of relevant ASN.1 constructs for extensions. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T Z.105 1995-03-06 10 11.1002/1000/3162 2.0 ITU-T Z.105 1999-11-19 10 11.1002
11、/1000/4765 3.0 ITU-T Z.105 2001-10-29 17 11.1002/1000/5568 4.0 ITU-T Z.105 2003-07-07 17 11.1002/1000/6238 5.0 ITU-T Z.105 2011-12-22 17 11.1002/1000/11392 6.0 ITU-T Z.105 2016-04-29 17 11.1002/1000/12859 Keywords Specification and Description Language, SDL-2010, Abstract Syntax Notation 1, ASN1. _
12、* To access the Recommendation, type the URL http:/handle.itu.int/ in the address field of your web browser, followed by the Recommendations unique ID. For example, http:/handle.itu.int/11.1002/1000/11830-en. ii Rec. ITU-T Z.105 (04/2016) FOREWORD The International Telecommunication Union (ITU) is t
13、he United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Re
14、commendations on them with a view to standardizing telecommunications on a worldwide basis. The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. T
15、he approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. NOTE In this Recommendation, the expression “Admi
16、nistration“ is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and c
17、ompliance with the Recommendation is achieved when all of these mandatory provisions are met. The words “shall“ or some other obligatory language such as “must“ and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendati
18、on is required of any party. INTELLECTUAL PROPERTY RIGHTSITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed
19、 Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommend
20、ation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2016 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, wit
21、hout the prior written permission of ITU. Rec. ITU-T Z.105 (04/2016) iii Table of Contents Page 1 Scope and objective 1 1.1 Objective . 1 1.2 The characteristics of the combination of SDL-2010 and ASN.1 modules . 1 1.3 ASN.1 that is usable in combination with SDL-2010 1 1.4 The structure of this Rec
22、ommendation . 2 2 References . 2 3 Definitions 3 3.1 Terms defined elsewhere 3 3.2 Term defined in this Recommendation 3 4 Abbreviations and acronyms 3 5 Conventions 3 6 Package . 3 7 Definition and use of data . 5 7.1 Name mapping 5 7.2 Variable and data definitions 5 7.3 Type expressions 6 7.4 Ran
23、ge condition and size constraint . 10 7.5 Value expressions . 12 8 Mapping for information objects, classes and object sets 16 8.1 Introduction 16 8.2 Information object class definition and assignment . 17 8.3 Information object class field type . 17 8.4 Information object definition and assignment
24、 18 8.5 Information from information objects 18 8.6 Constraint specification 18 9 Mapping of parameterized ASN.1 specifications . 22 9.1 Parameterized assignment 22 9.2 Parameterized type assignment 22 9.3 Referencing ASN.1 parameterized type definitions . 23 9.4 Referencing ASN.1 parameterized valu
25、e definitions . 25 9.5 Referencing other ASN.1 parameterized definitions 25 10 Definitions in package Predefined for SDL-2010 25 iv Rec. ITU-T Z.105 (04/2016) Introduction Objective This Recommendation defines how Abstract Syntax Notation One (ASN.1) modules are usable in combination with Specificat
26、ion and Description Language 2010 (SDL-2010). The intention is that the structure and the behaviour of systems are described with SDL-2010, while parameters of exchanged messages are described with ASN.1. This Recommendation defines a mapping of ASN.1 constructs to already existing SDL-2010 construc
27、ts and contains only a small extension to Recommendations ITU-T Z.101, ITU-T Z.102, ITU-T Z.103 and ITU-T Z.104 to allow ASN.1 modules to be used. Coverage This Recommendation presents a semantic definition for the combination of SDL-2010 and ASN.1 modules. A mapping of the ASN.1 data defined in a m
28、odule to the corresponding SDL-2010 constructs defined in Recommendations ITU-T Z.101, ITU-T Z.102, ITU-T Z.103 and ITU-T Z.104 is given, including the operators applicable to the ASN.1 data. The ASN.1 data items are then usable within SDL-2010 (using SDL-2010 notation). Application The main area of
29、 application of this Recommendation is the specification of telecommunication systems. The combined use of SDL-2010 and ASN.1 permits a coherent way to specify the structure and behaviour of telecommunication systems, together with data, messages and encoding of messages that these systems use. NOTE
30、 “Specification“ in this Recommendation includes definition of requirements in a standard, Recommendation, or procurement document, and description of an implementation. A specification conforms to this Recommendation if and only if it conforms to the syntactic and semantic grammar rules for the for
31、mal technical language defined by the Recommendation (which includes the referenced ASN.1 and SDL-2010 languages). Conformance implies that every possibly dynamic interpretation of the specification conforms to the language rules. A specification that uses extensions of the language does not conform
32、. A tool does not fully support the language if it rejects some constructs of the language or that has a static or dynamic interpretation of a specification in the language that does not conform to language semantics. Status/Stability This text replaces Recommendation ITU-T Z.105 (2003) to align wit
33、h Recommendations ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.106 and ITU-T Z.107 for SDL-2010. Recommendation ITU-T Z.105 (2003) defined the semantic mappings from ASN.1 to SDL-2000 (previously defined in Recommendation ITU-T Z.105 (1999) and aligned with ASN.1:2002 Rec
34、ommendations. The use of ASN.1 notation embedded in the Specification and Description Language previously defined in the withdrawn Recommendation ITU-T Z.107 (1999) is not defined by this Recommendation. It is likely that changes to Recommendations ITU-T X.680, ITU-T X.681, ITU-T X.682 and ITU-T X.6
35、83, ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.106 or ITU-T Z.107 will require modifications to this Recommendation. This Recommendation is the complete reference manual describing the combination of SDL-2010 and ASN.1 modules. Rec. ITU-T Z.105 (04/2016) 1 Recommendatio
36、n ITU-T Z.105 Specification and Description Language SDL-2010 combined with ASN.1 modules 1 Scope and objective This Recommendation defines how ASN.1 modules are usable in combination with SDL-2010. ASN.1 modules are imported in SDL-2010 descriptions so that ASN.1 data definitions are mapped to inte
37、rnal SDL-2010 representation using equivalent SDL-2010 constructs and forming together with the rest of the SDL-2010 description a complete specification. SDL-2010 is a language for the specification and description of telecommunication systems. SDL-2010 has concepts for: structuring systems; defini
38、ng behaviour of systems; defining data used by systems. ASN.1 is a language for the definition of data. Related to ASN.1 are encoding rules that define how ASN.1 values are transferred as bit streams during communication. 1.1 Objective The combination of SDL-2010 and ASN.1 permits a coherent way of
39、specifying the structure and behaviour of telecommunication systems, together with data, messages, and encoding of messages that these systems use. It is possible to describe structure and behaviour using SDL-2010, and data and messages using ASN.1. It is possible to describe the encoding of these m
40、essages by reference to the relevant encoding rules defined for ASN.1. The full use of SDL-2010 (including data types) is supported by this Recommendation. 1.2 The characteristics of the combination of SDL-2010 and ASN.1 modules Systems described in SDL-2010 combined with ASN.1 modules have the foll
41、owing characteristics: structure and behaviour are defined using SDL-2010 concepts; the SDL-2010 signal structure, i.e., the signal parameter types and their subtypes are defined in ASN.1 modules; it is allowed to define internal data by either ASN.1 types or SDL-2010 sorts; it is possible to define
42、 encoding of data values defined in ASN.1 by reference to the relevant encoding rules. Encoding is not in the scope of this Recommendation. 1.3 ASN.1 that is usable in combination with SDL-2010 The use of ASN.1 as defined in ITU-T X.680, ITU-T X.681, ITU-T X.682 and ITU-T X.683 is supported in combi
43、nation with SDL-2010, with a recognition that it is not possible to successfully map some ASN.1 constructs to SDL-2010 (or at least the mapping has not been identified and specified in this Recommendation). Source ASN.1 constructs that cannot be mapped to SDL-2010 are treated during the transformati
44、on to SDL-2010 as if they were not present and should thus not cause any problems for the successful transformation of other constructs. Such constructs are the extension marker and exception marker defined in ITU-T X.680, which are optionally present in ASN.1 but are ignored in the transformation t
45、o SDL-2010. Some constructs of ASN.1 are never transformed to SDL-2010 as such, but contain information that directs the transformation or is used 2 Rec. ITU-T Z.105 (04/2016) in the transformation. The prominent examples of such constructs are relational constraints as defined in ITU-T X.682, and i
46、nformation object classes and information object sets (see clause 8). The use of SDL-2010 as defined in ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.106 and ITU-T Z.107 is supported. ASN.1 modules that are used in the transformation to SDL-2010 are also usable for the gen
47、eration of encoders and decoders, provided that encoding rules are defined. The SDL-2010 data specification implicitly derived from ASN.1 modules should not be used for generation of encoders and decoders, because it is possible to lose some information that is relevant for encoding in the transform
48、ation to SDL-2010. 1.4 The structure of this Recommendation This Recommendation is not self-contained: the mapping defined in this Recommendation is based on ITU-T X.680, ITU-T X.681, ITU-T X.682, ITU-T X.683, ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104 and ITU-T Z.106. The langu
49、age as defined in ITU-T Z.100, ITU-T Z.101, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.106 and ITU-T Z.107 applies, except that the rule sdl specification is extended to allow direct use of ASN.1 modules. This Recommendation is structured in the following manner: Clause 6 defines the changes to SDL-2010 in order to incorporate ASN.1 modules. Clause 7 defines the mapping of ITU-T X.680 ASN.1 types and values to SDL-2010 data in order to inco