ImageVerifierCode 换一换
格式:PDF , 页数:246 ,大小:1.45MB ,
资源ID:806595      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-806595.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ITU-T Z 145-2006 Testing and Test Control Notation version 3 (TTCN-3) Control Interface (TCI) (Study Group 17)《测试和测试控制符号版本3 国际应急首选方案的支持(第17研究组)》.pdf)为本站会员(王申宇)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ITU-T Z 145-2006 Testing and Test Control Notation version 3 (TTCN-3) Control Interface (TCI) (Study Group 17)《测试和测试控制符号版本3 国际应急首选方案的支持(第17研究组)》.pdf

1、 International Telecommunication Union ITU-T Z.145TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (03/2006) SERIES Z: LANGUAGES AND GENERAL SOFTWARE ASPECTS FOR TELECOMMUNICATION SYSTEMS Formal description techniques (FDT) Testing and Test Control Notation (TTCN) Testing and Test Control Notation ve

2、rsion 3 (TTCN-3): Control Interface (TCI) ITU-T Recommendation Z.145 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 description techn

3、iques Z.110Z.119 Message Sequence Chart (MSC) Z.120Z.129 Extended Object Definition Language (eODL) Z.130Z.139 Testing and Test Control Notation (TTCN) Z.140Z.149 User Requirements Notation (URN) Z.150Z.159 PROGRAMMING LANGUAGES CHILL: The ITU-T high level language Z.200Z.209 MAN-MACHINE LANGUAGE Ge

4、neral principles Z.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 n

5、etworks Z.360Z.379 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 Distributed processing environment Z.600Z.609 For further details, please refer to the list of I

6、TU-T Recommendations. ITU-T Rec. Z.145 (03/2006) i ITU-T Recommendation Z.145 Testing and Test Control Notation version 3 (TTCN-3): Control Interface (TCI) Summary This Recommendation specifies the control interfaces for TTCN-3 (Testing and Test Control Notation 3) test system implementations. The T

7、TCN-3 Control Interface provides the recommended adaptation for management, test component handling and encoding/decoding of a test system to a particular test platform. This Recommendation defines the interfaces as a set of operations independent of a target language. The interfaces are defined to

8、be compatible with ITU-T Rec. Z.140. The interface definition in this Recommendation uses the CORBA Interface Definition Language (IDL) to specify the TCI completely. Clauses 8 and 9 specify language mappings of the abstract specification to the target languages Java and ANSI-C. A summary of the IDL

9、-based interface specification is provided in Annex A. Source ITU-T Recommendation Z.145 was approved on 16 March 2006 by ITU-T Study Group 17 (2005-2008) under the ITU-T Recommendation A.8 procedure. ii ITU-T Rec. Z.145 (03/2006) FOREWORD The International Telecommunication Union (ITU) is the Unite

10、d Nations specialized agency in the field of telecommunications. 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 Recommendations on them with a view to standardizing telecomm

11、unications 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. The approval of ITU-T Recommendations is covered by the proc

12、edure 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 “Administration“ is used for conciseness to indicate both a tele

13、communication 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 compliance with the Recommendation is achieved when all of the

14、se 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 Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTS ITU

15、 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 Intellectual Property Rights, whether asserted by ITU membe

16、rs 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 Recommendation. However, implementers are cautioned that this may not

17、 represent the latest information and are therefore strongly urged to consult the TSB patent database. ITU 2006 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. ITU-T Rec. Z.145 (03/2006) iii CONTENTS Page 1 Sco

18、pe . 1 2 References 1 3 Definitions and abbreviations 2 3.1 Definitions. 2 3.2 Abbreviations. 3 4 Introduction. 3 5 Compliance . 4 6 General structure of a TTCN-3 test system 4 6.1 Entities in a TTCN-3 test system 4 6.2 Execution requirements for a TTCN-3 test system . 7 7 TTCN-3 control interface a

19、nd operations. 7 7.1 Overview of the TCI 7 7.2 TCI data 9 7.3 TCI operations 18 8 Java language mapping 83 8.1 Introduction . 83 8.2 Names and scopes . 83 8.3 Constants. 97 8.4 Mapping of interfaces 98 8.5 Optional parameters. 105 8.6 TCI initialization. 105 8.7 Error handling 105 9 ANSI-C language

20、mapping. 105 9.1 Introduction . 105 9.2 Value interfaces 106 9.3 Logging interface 109 9.4 Operation interfaces. 109 9.5 Data . 123 9.6 Miscellaneous 125 10 W3C XML mapping . 125 10.1 Introduction . 125 10.2 Scopes 125 10.3 Type mapping 126 10.4 Mapping of the operations on the logging interface 144

21、 11 Use scenarios. 166 11.1 Initialization, collecting information, logging . 166 11.2 Execution of test cases and control . 169 11.3 Component handling 172 11.4 Termination of test cases and control 179 11.5 Communication 184 Annex A IDL specification of TCI 189 Annex B XML mapping for TCI TL provi

22、ded. 204 B.1 TCI-TL XML Schema for Simple Types 204 B.2 TCI-TL XML Schema for Types 204 B.3 TCI-TL XML Schema for Values. 206 B.4 TCI-TL XML Schema for Templates 211 B.5 TCI-TL XML Schema for Events. 218 B.6 TCI-TL XML Schema for a Log 236 BIBLIOGRAPHY 238 ITU-T Rec. Z.145 (03/2006) 1 ITU-T Recommen

23、dation Z.145 Testing and Test Control Notation version 3 (TTCN-3): Control Interface (TCI) 1 Scope This Recommendation specifies the control interfaces for TTCN-3 test system implementations. The TTCN-3 Control Interfaces provide a standardized adaptation for management, test component handling and

24、encoding/decoding of a test system to a particular test platform. This Recommendation defines the interfaces as a set of operations independent of a target language. The interfaces are defined to be compatible with the TTCN-3 standard (see references below). The interface definition uses the CORBA I

25、nterface Definition Language (IDL) to specify the TCI completely. Clauses 8 and 9 present language mappings for this abstract specification to the target languages Java and ANSI-C. A summary of the IDL-based interface specification is provided in Annex A. 2 References The following ITU-T Recommendat

26、ions 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 Recommendations and other references are subject to revision; users of this Recommendation are therefor

27、e 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 published. The reference to a document within this Recommendation does not give it, as a stand-al

28、one document, the status of a Recommendation. 1 ITU-T Recommendation Z.144 (2006), Testing and Test Control Notation version 3 (TTCN-3): Runtime interface (TRI). 2 ITU-T Recommendation Z.140 (2006), Testing and Test Control Notation version 3 (TTCN-3): Core language. 3 ITU-T Recommendation Z.143 (20

29、06), Testing and Test Control Notation version 3 (TTCN-3) Operational semantics. 4 ITU-T Recommendation X.290 (1995), OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications General concepts. ISO/IEC 9646-1:1994, Information technology Open Systems Inter

30、connection Conformance testing methodology and framework Part 1: General concepts. 5 W3C Recommendation (2004), XML Schema Part 0: Primer. NOTE See at http:/www.w3.org/TR/2004/REC-xmlschema-0-20041028/. 6 W3C Recommendation (2004), XML Schema Part 1: Structures. NOTE See at http:/www.w3.org/TR/2004/

31、REC-xmlschema-1-20041028/. 7 W3C Recommendation (2004), XML Schema Part 2: Datatypes. NOTE See at http:/www.w3.org/TR/2004/REC-xmlschema-2-20041028/. 2 ITU-T Rec. Z.145 (03/2006) 3 Definitions and abbreviations 3.1 Definitions For the purpose of this Recommendation, the terms and definitions given i

32、n ITU-T Rec. X.290 4 and the following apply: 3.1.1 Abstract Test Suite (ATS): Test suite composed of abstract test cases. 3.1.2 codec: Encoder/decoder entity used for encoding and decoding data to be transmitted and received, respectively. 3.1.3 Coding/Decoding (CD): Entity that administers the val

33、ue and type handling incl. encoding and decoding in the TTCN-3 test system. 3.1.4 Component Handling (CH): Entity that administers the handling of test components in the TTCN-3 test system. 3.1.5 communication port: Abstract mechanism facilitating communication between test components. NOTE A commun

34、ication port is modelled as a FIFO queue in the receiving direction. Ports can be message-based, procedure-based or a mixture of the two. 3.1.6 control component: Component that executes the behaviour of the control part of a TTCN-3 module. 3.1.7 Executable Test Suite (ETS): Refer to ITU-T Rec. X.29

35、0 4. 3.1.8 Implementation eXtra Information for Testing (IXIT): Refer to ITU-T Rec. X.290 4. 3.1.9 Platform Adaptor (PA): Entity that adapts the TTCN-3 Executable to a particular execution platform. NOTE The Platform Adaptor creates a single notion of time for a TTCN-3 test system, and implements bo

36、th, explicit and implicit, timers as well as external functions. 3.1.10 real test system interface: Refer to ITU-T Rec. X.290 4. 3.1.11 System Under Test (SUT): Refer to ITU-T Rec. X.290 4. 3.1.12 SUT Adaptor (SA): Entity that adapts the TTCN-3 communication operations with the SUT based on an abstr

37、act test system interface. It implements the real test system interface. 3.1.13 Testing and Test Control Notation (TTCN-3): Refer to ITU-T Rec. X.290 4. 3.1.14 test case: Refer to ITU-T Rec. X.290 4. 3.1.15 test event: Either sent or received test data (message or procedure call) on a communication

38、port that is part of the test system interface as well as timeout events of timers. 3.1.16 Test Management (TM): Entity which provides a user interface to as well as the administration of the TTCN-3 test system. 3.1.17 Test Logging (TL): Entity which provides logging information about test execution

39、 (including also the information provided by the TTCN-3 log statement). 3.1.18 Test Management and Control (TMC): Set of entities providing test management and control; consists of the Test Management (TM), the Component Handling (CH), the Test Logging (TL) and the Coding/Decoding (CD). NOTE The TMC

40、 is an implementation of TCI. 3.1.19 test system: Refer to ITU-T Rec. X.290 4. 3.1.20 Test system interface (TSI): Test component that provides a mapping of the ports available in the (abstract) TTCN-3 test system to those offered by a real test system. 3.1.21 TTCN-3 Executable (TE): Part of a test

41、system that deals with interpretation or execution of a TTCN-3 ETS. 3.1.22 TTCN-3 Control Interfaces (TCI): Three interfaces that define the interaction of the TTCN-3 Executable with the test management, the coding and decoding, and the test component handling in a test system. 3.1.23 TTCN-3 Runtime

42、 Interface (TRI): Interface that defines the interaction of the TTCN-3 Executable with the SUT and platform adaptors in a test system. ITU-T Rec. Z.145 (03/2006) 3 3.2 Abbreviations For the purposes of this Recommendation, the following abbreviations apply: ATS Abstract Test Suite CD Coding/Decoding

43、 CH Component Handling ETS Executable Test Suite IDL Interface Definition Language IXIT Implementation eXtra Information for Testing MSC Message Sequence Chart MTC Main Test Component OMG Object Management Group PA Platform Adaptor PTC Parallel Test Component SA SUT Adaptor SUT System Under Test TC

44、Test Control TCI TTCN-3 Control Interfaces TE TTCN-3 Executable TL Test Logging TM Test Management TMC Test Management and Control TRI TTCN-3 Runtime Interface TSI Test System Interface TTCN-3 Testing and Test Control Notation Version 3 4 Introduction This Recommendation consists of two distinct par

45、ts, the first part describing the structure of a TTCN-3 test system implementation and the second part presenting the TTCN-3 Control Interfaces specification. The first part introduces the decomposition of a TTCN-3 test system into four main entities: Test Management and Control (TMC); TTCN-3 Execut

46、able (TE); SUT Adaptor (SA); and Platform Adaptor (PA). The TMC consists itself of three entities: Test Management (TM), Coder/Decoder (CD), and Test Component Handler (CH). In addition, the interaction between these entities, i.e., the corresponding interfaces, is defined. The second part of this R

47、ecommendation specifies the TTCN-3 Control Interfaces (TCI). The interfaces are defined in terms of operations implemented as part of one entity and called by other test system entities. For each operation, the interface specification defines associated data structures, the intended effect on the te

48、st system and any constraints on the usage of the operation. Note that these interface specifications only define interactions between the TE and TM, TE and CD, and TE and CH. For interactions between the TE and SA and the TE and PA, please refer to the TTCN-3 Runtime Interface specification (ITU-T

49、Rec. Z.144 1). 4 ITU-T Rec. Z.145 (03/2006) 5 Compliance The minimum required for a TCI-compliant TTCN-3 test system is to adhere to the interface specification stated in this Recommendation. The TTCN-3 semantics in the test system must adhere to the operational semantics defined in ITU-T Rec. Z.143 3. In addition, one language mapping must be supported. For example, if a vendor supports Java, the TCI operation calls and implementations, which are part of the TTCN-3 executable, must comply with the IDL t

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