SIST IEC 60839-7-4:2002
(Main)Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocol
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.
Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocol
General Information
Standards Content (Sample)
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Alarm systems - Part 7-4: Message formats and protocols for serial data interfaces in alarm transmission systems - Common transport layer protocolSystè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
transportAlarm systems - Part 7-4: Message formats and protocols for
serial data interfaces in alarm transmission systems - Common transport layer protocol35.100.40Transportni slojTransport layer13.320Alarmni in opozorilni sistemiAlarm and warning systemsICS:Ta slovenski standard je istoveten z:IEC 60839-7-4SIST IEC 60839-7-4:2002en01-junij-2002SIST IEC 60839-7-4:2002SLOVENSKI
STANDARD
NORMEINTERNATIONALECEIIECINTERNATIONALSTANDARD60839-7-4Première éditionFirst edition2001-03Systèmes d'alarme –Partie 7-4:Formats de message et protocoles pourles interfaces de données série dansles systèmes de transmission d'alarme –Protocole de la couche commune de transportAlarm systems –Part 7-4:Message formats and protocols for serialdata interfaces in alarm transmission systems –Common transport layer protocol Commission Electrotechnique Internationale International Electrotechnical CommissionPour prix, voir catalogue en vigueurFor price, see current catalogue IEC 2001
Droits de reproduction réservés
Copyright - all rights reservedAucune partie de cette publication ne peut être reproduite niutilisée sous quelque forme que ce soit et par aucun procédé,électronique ou mécanique, y compris la photocopie et lesmicrofilms, sans l'accord écrit de l'éditeur.No part of this publication may be reproduced or utilized inany form or by any means, electronic or mechanical,including photocopying and microfilm, without permission inwriting from the publisher.International Electrotechnical Commission3, rue de Varembé
Geneva, SwitzerlandTelefax: +41 22 919 0300e-mail: inmail@iec.ch IEC web site
http://www.iec.chCODE PRIXPRICE CODELSIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 3 –CONTENTSFOREWORD.51Scope.92Normative references.93Definitions.94Abbreviations.95General.96Transport layer message format.116.1Transmission of transport layer data block.116.2Transport layer header.117Authentication.137.1Configuration.137.2Initialization.137.3Change of secondary key.157.4Failure of synchronization.157.5Size of keys.178Encryption.179Message authentication code (MAC).1710Standard algorithm.19Annex A (normative)
Transport layer messages.21SIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 5 –INTERNATIONAL ELECTROTECHNICAL COMMISSION____________ALARM SYSTEMS –Part 7-4: Message formats and protocols for serial data interfacesin alarm transmission systems –Common transport layer protocolFOREWORD1)The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprisingall national electrotechnical committees (IEC National Committees). The object of the IEC is to promoteinternational co-operation on all questions concerning standardization in the electrical and electronic fields. Tothis end and in addition to other activities, the IEC publishes International Standards. Their preparation isentrusted to technical committees; any IEC National Committee interested in the subject dealt with mayparticipate in this preparatory work. International, governmental and non-governmental organizations liaisingwith the IEC also participate in this preparation. The IEC collaborates closely with the International Organizationfor Standardization (ISO) in accordance with conditions determined by agreement between the twoorganizations.2)The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, aninternational consensus of opinion on the relevant subjects since each technical committee has representationfrom all interested National Committees.3)The documents produced have the form of recommendations for international use and are published in the formof standards, technical specifications, technical reports or guides and they are accepted by the NationalCommittees in that sense.4)
In order to promote international unification, IEC National Committees undertake to apply IEC InternationalStandards transparently to the maximum extent possible in their national and regional standards. Anydivergence between the IEC Standard and the corresponding national or regional standard shall be clearlyindicated in the latter.5)
The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for anyequipment 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 subjectof 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: Alarmsystems.This bilingual version (2001-11) replaces the English version.The text of this standard is based on the following documents:FDISReport on voting79/201/FDIS79/211/RVDFull information on the voting for the approval of this standard can be found in the report onvoting 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 unchangeduntil 2004. At this date, the publication will be•reconfirmed;•withdrawn;•replaced by a revised edition, or•amended.SIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 7 –IEC 60839-7-4 forms one of a series of publications presented under the general title: Alarmsystems – Part 7: Message formats and protocols for serial data interfaces in alarmtransmission systems.IEC 60839-7-1:GeneralIEC 60839-7-2:Common application layer protocolIEC 60839-7-3:Common data link layer protocolIEC 60839-7-4:Common transport layer protocolIEC 60839-7-5:Alarm system interfaces employing a two-wire configuration in accordancewith ISO/IEC 8482IEC 60839-7-6:Alarm system interfaces employing ITU-T Recommendation V.24/V.28signallingIEC 60839-7-7:Alarm system interfaces for plug-in alarm system transceiversIEC 60839-7-11:Serial protocol for use by digital communicator systems using ITU-TRecommendation V.23 signalling at interfaces with the PSTNIEC 60839-7-12:PTT interfaces for dedicated communications using ITU-T RecommendationV.23 signallingIEC 60839-7-20:Terminal interfaces employing ITU-T Recommendation V.24/V.28 signallingSIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 9 –ALARM SYSTEMS –Part 7-4: Message formats and protocols for serial data interfacesin alarm transmission systems –Common transport layer protocol1 ScopeThis part of IEC 60839 specifies the transport layer message structure, formats and trans-mission procedures to be used at standard interfaces in alarm transmission systems. Thisshould 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 doesnot provide the necessary facilities to support the common application layer.The structure follows the OSI recommendations for a layered protocol to allow flexibility in thechoice and use of lower level transmission media and protocols, whilst maintaining support forthe common application layer protocol.This standard applies equally to the transmission of alarms and other messages to/fromintrusion, fire, access control and social alarm systems, and to the transmission of informationto/from other similar systems.The physical management of the authentication keys required by this standard is not included.2 Normative referencesThe following referenced documents are indispensable for the application of this document. Fordated references, only the edition cited applies. For undated references, the latest edition ofthe referenced document (including any amendments) applies.IEC 60839-7-1, Alarm systems – Part 7-1: Message formats and protocols for serial datainterfaces in alarm transmission systems – General3 DefinitionsFor the purpose of this part of IEC 60839, the definitions in IEC 60839-7-1 apply.4 AbbreviationsThe abbreviations in IEC 60839-7-1 apply.5 GeneralThe transport layer is responsible for the formatting of messages from the application layer intoa form suitable for transmission to the remote location, and for the addition of facilities notavailable from the underlying transport mechanism.Although a link using this protocol may be point-multipoint, or multipoint-multipoint, thetransport layer described here presumes that such systems will comprise a number of logicalpoint-point communications which will proceed independently.SIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 11 –In such communications, one device is defined as the ORIGINATOR and one as theRECEIVER in order that the standard may be defined generally. The calling standard shallidentify which of these functions is assigned to which equipment.6 Transport layer message formatEach application layer message or transport layer data block shall be formatted into transportlayer message with the addition of a header as defined below.6.1 Transmission of transport layer data blockTransport layer data shall be formatted in accordance with annex A and transmitted with atransport layer header as defined in 6.2.6.2 Transport layer headerThe transport layer header shall be as follows:07bit 0 :bit 1 :1 = source identity follows0 = no source identity includedbit 2 :1 = destination identity follows0 = no destination identity includedbit 3 :1 = transport layer data block follows0 = application layer message followsbit 6 :1 = special encryption algorithm used0 = no special encryption algorithm usedreserved
(must be unset (=0)) )bit 7 :
reserved must be set (=1)bit 4 :bit 5 :00011011reservedmessage contains encrypted dataMessage Authentication Code (MAC) appendedno encryption or MACFLAGS(FIRST OCTET)SOURCE IDDESTINATION IDBit 4 should be set when the application message or the transport data are encrypted. Bit 5should 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 thesecurity. Where a special high security algorithm is used for either the encryption or the MACbit 6 should be set, otherwise the standard algorithm defined in this standard should be used.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 orneither as defined in bits 1 and 2.Maximum length for SOURCE ID and DESTINATION ID is eight octets equal to seven digitseach.Where both identities are included, the source identity shall always be first.SIST IEC 60839-7-4:2002
60839-7-4 © IEC:2001– 13 –The format of the identity is as follows:No ofnibbles1stdigit2nddigit3rddigit743074307430The first nibble (bits 4-7 of the first octet) is the number of digits in the address. The actualidentity digits shall be contained in subsequent nibbles in HEX format, starting with the lowernibble of the first octet. The identity shall contain only sufficient octets to include the number ofdigits required. If the number of digits is even, the last nibble (bits 0-3 of the last octet) shall bezero.As an example, if the identity is 1234 this would be transmitted as:7430743074300100000100100011010000004 digits12347 AuthenticationThe following procedure shall be adopted following the establishment of the connection in orderto confirm the identity of the equipment.7.1 ConfigurationAs part of their initialization/configuration each item of equipment shall be programmed with amaster key (Mk).7.2 InitializationWith a connection established, the ORIGINATOR shall generate two random numbers R1 andRs, and shall transmit R1 to the RECEIVER encrypted with Mk as transport layer messagetype 1 (see annex A). Rs is the random seed used by the encryption algorithm for thetransmission of R1.The RECEIVER shall decode R1 and shall then generate a random number R2, together with asecondary key Ki. It shall then return a transport layer message type 2 to the ORIGINATORwhich contains R2 together with R1 and Ki. This message shall be encrypted using Mk and Kias shown below and in annex A.The value of the secondary key (Ki) and the random numbers R1 and R2 shall only be stored involatile memory and should not be capable of being displayed in either the RECEIVER orORIGINATOR.The ORIGINATOR shall decode the message to evaluate R1, R2 and Ki. The correct receptionof R1 confirms the identity of the RECEIVER. If correct, it shall then send a transport layermessage type 3 containing R2 encrypted using Ki. The correct decoding of R2 at theRECEIVER confirms the identity of the ORIGINATOR.A message shall be generated to both the alarm
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.