1、 International Telecommunication Union ITU-T H.248.3TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (03/2013) SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMSInfrastructure of audiovisual services Communication procedures Gateway control protocol: User interface elements and actions packages Recommendat
2、ion ITU-T H.248.3 ITU-T H-SERIES RECOMMENDATIONS AUDIOVISUAL AND MULTIMEDIA SYSTEMS CHARACTERISTICS OF VISUAL TELEPHONE SYSTEMS H.100H.199 INFRASTRUCTURE OF AUDIOVISUAL SERVICES General H.200H.219 Transmission multiplexing and synchronization H.220H.229 Systems aspects H.230H.239 Communication proce
3、dures H.240H.259Coding of moving video H.260H.279 Related systems aspects H.280H.299 Systems and terminal equipment for audiovisual services H.300H.349 Directory services architecture for audiovisual and multimedia services H.350H.359 Quality of service architecture for audiovisual and multimedia se
4、rvices H.360H.369 Supplementary services for multimedia H.450H.499 MOBILITY AND COLLABORATION PROCEDURES Overview of Mobility and Collaboration, definitions, protocols and procedures H.500H.509 Mobility for H-Series multimedia systems and services H.510H.519 Mobile multimedia collaboration applicati
5、ons and services H.520H.529 Security for mobile multimedia systems and services H.530H.539 Security for mobile multimedia collaboration applications and services H.540H.549 Mobility interworking procedures H.550H.559 Mobile multimedia collaboration inter-working procedures H.560H.569 BROADBAND, TRIP
6、LE-PLAY AND ADVANCED MULTIMEDIA SERVICES Broadband multimedia services over VDSL H.610H.619 Advanced multimedia services and applications H.620H.629 Ubiquitous sensor network applications and Internet of Things H.640H.649 IPTV MULTIMEDIA SERVICES AND APPLICATIONS FOR IPTV General aspects H.700H.719
7、IPTV terminal devices H.720H.729 IPTV middleware H.730H.739 IPTV application event handling H.740H.749 IPTV metadata H.750H.759 IPTV multimedia application frameworks H.760H.769 IPTV service discovery up to consumption H.770H.779 Digital Signage H.780H.789 For further details, please refer to the li
8、st of ITU-T Recommendations. Rec. ITU-T H.248.3 (03/2013) i Recommendation ITU-T H.248.3 Gateway control protocol: User interface elements and actions packages Summary The packages in Recommendation ITU-T H.248.3 define a framework for specifying capabilities associated with user interface elements,
9、 such as text display, keys, dynamically labelled keys, indicators and alphanumeric input. In addition, specific extension packages for telephone keypads and telephone function keys are defined. This Revision incorporates corrections to the Set Indicator signal “State“ and “Indicator description“ pa
10、rameters. NOTE This Recommendation has been renumbered. It was previously known as Recommendation ITU-T H.248, Annex G. History Edition Recommendation Approval Study Group 1.0 ITU-T H.248 Annex G 2000-11-17 16 1.0 ITU-T H.248.3 2000-11-17 16 1.2 ITU-T H.248.3 (2000) Cor. 1 2004-03-15 16 2.0 ITU-T H.
11、248.3 2013-03-16 16 ii Rec. ITU-T H.248.3 (03/2013) FOREWORD The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a p
12、ermanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. The World Telecommunication Standardization Assembly (WTSA), which meets every four years, esta
13、blishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1. In some areas of information technology which fall within ITU-Ts purview, the necessary st
14、andards are prepared on a collaborative basis with ISO and IEC. NOTE In this Recommendation, the expression “Administration“ is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. Compliance with this Recommendation is voluntary. However, the R
15、ecommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words “shall“ or some other obligatory language such as “must“ and the negative equivalen
16、ts are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. INTELLECTUAL PROPERTY RIGHTS ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claime
17、d Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had not
18、 received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU
19、-T/ipr/. ITU 2013 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU. Rec. ITU-T H.248.3 (03/2013) iii Table of Contents Page 1 Scope 1 2 References. 1 3 Display Package . 1 3.1 Properties 1 3.2 Events . 3 3.3 Sign
20、als 3 3.4 Statistics 4 3.5 Procedures 4 4 Key package 5 4.1 Properties 5 4.2 Events . 5 4.3 Signals 6 4.4 Statistics 6 4.5 Procedures 6 5 Keypad package 7 5.1 Properties 7 5.2 Events . 7 5.3 Signals 8 5.4 Procedures 8 6 Label Key package . 9 6.1 Properties 9 6.2 Events . 9 6.3 Signals 9 6.4 Procedur
21、es 9 7 Function Key package 10 7.1 Procedures 10 8 Indicator package 11 8.1 Properties 11 8.2 Events . 11 8.3 Signals 11 8.4 Statistics 12 8.5 Procedures 12 9 Soft Keypackage . 13 9.1 Properties 13 9.2 Signals 14 9.3 Procedures 14 iv Rec. ITU-T H.248.3 (03/2013) Page 10 Ancillary Input package 15 10
22、.1 Properties 15 10.2 Events . 15 10.3 Signals 15 10.4 Statistics 15 10.5 Procedures 15 Rec. ITU-T H.248.3 (03/2013) 1 Recommendation ITU-T H.248.3 Gateway control protocol: User interface elements and actions packages 1 Scope This Recommendation defines a package that extends the applicability of t
23、he ITU-T H.248.1 Gateway control protocol. Specifically, the packages in Recommendation ITU-T H.248.3 define a framework for specifying capabilities associated with user interface elements, such as text display, keys, dynamically labelled keys, indicators and alphanumeric input. In addition, specifi
24、c extension packages for telephone keypads and telephone function keys are defined. 2 References The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions i
25、ndicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-
26、T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation. ITU-T H.248.1 Recommendation ITU-T H.248.1 (2013), Gateway control protocol: Version 3. ISO/IEC 10646 ISO/IEC 10646:2012, Info
27、rmation technology Universal Coded Character Set (UCS) and its Amendment 1 (2013). 3 Display Package Package name: Display Package Package ID: dis (0x0014) Version: 1 Extends: None. Description: This package defines properties and signals associated with text display user interface elements. See Pro
28、cedures for details of operation. 3.1 Properties 3.1.1 Number of rows Property name: Number of rows Property ID: nrows (0x0001) Description: Maximum number of rows on the display. Type: integer Possible values: Zero upwards Default: None Defined in: TerminationState. Characteristics: ReadOnly. 2 Rec
29、. ITU-T H.248.3 (03/2013) 3.1.2 Number of columns Property name: Number of columns Property ID: ncols (0x0002) Description: Maximum number of columns on the display. Type: integer Possible values: Zero upwards Default: None Defined in: TerminationState Characteristics: ReadOnly 3.1.3 Supported unico
30、de code pages Property name: Supported unicode code pages Property ID: cdpgs (0x0003) Description: A list of supported unicode pages. Type: list of enumerated type Possible values: See example below Default: None Defined in: TerminationState Characteristics: ReadOnly. Example: If the text display el
31、ement supports U+2500 U+25ff, U+2600 U+26ff and U+2700 U+277f, this property would return “250, 258, 260, 268, 270“ in cdpgs. Unicode page U+0000 U+00ff shall be supported in all implementations. 3.1.4 Cursor row position Property name: Cursor row position Property ID: cr (0x0004) Description: This
32、property indicates the row position of the cursor. Type: integer Possible values: 0 upwards Default: None Defined in: TerminationState Characteristics: Read/Write 3.1.5 Cursor column position Property name: Cursor column position Property ID: cc (0x0005) Description: This property indicates the colu
33、mn position of the cursor. Type: integer Rec. ITU-T H.248.3 (03/2013) 3 Possible values: 0 upwards Default: None Defined in: TerminationState Characteristics: Read/Write NOTE Row and column numbering begin at 0. A displays origin is row 0, column 0. The origin is at the top left corner. 3.2 Events N
34、one. 3.3 Signals 3.3.1 Display Signal name: Display Signal ID: di (0x0001) Description: Display text. Signal yype: Brief Duration: Not applicable. 3.3.1.1 Additional Parameters 3.3.1.1.1 Row Parameter name: Row Parameter ID: r (0x0001) Description: Insertion point row, relative to 0,0. Default is cu
35、rrent cursor position. Type: Integer Optional: Yes Possible values: 0 upwards. Default: Current cursor row position. 3.3.1.1.2 Column Parameter name: Column Parameter ID: c (0x0002) Description: Insertion point column, relative to 0,0 Type: Integer Optional: Yes Possible values: 0 upwards. Default:
36、Current cursor column position. 3.3.1.1.3 String Parameter name: String Parameter ID: star (0x0003) Description: This parameter indicates the text string to be displayed. 4 Rec. ITU-T H.248.3 (03/2013) Type: String Optional: Yes Possible values: Any string. Default: Empty string (moves cursor positi
37、on). 3.3.1.1.4 Attribute Parameter name: Attribute Parameter ID: a (0x0004) Description: The parameter assigns an attribute to the displayed text. Type: enumerated or list of enumerated. Optional: Yes Possible values: plain (0x0001), blink (0x0002), invert (0x0003), underline (0x0004) Default: Plain
38、 3.3.2 Clear Display Signal name: Clear Display Signal ID: cld (0x0002) Description: This signal clears the entire display and resets the current cursor position to the origin (row 0, column 0). Signal type: Brief Duration: Not applicable. 3.3.2.1 Additional parameters None. 3.4 Statistics None. 3.5
39、 Procedures Unicode is supported to provide for multiple languages. The Unicode Standard, Version 2.0 or ISO/IEC 10646 shall be the definitive standard intended when the term Unicode is used within the context of this Recommendation. All text display elements shall at least support the Unicode pages
40、 U+0000 U+00ff as the basic character set. All text strings shall be encoded using UTF-8 as defined in ISO/IEC 10646. In the Display signal, text will be inserted beginning at the row and column given in the signal parameters, relative to 0,0. If no row and column parameters are given, the text will
41、 be inserted starting at the current cursor position. The current cursor position will always be advanced to the position immediately after the last character inserted. Carriage return is supported in-string, and moves the text input to the beginning of the next line, clearing the remainder (if any)
42、 of the current line. Text wrapping is not provided. A string will not word wrap to the next row. If a string cannot fit into the current row, it will be truncated without warning. Rec. ITU-T H.248.3 (03/2013) 5 The attribute parameter applies to all characters contained in the current signal. If no
43、 attribute is provided, plain text will be displayed. For example, to turn on an attribute in the middle of a string, one would send a signal with a beginning sub-string of plain text, follow by a signal with the desired attribute(s) for the middle sub-string, and finishing with the signal containin
44、g the remaining sub-string of plain text. 4 Key package Package name: Key Package ID: key (0x0015) Description: This package defines the basic behaviour of key user interface elements. Specific key IDs are selected by name (keyid) from the list of keys. This package does not specify parameter values
45、 for keys. Intended to be extended by other packages which have key behaviour. Version: 1 Extends: None 4.1 Properties None. 4.2 Events 4.2.1 Keydown Event name: keydown Event ID: kd (0x0001) Description: Detects key was pressed. If the key is already pressed when the keydown event is activated, the
46、 keydown event is reported as if keypress had just occurred. 4.2.1.1 EventDescriptor parameters None. 4.2.1.2 ObservedEventDescriptor parameter 4.2.1.2.1 Key Identity Parameter name: Key Identity Parameter ID: keyid (0x0001) Description: This parameter indicates the identity of the key that was pres
47、sed. Type: Enumeration Optional: No Possible values: No values are specified in this package. Extensions to this package add possible values for keyid. Default: None 6 Rec. ITU-T H.248.3 (03/2013) 4.2.2 Keyup Event name: keyup Event ID: ku (0x0002) Description: Detects key up. 4.2.2.1 EventDescripto
48、r parameters None. 4.2.2.2 ObservedEventDescriptor parameter 4.2.2.2.1 Key Identity Parameter name: Key Identity Parameter ID: keyid (0x0001) Description: This parameter indicates the identity of the key that was released. Type: Enumeration Optional: No Possible values: No possible values are specif
49、ied in this package. Extensions to this package would add possible values for keyid. Default: None 4.2.2.2.2 Duration Parameter name: Duration Parameter ID: duration (0x0002) Description: Key press duration (key down to key up). Type: Integer Optional: No Possible values: 0 upwards in milliseconds Default: None 4.3 Signals None. 4.4 Statistics None. 4.5 Procedures None. Rec. ITU-T H.248.3 (03/2013) 7 5 Keypad package Package name: Keypad Package ID: kp (0x0016) Description: This package defines the keypa