1、Multimedia home networks Home network communication protocol over IP for multimedia household appliances BS EN 62457:2008 raising standards worldwide NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW BSI British Standards Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08
2、/07/2009 02:08, Uncontrolled Copy, (c) BSINational foreword This British Standard is the UK implementation of EN 62457:2008. It is identical to IEC 62457:2007. The UK participation in its preparation was entrusted to Technical Committee EPL/100, Audio, video and multimedia systems and equipment. A l
3、ist of organizations represented on this committee 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. BSI 2009 ISBN 978 0 580 57233 3 ICS 33.040.01; 33.160.01; 35.110
4、 BRITISH STANDARD BS EN 62457:2008 Compliance 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 31 March 2009. Amendments issued since publication Amd. No. Date Text affecte
5、d Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI EUROPEAN STANDARD EN 62457 NORME EUROPENNE EUROPISCHE NORM March 2008 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komi
6、tee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2008 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 62457:2008 E ICS 33.040; 33.160.01 English version Multimedia home networks - Home ne
7、twork communication protocol over IP for multimedia household appliances (IEC 62457:2007) Rseaux rsidentiels multimdia - Protocole de communication de rseau rsidentiel sur IP destin aux appareils domestiques multimdia (CEI 62457:2007) Multimedia-Heimnetzwerke - Heimnetzwerk-Kommunikationsprotokoll b
8、er IP fr Multimedia-Haushaltsgerte (IEC 62457:2007) This European Standard was approved by CENELEC on 2008-02-01. 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 a
9、ny alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member. This European Standard exists in two official versions (English and German). A version in any other language made by t
10、ranslation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Cyprus, the Czech Republic, Denmark, Estonia
11、, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARD
12、S, 08/07/2009 02:08, Uncontrolled Copy, (c) BSIEN 62457:2008 - 2 - Foreword The text of document 100/1197/CDV, future edition 1 of IEC 62457, prepared by technical area 9: Audio, video and multimedia applications for end-user network, of IEC TC 100, Audio, video and multimedia systems and equipment,
13、 was submitted to the IEC-CENELEC parallel Unique Acceptance Procedure and was approved by CENELEC as EN 62457 on 2008-02-01. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2
14、008-11-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2011-02-01 Annex ZA has been added by CENELEC. _ Endorsement notice The text of the International Standard IEC 62457:2007 was approved by CENELEC as a European Standard without any modification.
15、_ BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI - 3 - EN 62457:2008 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following referenced documents are ind
16、ispensable for the application 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. NOTE When an international publication has been modified by common modifications, indicated
17、 by (mod), the relevant EN/HD applies. Publication Year Title EN/HD Year IEEE Std 802.15.1 2005 IEEE Standard for Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 15.1: Wireless medium access co
18、ntrol (MAC) and physical layer (PHY) specifications for wireless personal area networks (WPANs) - - BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI 2 62457 IEC:2007(E) CONTENTS INTRODUCTION.8 1 Scope.10 2 Normative reference.11 3 T
19、erms, definitions and abbreviations 11 3.1 Terms and definitions 11 3.2 Abbreviations 15 4 TCP/IP interface and requirements.15 4.1 Overview.15 4.2 Topology .16 4.3 UDP interface19 4.4 Packet format of Home Network frame 19 4.4.1 General .19 4.4.2 Home Network transmission frame transfer .21 4.4.3 M
20、AC/IP address resolution request/response 22 4.4.4 IP/MAC address resolution request/response 23 4.4.5 Hardware/MAC address resolution request/response.24 4.4.6 MAC address initialization request/response .25 4.4.7 MAC address server initialization response/MAC address allocation response .26 4.4.8
21、MAC address confirmation request/response.27 4.4.9 MAC address request to all nodes/response28 4.4.10 MAC address server detection request/response, MAC address server notification29 4.4.11 Network control message (destination invalid) .30 4.4.12 Network control message (NMa overlap) .31 4.5 Basic c
22、ommunication sequences.32 4.5.1 General .32 4.5.2 MAC/IP address resolution request/response (resolution of the NMa into the IP address) .32 4.5.3 IP/MAC address resolution request/response (resolution of IP address into NMa) .33 4.5.4 Hardware/MAC address resolution request/response.35 4.5.5 MAC ad
23、dress request/response to all nodes36 4.5.6 Network control message (destination invalid) .37 4.5.7 Special case pertaining to packets with invalid destination values .38 4.5.8 Network control message (NMa overlap) .39 4.6 NMa acquisition booting sequence 40 4.6.1 Overview of NMa acquisition booting
24、 sequence .40 4.6.2 Overview of the processing after acquisition of IP Address 40 4.6.3 Booting node .41 4.6.4 MAC address server 45 4.6.5 Operating nodes45 4.7 MAC address server47 4.7.1 Requirement of MAC address server .47 4.7.2 Processing sequence for MAC address server booting 47 BS EN 62457:20
25、08 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI62457 IEC:2007(E) 3 4.7.3 Processing by operating MAC address server48 4.8 Time period parameters 50 4.9 Provision for updating data after NMa acquisition51 5 TCP/IP and requirements .51 5.1 IP 51 5
26、.1.1 Protocols to be used51 5.1.2 IP Address.51 5.1.3 Multicast address 51 5.1.4 DHCP51 5.1.5 Method for obtaining IP Address by manual setting, etc.52 5.1.6 Routing52 5.2 UDP 52 5.2.1 Protocols to be used52 5.2.2 Port Number52 6 Lower-layer medium-specific interface and requirements52 6.1 Interface
27、 and requirements on lower-layer medium52 6.2 Software internal status transition .52 6.2.1 Overview .52 6.2.2 Stop status 54 6.2.3 Cold start status 54 6.2.4 Warm start status 55 6.2.5 Communication suspension status.55 6.2.6 Normal operation status.56 6.2.7 Error stop status57 6.2.8 Temporary stop
28、 status.58 Annex A (informative) Basic booting sequence 59 Annex B (informative) Basic MAC address server booting sequence66 Annex C (normative) Requirements on IEEE 802.15.1 .68 Bibliography74 Figure 1 Grouping of relationship between household appliances and audiovisual equipment, PCs and PC-relat
29、ed equipment.9 Figure 2 Examples of data communication between household appliance and audiovisual equipment, PCs and PC-related equipment 9 Figure 3 The composition of the Home Network layer and the specified portions10 Figure 4 Encapsulation of Home Network frame.16 Figure 5 Example of a subnet us
30、ing Layer 2 bridges 17 Figure 6 Example of a subnet connection using Home Network routers17 Figure 7 Relationship between IP subnet and Home Network subnet .18 Figure 8 Home Network frame packet format .19 Figure 9 Notation for bits in the flag field21 Figure 10 IEEE 802.15.1 Address described in bi
31、ts21 Figure 11 Basic MAC/IP address resolution sequence .33 Figure 12 Basic IP/MAC address resolution sequence .34 BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI 4 62457 IEC:2007(E) Figure 13 Basic Hardware/MAC address resolution
32、sequence35 Figure 14 Basic “MAC address request/response to all nodes“ sequence.37 Figure 15 Basic “destination invalid” processing sequence.38 Figure 16 Basic sequence for handling detected NMa overlap .39 Figure 17 Flowchart for determining provisional NMa to be used42 Figure 18 Check for NMas in
33、use by other nodes.43 Figure 19 Example of duplicated provisional NMa44 Figure 20 Format for UsedMAC46 Figure 21 Example of UsedMAC 46 Figure 22 Internal software status transitions.53 Figure A.1 A-MODE booting, NMas not retained (with MAC address server) 60 Figure A.2 SR-MODE booting, NMas not reta
34、ined (with MAC address server)61 Figure A.3 A-MODE booting, NMas not retained (without MAC address server) .62 Figure A.4 SR-MODE booting, NMas not retained (without MAC address server).63 Figure A.5 A-MODE booting, NMas retained (with MAC address server) 64 Figure A.6 A-MODE booting, NMas retained
35、(without MAC address server) .65 Figure B.1 Booting of a single MAC address server .66 Figure B.2 Near-simultaneous booting of two or more MAC address servers67 Figure C.1 Layer structure .68 Figure C.2 Basic form of subnet.69 Figure C.3 Example of a subnet connection using Home Network routers 69 F
36、igure C.4 Example of an unacceptable subnet connection (scatternet).70 Figure C.5 Example of a connection using a home network gateway70 Figure C.6 Example of a subnet using Layer 2 bridges.71 Figure C.7 Examples of Home Network communication software implementation.72 Figure C.8 Packet structure .7
37、3 Table 1 Packet type numbers of the Home Network frame .20 Table 2 Hardware type.20 Table 3 Format for “Home Network transmission frame transfer” packets.22 Table 4 Format for “MAC/IP address resolution request” packets.22 Table 5 Format for “MAC/IP address resolution response” packets 23 Table 6 F
38、ormat for “IP/MAC address resolution request” packets.23 Table 7 Format for “IP/MAC address resolution response” packets 24 Table 8 Format for “hardware/MAC address resolution request” packets24 Table 9 Format for “hardware/MAC address resolution response” packets .25 Table 10 Format for “MAC addres
39、s initialization request” packets 26 Table 11 Format for “MAC address initialization response” packets .26 Table 12 Format for “MAC address server initialization response” packets.27 Table 13 Format for “MAC address allocation response” packets .27 Table 14 Format for “MAC address confirmation reque
40、st” packets .28 Table 15 Format for “MAC address confirmation response” packets.28 Table 16 Format for “ MAC address request to all nodes” packets28 BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI62457 IEC:2007(E) 5 Table 17 Format
41、 for “MAC address response to all nodes” packets29 Table 18 Format for “MAC address server detection request” packets29 Table 19 Format for “MAC address server notification” packets30 Table 20 Format for “MAC address server detection response” packets .30 Table 21 Format for “network control message
42、 (destination invalid)” packets .31 Table 22 Format for “NMa overlap” network control message packets31 Table 23 Address Relation table 32 Table 24 Booting modes 40 Table 25 Sample for storing allocated NMas 48 Table 26 Time period parameters.50 BS EN 62457:2008 Licensed Copy: Wang Bin, ISO/EXCHANGE
43、 CHINA STANDARDS, 08/07/2009 02:08, Uncontrolled Copy, (c) BSI 8 62457 IEC:2007(E) INTRODUCTION By enabling standalone-type household appliances (household appliances other than audiovisual equipment, PCs and PC-related equipment) such as white appliances (e.g. air conditioners, refrigerators), sens
44、ors, health, exercise and fitness equipment to connect to and work in conjunction with audiovisual equipment, PCs and/or PC-related equipment, it becomes possible to deliver multimedia application services, such as displaying a “washing completed” message of a washing machine on a TV screen or opera
45、ting an air conditioner via a TV screen, that otherwise would not be possible (see Figure 1). To achieve these services, a home network standard for networks of standalone-type household appliances and network standards for audiovisual equipment, PCs and PC-related equipment are needed. It is also n
46、ecessary to establish a system that allows equipment belonging to a network to exchange data with other equipment of different types of networks. A commonly used approach to allow networks of different types to exchange data with each other is to use Gateways. Because data transferred within, into a
47、nd out of networks of standalone-type household appliances are control data, which are much smaller in volume than data similarly transferred for networks of audiovisual equipment, PCs and PC-related equipment, and because standalone-type household appliances have longer service lives than audiovisu
48、al equipment, PCs and PC-related equipment, home network standards for networks of standalone-type household appliances have been established separately from network standards for audiovisual equipment, PCs and PC-related equipment, and many different protocol standards have been in use for a long t
49、ime in different countries 1) . On the other hand, recent advances in device and software technology have made it possible to implement TCP/IP (which has been adopted worldwide for audiovisual equipment, PCs and PC-related equipment) in certain standalone-type household appliances, and so establishing a home network standard for networks of standalone-type household appliances in the