SIST EN 50631-4-1:2023
(Main)Household appliances network and grid connectivity - Part 4-1: Communication Protocol Specific Aspects: SPINE, SPINE-IoT and SHIP
Household appliances network and grid connectivity - Part 4-1: Communication Protocol Specific Aspects: SPINE, SPINE-IoT and SHIP
This document specifies the application of relevant transport protocols for Home and Wide Area Networks as well as cloud connectivity; in this case, SHIP (Smart Home IP).
This document is part of the EN 50631 series which defines the information exchange between Smart Appliances and management systems in homes and buildings including energy management.
Netzwerk- und Stromnetz-Konnektivität von Haushaltsgeräten - Teil 4-1: Spezifische Aspekte der Kommunikationsprotokolle: SPINE, SPINE-IoT und SHIP
Appareils domestiques connectés au réseau et réseau intelligent - Partie 4-1: Aspects spécifiques des protocoles de communication: SPINE, SPINE-IoT et SHIP
Le présent document spécifie l'application des protocoles de transport appropriés pour les réseaux domestiques et étendus, ainsi que la connectivité cloud; en l'occurrence, SHIP (Smart Home IP).
Le présent document fait partie de la série EN 50631 qui définit l'échange d'informations entre les appareils intelligents et les systèmes de gestion des habitations et des bâtiments, y compris pour la gestion d'énergie.
Omrežje gospodinjskih aparatov in povezljivost mreže - 4-1. del: Posebni vidiki komunikacijskih protokolov: SPINE, SPINE-IoT in SHIP
Ta dokument natančno določa uporabo ustreznih prevoznih protokolov za domača in prostrana omrežja ter povezljivost v oblaku v tem primeru SHIP (Smart Home IP).
Ta dokument je del skupine standardov EN 50631, ki določa izmenjavo informacij med pametnimi gospodinjskimi aparati in sistemi za upravljanje v gospodinjstvih in stavbah, vključno z upravljanjem z energijo.
General Information
Standards Content (Sample)
SLOVENSKI STANDARD
SIST EN 50631-4-1:2023
01-maj-2023
Omrežje gospodinjskih aparatov in povezljivost mreže - 4-1. del: Posebni vidiki
komunikacijskih protokolov: SPINE, SPINE-IoT in SHIP
Household appliances network and grid connectivity - Part 4-1: Communication Protocol
Specific Aspects: SPINE, SPINE-IoT and SHIP
Netzwerk- und Stromnetz-Konnektivität von Haushaltsgeräten - Teil 4-1: Spezifische
Aspekte der Kommunikationsprotokolle: SPINE, SPINE-IoT und SHIP
Appareils domestiques connectés au réseau et réseau intelligent - Partie 4-1: Aspects
spécifiques des protocoles de communication: SPINE, SPINE-IoT et SHIP
Ta slovenski standard je istoveten z: EN 50631-4-1:2023
ICS:
97.120 Avtomatske krmilne naprave Automatic controls for
za dom household use
SIST EN 50631-4-1:2023 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------
SIST EN 50631-4-1:2023
---------------------- Page: 2 ----------------------
SIST EN 50631-4-1:2023
EUROPEAN STANDARD EN 50631-4-1
NORME EUROPÉENNE
EUROPÄISCHE NORM March 2023
ICS 97.120
English Version
Household appliances network and grid connectivity - Part 4-1:
Communication Protocol Specific Aspects: SPINE, SPINE-IoT
and SHIP
Appareils domestiques connectés au réseau et réseau Netzwerk- und Stromnetz-Konnektivität von
intelligent - Partie 4-1: Aspects spécifiques des protocoles Haushaltsgeräten - Teil 4-1: Spezifische Aspekte der
de communication: SPINE, SPINE-IoT et SHIP Kommunikationsprotokolle: SPINE, SPINE-IoT und SHIP
This European Standard was approved by CENELEC on 2023-02-13. 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 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 European 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 members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Türkiye and the United Kingdom.
European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels
© 2023 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 50631-4-1:2023 E
---------------------- Page: 3 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
Contents Page
European foreword . 4
Introduction . 4
1 Scope . 6
2 Normative references . 6
3 Terms and definitions . 6
4 SPINE-IoT Protocol . 10
4.1 General . 10
4.2 Architecture overview . 11
4.2.1 Introduction . 11
4.2.2 API versioning . 12
4.3 Device model . 12
4.3.1 General . 12
4.3.2 Device . 13
4.3.3 Entity . 13
4.3.4 Feature . 14
4.4 Use Case model . 16
4.4.1 General . 16
4.4.2 Use Case information and instances . 17
4.4.3 Use Case interface . 19
4.5 Binding . 19
4.5.1 General . 19
4.5.2 Binding information and instances . 20
4.6 Subscription . 22
4.6.1 General . 22
4.6.2 Subscription management . 22
4.6.3 Callbacks . 25
4.7 Requesting feature changes . 27
4.7.1 General . 27
4.7.2 Requesting changes information and instances . 28
5 SPINE Protocol . 30
5.1 General . 30
5.2 Architecture overview . 30
5.2.1 General rules . 30
5.2.2 Common data types . 31
5.2.3 Address level details . 35
5.3 SPINE Datagram . 36
5.3.1 Introduction . 36
5.3.2 Header . 37
5.3.3 Payload . 45
5.4 Communication modes . 58
5.4.1 General . 58
5.4.2 Simple communication mode . 58
5.4.3 Enhanced communication mode . 59
5.5 Functional commissioning . 59
5.5.1 General . 59
5.5.2 Detailed discovery . 60
5.5.3 Destination list . 74
5.5.4 Binding . 77
5.5.5 Subscription . 86
5.5.6 Use Case discovery. 94
6 SHIP . 97
6.1 General . 97
6.2 Architecture overview . 97
---------------------- Page: 4 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
6.2.1 General . 97
6.2.2 General Considerations On Closing Communication Channels . 98
6.2.3 SHIP Node Parameters. 98
6.3 Registration . 99
6.3.1 General . 99
6.3.2 Successful Registration. 101
6.3.3 Registration details and recommendations (informative). 101
6.4 Reconnection . 102
6.4.1 General . 102
6.4.2 Reconnection details in case of changed key material (informative) . 102
6.5 Discovery . 103
6.5.1 General . 103
6.5.2 Service Instance . 103
6.5.3 Service Name . 103
6.5.4 Multicast DNS Name . 103
6.5.5 Recommendations for re-discovery . 105
6.6 TCP. 105
6.6.1 General . 105
6.6.2 Limited Connection Capabilities . 105
6.6.3 Online Detection . 106
6.6.4 TCP Connection Establishment . 106
6.6.5 Retransmission Timeout. 107
6.7 TLS . 107
6.7.1 General . 107
6.7.2 Cipher Suites . 108
6.7.3 Maximum Fragment Length . 108
6.7.4 TLS Compression . 109
6.7.5 Renegotiation . 109
6.7.6 Session Resumption . 109
6.7.7 TLS extension for ECC. 110
6.7.8 TLS Probing . 110
6.8 WebSocket . 111
6.8.1 General . 111
6.8.2 TLS Dependencies . 111
6.8.3 Opening Handshake . 111
6.8.4 Data Framing . 111
6.8.5 Connection Keepalive . 112
6.9 Message Representation Using JSON Text Format . 112
6.9.1 Introduction . 112
6.9.2 Definitions . 112
6.9.3 Examples For Each Type . 113
6.9.4 XML to JSON Transformation . 113
6.9.5 JSON to XML Transformation . 120
6.10 Key Management . 120
6.10.1 General . 120
6.10.2 Certificates . 121
6.10.3 SHIP Node Specific Public Key . 125
6.10.4 Verification Procedure . 127
6.10.5 Symmetric Key . 133
6.10.6 SHIP Node PIN . 134
6.10.7 SHIP Commissioning Tool . 135
6.10.8 QR Code . 137
6.11 SHIP Data Exchange . 140
6.11.1 Introduction . 140
6.11.2 Terms in the context of SHIP Data Exchange . 140
6.11.3 Protocol Architecture / Hierarchy . 142
6.11.4 SHIP Message Exchange . 143
6.12 Well-known protocolId . 183
Annex A (normative) SHIP XSD . 184
Bibliography . 191
3
---------------------- Page: 5 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
European foreword
This document (EN 50631-4-1:2023) has been prepared by WG 07 “Smart Household Appliances” of CLC/TC
59X “Performance of household and similar electrical appliances”.
The following dates are fixed:
• latest date by which this document has to be (dop) 2024-02-13
implemented at national level by publication of
an identical national standard or by
endorsement
• latest date by which the national standards (dow) 2026-02-13
conflicting with this document have to be
withdrawn
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. CENELEC shall not be held responsible for identifying any or all such patent rights.
Any feedback and questions on this document should be directed to the users’ national committee. A
complete listing of these bodies can be found on the CENELEC website.
4
---------------------- Page: 6 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
Introduction
Energy management systems will more and more become necessary due to change from fossil and nuclear
to renewable production and the associated decentralization. Since an appropriate standard for a home and
building management is in preparation this document specifies how sets of products from multiple
manufacturers can exchange information with Home and Building / Customer Energy Management Systems,
located in a home network or in the cloud.
This document focuses on interoperability of household appliances and describes the necessary control and
monitoring. It defines a set of functions of household and similar electrical appliances. The functions in this
document cover next to energy-management main remote-control and – monitoring use cases.
This document does not deal with safety and security requirements. Safety requirements have been set in the
IEC/EN 60335 series [1].
EN 50631 will provide interoperability on information exchange among various appliances in the home. The
EN 50631 series will be re-arranged regarding the further development and will be split into 6 parts:
— EN 50631-1, Household appliances network and grid connectivity — Part 1: General Requirements,
Generic Data Modelling and Neutral Messages
— EN 50631-2, Household appliances network and grid connectivity — Part 2: Product Specific mappings,
details, requirements and deviations
— EN 50631-3-x, Household appliances network and grid connectivity — Part 3: Specific Data Model
Mapping
— EN 50631-4-x, Household appliances network and grid connectivity — Part 4: Communication Protocol
Specific Aspects
— EN 50631-5, Household appliances network and grid connectivity — Part 5: General Test-Requirements
and - Specification
— EN 50631-6, Household appliances network and grid connectivity — Part 6: SPINE Data Model Toolbox
Data communication heavily depends on the environment of appliances. Sometimes low bitrate or energy
efficient communication puts strict requirements to selected communication technologies. Therefore, popular
and de facto standards had been and will be developed by the industry to fulfil such requirements. To not
influence common data modelling for appliances because of such restrictions, the standardized data models
and neutral message structures need to be applied to communication technologies.
This standard series therefore is intended to separate data modelling and neutral message structure from the
attached communication.
Part 1 defines general requirements, generic data modelling and generic neutral messages without relation to
any specific communication technology or any product specific layout.
Part 2 lists and specifies product specific requirements and implementation guidance based on the generic
data model and generic neutral messages.
Part 3 defines the mapping of neutral messages to examples of typical data models like SPINE, OCF, and so
forth. These data models are neither mandatory nor to be seen as complete spectrum of data models.
Part 4 defines the mapping of neutral messages to examples of typical communication protocols. These
communication protocols are neither mandatory, nor do they provide an exhaustive list of communication
protocols.
Part 5 defines testing requirements and testing specifications. This part will be covered in the future by a New
Work Item Proposal.
Part 6 provides the technical reference specification for the SPINE data model. This part will be covered in
the future by a New Work Item Proposal.
5
---------------------- Page: 7 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
1 Scope
This document specifies the application of relevant transport protocols for Home and Wide Area Networks as
well as cloud connectivity; in this case, SPINE (Smart Premises Interoperable Neutral-Message Exchange),
SPINE-IoT, and SHIP (Smart Home IP).
This document is part of the EN 50631 series, which defines the information exchange between Smart
Appliances and management systems in homes and buildings including energy management.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content constitutes
requirements of this document. For dated references, only the edition cited applies. For undated references,
the latest edition of the referenced document (including any amendments) applies.
IETF RFC 793:1981, Transmission Control Protocol
IETF RFC 3280:2002, Internet X.509 Public Key Infrastructure Certificate Revocation List (CRL) Profile
IETF RFC 6455:2011, The WebSocket Protocol
IETF RFC 6763, DNS-Based Service Discovery
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https://www.iso.org/obp
— IEC Electropedia: available at https://www.electropedia.org/
3.1
CA
Certificate Authority
Certification Authority
entity which can provide a digital signature for certificates
Note 1 to entry: Other SHIP nodes can check this digital signature with the certificate from the CA itself, the “CA-
certificate”.
3.2
Commissioning Tool
instrument to establish the trust between different devices in the smart home installation, e.g.
distribute trustworthy credentials from some SHIP nodes to other SHIP nodes
Note 1 to entry: E.g. a smart phone, a web server or a dedicated device can embody the role of a commissioning tool.
So far, the SHIP specification does not specify a commissioning tool; an interoperable protocol for commissioning can be
used on the layer above SHIP.
Note 2 to entry: A manufacturer may also use their own solutions.
3.3
DNS
Domain Name System
[SOURCE: IETF RFC 1035]
6
---------------------- Page: 8 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
3.4
DNS host name
fully qualified domain name used within DNS as host name to get the IP address of the corresponding
internet host
3.5
DNS-SD
Domain Name System – Service discovery
[SOURCE: IETF RFC 6763]
3.6
EUI
Extended Unique Identifier
Note 1 to entry: https://standards.ieee.org/develop/regauth/tut/eui64.pdf
3.7
factory default
setting that allows the user to reset the SHIP node to the as-new condition
Note 1 to entry: This means that all data that has been provided and stored by the SHIP node during its operation time
SHALL be deleted.
3.8
IANA
Internet Assigned Numbers Authority
3.9
IP
Internet Protocol
3.10
LAN
Local Area Network
3.11
MAC
Media Access Control
3.12
mDNS
multicast DNS host name
fully qualified domain name used within mDNS as host name to get the IP address of the corresponding local
SHIP node
3.13
M/O/NV/C
abbreviations which refer to:
1. M = mandatory
2. O = optional
3. NV = not valid
4. C = choice, i.e. a presence or support depends also on the selection from multiple possibilities
and which are primarily used within specific definition tables describing certain specialized data model
definitions
7
---------------------- Page: 9 ----------------------
SIST EN 50631-4-1:2023
EN 50631-4-1:2023 (E)
3.14
numerical representation
written system for expressing numbers
EXAMPLE 0xab represents a decimal value of 171
3.15
PIN
Personal Identification Number
specification which makes use of a PIN as secret for SHIP specific verification procedures
3.16
PKI
Public Key Infrastructure
3.17
Push Button
switching mechanism to control some aspects of a machine or a process
Note 1 to entry: A push button event does not necessarily mean that a real physical button has to be used to trigger this
event. A push button event may also be generated by other means, e.g. via a smart phone application or a web-interface
(secure connection to SHIP node required). A push button shall provide a simple mechanism for a user to bring the
device to
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.