Abstract

To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2

Status
Published
Publication Date
31-Mar-2005
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
01-Apr-2005
Due Date
01-Apr-2005
Completion Date
01-Apr-2005

Buy Documents

Standard

SIST EN 300 141-6 V1.3.4:2005

English language (34 pages)
Preview
Preview
e-Library read for
×1 day

SIST EN 300 141-6 V1.3.4:2005 is the Slovenian adoption of ETSI EN 300 141-6 V1.3.4 for the Integrated Services Digital Network (ISDN) Call Hold (HOLD) supplementary service over the Digital Subscriber Signalling System No. one (DSS1) protocol. It specifies the Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma for network-side implementations at the T reference point, or the coincident S and T reference point. Test laboratories and implementers use it to assess conformance of the network DSS1 entity against the HOLD protocol specification.

What does SIST EN 300 141-6 V1.3.4:2005 specify?

SIST EN 300 141-6 V1.3.4:2005 specifies conformance testing material for the network side of the HOLD supplementary service. Clause 1 limits the document to the ATS and partial PIXIT proforma for implementations conforming to EN 300 141-1.

The standard is organized as follows:

  • Clause 2 lists the references used by the document.
  • Clause 3 gives definitions and abbreviations.
  • Clauses 4 to 10 define the abstract test method, ATS conventions, mapping to test purposes, and conformance rules for PCTR, PIXIT and ATS.
  • Annexes A, B and C are normative and provide the proformas and ATS.
  • Annexes D and E are informative and provide the general ATS structure and the change record.
AnnexWhat it covers
AProtocol Conformance Test Report (PCTR) proforma
BPartial PIXIT proforma
CAbstract Test Suite (ATS) in TTCN.GR and TTCN.MP forms
DGeneral structure of ATS
EChange record

What are the key requirements of SIST EN 300 141-6 V1.3.4:2005?

SIST EN 300 141-6 V1.3.4:2005 is mainly a test specification, so its key requirements are about how to test, how to express the tests, and how to report the results. The practical effect is that a laboratory can build a consistent Means Of Testing (MOT) and an executable test suite (ExTS) from the ATS.

Test method and verdicts

Clause 4 uses a combination of remote and multi-party test methods. The Main Test Component (MTC) controls one or more Parallel Test Components (PTCs), and verdicts are assigned from what is observed at the main Point of Control and Observation (PCO) L0.

This matters because the ATS judges the implementation under test (IUT) at the interface being tested, not the whole network as a single black box. Clause 4 also says that if a message expected at L0 is triggered by activity at another interface and does not appear, the verdict is INCONCLUSIVE rather than FAIL.

Alternative test realization

Clause 4.2 says that a single-party remote ATS can be derived from the multi-party one. The method is to remove PTC behaviour and CREATE statements, then replace coordination messages used to provoke protocol data units with implicit send statements.

In practice, this helps when a tool chain or lab setup prefers a simpler remote test realization, while keeping the same basic test intent.

Untestable test purposes

Clause 5 identifies test purposes HOLD_N03_002 to HOLD_N03_003 as not testable with the chosen abstract test method. The clause says that an additional PCO at the served-user side would be needed.

For users of the standard, this is important for coverage planning: the ATS is not a complete test of every possible HOLD test purpose under the chosen configuration.

ATS conventions and encoding

Clause 6 defines how the ATS is written in TTCN with ASN.1 support. It also sets the rules for simple types, structured types, ASP types, PDU types, constraints, test suite parameters, variables and operations.

A key practical point is the encoding rule choice. The default for ASN.1 constraints in this ATS is ISDN encoding, not Basic Encoding Rules (BER), unless a table explicitly says BER. When BER is used, the text requires a variety of BER length forms to be exercised during a test campaign.

Test cases and mapping

Clause 6.3 says the test cases include the test purpose text from EN 300 141-5 and use test steps such as PTC1_IN and PTC1_OUT. Clause 7 states that test purpose identifiers are reused as test case names, so the mapping from test purposes to test cases is one-to-one.

That makes traceability straightforward for planning, execution and reporting.

Conformance of reports and implementations

Clauses 8 to 10 define how the ATS, PCTR and PIXIT material is to be used. A test laboratory producing a PCTR must use the proforma in Annex A, and a test realizer producing an ExTS or MOT must follow ISO/IEC 9646-4.

For practical use, this means:

  • Annex A is the required reporting template for test results.
  • Annex B is the partial PIXIT basis that must be augmented for a specific IUT.
  • Annex C is the technical ATS that an ExTS must be technically equivalent to.
  • A laboratory claiming conformance must use an MOT that conforms to this ATS.

What terms does SIST EN 300 141-6 V1.3.4:2005 define?

  • Abstract Test Suite (ATS) - A standardized set of abstract test cases and related definitions used to assess protocol conformance.
  • Protocol Implementation eXtra Information for Testing (PIXIT) - Implementation-specific information needed to prepare and run the tests.
  • Protocol Conformance Test Report (PCTR) - The formal report that records conformance test results and the IUT status.
  • Implementation Under Test (IUT) - The specific network protocol implementation being assessed.
  • System Under Test (SUT) - The system or configuration that contains the IUT and related test environment elements.
  • Main Test Component (MTC) - The test component that controls the test and assigns verdicts from the main observation point.
  • Parallel Test Component (PTC) - A companion test component used to stimulate or observe other interfaces during a multi-party test.
  • Point of Control and Observation (PCO) - The interface point where the tester controls and observes the IUT behaviour.

Who uses SIST EN 300 141-6 V1.3.4:2005?

SIST EN 300 141-6 V1.3.4:2005 is used by conformance test laboratories, test-tool developers, and network equipment suppliers working on ISDN DSS1 implementations of the HOLD supplementary service. It is also used by organizations that need to complete PIXIT information, run test campaigns, or issue PCTR reports for a network-side implementation.

In practice, the standard supports:

  • test realization work for an ExTS or MOT,
  • conformance assessment of a network IUT,
  • completion of lab and client information for testing,
  • preparation of timers, message stimuli and configuration data,
  • reporting of static and dynamic conformance results.

What changed in SIST EN 300 141-6 V1.3.4:2005 from the previous edition?

Annex E records these changes:

  • The ATS was updated to correct errors with respect to EN 300 141-6 (V1.3).
  • The document was converted to EN layout with respect to ETS 300 141-6 (Ed. 1).
  • References to ETS 300 102 were replaced with EN 300 403-1.
  • Non-specific references to basic standards were adjusted so that the latest version is intended where that was the original meaning.

Which standards are used with SIST EN 300 141-6 V1.3.4:2005?

The document relies on companion parts of the same EN 300 141 series and on conformance-testing standards:

  • EN 300 141-1 - protocol specification for the HOLD supplementary service that the ATS tests.
  • EN 300 141-2 - PICS proforma specification used for static conformance information.
  • EN 300 141-5 - TSS&TP specification for the network side, which supplies the test purposes mapped to the ATS.
  • EN 300 196-1 - generic functional protocol for supplementary services, used for protocol structures and ASN.1 references.
  • ISO/IEC 9646-1 to 9646-5 - the conformance testing framework, ATS specification, TTCN, test realization, and laboratory/client requirements.
  • ITU-T Recommendation I.411 - reference configurations for the ISDN user-network interface.
  • CCITT Recommendation X.209 - Basic Encoding Rules (BER) for ASN.1.
  • EN 300 403-1 - circuit-mode basic call control signalling network layer, used in referenced protocol material.

What does the SIST EN 300 141-6 V1.3.4:2005 document contain?

The document contains a TTCN-based ATS, including its declarations, constraints and dynamic test behaviour. Annex C provides the ATS in both graphical and machine-processable forms, which are the core technical deliverables for test-suite realization.

Annex A provides the PCTR proforma with identification data, IUT conformance status, static and dynamic conformance summaries, a test campaign report and observations. Annex B provides the partial PIXIT proforma with laboratory, client and SUT details, protocol parameters, stimulus actions, configuration items, timer values and basic call information-element codings.

Clause 4 gives the test method and the role of the MTC, PTCs and PCOs. Clause 6 gives the ATS conventions for types, constraints, matching values and encoding rules. Annex D gives a generic ATS structure, and Annex E lists the change record.

Buy Documents

Standard

SIST EN 300 141-6 V1.3.4:2005

English language (34 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

ANCE

Mexican certification and testing association.

EMA Mexico Verified

Intertek Slovenia

Intertek testing, inspection, and certification services in Slovenia.

UKAS Slovenia Verified

LNE (Laboratoire National de Métrologie et d'Essais)

French national laboratory for metrology and testing.

COFRAC France Verified

Sponsored listings

Frequently Asked Questions

SIST EN 300 141-6 V1.3.4:2005 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Integrated Services Digital Network (ISDN); Call Hold (HOLD) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 6: Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma specification for the network". This standard covers: To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2

To handle comments and incorporate appropriate corrections into the ATS of DSS1 L2

SIST EN 300 141-6 V1.3.4:2005 is classified under the following ICS (International Classification for Standards) categories: 33.080 - Integrated Services Digital Network (ISDN). The ICS classification helps identify the subject area and facilitates finding related standards.

SIST EN 300 141-6 V1.3.4:2005 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)

Contents

  • 1 Scope
  • 2 References
  • 8 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 9 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 4 Abstract Test Method (ATM)
  • 4.1 Description of ATM used
  • 10 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 11 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 4.2 Alternative ATM
  • 5 Untestable test purposes
  • 12 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 6 ATS conventions
  • 6.1 Declarations part
  • 13 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 14 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 15 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 6.2 Constraints part
  • 16 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 17 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 18 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 6.3 Dynamic part
  • 19 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 7 ATS to TP map
  • 8 PCTR conformance
  • 9 PIXIT conformance
  • 20 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 10 ATS conformance
  • 21 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 22 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 23 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 24 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 25 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 26 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 27 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 28 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 1.1 Does the IUT support Basic Access? N/A N/A
  • 1.3 Does the IUT allow the release and re- N/A N/A
  • 2.1 DISCONNECT message for one Call Reference
  • 29 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 30 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 31 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 32 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 33 ETSI EN 300 141-6 V1.3.4 (1999-11)
  • 34 ETSI EN 300 141-6 V1.3.4 (1999-11)

1 Scope

This sixth part of EN 300 141 specifies the Abstract Test Suite (ATS) and partial Protocol Implementation eXtra Information for Testing (PIXIT) proforma for the Network side of the T reference point or coincident S and T reference point (as defined in ITU-T Recommendation I.411 [10]) of implementations conforming to the stage three standard for the Call Hold (HOLD) supplementary service for the pan-European Integrated Services Digital Network (ISDN) by means of the Digital Subscriber Signalling System No. one (DSS1) protocol, EN 300 141-1 [1]. EN 300 141-5 [3] specifies the Test Suite Structure and Test Purposes (TSS&TP) related to this ATS and partial PIXIT proforma specification. Other parts specify the TSS&TP and the ATS and partial PIXIT proforma for the User side of the T reference point or coincident S and T reference point of implementations conforming to EN 300 141-1 [1].

2 References

The following documents contain provisions which, through reference in this text, constitute provisions of the present document.

  • References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
  • For a specific reference, subsequent revisions do not apply.
  • For a non-specific reference, the latest version applies.
  • A non-specific reference to an ETS shall also be taken to refer to later versions published as an EN with the same number.

[1] EN 300 141-1 (V1.2): "Integrated Services Digital Network (ISDN); Call Hold (HOLD) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 1:

Protocol specification".

[2] EN 300 141-2 (V1.2): "Integrated Services Digital Network (ISDN); Call Hold (HOLD) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 2:

Protocol Implementation Conformance Statement (PICS) proforma specification". [3] EN 300 141-5 (V1.2): "Integrated Services Digital Network (ISDN); Call Hold (HOLD) supplementary service; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 5: Test Suite Structure and Test Purposes (TSS&TP) specification for the network". [4] EN 300 196-1: "Integrated Services Digital Network (ISDN); Generic functional protocol for the support of supplementary services; Digital Subscriber Signalling System No. one (DSS1) protocol; Part 1: Protocol specification".

[5] ISO/IEC 9646-1: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 1: General concepts".

[6] ISO/IEC 9646-2: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 2: Abstract test suite specification". [7] ISO/IEC 9646-3: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 3: The Tree and Tabular Combined Notation (TTCN)". [8] ISO/IEC 9646-4: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 4: Test realization".

[9] ISO/IEC 9646-5: "Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 5: Requirements on test laboratories and clients for the conformance assessment process".

[10] ITU-T Recommendation I.411 (1993): "ISDN user-network interfaces - Reference configurations". ETSI

SIST EN 300 141-6 V1.3.4:2005

8 ETSI EN 300 141-6 V1.3.4 (1999-11)

[11] CCITT Recommendation X.209 (1988): "Specification of basic encoding rules for Abstract Syntax Notation One (ASN.1)".

[12] EN 300 403-1: "Integrated Services Digital Network (ISDN); Digital Subscriber Signalling System No. one (DSS1) protocol; Signalling network layer for circuit-mode basic call control; Part 1:

Protocol specification [ITU-T Recommendation Q.931 (1993), modified]".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the following terms and definitions apply:

Abstract Test Suite (ATS): see ISO/IEC 9646-1 [5] Implementation Under Test (IUT): see ISO/IEC 9646-1 [5] Lower Tester (LT): see ISO/IEC 9646-1 [5] Point of Control and Observation (PCO): see ISO/IEC 9646-1 [5] Protocol Implementation Conformance Statement (PICS): see ISO/IEC 9646-1 [5] PICS proforma: see ISO/IEC 9646-1 [5] Protocol Implementation eXtra Information for Testing (PIXIT): see ISO/IEC 9646-1 [5] PIXIT proforma: see ISO/IEC 9646-1 [5] System Under Test (SUT): see ISO/IEC 9646-1 [5] UpperTester(UT): see ISO/IEC 9646-1 [5]

3.2 Abbreviations

For the purposes of the present document, the following abbreviations apply:

ASP Abstract Service Primitive ATM Abstract Test Method ATS Abstract Test Suite BER Basic Encoding Rules CM Co-ordination Message CP Co-ordination Point ExTS Executable Test Suite HOLD Call Hold IUT Implementation Under Test LT Lower Tester MOT Means Of Testing MTC Main Test Component PCO Point of Control and Observation PDU Protocol Data Unit PICS Protocol Implementation Conformance Statement PIXIT Protocol Implementation eXtra Information for Testing PTC Parallel Test Component SUT System Under Test TCP Test Co-ordination Procedures TP Test Purpose TTCN Tree and Tabular Combined Notation UT Upper Tester ETSI

SIST EN 300 141-6 V1.3.4:2005

9 ETSI EN 300 141-6 V1.3.4 (1999-11)

4 Abstract Test Method (ATM)

4.1 Description of ATM used

The requirement for testing the network IUT is to focus on the behaviour of the network IUT at the user-network interface where a T reference point or coincident S and T reference point applies. Thus the IUT is the network DSS1 protocol entity at a particular user-network interface and is not the whole network. It is possible to specify an ATS based on a Single party (remote) test method for such an IUT. However, it is considered that an ATS based on such an approach is of limited use as the only way to specify IUT generated PDUs is to use the "implicit send" statement. Many users of such an ATS would replace the "implicit send" statements with descriptions of the behaviour at other interfaces.

An ATS based on a multi-party test method is considered to be more useful in that it is closer to how a real test suite would be constructed. Such a test method specifies behaviour at multiple network interfaces. One very important limitation here is that tests are focused on one particular interface. Thus the test system is made up one Main Test Component (MTC) and one or more Parallel Test Components (PTC), see figure 1.

4.1.1 Conventions for test components and PCOs

Master part Slave part MTCA PTC1 CPA1 L1 PCO L0 PCO IUT NETWORK Figure 1: Multi-party test method In a master/slave arrangement, the MTC is considered to be the master while the PTCs are the slaves. The "slave" testers are only an explicit description of how to deal with the "other" interfaces during the testing process, i.e. "how to make the IUT send the required message".

ETSI

SIST EN 300 141-6 V1.3.4:2005

10 ETSI EN 300 141-6 V1.3.4 (1999-11)

This means, in particular, that the verdict will only be assigned from the protocol aspects observed on the interface under test (i.e. by the "master" tester), as it would be observed by a terminal connected to this interface. A failure in the correlation between the protocol at the different interfaces to which the different testers are connected, i.e. in the mechanism of the functional service itself, will not cause a FAIL verdict. For instance, if the IUT fails to send a message on the tested interface after another interface has received the proper stimulus, the verdict will be INCONCLUSIVE. The MTC MTCA has two functions in this configuration. Firstly, it has the MTC function of controlling the one or more PTCs. Thus it is responsible for starting the PTCs and afterwards co-ordinates activities by exchanging Co-ordination Messages (CM) with the PTCs. Secondly it is responsible for the behaviour of the Lower Tester (LT) at PCO L0. A combination of the remote and multi-party test methods is applied. As can be seen from figure 1, several PCOs are used. All PCOs reside at the service access points between layers 2 and 3. MTC SUT PTC1 Layer 3 IUT Layer 3

L0    L1 Layer 2 Layer 2

Layer 1 Layer 1 Service provider Figure 2: Combination of the remote and multi-party test methods The MTC PCO is named "L0" ("L" for Lower). The L0 PCO is used to control and observe the behaviour of the IUT and test case verdicts are assigned depending on the behaviour observed at this PCO. The PTC PTC1 uses PCO L1. This PCO is used to control and, in a limited way, observe the behaviour of the network equipment at interfaces other than the one under test. No verdicts are assigned at this PCO. As stated in a previous paragraph, the non-receipt of network generated messages at L0, which are stimulated by events at the L1, will result in INCONCLUSIVE rather than FAIL verdicts being assigned.

4.1.2 Conventions for variables and parameters

MTCA call reference CREF1 B channel (basic) bch_num1 (to PTC1) channel nr (primary) CH_NUM1 PCO L0 IPN0, LIPN0 PTC1 call reference P1CREF B channel (basic) P1_bch_num channel nr (primary) P1_CH_NUM PCO L1 IPN1, LIPN1 ETSI

SIST EN 300 141-6 V1.3.4:2005

11 ETSI EN 300 141-6 V1.3.4 (1999-11)

4.2 Alternative ATM

As stated in subclause 4.1, an ATS based on a single-party (remote) ATM is possible. Such an ATS may be generated from the one specified in the present document. The following general steps should be taken:

1) remove all PTC behaviour; 2) remove all CREATE statements; 3) replace CMs which are used to provoke PDUs at the MTC, with implicit send statements. An example, showing the difference between the multi-party ATM and single-party ATM for a single test case, is given in tables 1 and 2.

Table 1: Test case dynamic behaviour table using multi-party ATM TEST CASE DYNAMIC BEHAVIOUR Test Case Name HOLD_N04_001 Group RemoteUser_ST_OR_T/Holding/ Purpose Ensure that the IUT, while in the Active call state N10, to notify the non-served user that the call is held sends a NOTIFY message with a notification indicator coded as "remote hold" to user B and remains in the Active call state.

Default DF69901(1) Configuration CONFIG1 Comments 9.2.1 valid optional Nr | Label| BEHAVIOUR DESCRIPTION | CREF | V | COMMENTS 1 | |CREATE ( PTC1: PTC1_IN_servedUser) | | | 2 | | +PR31002 | | |preamble N10 3 | | CPA1!CP_M START TWAIT |S_HL | | 4 | | L0?NOTIFYr |A_NO20(CREF1,hold_NID) |(P)| 5 | | +CS59901(10,1) | | |check N10 6 | | ?TIMEOUT TWAIT | |(I)| 7 | | +PO49901(1) | | |postamble N0 DETAILED COMMENTS:

Table 2: Test case dynamic behaviour table using single-party ATM TEST CASE DYNAMIC BEHAVIOUR Test Case Name HOLD_N04_001 Group RemoteUser_ST_OR_T/Holding/ Purpose Ensure that the IUT, while in the Active call state N10, to notify the non-served user that the call is held sends a NOTIFY message with a notification indicator coded as "remote hold" to user B and remains in the Active call state.

Default DF69901(1) Configuration Comments 9.2.1 valid optional Nr | Label| BEHAVIOUR DESCRIPTION | CREF | V | COMMENTS 1 | |+PR31002 | | |preamble N10 2 | | <IUT!NOTIFY> |NO20(CREF1,hold_NID) | | 3 | | L0?NOTIFYr |A_NO20(CREF1,hold_NID) |(P)| 4 | | +CS59901(10,1) | | |check N10 5 | | ?TIMEOUT TWAIT | |(I)| 6 | | +PO49901(1) | | |postamble N0 DETAILED COMMENTS:

5 Untestable test purposes

There are no test cases for test purposes HOLD_N03_002 to HOLD_N03_003 inclusive. These test cases are not testable given the ATM utilized. An additional PCO at the served user side (i.e. side of the Master) would be required. This would be achievable by using two PTCs at the served user side and an MTC whose only function would be to control the various PTCs.

ETSI

SIST EN 300 141-6 V1.3.4:2005

12 ETSI EN 300 141-6 V1.3.4 (1999-11)

6 ATS conventions

This clause is structured similarly to the structure of a TTCN ATS. However, the names of the subclauses are arranged in a way more suitable to the present document.

6.1 Declarations part

6.1.1 Type definitions
6.1.1.1 Simple type definitions

Where appropriate, simple types have a length, a value list or a range restriction attached. Simple types defined as being of some string type (e.g. BIT STRING, OCTET STRING), have a length restriction or a value list attached.

Simple types, defined as being of INTEGER type, have a value list or a range restriction attached.

6.1.1.2 Structured type definitions

6.1.1.2.1 TTCN structured type definitions All structured type definitions are provided with a full name. All elements in every structured type definition, defined as being of some string type (e.g. BIT STRING, OCTET STRING), have a length restriction attached.

If an element in a structured type definition is defined as being of a referenced type, the (possible) restriction is defined in that referenced type.

For information elements the identifier, which is unique for each element, has its type defined as a simple type where the value list is restricted to the single value which is the identifier itself. This has the advantage that it allows a test system derived from this ATS to easily identify information elements embedded in messages. An ATS where information element identifiers are represented as unrestricted types can present difficulties for a derived test system in the case where it needs to find one information element embedded in a number of others and the constraints for the other elements have the any-or-omit value. In such a case the test system cannot easily find the beginning of each information element.

6.1.1.2.2 ASN.1 structured type definitions ASN.1 has been used for three major reasons. First, types defined in ASN.1 can model problems that "pure" TTCN cannot. For instance, data structures modelling ordered or unordered sequences of data are preferably defined in ASN.1. Second, ASN.1 provides a better restriction mechanism for type definitions by using sub-type definitions. Third, it is necessary to use ASN.1 to reproduce the type definitions for remote operation components as specified in the base standards.

The fact that ASN.1 provides a better restriction mechanism for type definitions is used for the purpose of achieving type-compatibility.

Tables 3 and 4 show the typical use of ASN.1. The FIE type in table 3 is written in ASN.1 to permit the use of the SET OF construction in the components field. Constraints of the FIE type can therefore be written using the SUPERSET function which allows to match a single component which may be delivered together with a set of other components. Table 4 shows the reject component type which is defined following the ASN.1 declaration in EN 300 196-1 [4]. ETSI

SIST EN 300 141-6 V1.3.4:2005

13 ETSI EN 300 141-6 V1.3.4 (1999-11)

Table 3: ASN.1 type definition FIE ASN.1 Type Definition Type Name: FIE Comments : Facility information element taken from EN 300 196-1; 11.2.2.1. Specified here for both send & receive event.

Type Definition SEQUENCE { informationElementIdentifier FIE_I, length FIE_LengthType, extBit BIT STRING (SIZE (1)), spareBits BIT STRING (SIZE (2)), protocolProfile BIT STRING (SIZE (5)), components SET OF Component } Table 4: ASN.1 type definition RejectComponent ASN.1 Type Definition Type Name: RejectComponent Comments : Reject Component is not specific to any particular operation. The invokeID may be used to identify a specific operation.

Type Definition SEQUENCE { invokedID CHOICE { invokeID InvokeIDType, null NULL }, problem CHOICE { generalProblem [0] IMPLICIT GeneralProblem, invokeProblem [1] IMPLICIT InvokeProblem, returnResultProblem [2] IMPLICIT ReturnResultProblem, returnErrorProblem [3] IMPLICIT ReturnErrorProblem } } Table 5 shows an example of how ASN.1 can be used to model unordered sequences. Table 5: ASN.1 type definition FIES ASN.1 Type Definition Type Name: FIES Comments :

Type Definition SET OF FIE The possibility to use TTCN and ASN.1 in combination is used, i.e. referring to an ASN.1 type from a TTCN type.

...