1、Home and Building Electronic Systems (HBES)Part 6-1: Interfaces - Webservice interfaceBS EN 50090-6-1:2017BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN 50090-6-1 September 2017 ICS 35.240.67; 97.120 English Versi
2、on Home and Building Electronic Systems (HBES) - Part 6-1: Interfaces - Webservice interface Systmes lectroniques pour les foyers domestiques et les btiments (HBES) - Partie 6-1 : Interfaces - Interface de services web Elektrische Systemtechnik fr Heim und Gebude (ESHG) - Teil 6-1: Schnittstellen -
3、Webservice Schnittstelle This European Standard was approved by CENELEC on 2017-05-15. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date l
4、ists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member. This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
5、 under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark
6、, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. Europ
7、ean Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17, B-1000 Brussels 2017 CENELEC All rights of exploitation in any form and by any means reserved worldwide
8、 for CENELEC Members. Ref. No. EN 50090-6-1:2017 E National forewordThis British Standard is the UK implementation of EN 50090-6-1:2017.The UK participation in its preparation was entrusted to Technical Committee IST/6/-/12, Home Electronic Systems.A list of organizations represented on this committ
9、ee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2017 Published by BSI Standards Limited 2017ISBN 978 0 580 96862 4ICS 97.120; 3
10、5.240.67Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 September 2017.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS EN 5
11、009061:2017EUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN 50090-6-1 September 2017 ICS 35.240.67; 97.120 English Version Home and Building Electronic Systems (HBES) - Part 6-1: Interfaces - Webservice interface Systmes lectroniques pour les foyers domestiques et les btiments (HBES) - Partie 6-
12、1 : Interfaces - Interface de services web Elektrische Systemtechnik fr Heim und Gebude (ESHG) - Teil 6-1: Schnittstellen - Webservice Schnittstelle This European Standard was approved by CENELEC on 2017-05-15. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipu
13、late the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member. This Europe
14、an Standard exists in three official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC memb
15、ers are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Nor
16、way, Poland, Portugal, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung CEN-CENELEC Management Centr
17、e: Avenue Marnix 17, B-1000 Brussels 2017 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members. Ref. No. EN 50090-6-1:2017 E BS EN 5009061:2017EN 50090-6-1:2017 2 Contents Page European foreword 3 Introduction 4 1 Scope 5 2 Normative references . 5 3
18、 Terms, definitions and abbreviations . 5 3.1 Terms and definitions . 5 3.2 Abbreviations 5 4 Overall introduction 5 5 General technical introduction to HBES Web Services 6 6 Overview 7 6.1 General architecture . 7 6.2 General Home and Building HBES Open Communication System structure . 8 6.3 Struct
19、ure of this document 10 7 HBES Information model 10 7.1 Introduction . 10 7.2 Vocabulary structure 11 7.3 Core tags 13 7.4 Modelling example 18 8 HBES Web interface OBIX 21 8.1 Introduction . 21 8.2 Information presentation 21 8.2.1 Introduction . 21 8.2.2 Contract mapping . 23 8.2.3 Data point Type
20、 contract mapping 25 8.2.4 Functional Block Type contract mapping 26 8.2.5 Entity mapping 27 8.3 Object addressing . 28 8.4 Object interaction 29 8.4.1 Introduction . 29 8.4.2 Read transaction . 30 8.4.3 Write transaction . 31 8.4.4 Invoke transaction 31 9 HBES Gateway OBIX . 32 9.1 Introduction . 3
21、2 9.2 Object model . 32 9.3 Representational State Transfer 33 10 Gateway profiles . 33 10.1 Introduction . 33 10.2 Information encoding . 34 10.3 Message exchange . 34 10.4 Profiles . 35 10.5 Conflict handling . 36 BS EN 5009061:2017EN 50090-6-1:2017 2 Contents Page European foreword 3 Introduction
22、 4 1 Scope 5 2 Normative references . 5 3 Terms, definitions and abbreviations . 5 3.1 Terms and definitions . 5 3.2 Abbreviations 5 4 Overall introduction 5 5 General technical introduction to HBES Web Services 6 6 Overview 7 6.1 General architecture . 7 6.2 General Home and Building HBES Open Comm
23、unication System structure . 8 6.3 Structure of this document 10 7 HBES Information model 10 7.1 Introduction . 10 7.2 Vocabulary structure 11 7.3 Core tags 13 7.4 Modelling example 18 8 HBES Web interface OBIX 21 8.1 Introduction . 21 8.2 Information presentation 21 8.2.1 Introduction . 21 8.2.2 Co
24、ntract mapping . 23 8.2.3 Data point Type contract mapping 25 8.2.4 Functional Block Type contract mapping 26 8.2.5 Entity mapping 27 8.3 Object addressing . 28 8.4 Object interaction 29 8.4.1 Introduction . 29 8.4.2 Read transaction . 30 8.4.3 Write transaction . 31 8.4.4 Invoke transaction 31 9 HB
25、ES Gateway OBIX . 32 9.1 Introduction . 32 9.2 Object model . 32 9.3 Representational State Transfer 33 10 Gateway profiles . 33 10.1 Introduction . 33 10.2 Information encoding . 34 10.3 Message exchange . 34 10.4 Profiles . 35 10.5 Conflict handling . 36 EN 50090-6-1:2017 3 European foreword This
26、document (EN 50090-6-1:2017) has been prepared by CLC/TC 205 “Home and Building Electronic Systems (HBES)”. The following dates are fixed: latest date by which this document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2018-09-01 la
27、test date by which the national standards conflicting with this document have to be withdrawn (dow) 2020-09-01 BS EN 5009061:2017EN 50090-6-1:2017 4 Introduction The European Committee for Electrotechnical Standardization (CENELEC) draws attention to the fact that it is claimed that compliance with
28、this document may involve the use of a patent. CENELEC takes no position concerning the evidence, validity and scope of this patent right. The holder of this patent right has assured CENELEC that he/she is willing to negotiate licences under reasonable and non-discriminatory terms and conditions wit
29、h applicants throughout the world. In this respect, the statement of the holder of this patent right is registered with CENELEC. Information may be obtained from: KNX Association De Kleetlaan 5, Bus 11 B-1831 Brussels-Diegem Tel: +32 (0)2 775 86 44 Mob: +32 (0) 476 21 56 58 Fax: +32 (0)2 675 50 28 e
30、-mail: infoknx.org www.knx.org Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than those identified above. CENELEC shall not be held responsible for identifying any or all such patent rights. BS EN 5009061:2017EN 50090-6-1:2
31、017 4 Introduction The European Committee for Electrotechnical Standardization (CENELEC) draws attention to the fact that it is claimed that compliance with this document may involve the use of a patent. CENELEC takes no position concerning the evidence, validity and scope of this patent right. The
32、holder of this patent right has assured CENELEC that he/she is willing to negotiate licences under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holder of this patent right is registered with CENELEC. Information ma
33、y be obtained from: KNX Association De Kleetlaan 5, Bus 11 B-1831 Brussels-Diegem Tel: +32 (0)2 775 86 44 Mob: +32 (0) 476 21 56 58 Fax: +32 (0)2 675 50 28 e-mail: infoknx.org www.knx.org Attention is drawn to the possibility that some of the elements of this document may be the subject of patent ri
34、ghts other than those identified above. CENELEC shall not be held responsible for identifying any or all such patent rights. EN 50090-6-1:2017 5 1 Scope This European Standard defines a standardized web service based interface between Home and Building HBES Open Communication System and other inform
35、ation technology (IT) systems. The standardized interface is encapsulated in a gateway device, the HBES Gateway, which is able to communicate with both the Home and Building HBES Open Communication System and the connected IT systems. The HBES Gateway implements a set of encoding standards (see 10.2
36、) as well as various message exchange protocols (see 10.3) to enable remote access to the Home and Building HBES Open Communication System via the Internet or another wide area network (WAN). For this purpose, gateway profiles define different implementation levels (see 10.4). 2 Normative references
37、 The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. EN 500
38、90-1:2011, Home and Building Electronic Systems (HBES) - Part 1: Standardization structure EN 50090-3-3, Home and Building Electronic Systems (HBES) - Part 3-3: Aspects of application - HBES Interworking model and common HBES data types 3 Terms, definitions and abbreviations 3.1 Terms and definition
39、s For the purposes of this document, the terms and definitions given in EN 50090-1:2011 apply. 3.2 Abbreviations For the purposes of this document, the following abbreviations apply. BAS Building Automation System BMS Building Management System IoT Internet of Things OASIS Open Building Information
40、Exchange WS Web Services 4 Overall introduction Home and Building HBES Open Communication System is dedicated to the control and monitoring of networked building automation systems (BASs). Currently, Home and Building HBES Open Communication System has limited capability to communicate with other sy
41、stems, as a result of the use of different protocols, incompatibility or various other restrictions. For the integration of Home and Building HBES Open Communication System and for solving specific problem scenarios, customized solutions are currently on offer. A standard interface between the HBES
42、world and the remaining systems would however constitute a common link to bridge the gap and integrate Home and Building HBES Open Communication System into systems like the traditional Internet or the emerging Internet of Things (IoT). A standard bridge between Home and Building HBES Open Communica
43、tion System and IT systems based on Web services (WSs) is currently missing to support upcoming use case scenarios. This standard specifies such a standard interface. BS EN 5009061:2017EN 50090-6-1:2017 6 5 General technical introduction to HBES Web Services The HBES Gateway is an abstract concept,
44、and thus not restricted to any hardware requirements or limitations. Constrained devices can be used as well as enterprise systems as HBES Gateway device. It shall be kept in mind that some configurations may overload the used hardware regarding the mentioned limitations. For example, a computationa
45、lly intensive message exchange protocol cannot be used in resource-constrained HBES Gateways. However, the HBES Web services specification defines the HBES Gateway in an abstract and platform-independent way irrespective of any particular hardware. Figure 1 sketches the intended setting containing t
46、he Home and Building HBES Open Communication System, the IT systems and the HBES Gateway between these two components. Figure 1 General intention of the HBES WS interface In a first version, the HBES Gateway and its WS interface is based on OASIS Open Building Information Exchange (OBIX). The OBIX i
47、ntegration is specified in Clauses 8 and 9. The HBES Gateway shall allow browsing of information on the Home and Building HBES Open Communication System and reading or modifying runtime data of devices, Data points, Functional Blocks, Interface Objects or channels. Thus, any high level management us
48、e case to manipulate or monitor the underlying Home and Building HBES Open Communication System is covered by this standard and can be implemented using the presented interfaces. By default, the HBES Gateway is intended for two target groups: BS EN 5009061:2017EN 50090-6-1:2017 6 5 General technical
49、 introduction to HBES Web Services The HBES Gateway is an abstract concept, and thus not restricted to any hardware requirements or limitations. Constrained devices can be used as well as enterprise systems as HBES Gateway device. It shall be kept in mind that some configurations may overload the used hardware regarding the mentioned limitations. For example, a computationally intensive message exchange protocol cannot be used in resource-constrained HBES Gateways. However, the HBES Web services specification defines the HBES Gateway in an