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.101 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 Basic SDL2010 Recommendation ITU-T Z.101 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 Application of formal descr
3、iption 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.300Z.309 Basic syntax a
4、nd 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 QUALITY Quality of tele
5、communication 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 Recommendations. Rec. ITU-T Z.101 (
6、04/2016) i Recommendation ITU-T Z.101 Specification and Description Language Basic SDL-2010 Summary Scope/Objective Recommendation ITU-T Z.101 defines the basic features of the Specification and Description Language. Together with Recommendations ITU-T Z.100, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, I
7、TU-T Z.105, ITU-T Z.106 and ITU-T Z.107, this Recommendation is part of a reference manual for the language. The language defined in this document covers the essential features of the language, which is further defined in other Recommendations in the ITU-T Z.100 series. Coverage The Specification an
8、d Description Language has concepts for behaviour, data description and (particularly for larger systems) structuring. The basis of behaviour description is extended finite state machines communicating by messages. Data description is based on data types for values and objects. The basis for structu
9、ring is hierarchical decomposition and type hierarchies. A distinctive feature of the Specification and Description Language is the graphical representation. This Recommendation covers the main features of the language such as agent (block, process) type diagrams, agent diagrams for structures with
10、channels, diagrams for extended finite state machines and the associated semantics for these basic features. The concrete grammar given is the graphical representation. The alternative textual programming representation is given in Recommendation ITU-T Z.106. The concrete grammar in this Recommendat
11、ion gives a canonical syntax, which is extended in Recommendation ITU-T Z.103 to a syntax that is easier to use. The basic part of the language given in this Recommendation does not include the details of expressions, data definitions and action language, which is defined in Recommendation ITU-T Z.1
12、04 and for object-oriented data in ITU-T Z.107. The features of the language defined in Recommendation ITU-T Z.102 make the language more comprehensive. Applications The Specification and Description Language is applicable within standard bodies and industry. The main application areas for which The
13、 Specification and Description Language has been designed are stated in ITU-T Z.100, but the language is generally suitable for describing reactive systems. The range of application is from requirement description to implementation. The features of the language defined in ITU-T Z.101 allow basic mod
14、els to be defined and provide a basis for other features defined in other Recommendations in the ITU-T Z.100 series. History Edition Recommendation Approval Study Group Unique ID* 1.0 ITU-T Z.101 2011-12-22 17 11.1002/1000/11388 2.0 ITU-T Z.101 2016-04-29 17 11.1002/1000/12847 Keywords Specification
15、 and Description Language, SDL-2010, Basic SDL-2010, canonical syntax, essential features, extended finite state machine, structure, data, actions, agents, channels. _ * To access the Recommendation, type the URL http:/handle.itu.int/ in the address field of your web browser, followed by the Recomme
16、ndations unique ID. For example, http:/handle.itu.int/11.1002/1000/11830-en. ii Rec. ITU-T Z.101 (04/2016) FOREWORD The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU
17、Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. The World Telecommunication Standardizat
18、ion 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. The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. In some areas of information techno
19、logy 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 “Administration“ is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. Complianc
20、e with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words “shall“ or some other obliga
21、tory 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 Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTSITU draws attention to the possibility that the practice or implementation
22、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 Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of th
23、e date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to co
24、nsult 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, without the prior written permission of ITU. Rec. ITU-T Z.101 (04/2016) iii Table of Contents Page 1 Scope and objective 1 1.1 Objectiv
25、e . 1 1.2 Application . 1 2 References . 2 3 Definitions 2 3.1 Terms defined elsewhere 2 3.2 Terms defined in this Recommendation . 2 4 Abbreviations and acronyms 2 5 Conventions 2 6 General rules . 3 6.1 Lexical rules . 3 6.2 End terminator and comment . 10 6.3 Empty clause 10 6.4 Solid association
26、 symbol 10 6.5 The metasymbol is followed by and flow line symbols 10 6.6 Names and identifiers, name resolution and visibility . 11 6.7 Empty clause 16 6.8 Informal text . 16 6.9 Text symbol 17 6.10 Frame symbol and page numbers . 17 7 Organization of Specification and Description Language specific
27、ations . 18 7.1 Framework 18 7.2 Package . 19 7.3 Referenced definition . 21 8 Structural concepts 22 8.1 Types, instances and gates 22 8.2 Type references and operation references 28 9 Agents . 29 9.1 System 34 9.2 Block . 34 9.3 Process 35 9.4 Procedure 36 10 Communication . 39 10.1 Channel . 39 1
28、0.2 Connection 42 10.3 Signal 42 10.4 Signal list area 43 iv Rec. ITU-T Z.101 (04/2016) Page 11 Behaviour 44 11.1 Start . 44 11.2 State 44 11.3 Input 46 11.4 Empty clause 48 11.5 Empty clause 48 11.6 Empty clause 48 11.7 Save 48 11.8 Empty clause 49 11.9 Empty clause 49 11.10 Label (connector name)
29、49 11.11 State machine and composite state . 50 11.12 Transition 52 11.13 Action . 57 11.14 Statement lists . 64 11.15 Timer 65 12 Data . 67 12.1 Data definitions 67 12.2 Use of data 88 12.3 Active use of data . 97 Rec. ITU-T Z.101 (04/2016) v Introduction This Recommendation is part of the ITU-T Z.
30、100 to ITU-T Z.107 series of Recommendations that give the complete language reference manual for SDL-2010. The text of this Recommendation is stable. For more details see Recommendation ITU-T Z.100. Rec. ITU-T Z.101 (04/2016) 1 Recommendation ITU-T Z.101 Specification and Description Language Basic
31、 SDL-2010 1 Scope and objective This Recommendation defines the basic features of the Specification and Description Language. The language defined in this document covers the essential features of the language, which is further defined in other Recommendations in the ITU-T Z.100 series. Together wit
32、h Recommendations ITU-T Z.100, ITU-T Z.102, ITU-T Z.103, ITU-T Z.104, ITU-T Z.105, ITU-T Z.106 and ITU-T Z.107, this Recommendation forms a reference manual for the language. 1.1 Objective The objective of this Recommendation is to define the basic features of the Specification and Description Langu
33、age in a canonical concrete syntax. The language defined in this Recommendation is a strict subset of SDL-2010. The main features not included in this Recommendation are macros, specialization, context parameters, remote procedures and remote variables, state aggregation, priority input, enabling co
34、nditions, spontaneous transitions, exceptions, compound statements (other than as task bodies), object data types, synonyms and generic system definition. Where there is choice of syntax for the same abstract grammar the graphical syntax has been chosen, so that, for example, procedure diagram is us
35、ed rather than procedure definition. A specification in SDL-2010 starts with an instantiation of a system type. For that reason, Basic SDL-2010 does not include a system diagram. In Comprehensive SDL-2010 such a diagram is considered shorthand for the instantiation of a system type. Similarly, block
36、 diagrams and process diagrams are not included, only diagrams for agent types and other types such as composite state and procedure. The canonical syntax is chosen to be the syntax supported by most tools in the cases where that is simply an alternative to the syntax introduced in SDL-2000 (for exa
37、mple, the use of the keyword returns rather than ). 1.2 Application This Recommendation is part of the reference manual for the Specification and Description Language. The part of the language defined by this Recommendation does not usually include shorthand notation or Model clauses, so that a mode
38、l written using only this part of SDL-2010 is not as concise or as readable as one using the full language. The part of the language defined in this Recommendation is mainly applicable if a model is required that is limited in the language features it uses, and it is intended that the model is prese
39、nted in a concrete form that closely matches the abstract syntax. In some cases a Model clause or shorthand has been included, because this was considered the most practical way to describe a feature. One example is the Model clause for expression that explains how the concrete infix syntax maps to
40、operation application. 2 Rec. ITU-T Z.101 (04/2016) 2 References The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recomme
41、ndations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly p
42、ublished. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. ITU-T T.50 Recommendation ITU-T T.50 (1992), International Reference Alphabet (IRA) (Formerly International Alphabet No. 5 or IA5) Information technology 7-bi
43、t coded character set for information interchange. ITU-T Z.100 Recommendation ITU-T Z.100 (2016), Specification and Description Language Overview of SDL-2010. ITU-T Z.102 Recommendation ITU-T Z.102 (2016), Specification and Description Language Comprehensive SDL-2010. ITU-T Z.103 Recommendation ITU-
44、T Z.103 (2016), Specification and Description Language Shorthand notation and annotation in SDL-2010. ITU-T Z.104 Recommendation ITU-T Z.104 (2016), Specification and Description Language Data and action language in SDL-2010. ITU-T Z.105 Recommendation ITU-T Z.105 (2016), Specification and Descripti
45、on Language SDL-2010 combined with ASN.1 modules. ITU-T Z.106 Recommendation ITU-T Z.106 (2016), Specification and Description Language Common interchange format for SDL-2010. ITU-T Z.107 Recommendation ITU-T Z.107 (2016), Specification and Description Language Object-oriented data in SDL-2010. ITU-
46、T Z.111 Recommendation ITU-T Z.111 (2016), Notations and guidelines for the definition of ITU-T languages. 3 Definitions 3.1 Terms defined elsewhere This Recommendation uses the following terms defined elsewhere: the definitions of ITU-T Z.100 apply. 3.2 Terms defined in this Recommendation None. 4
47、Abbreviations and acronyms This Recommendation uses the following abbreviations and acronyms: the abbreviations and acronyms defined in ITU-T Z.100 apply. 5 Conventions The conventions defined in ITU-T Z.100 apply; these include the conventions defined in ITU-T Z.111. Rec. ITU-T Z.101 (04/2016) 3 Ea
48、ch abstract syntax item in this Recommendation is contained by at least one other abstract syntax item in this Recommendation except: Sdl-specification which is the container for all other items. The concrete syntax rules defined in this Recommendation are all used by other syntax rules in this Reco
49、mmendation except the following: The starting rule for the concrete syntax. A rule to collect the lexical units. Implicit for is followed by. Only used in combination with semantic subcategories. Only used in combination with semantic subcategories. 6 General rules General rules cover: lexical units; the use of a semicolon with comment as a terminator; commonly used symbols; the visibility, resolution and use of names and identifiers; the use of frames