Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocol

Specifies the transport layer message structure, formats and transmission procedures to be used at standard interfaces in alarm transmission systems. Should be used at all such interfaces where equipment from one supplier is intended to inter-work with equipment from other suppliers, and where the underlying system architecture does not provide the necessary facilities to support the common application layer.

Systèmes d'alarme - Partie 7-4: Formats de message et protocoles pour les interfaces de données série dans les systèmes de transmission d'alarme - Protocole de la couche commune de transport

Spécifie la structure des messages de la couche de transport, les formats et les procédures de transmission à utiliser au niveau des interfaces normalisées dans les systèmes de transmission d'alarme. Est à utiliser pour toutes les interfaces dans lesquelles le matériel provenant d'un fournisseur est destiné à travailler en liaison avec celui provenant d'autres fournisseurs, et dans lesquelles l'architecture sous-tendue du système ne donne pas les possibilités nécessaires pour supporter la couche d'application commune.

General Information

Status
Withdrawn
Publication Date
08-Mar-2001
Withdrawal Date
13-Oct-2022
Current Stage
WPUB - Publication withdrawn
Start Date
14-Oct-2022
Completion Date
14-Oct-2022
Ref Project

Buy Standard

Standard
IEC 60839-7-4:2001 - Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocol Released:3/9/2001 Isbn:2831856639
English language
11 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 60839-7-4:2001 - Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocol
English and French language
23 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL IEC
STANDARD
60839-7-4
First edition
2001-03
Alarm systems –
Part 7-4:
Message formats and protocols for serial data
interfaces in alarm transmission systems –
Common transport layer protocol
Systèmes d'alarme –
Partie 7-4:
Formats de message et protocoles pour les interfaces de
données série dans les systèmes de transmission d'alarme –
Protocole de la couche commune de transport

Reference number
Publication numbering
As from 1 January 1997 all IEC publications are issued with a designation in the
60000 series. For example, IEC 34-1 is now referred to as IEC 60034-1.

Consolidated editions
The IEC is now publishing consolidated versions of its publications. For example,

edition numbers 1.0, 1.1 and 1.2 refer, respectively, to the base publication, the
base publication incorporating amendment 1 and the base publication incorporating
amendments 1 and 2.
Further information on IEC publications
The technical content of IEC publications is kept under constant review by the IEC,
thus ensuring that the content reflects current technology. Information relating to
this publication, including its validity, is available in the IEC Catalogue of
publications (see below) in addition to new editions, amendments and corrigenda.
Information on the subjects under consideration and work in progress undertaken
by the technical committee which has prepared this publication, as well as the list
of publications issued, is also available from the following:
• IEC Web Site (www.iec.ch)
• Catalogue of IEC publications
The on-line catalogue on the IEC web site (www.iec.ch/catlg-e.htm) enables
you to search by a variety of criteria including text searches, technical
committees and date of publication. On-line information is also available on
recently issued publications, withdrawn and replaced publications, as well as
corrigenda.
• IEC Just Published
This summary of recently issued publications (www.iec.ch/JP.htm) is also
available by email. Please contact the Customer Service Centre (see below) for
further information.
• Customer Service Centre
If you have any questions regarding this publication or need further assistance,
please contact the Customer Service Centre:
Email: custserv@iec.ch
Tel: +41 22 919 02 11
Fax: +41 22 919 03 00
INTERNATIONAL IEC
STANDARD
60839-7-4
First edition
2001-03
Alarm systems –
Part 7-4:
Message formats and protocols for serial data
interfaces in alarm transmission systems –
Common transport layer protocol
Systèmes d'alarme –
Partie 7-4:
Formats de message et protocoles pour les interfaces de
données série dans les systèmes de transmission d'alarme –
Protocole de la couche commune de transport

 IEC 2001  Copyright - all rights reserved
No part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
International Electrotechnical Commission 3, rue de Varembé Geneva, Switzerland
Telefax: +41 22 919 0300 e-mail: inmail@iec.ch IEC web site http://www.iec.ch
Commission Electrotechnique Internationale
PRICE CODE
L
International Electrotechnical Commission
For price, see current catalogue

– 2 – 60839-7-4 © IEC:2001(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION

____________
ALARM SYSTEMS –
Part 7-4: Message formats and protocols for serial data interfaces

in alarm transmission systems –

Common transport layer protocol

FOREWORD
1) The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of the IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, the IEC publishes International Standards. Their preparation is
entrusted to technical committees; any IEC National Committee interested in the subject dealt with may
participate in this preparatory work. International, governmental and non-governmental organizations liaising
with the IEC also participate in this preparation. The IEC collaborates closely with the International Organization
for Standardization (ISO) in accordance with conditions determined by agreement between the two
organizations.
2) The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, an
international consensus of opinion on the relevant subjects since each technical committee has representation
from all interested National Committees.
3) The documents produced have the form of recommendations for international use and are published in the form
of standards, technical specifications, technical reports or guides and they are accepted by the National
Committees in that sense.
4) In order to promote international unification, IEC National Committees undertake to apply IEC International
Standards transparently to the maximum extent possible in their national and regional standards. Any
divergence between the IEC Standard and the corresponding national or regional standard shall be clearly
indicated in the latter.
5) The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any
equipment declared to be in conformity with one of its standards.
6) Attention is drawn to the possibility that some of the elements of this International Standard may be the subject
of patent rights. The IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 60839-7-4 has been prepared by IEC technical committee 79: Alarm
systems.
The text of this standard is based on the following documents:
FDIS Report on voting
79/201/FDIS 79/211/RVD
Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.
This publication has been drafted in accordance with the ISO/IEC Directives, Part 3.
Annex A forms an integral part of this standard.
The committee has decided that the contents of this publication will remain unchanged until
2004. At this date, the publication will be
reconfirmed;
withdrawn;
replaced by a revised edition, or
amended.
60839-7-4 © IEC:2001(E) – 3 –
A bilingual version of this standard may be issued at a later date.

IEC 60839-7-4 forms one of a number of related parts presented under the general title: Alarm

systems – Part 7: Message formats and protocols for serial data interfaces in alarm

transmission systems:
IEC 60839-7-1: General
IEC 60839-7-2: Common application layer protocol

IEC 60839-7-3: Common data link layer protocol

IEC 60839-7-4: Common transport layer protocol

IEC 60839-7-5: Alarm system interfaces employing a two-wire configuration in accordance
with ISO/IEC 8482
IEC 60839-7-6: Alarm system interfaces employing ITU-T Recommendation V.24/V.28
signalling
IEC 60839-7-7: Alarm system interfaces for plug-in alarm system transceivers
IEC 60839-7-11: Serial protocol for use by digital communicator systems using ITU-T
Recommendation V.23 signalling at interfaces with the PSTN
IEC 60839-7-12: PTT interfaces for dedicated communications using ITU-T
Recommendation V.23 signalling
IEC 60839-7-20: Terminal interfaces employing ITU-T Recommendation V.24/V.28
signalling
– 4 – 60839-7-4 © IEC:2001(E)
ALARM SYSTEMS –
Part 7-4: Message formats and protocols for serial data interfaces

in alarm transmission systems –

Common transport layer protocol

1 Scope
This part of IEC 60839 specifies the transport layer message structure, formats and
transmission procedures to be used at standard interfaces in alarm transmission systems. This
should be used at all such interfaces where equipment from one supplier is intended to inter-
work with equipment from other suppliers, and where the underlying system architecture does
not provide the necessary facilities to support the common application layer.
The structure follows the OSI recommendations for a layered protocol to allow flexibility in the
choice and use of lower level transmission media and protocols, whilst maintaining support for
the common application layer protocol.
This standard applies equally to the transmission of alarms and other messages to/from
intrusion, fire, access control and social alarm systems, and to the transmission of information
to/from other similar systems.
The physical management of the authentication keys required by this standard is not included.
2 Normative references
The following normative documents contain provisions which, through reference in this text,
constitute provisions of this part of IEC 60839. For dated references, subsequent amendments
to, or revisions of, any of these publications do not apply. However, parties to agreements
based on this part of IEC 60839 are encouraged to investigate the possibility of applying the
most recent editions of the normative documents indicated below. For undated references, the
latest edition of the normative document referred to applies. Members of IEC and ISO maintain
registers of currently valid International Standards.
IEC 60839-7-1, Alarm systems – Part 7-1: Message formats and protocols for serial data
interfaces in alarm transmission systems – General

3 Definitions
For the purpose of this part of IEC 60839, the definitions in IEC 60839-7-1 apply.
4 Abbreviations
The abbreviations in IEC 60839-7-1 apply.

60839-7-4 © IEC:2001(E) – 5 –
5 General
The transport layer is responsible for the formatting of messages from the application layer into

a form suitable for transmission to the remote location, and for the addition of facilities not

available from the underlying transport mechanism.

Although a link using this protocol may be point-multipoint, or multipoint-multipoint, the

transport layer described here presumes that such systems will comprise a number of logical

point-point communications which will proceed independently.

In such communications, one device is defined as the ORIGINATOR and one as the

RECEIVER in order that the standard may be defined generally. The calling standard shall
identify which of these functions is assigned to which equipment.
6 Transport layer message format
Each application layer message or transport layer data block shall be formatted into transport
layer message with the addition of a header as defined below.
6.1 Transmission of transport layer data block
Transport layer data shall be formatted in accordance with annex A and transmitted with a
transport layer header as defined in 6.2.
6.2 Transport layer header
The transport layer header shall be as follows:
FLAGS
SOURCE ID DESTINATION ID
(FIRST OCTET)
7 0
bit 0 : Reserved  (must be unset (=0))
bit 1 : 1 = source identity follows
0 = no source identity included
bit 2 : 1 = destination identity follows
0 = no destination identity included
bit 3 : 1 = transport layer data block follows
0 = application layer message follows

bit 4 : 00 1 1
bit 5 : 01 0 1
Reserved
message contains encrypted data
Message Authentication Code (MAC) appended
no encryption or MAC
bit 6 : 1 = special encryption algorithm used
0 = no special encryption algorithm used
bit 7 :  Reserved must be set (=1)
Bit 4 should be set when the application message or the transport data are encrypted. Bit 5
should be set to indicate that the message contains a message authentication code (MAC).
The option of using encryption and a MAC should not be used since this effectively lowers the
security. Where a special high security algorithm is used for either the encryption or the MAC
bit 6 should be set, otherwise the standard algorithm defined in this standard should be used.

– 6 – 60839-7-4 © IEC:2001(E)
Bit 3 indicates whether the data is a transport layer data block or an application layer message.

The transport layer header may include the source identity, the destination identity, both or

neither as defined in bits 1 and 2.

Maximum length for SOURCE ID and DESTINATION ID is eight octets equal to seven digits

each.
Where both identities are included, the source identity shall always be first.

The format of the identity is as follows:

No of 1st 2nd 3rd
nibbles digit digit digit
74307430 7430
The first nibble (bits 4-7 of the first octet) is the number of digits in the address. The actual
identity digits shall be contained in subsequent nibbles in HEX format, starting with the lower
nibble of the first octet. The identity shall contain only sufficient octets to include the number of
digits required. If the number of digits is even, the last nibble (bits 0-3 of the last octet) shall be
zero.
As an example, if the identity is 1234 this would be transmitted as:
0 100 000 100 100 011 010 000 00
4 digits 1 2 3 4
7 Authentication
The following procedure shall be adopted following the establishment of the connection in order
to confirm the identity of the equipment.
7.1 Configuration
As part of their initialization/configuration each item of equipment shall be programmed with a
master key (Mk).
7.2 Initialization
With a connection established, the ORIGINATOR shall generate two random numbers R1 and
Rs, and shall transmit R1 to the RECEIVER encrypted with Mk as transport layer message
type 1 (see annex A). Rs is the random seed used by the encryption algorithm for the
transmission of R1.
The RECEIVER shall decode R1 and shall then generate a random number R2, together with a
secondary key Ki. It shall then return a transport layer message type 2 to the ORIGINATOR
which contains R2 together with R1 and Ki. This message shall be encrypted using Mk and Ki
as shown below and in annex A.

60839-7-4 © IEC:2001(E) – 7 –
The value of the secondary key (Ki) and the random numbers R1 and R2 shall only be stored in

volatile memory and should not be capable of being displayed in either the RECEIVER or

ORIGINATOR.
The ORIGINATOR shall decode the message to evaluate R1, R2 and Ki. The correct reception

of R1 confirms the identity of the RECEIVER. If correct, it shall then send a transport layer

message type 3 containing R2 encrypted using Ki. The correct decoding of R2 at the

RECEIVER confirms the identity of the ORIGINATOR.

A message shall be generated to both the alarm system and the annunciation equipment to

indicate that the value of Ki has been set.

A
...


IEC 60839-7-4
Edition 1.0 2001-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Alarm systems –
Part 7-4: Message formats and protocols for serial data interfaces in alarm
transmission systems – Common transport layer protocol

Systèmes d’alarme –
Partie 7-4: Formats de message et protocoles pour les interfaces de données
série dans les systèmes de transmission d’alarme – Protocole de la couche
commune de transport
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or
IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
A propos de la CEI
La Commission Electrotechnique Internationale (CEI) est la première organisation mondiale qui élabore et publie des
normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications CEI
Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possédez
l’édition la plus récente, un corrigendum ou amendement peut avoir été publié.
ƒ Catalogue des publications de la CEI: www.iec.ch/searchpub/cur_fut-f.htm
Le Catalogue en-ligne de la CEI vous permet d’effectuer des recherches en utilisant différents critères (numéro de référence,
texte, comité d’études,…). Il donne aussi des informations sur les projets et les publications retirées ou remplacées.
ƒ Just Published CEI: www.iec.ch/online_news/justpub
Restez informé sur les nouvelles publications de la CEI. Just Published détaille deux fois par mois les nouvelles
publications parues. Disponible en-ligne et aussi par email.
ƒ Electropedia: www.electropedia.org
Le premier dictionnaire en ligne au monde de termes électroniques et électriques. Il contient plus de 20 000 termes et
définitions en anglais et en français, ainsi que les termes équivalents dans les langues additionnelles. Egalement appelé
Vocabulaire Electrotechnique International en ligne.
ƒ Service Clients: www.iec.ch/webstore/custserv/custserv_entry-f.htm
Si vous désirez nous donner des commentaires sur cette publication ou si vous avez des questions, visitez le FAQ du
Service clients ou contactez-nous:
Email: csc@iec.ch
Tél.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 60839-7-4
Edition 1.0 2001-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Alarm systems –
Part 7-4: Message formats and protocols for serial data interfaces in alarm
transmission systems – Common transport layer protocol

Systèmes d’alarme –
Partie 7-4: Formats de message et protocoles pour les interfaces de données
série dans les systèmes de transmission d’alarme – Protocole de la couche
commune de transport
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
L
CODE PRIX
ICS 13.320 ISBN 2-8318-6016-4
– 2 – 60839-7-4 © CEI:2001
SOMMAIRE
AVANT-PROPOS .4
1 Domaine d'application.8
2 Références normatives .8
3 Définitions .8
4 Abréviations.8
5 Généralités.8
6 Format du message de la couche de transport .10
6.1 Transmission de blocs de données de la couche de transport .10
6.2 En-tête de la couche de transport .10
7 Authentification.12
7.1 Configuration.12
7.2 Initialisation .12
7.3 Modification de la clé secondaire .14
7.4 Défaillance de synchronisation.14
7.5 Longueur des clés .16
8 Codage.16
9 Code d'authentification des messages (MAC).16
10 Algorithme normalisé .18
Annexe A (normative) Messages de la couche de transport .20

60839-7-4 © IEC:2001 – 3 –
CONTENTS
FOREWORD.5
1 Scope.9
2 Normative references.9
3 Definitions .9
4 Abbreviations.9
5 General .9
6 Transport layer message format.11
6.1 Transmission of transport layer data block .11
6.2 Transport layer header.11
7 Authentication.13
7.1 Configuration.13
7.2 Initialization .13
7.3 Change of secondary key.15
7.4 Failure of synchronization .15
7.5 Size of keys.17
8 Encryption .17
9 Message authentication code (MAC) .17
10 Standard algorithm .19
Annex A (normative) Transport layer messages.21

– 4 – 60839-7-4 © CEI:2001
COMMISSION ÉLECTROTECHNIQUE INTERNATIONALE
____________
SYSTÈMES D'ALARME –
Partie 7-4: Formats de message et protocoles pour les interfaces
de données série dans les systèmes de transmission d'alarme –
Protocole de la couche commune de transport

AVANT-PROPOS
1) La Commission Electrotechnique Internationale (CEI) est une organisation mondiale de normalisation composée
de l'ensemble des comités électrotechniques nationaux (Comités nationaux de la CEI). La CEI a pour objet de
favoriser la coopération internationale pour toutes les questions de normalisation dans les domaines de
l'électricité et de l'électronique. A cet effet, la CEI – entre autres activités – publie des Normes internationales,
des Spécifications techniques, des Rapports techniques, des Spécifications accessibles au public (PAS) et des
Guides (ci-après dénommés "Publication(s) de la CEI"). Leur élaboration est confiée à des comités d'études,
aux travaux desquels tout Comité national intéressé par le sujet traité peut participer. Les organisations
internationales, gouvernementales et non gouvernementales, en liaison avec la CEI, participent également aux
travaux. La CEI collabore étroitement avec l'Organisation Internationale de Normalisation (ISO), selon des
conditions fixées par accord entre les deux organisations.
2) Les décisions ou accords officiels de la CEI concernant les questions techniques représentent, dans la mesure
du possible, un accord international sur les sujets étudiés, étant donné que les Comités nationaux de la CEI
intéressés sont représentés dans chaque comité d’études.
3) Les Publications de la CEI se présentent sous la forme de recommandations internationales et sont agréées
comme telles par les Comités nationaux de la CEI. Tous les efforts raisonnables sont entrepris afin que la CEI
s'assure de l'exactitude du contenu technique de ses publications; la CEI ne peut pas être tenue responsable de
l'éventuelle mauvaise utilisation ou interprétation qui en est faite par un quelconque utilisateur final.
4) Dans le but d'encourager l'uniformité internationale, les Comités nationaux de la CEI s'engagent, dans toute la
mesure possible, à appliquer de façon transparente les Publications de la CEI dans leurs publications
nationales et régionales. Toutes divergences entre toutes Publications de la CEI et toutes publications
nationales ou régionales correspondantes doivent être indiquées en termes clairs dans ces dernières.
5) La CEI n’a prévu aucune procédure de marquage valant indication d’approbation et n'engage pas sa
responsabilité pour les équipements déclarés conformes à une de ses Publications.
6) Tous les utilisateurs doivent s'assurer qu'ils sont en possession de la dernière édition de cette publication.
7) Aucune responsabilité ne doit être imputée à la CEI, à ses administrateurs, employés, auxiliaires ou
mandataires, y compris ses experts particuliers et les membres de ses comités d'études et des Comités
nationaux de la CEI, pour tout préjudice causé en cas de dommages corporels et matériels, ou de tout autre
dommage de quelque nature que ce soit, directe ou indirecte, ou pour supporter les coûts (y compris les frais
de justice) et les dépenses découlant de la publication ou de l'utilisation de cette Publication de la CEI ou de
toute autre Publication de la CEI, ou au crédit qui lui est accordé.
8) L'attention est attirée sur les références normatives citées dans cette publication. L'utilisation de publications
référencées est obligatoire pour une application correcte de la présente publication.
9) L’attention est attirée sur le fait que certains des éléments de la présente Publication de la CEI peuvent faire
l’objet de droits de propriété intellectuelle ou de droits analogues. La CEI ne saurait être tenue pour
responsable de ne pas avoir identifié de tels droits de propriété et de ne pas avoir signalé leur existence.
La Norme internationale CEI 60839-7-4 a été établie par le comité d'études 79 de la CEI:
Systèmes d'alarme.
La présente version bilingue, publiée en 2001-11, correspond à la version anglaise.
Le texte anglais de cette norme est basé sur les documents 79/201/FDIS et 79/211/RVD. Le
rapport de vote 79/211/RVD don
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.