| Access remote resource files. |
+
+Return: number type, returning 0 if successful, otherwise returning others.
+
+**Q.2.2.3.6 play**
+
+Prototype: number play()
+
+Description: An Asynchronous method, starting playing from the starting point of the media, and starting playing in real time for TV broadcasts.
+
+- If the playback is successful, send the message MSG\_MEDIA\_PLAY\_SUCCESS to the page;
+- If the playback fails, send the message MSG\_MEDIA\_PLAY\_FAILED to the page.
+
+Return: number type, 1-indicating success, 0-indicating failure.
+
+**Q.2.2.3.7 seek**
+
+Prototype: number seek(type, timestamp)
+
+Description: An Asynchronous method, starting to play from a certain point in time of the current media, this call is invalid for real-time broadcast TV broadcasts, but it is valid for TV broadcasts in a time-shifted state.
+
+- If the call is successful, send the message MSG\_MEDIA\_SEEK\_SUCCESS;
+- If the call fails, send the message MSG\_MEDIA\_SEEK\_FAILED.
+
+NOTE – The seek() method can be called only in the play and pause states.
+
+Parameter: type – number type, the values are:
+
+- 1-indicating Normal Play Time;
+- 2-indicating Absolute Time.
+
+timestamp – two time type formats of Normal Play Time (NPT) and Absolute Time (ClockTime).
+
+- For VOD, it is relative time calculated from the starting point of the media;
+- For media with a time base such as time shift, it is absolute time.
+
+It can indicate the start time (for example: "123-"), or it can indicate the time period (for example: "123-333"). If it is a time period, the playback should be in a pause state instead of in a stop state, when it reaches the end time.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.8 setPace**
+
+Prototype: number setPace(pace)
+
+Description: An Asynchronous method, setting the step size of the playback.
+
+- If the setting is successful, send the message MSG\_MEDIA\_SET\_PACE\_SUCCESS to the page;
+- If the setting fails, send the message MSG\_MEDIA\_SET\_PACE\_FAILED to the page.
+
+NOTE – The setPace() method can be called only in the playing state.
+
+Parameter: pace – number type, play the step size.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.9 pause**
+
+Prototype: number pause()
+
+Description: An Asynchronous method, pausing playback.
+
+- If the pause is successful, send the message MSG\_MEDIA\_PAUSE\_SUCCESS to the page;
+- If the pause fails, send the message MSG\_MEDIA\_PAUSE\_FAILED to the page.
+
+Parameter: None.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.10 resume**
+
+Prototype: number resume()
+
+Description: An Asynchronous method, resuming playback.
+
+- If resuming of the playback is successful, send the message MSG\_MEDIA\_RESUME\_SUCCESS to the page;
+- If the resuming of the playback fails, send the message MSG\_MEDIA\_RESUME\_FAILED to the page.
+
+Parameter: None.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.11 stop**
+
+Prototype: number stop()
+
+Description: An Asynchronous method, pausing playing.
+
+- If the stop is successful, send the message MSG\_MEDIA\_STOP\_SUCCESS to the page;
+- If the stop fails, send the message MSG\_MEDIA\_STOP\_FAILED to the page.
+
+Parameter: None.
+
+Return: number type, returning 0 if successful, otherwise return other.
+
+#### **Q.2.2.3.12 refresh**
+
+Prototype: number refresh()
+
+Description: Calling setVideoDisplayMode(), setVideoDisplayArea() and other properties to adjust the video parameters does not take effect immediately, but takes effect only upon this method being called.
+
+Parameter: None.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.13 enableTrickMode**
+
+Prototype: number enableTrickMode(flag)
+
+Description: Setting whether the player instance currently bound to the MediaPlayer object allows trick operations (including fast forward/fast backward/pause, etc.) during its life cycle, which is in a logical AND relationship with the trick mode property of the media itself.
+
+For example, if the ad in the first 30 seconds of a stream cannot perform trick operations, enableTrickMode(0) can be called during this time period, and the trick is disabled; after 30 seconds, enableTrickMode (1) can be called again in the web page to start the trick function. If the media source being played does not support the trick mode, this method is invalid.
+
+Parameter: flag – boolean type, false value indicating that the trick operations are prohibited (default value); true value indicating that the trick operations are allowed.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.14 getTrickModeFlag**
+
+Prototype: boolean getTrickModeFlag()
+
+Description: Getting the operation flag of the trick mode.
+
+Parameter: None.
+
+Return: boolean type, true value indicating the trick operations are allowed, and false value indicating that the trick operations are not allowed (default value).
+
+#### **Q.2.2.3.15 setVideoDisplayMode**
+
+Prototype: number setVideoDisplayMode(mode)
+
+Description: Setting the display mode of the video window corresponding to the MediaPlayer object. Every time this method is called, the video display window will not immediately display the set mode, and the window is refreshed to display the set mode only upon the refresh() method being called.
+
+Parameter: mode – number type, video display mode, the values are as follows:
+
+- 0-Display according to the position and size specified by the properties of height, width, left and top set in the `setVideoDisplayArea()` method;
+- 1-Full screen display, display according to full screen height and width (default value);
+- 2-Width display, which refers to the full-screen width display without changing the aspect ratio of the original image;
+- 3-Height display, which refers to the full-screen height display without changing the aspect ratio of the original image;
+- 255-The video display window will be closed. It will hide the video window while maintaining the media stream connection. If the media playback does not stop, it will continue to play.
+
+Return: number type, returning 0 if successful, otherwise returning other values.
+
+#### **Q.2.2.3.16 getVideoDisplayMode**
+
+Prototype: number `getVideoDisplayMode()`
+
+Description: Getting the display mode of the video window corresponding to the `MediaPlayer` object.
+
+Parameter: None.
+
+Return: number type, the values are as follows:
+
+- 0-Display according to the position and size specified by the properties of height, width, left and top set in the `setVideoDisplayArea()` method;
+- 1-Full screen display, display according to full screen height and width (default value);
+- 2-Width display, which refers to the full-screen width display without changing the aspect ratio of the original image;
+- 3-Height display, which refers to the full-screen height display without changing the aspect ratio of the original image;
+- 255-The video display window will be closed. It will hide the video window while maintaining the media stream connection. If the media playback does not stop, it will continue to play.
+- Other: The display mode is illegal.
+
+#### **Q.2.2.3.17 setVideoDisplayArea**
+
+Prototype: number `setVideoDisplayArea(rect)`
+
+Description: Setting the window display area. Every time this method is called, the video display window is not displayed in the set area immediately, and the video is displayed in the set area only after the `refresh()` method is called. When the video needs to be displayed in the area set by the `setVideoDisplayArea()` method, `setVideoDisplayMode(0)` needs to be called; but there is no order in which the two are called, just before calling the `refresh()` method.
+
+Parameter: `rect` – `Rectangle` object, describing the location information of the display area.
+
+Return: number type, returning 0 if successful, otherwise return others.
+
+#### **Q.2.2.3.18 getVideoDisplayArea**
+
+Prototype: `Rectangle` `getVideoDisplayArea()`
+
+Description: Getting the position information of the display area of the video window.
+
+Parameter: None.
+
+Return: A `Rectangle` object, indicating the location information of the display area of the video window.
+
+#### **Q.2.2.3.19 setVolume**
+
+Prototype: number setVolume(volume)
+
+Description: Setting the current volume. If the broadcast service is currently being played, the increment of the channel relative to the global volume should be memorized.
+
+NOTE – Volume increment = current volume-global volume.
+
+Parameter: volume – number type, the value range being 0-100, 0 indicating minimum volume (mute), 100 indicating maximum volume.
+
+Return: number type, returning 0 if successful, otherwise returning others.
+
+#### **Q.2.2.3.20 getVolume**
+
+Prototype: number getVolume()
+
+Description: Getting the current volume.
+
+Parameter: None.
+
+Return: number type, the value range being 0-100, 0 indicating the minimum volume (mute), and 100 indicating the maximum volume.
+
+#### **Q.2.2.3.21 getCurrentLanguage**
+
+Prototype: string getCurrentLanguage()
+
+Description: Getting the current language being used.
+
+Parameter: None.
+
+Return: string type, indicating the audio language, and the three-letter code of the language follows the GB/T 4880.2-2000 standard. If it cannot be obtained, undefined is returned.
+
+#### **Q.2.2.3.22 listAvailableLanguages**
+
+Prototype: string[] listAvailableLanguages()
+
+Description: Getting all currently available audio languages.
+
+Parameter: None.
+
+Return: A String type array, indicating a list of audio languages. The three-letter language codes follow the GB/T 4880.2-2000 standard. If it cannot be obtained, an array of length 0 is returned.
+
+#### **Q.2.2.3.23 selectDefaultLanguage**
+
+Prototype: string selectDefaultLanguage()
+
+Description: Setting the audio language as the default language.
+
+Parameter: None.
+
+Return: string type, indicating the default audio language, and the three-letter language code follows the GB/T 4880.2-2000 standard.
+
+#### **Q.2.2.3.24 selectLanguage**
+
+Prototype: selectLanguage(language)
+
+Description: Setting the language of the current audio.
+
+Parameter: language – string type, indicating the audio language, and the three-letter code of the language follows the GB/T 4880.2-2000 standard.
+
+Return: None.
+
+### **Q.2.2.3.25 getMediaDuration**
+
+Prototype: string getMediaDuration()
+
+Description: Getting the total duration of the currently media playing.
+
+Parameter: None.
+
+Return: string type, the format is "hh:mm:ss".
+
+- When the property of the media source is a local media file, this method returns the total duration of the media being played;
+- When the media source is broadcast service, interactive TV service, or IP-UDP coding stream, this method returns undefined.
+
+### **Q.2.2.3.26 getCurrentPlayTime**
+
+Prototype: string getCurrentPlayTime()
+
+Description: Getting the current time point of media playback.
+
+Parameter: None.
+
+Return: string type, indicating the current time point of media playback, with two time types: Normal Play Time and Absolute Time.
+
+- Normal Play Time format for on-demand;
+- Absolute Time format for time shift.
+
+### **Q.2.2.3.27 getPlaybackMode**
+
+Prototype: string getPlaybackMode()
+
+Description: Getting the current play mode of the player.
+
+Parameter: None.
+
+Return: string type, indicating JSON character string, which includes at least two types of information: "PlayMode" and "Speed".
+
+For the values, PlayMode can be Normal, Pause, Trickmode, when it is Trickmode, it must be 2x/-2x, 4x/-4x, 8x/-8x, 16x/-16x, 32x/-32x parameters to indicate the speed parameters of fast forward/fast backward. Examples of return values:
+
+{"PlayMode":"Trickmode", "Speed":"2x"}.
+
+### **Q.2.2.3.28 getServiceLocation**
+
+Prototype: string getServiceLocation(flag)
+
+Description: Getting the locator of the specified program according to the program flag object.
+
+Parameter: flag – number type, the value range is shown in Table Q.6.
+
+**Table Q.6 – Table of flag value**
+
+| Flag | Description |
+|-------------|------------------------------------------------------|
+| 0 | It indicates the program being played. |
+| 1 | It indicates the previous program played. |
+| 2 | It indicates the previous television program played. |
+| 3 | It indicates the previous broadcast program played. |
+
+Return: string type, indicating the locator (URL) of the service.
+
+#### **Q.2.2.3.29 setPauseMode**
+
+Prototype: setPauseMode(mode)
+
+Description: Setting the output mode of the video in the pause state.
+
+Parameter: mode – number type, 0 indicating a black screen, and 1 indicating a still frame.
+
+Return: None.
+
+#### **Q.2.2.3.30 getPauseMode**
+
+Prototype: number getPauseMode()
+
+Description: Getting the video output mode in the pause state.
+
+Parameter: None.
+
+Return: number type, 0 indicating a black screen, and 1 indicating a still frame.
+
+## Annex R
+
+### JavaScript-Application management unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### R.1 Overview
+
+This annex defines the functional modules related to application management: application management module, the detailed definition of the application management module functions is shown in Table R.1.
+
+**Table R.1 – Definition of application management module function**
+
+| Function | Description |
+|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Application download | - 1. The application can be downloaded to the local storage through multiple data channels such as http, https, DVB OC data push, etc. from the website or specified URL, APPSTORE;
- 2. Copy applications directly from other storage devices to local storage.
|
+| Application installation | - 1. The installation package can only be installed through the signature verification;
- 2. Decompress the installation package to the specified location in the local storage.
|
+| Application uninstall | - 1. Delete the installation package;
- 2. Delete the buffered data files stored locally by the application;
- 3. Delete the decompressed directory.
|
+| Application upgrade | - 1. Get the application list on the server;
- 2. Check the updated version on the server, and upgrade if there is a new version.
|
+| Application permission management | - 1. The application's access to system resources;
- 2. Application permissions need to be classified and prioritized;
- 3. The settings of application permissions can be modified and configured through the configuration file of the installation package;
- 4. Application startup and operation need to be carried out in the sandbox and also need permission for control.
|
+| Application information query | - 1. Query of application operating status information;
- 2. Access authority information for system resources owned by the application;
- 3. Version information of the application.
|
+| Application security | - 1. Ensure the legitimacy of the application source through digital signature;
- 2. The generated installation package database requires root permission control to prevent unauthorized users from modifying the installation package database and ensure the security of the file;
- 3. After decompressing the application files and directory tree, only the application manager has read and write permissions to prevent applications from reading each other and ensure the isolation between applications;
- 4. Startup and operation, and access to resources need to be controlled through permissions to ensure the safety of application operation.
|
+
+**Table R.1 – Definition of application management module function**
+
+| Function | Description |
+|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Application startup and switching | 1. Analyze the size, icon, authorization, multi-language, localization, startup of the HTML file, characteristics, text encoding, and resource location of each application through the configuration file;
2. Switch between application and launcher;
3. Switch between applications;
4. Management of focus;
5. Processing of independent applications. |
+
+## **R.2 Application management module**
+
+This module defines the JS object related to application management: widget.
+
+### **R.2.1 window object extended property widget**
+
+```
+interface partial Window : EventTarget {
+ readonly attribute Widget widget;
+};
+```
+
+### **R.2.2 widget object**
+
+The widget object is a built-in object and is used directly.
+
+#### **R.2.2.1 Overview**
+
+The widget object contains read-only properties, methods, and message feedback.
+
+```
+interface Widget {
+ readonly attribute DOMString author; //corresponding to the author element of config.xml
+ readonly attribute DOMString description; //corresponding to the description element of config.xml
+ readonly attribute DOMString name; //corresponding to the name element of config.xml
+ readonly attribute DOMString shortName; //corresponding to the name short property of config.xml
+ readonly attribute DOMString version; //corresponding to the widget version property of config.xml
+ readonly attribute DOMString id; //corresponding to the widget id property of config.xml
+ readonly attribute DOMString authorEmail; //corresponding to the author email property of config.xml
+ readonly attribute DOMString authorHref; //corresponding to the author href property of config.xml
+ readonly attribute Storage preferences; //corresponding to the preference element of config.xml
+ readonly attribute unsigned long height; //corresponding to the widget height property of config.xml
+ readonly attribute unsigned long width; //corresponding to the widget width property of config.xml
+ void launchWidget(DOMString widgetname, DOMString src, DOMString type);
+};
+```
+
+```
+
+void installWidget(DOMString widgetname, DOMString id, DOMString url); //Install widget
+void updateWidget(DOMString widgetname, DOMString id, DOMString url); // Update
+ widget
+DOMString checkWidget(DOMString widgetname, DOMString id, DOMString url); //Check
+ widget, return version number
+void uninstallWidget(DOMString widgetname, DOMString id); //Uninstall widget
+void deletePackage(DOMString widgetname, DOMString id); //Delete application package
+//The following are several messages that the application manager feeds back to the application
+attribute EventHandler onstart;
+attribute EventHandler onresume;
+attribute EventHandler onpause;
+attribute EventHandler onstop;
+attribute EventHandler onterminate;
+attribute EventHandler ondownloadsuccess;
+attribute EventHandler ondownloadfail;
+attribute EventHandler ondownloadsize;
+};
+
+```
+
+### Example of use
+
+The widget's config.xml configuration file is as follows:
+
+#### Packaged Web Apps (Widgets) – Packaging and XML Configuration (Second Edition)
+
+```
+
+
+
+ The example Widget!
+ A sample widget to demonstrate some of the possibilities.
+ Foo Bar Corp
+
+
+
+
+```
+
+The page code for accessing config.xml through JS widget API is as follows:
+
+Widget Interface(JS Extension)
+
+```
+
+About this Widget
+
+
+
+
+

+
Name
+
Version:
+
+
...
+
+
⌘
+
+
+
+```
+
+### R.2.2.2 Property
+
+The definition of the widget object property is shown in Table R.2.
+
+Table R.2 – Properties of widget object
+
+| Property name | Type | Read/write property | Description |
+|---------------|--------|---------------------|--------------------------------------------------------|
+| Author | string | Read only | corresponding to the author element of config.xml |
+| description | string | Read only | corresponding to the description element of config.xml |
+| Name | string | Read only | corresponding to the name element of config.xml |
+| shortName | string | Read only | corresponding to the name short property of config.xml |
+
+**Table R.2 – Properties of widget object**
+
+| Property name | Type | Read/write property | Description |
+|---------------|----------------------|---------------------|------------------------------------------------------------|
+| Version | string | Read only | corresponding to the widget version property of config.xml |
+| Id | string | Read only | corresponding to the widget id property of config.xml |
+| authorEmail | string | Read only | corresponding to the author email property of config.xml |
+| authorHref | string | Read only | corresponding to the author href property of config.xml |
+| preferences | Storage | Read only | corresponding to the preference element of config.xml |
+| Height | Number unsigned long | Read only | corresponding to the widget height property of config.xml |
+| width | Number unsigned long | Read only | corresponding to the widget width property of config.xml |
+
+**R.2.2.3 Method**
+
+**R.2.2.3.1 launchWidget**
+
+Prototype: void launchWidget(DOMString widgetname, DOMString src, DOMString type)
+
+Description: Start the widget on the launcher or return the widget to the launcher.
+
+Parameter: widgetname – DOMString type, which is the start of the widget, which is the character string, if the widgetname is widget.launcher.home, it indicates that it must return to the launcher;
+
+src – DOMString type, it is obtained through the src of the content element of the widget's config.xml file;
+
+type – DOMString type, it is obtained by the type of the content element of the widget's config.xml file.
+
+Return: None.
+
+**R.2.2.3.2 installWidget**
+
+Prototype: void installWidget(DOMString widgetname, DOMString id, DOMString url)
+
+Description: Download and install the widget. If the widget does not exist, download it from the location specified by the url first.
+
+Parameter: widgetname – DOMString type, which is widget name, which is a character string;
+
+id – DOMString type, which is widget identifier, which is a character string;
+
+url – DOMString type, which is the download location of the specified widget, which is a character string.
+
+Return: None.
+
+**R.2.2.3.3 updateWidget**
+
+Prototype: void updateWidget(DOMString widgetname, DOMString id, DOMString url)
+
+Description: update widget.
+
+Parameter: widgetname – DOMString type, which is widget name, which is a character string;
+
+id – DOMString type, which is widget identifier, which is a character string;
+
+url – DOMString type, which is the download location of the specified widget, which is a character string.
+
+Return: None.
+
+#### **R.2.2.3.4 checkWidget**
+
+Prototype: DOMString checkWidget(DOMString widgetname, DOMString id, DOMString url)
+
+Description: detect widget.
+
+Parameter: widgetname – DOMString type, which is widget name, which is a character string;
+
+id – DOMString type, which is widget identifier, which is a character string;
+
+url – DOMString type, which is the download location of the specified widget, which is a character string.
+
+Return: version number.
+
+#### **R.2.2.3.5 uninstallWidget**
+
+Prototype: void uninstallWidget(DOMString widgetname, DOMString id)
+
+Description: Uninstall the widget.
+
+Parameter: widgetname – DOMString type, which is widget name, which is a character string;
+
+id – DOMString type, which is widget identifier, which is a character string;
+
+Return: None.
+
+#### **R.2.2.3.6 deletePackage**
+
+Prototype: void deletePackage(DOMString widgetname, DOMString id)
+
+Description: Delete the application package.
+
+Parameter: widgetname – DOMString type, which is widget name, which is a character string;
+
+id – DOMString type, which is widget identifier, which is a character string;
+
+Return: None.
+
+#### **R.2.2.4 Message callback**
+
+Message callback, used to feed back the current application process status and download status, the callback details are shown in Table R.3.
+
+**Table R.3 – Message callback of widget object**
+
+| Callback name | Description |
+|----------------------|-----------------------------------------------------------------|
+| onstart | Feedback status when the application process starts |
+| onresume | Feedback status when the application process is running |
+| onpause | Feedback status when the application process is paused |
+| onstop | Feedback status when the application process is stopped |
+| onterminate | Feedback status when the application process is interrupted |
+| ondownloadsuccess | Feedback status when the application is downloaded successfully |
+| ondownloadfail | Feedback status when downloading the application fails |
+
+**Table R.3 – Message callback of widget object**
+
+| Callback name | Description |
+|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ondownloadsize | The feedback status when the application is being downloaded, including the total size and the current number of bytes, see:
interface WidgetEvent: Event {
readonly attribute long widgetEvenTtype;
readonly attribute long download_totoalsize;
readonly attribute long download_currSize;}; |
+
+## Annex S
+
+### JavaScript-System management unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### S.1 Overview
+
+This annex defines the functional modules related to system management: data management, storage device management, file management, multimedia files, OTA software upgrades, system tools, and software and hardware information query.
+
+#### S.2 Data management module
+
+This module defines the JS object related to data management: DataConfig.
+
+##### S.2.1 Message
+
+The definition of the message that the data management module may send to the application layer is shown in Table S.1.
+
+**Table S.1 – Definition table of data management module message**
+
+| Message name | event.which | event.modifiers | Message description |
+|--------------------------------|-------------|-----------------|--------------------------------------------------------|
+| MSG_SAVE_DATA_SUCCESS | 14001 | – | Data writing is completed. |
+| MSG_SAVE_DATA_FAILED | 14002 | – | Data writing is not completed. |
+| MSG_REMOVE_DATA_SUCCESS | 14003 | – | Data deletion is completed. |
+| MSG_REMOVE_DATA_FAILED | 14004 | – | Data deletion is not completed. |
+| MSG_REVERT_DATA_SUCCESS | 14005 | – | Data recovery is completed. |
+| MSG_REVERT_DATA_FAILED | 14006 | – | Data recovery is not completed. |
+| MSG_RESTORE_TO_DEFAULT_SUCCESS | 14007 | – | Data restoration to factory settings is completed. |
+| MSG_RESTORE_TO_DEFAULT_FAILED | 14008 | – | Data restoration to factory settings is not completed. |
+| Reserved | 14009~14100 | | |
+
+NOTE – The value of event.modifiers is automatically given by the system, and its data type:
+
+- "Number" indicating that the value is the ID of the message description string, which can be obtained through the Utility.getEventInfo() method. If the "message description" defines the message character string JSON format, the message content will be retrieved according to the format.
+- "-", indicating event.modifiers is undefined.
+
+##### S.2.2 DataConfig object
+
+The DataConfig object is a built-in object.
+
+System parameters and user parameters are stored in the receiving terminal NVM in the form of a data table, and the data table is accessed in the form of "key name + key value". The key value is stored in JSON format in RAM and NVM. When the application reads the data, it should be parsed according to the application scenario corresponding to the key name.
+
+System parameters are provided by the system and stored in the system data table; user parameters are set by the application program and stored in the user data table. The system data table is used to store the global configuration information set by the system. Key names and key values are publicly disclosed in JSON format. Authorized applications can set/read parameters, but cannot delete data items; user data tables are maintained by the application itself, the JSON formats of the key names and key values are not publicly available.
+
+After the receiving terminal is turned on, the data table is automatically read from the NVM to the RAM; after the user sets the parameters, the data in the RAM can be saved to the NVM.
+
+NOTE – The system saves the setting values of the following functions. The saved values will be used next time the system is turned on, and will not be displayed in the system information table.
+
+Volume setting, setting S/PDIF output interface data format, channel setting, video resolution, graphics layer transparency, display aspect ratio.
+
+The JSON formats of the key names and key values of the system data table are shown in Table S.2.
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | |
+|----------------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| DVBMainFrequencyInfo | Use | It describes DVB main frequency point information. |
+| | JSON format | [ { "deliveryType":1, "deliveryParams":[ {"frequency":626000, "symbolRate":6875, "modulation":3}, {"frequency":634000, "symbolRate":6875, "modulation":3}, {"frequency":642000, "symbolRate":6875, "modulation":3} ] }, ... ] NOTE – The JSON format of the key value of the DVBMainFrequencyInfo key can describe multiple delivery systems, and each delivery system can describe multiple main frequency point information. In this example, the above-mentioned JSON character string describes a DVB-C delivery system, and the delivery system includes 3 main frequency point information.
|
+| | Description | deliveryType |
+| | | Int type, indicating the type of the delivery system, for the values, please see the constant field definition of the DeliverySystemType interface "Delivery System Type". |
+| | | frequency |
+| | | Int type, indicating the tuning frequency, and is measured in a unit related to the value of the deliveryType field:
- – If deliveryType=1, it indicates DVB-C delivery system, in kilohertz (kHz);
- – If deliveryType is other value, this key is meaningless.
|
+| | | symbolRate |
+| | | Int type, indicating the symbol rate, in thousand symbols per second (ksymbol/s). |
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | | |
+|----------------|-------------|--------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | modulation | Int type, indicating the modulation mode, and the value is related to the value of the deliveryType field:
– If deliveryType=1, it indicates DVB-C delivery system. For the values, please see the constant field definition of "modulation mode" of the DvbcTunningParameters class;
– If deliveryType is other value, this key is meaningless. |
+| EPGSetting | Use | It describes EPG search setting information. | |
+| | JSON format | { "search_start_date":0, "search_days":7, "program_event_maxcount":255 } | |
+| | Description | search_start_date | Int type, indicating the start date of the system searching the program table. The default is 0, indicating that the current day will be the start date of the search, 1 indicating the second day, 2 indicating the third day,..., and so on. |
+| | | search_days | Int type, indicating how many consecutive days the system will search for the program table. |
+| | | program_event_max_count | Int type, indicating the maximum number of program events searched by EPG. If the value is -1, it means unlimited. |
+| AudioSetting | Use | It describes audio settings information. | |
+| | JSON format | { "enableGlobalVolume":0 } | |
+| | Description | enableGlobalVolume | Int type, indicating whether to enable unified volume control, the value is:
– indicating whether the application allows the user to set the volume of each channel separately;
– the application allows to indicate that the volume of all live TV, audio broadcasting, NVOD, and mosaic is unified as the outputVolume value. |
+| | | | |
+| UserPreference | Use | It describes user preference setting information. | |
+| | JSON format | { "audioLang":"zho", "osdLang":"eng" } | |
+| | Description | audioLang | Character string, indicating the audio language preferred by the user. The three-letter language code follows GB/T 4880.2-2000. |
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | | |
+|------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
+| | | osdLang | Character string, indicating the interface language preferred by the user. The three letter language code follows GB/T 4880.2-2000. |
+| Portal | Use | It describes the portal server address information. | |
+| | JSON format | {
"address":"http://ngb.com",
"port":8080,
"returnChannel":"modulator"
} | |
+| | Description | address | Character string, indicating the portal server address. |
+| | | port | Int type, indicating the access port of the portal server. |
+| | | returnChannel | Character string, indicating a return channel, the values modulator and ethernet indicate the network modulator and Ethernet respectively. |
+| NTP | Use | It describes the NTP server address information. | |
+| | JSON format | {
"address":"http://ntp.com",
"port":8080
} | |
+| | Description | address | Character string, indicating the NTP server address. |
+| | | port | Int type, indicating the NTP server access port. |
+| VODChannel | Use | It describes the VOD server address information. | |
+| | JSON format | {
"MD5":"5A8B6493",
"VODParams":[
{
"frequency":634000,
"symbolRate":6875,
"modulation":3,
"QAMName":1234
},
{
"frequency":642000,
"symbolRate":6875,
"modulation":3,
"QAMName":4321
},
{
} | |
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | |
+|--------------|--------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | "frequency":650000, "symbolRate":6875, "modulation":3, "QAMName":8888 } ] }
NOTE – Only applicable to cable digital TV. | |
+| Description | MD5 | Character string, indicating the MD5 code of the configuration file. |
+| | frequency | Int type, indicating the frequency of the IPQAM frequency, in kilohertz (kHz). |
+| | symbolRate | Int type, indicating the symbol rate of the IPQAM frequency point, in thousand symbols per second (ksymbol/s). |
+| | modulation | Int type, indicating the IPQAM frequency point modulation mode. For the value, please refer to the constant field definition of "modulation mode" of the DvbcTunningParameters class. |
+| | QAMName | Int type, indicating the VOD area code. |
+| UserInfo | Use | It describes end user information. |
+| | JSON format | { "adminPassword":"12345" } |
+| | Description | adminPassword Character string, indicating the administrator password, used to enter the system setting interface and watch locked channels. |
+| Autodeployer | Use | It describes the automatic deployment information of the application. |
+| | JSON format | { "mode":"auto-ip", "ocPath":[ { "deliveryType":1, "deliveryParams":[ {"frequency":626000, "symbolRate":6875, "modulation":3}, {"frequency":634000, "symbolRate":6875, "modulation":3}, {"frequency":642000, "symbolRate":6875, "modulation":3} ] }, ... ], "ipPath":[ { "udpPath":"192.168.1.12", "udpPort":8080, "downloadTimeout":60 } ] } |
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | |
+|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | }, ... ] }
NOTE – The one-way broadcast channel supports multiple delivery systems and multiple frequency points to issue XML signaling files; the two-way broadband channel supports multiple UDP servers to issue XML signaling files.
| |
+| Autodeployer | Description | mode
Character string, indicating the method of obtaining the XML signaling file for automatic deployment, the value is:
- – The method of obtaining the file indicates obtaining the XML signaling file from the two-way broadband channel;
- – File; Broadband channel indicates obtaining XML signaling file from one-way broadcast channel;
- – File; Broadcast channel acquisition value: it indicates self-adaptation most of the time, and preferentially obtains XML signaling file from two-way broadband channel;
- – File; it indicates self-adaptation preferentially from two-way broadband communication, and preferentially obtains XML signaling file from one-way broadband channel.
|
+| | | ocPath
JSON object type indicates OC download path for automatic deploying the xml signaling file.
- – Path. It indicates the automatic deployment of broadcast communication: int type, indicating the type of delivery system, same as the explanation of the DVBMainFrequencyInfo key;
- – Explanation; inFrequency: JSON object, same as the explanation of DVBMainFrequencyInfo key.
|
+| | | ipPath
JSON object type, indicating the ip download path for automatic deploying the xml signaling file.
- – Path. It indicates automation: character string, indicating the UDP server address;
- – Device address; It indicates automation: Int type, indicating UDP service port;
- – Port; It indicates automatic deployment of uencyI: Int type, indicating application download timeout time, in second.
|
+| SeaChangeVOD | Use | It describes SeaChange VOD-related information. |
+| | JSON format | { "bakerFreq": { "frequency": 626000, "symbolRate": 6875, "modulation": 3 } } |
+
+**Table S.2 – Definition table of data management module message**
+
+| Key name | Key value | |
+|----------|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | },
"serviceGroupId": 1
} | |
+| | frequency | Int type, indicating the tuning frequency,
– in kilohertz (kHz); |
+| | symbolRate | Int type, indicating the symbol rate, in thousand
symbols per second (ksymbol/s). |
+| | modulation | Int type, indicating the modulation mode, for
the value, please refer to the constant field
definition of "modulation mode" of the
DvbcTunningParameters class; |
+| | serviceGroupId | Service Group Id value |
+
+### S.2.2.1 Method
+
+#### S.2.2.1.1 createUserPropertyTable
+
+Prototype: number createUserPropertyTable(name)
+
+Description: Creating a new user data table.
+
+Parameter: name – string type, indicating the name of the user data table.
+
+Return: number type, the value being:
+
+- If the user data table is created successfully, the return value is greater than 0, which is used to indicate the globally unique data table identifier;
+- If the creation of the user data table fails due to unknown reasons, the value 0 will be returned;
+- If the user data table to be created already exists, the value –1 will be returned;
+- If the name of the user data table to be created is invalid (for example, it is a null or empty character string), the value –2 will be returned.
+
+#### S.2.2.1.2 getUserPropertyTable
+
+Prototype: number getUserPropertyTable(name)
+
+Description: Getting the user data table.
+
+Parameter: name – string type, indicating the name of the user data table.
+
+Return: number type, the value being as follows:
+
+- If the user data table is successfully obtained, the return value is greater than 0, which is used to indicate the globally unique data table identifier;
+- If the user data table fails to be obtained due to unknown reasons, the value 0 will be returned;
+- If the user data table to be obtained does not exist, the value –1 is returned;
+- If the name of the user data table to be obtained is invalid (for example, it is a null or empty character string), the value –2 is returned.
+
+#### S.2.2.1.3 deleteUserPropertyTable
+
+Prototype: number deleteUserPropertyTable(tableID)
+
+Description: Delete the user data table.
+
+Parameter: tableID – number type, user data table ID.
+
+Return: number type, the value being as follows:
+
+- If the user data table is deleted successfully, the return value is greater than 0, which is used to indicate the globally unique data table identifier;
+- If the user data table fails to be deleted due to unknown reasons, the value 0 will be returned;
+- If the user data table to be deleted does not exist, the value –1 is returned;
+- If the name of the user data table to be deleted is invalid (for example, it is a null or empty character string), the value –2 will be returned.
+
+#### **S.2.2.1.4 getSystemPropertyTable**
+
+Prototype: number getSystemPropertyTable()
+
+Description: Obtain the system data table.
+
+Parameter: None.
+
+Return: number type, the value being as follows:
+
+- If the system data table is successfully obtained, the return value is greater than 0, which is used to indicate the globally unique data table identifier;
+- If the system data table fails to be obtained due to unknown reasons, the value 0 will be returned;
+- If the system data table to be obtained does not exist, the value –1 is returned.
+
+#### **S.2.2.1.5 createItem**
+
+Prototype: createItem(tableID,strItem,strValue)
+
+Description: Creating a data item in the user data table and assign an initial value to the content of this data item. The operation on the system data table is invalid.
+
+Parameter: tableID – number type, user data table ID.
+
+strItem – string type, key name of the newly created data item.
+
+strValue – string type, JSON format character string, indicating the key value of the newly created data item.
+
+Return: number type, the value being as follows:
+
+- If the data item is created successfully, the return value is greater than 0;
+- If the creation of the data item fails due to unknown reasons, the value 0 will be returned;
+- If the input data table ID does not exist, the value –1 will be returned;
+- If the name of the input data item already exists in the data table, the value –2 will be returned;
+- If the name of the input data item is invalid (for example, null or empty character string), the value -3 is returned.
+
+#### **S.2.2.1.6 deleteItem**
+
+Prototype: deleteItem(tableID,strItem)
+
+Description: Delete a data item in the user data table. The operation on the system data table is invalid.
+
+Parameter: tableID – number type, data table ID.
+
+strItem – string type, name of the data item.
+
+Return: number type, the value being as follows:
+
+- If the deletion is successful, the return value is greater than 0;
+
+- If the deletion of the data item fails due to unknown reasons, the value 0 will be returned;
+- If the data item does not exist, the value $-1$ is returned.
+
+#### S.2.2.1.7 **getProperty**
+
+Prototype: string getProperty(tableID, strItem)
+
+Description: Getting the value of a data item (read from memory). Both system data table and user data table can be operated.
+
+Parameter: tableID – number type, data table ID.
+
+strItem – string type, name of the data item.
+
+Return: string type, value of the data item; if the data item does not exist, null is returned.
+
+#### S.2.2.1.8 **setProperty**
+
+Prototype: number setProperty(tableID, strItem, strValue)
+
+Description: Setting the value of a data item (write to memory). Both system data table and user data table can be operated.
+
+Parameter: tableID – number type, indicating the data table ID;
+
+strItem – string type, indicating the name of the data item;
+
+strValue – string type, indicating the value of the data item.
+
+Return: number type, the value being as follows:
+
+- If the modification is successful, the return value is greater than 0;
+- If the modification of the content fails due to unknown reasons, the value 0 will be returned;
+- If the data item does not exist, the value $-1$ is returned.
+
+#### S.2.2.1.9 **saveToNvm**
+
+Prototype: boolean saveToNvm(tableID)
+
+Description: An Asynchronous method, writing the data table in RAM to NVM, overwrite the data table in NVM. Both system data table and user data table can be operated.
+
+- If the data is written successfully, send the message MSG\_SAVE\_DATA\_SUCCESS to the page;
+- If the data writing fails, send the message MSG\_SAVE\_DATA\_FAILED to the page.
+
+Parameter: tableID – number type, data table ID.
+
+Return: boolean type, true indicating the start of the execution, false indicating unexecution, and whether the execution result is successful is known by capturing the message.
+
+#### S.2.2.1.10 **removeFromNvm**
+
+Prototype: boolean removeFromNvm(tableID)
+
+Description: An Asynchronous method, deleting the user table specified by the tableID parameter in the NVM.
+
+- If the data is deleted successfully, send the message MSG\_REMOVE\_DATA\_SUCCESS to the page;
+- If the data deletion fails, send the message MSG\_REMOVE\_DATA\_FAILED to the page.
+
+Parameter: tableID – number type, indicating the data table ID.
+
+Return: boolean type, true indicating the start of the execution, false indicating unexecution, and whether the execution result is successful is known by capturing the message.
+
+#### S.2.2.1.11 revertFromNvm
+
+Prototype: boolean revertFromNvm(tableID)
+
+Description: An Asynchronous method, importing the data table in NVM into RAM, overwrite the current data table in memory. Both system data table and user data table can be operated.
+
+- If the data coverage is successful, send the message MSG\_REVERT\_DATA\_SUCCESS to the page;
+- If the data coverage fails, send the message MSG\_REVERT\_DATA\_FAILED to the page.
+
+Parameter: tableID – number type, indicating the data table ID.
+
+Return: boolean type, true indicating the start of the execution, false indicating unexecution, and whether the execution result is successful is known by capturing the message.
+
+#### S.2.2.1.12 restoreDefault
+
+Prototype: boolean restoreDefault()
+
+Description: An Asynchronous method, restoring the system data table in NVM to the factory setting state, and update the system data table in RAM synchronously.
+
+- If the data is restored successfully, send the message MSG\_RESTORE\_TO\_DEFAULT\_SUCCESS to the page;
+- If the data recovery fails, send the message MSG\_RESTORE\_TO\_DEFAULT\_FAILED to the page.
+
+Parameter: None.
+
+Return: boolean type, true indicating the start of the execution, false indicating unexecution, and whether the execution result is successful is known by capturing the message.
+
+### S.3 External storage device management module
+
+This module defines JS objects related to external storage device management: StorageDeviceManager, StorageDevice, StoragePartition.
+
+#### S.3.1 Message
+
+The definition of message that the external storage device management module may send to the application layer is shown in Table S.3.
+
+**Table S.3 – Definition table of message of external storage device management module**
+
+| Message name | event.which | event.modifiers | Message format |
+|------------------------------|-------------|-----------------|------------------------------------------|
+| MSG_DEVICE_UNINSTALL_SUCCESS | 14101 | – | The device is successfully uninstalled. |
+| MSG_DEVICE_UNINSTALL_FAILED | 14102 | – | The uninstallation of the device failed. |
+| Reserved | 14103~14200 | | |
+
+NOTE – The value of event.modifiers is automatically given by the system, and its data type:
+
+- "Number", indicating that the value is the ID of the message description character string, which can be obtained through the Utility.getEventInfo() method. If the "message description" defines the message character string JSON format, the message content will be retrieved according to the format.
+- "–", indicating event.modifiers is undefined.
+
+### S.3.2 StorageDeviceManager object
+
+The StorageDeviceManager object is a built-in object, which completes the management and setting operations of external storage devices.
+
+#### S.3.2.1 Method
+
+##### S.3.2.1.1 uninstallDeviceByID
+
+Prototype: public boolean uninstallDeviceByID(id)
+
+Description: An Asynchronous method, uninstalling the device based on the device ID.
+
+- If the uninstallation is successful, it will return "MSG\_UNINATALL\_DEVICE\_SUCCESS" message;
+- If the uninstallation fails, it will return "MSG\_UNINATALL\_DEVICE\_FAILED" message.
+
+Parameter: id – number type, device ID.
+
+Return: boolean type, true value indicating the start of the execution, false indicating unexecution, and whether the execution result is successful is known by capturing the message.
+
+##### S.3.2.1.2 getAllStorageDevices
+
+Prototype: public StorageDevice[] getAllStorageDevices()
+
+Description: Obtain all storage device information.
+
+Parameter: None.
+
+Return: Array of StorageDevice objects.
+
+### S.3.3 StorageDevice object
+
+The StorageDevice object is a local object, which describes storage device information, including name, size, free space, etc.
+
+Example:
+
+```
+//Create StorageDevice object through the StorageDeviceManager method.
+var storageDeviceArray = StorageDeviceManager.getAllStorageDevices();
+var storageDevice = storageDeviceArray[0];
+```
+
+#### S.3.3.1 Property
+
+The definition of the property of the StorageDevice object is shown in Table S.4.
+
+**Table S.4 – Table of StorageDevice property**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|--------------------------------------------------|
+| Id | number | Read only | Get the unique identifier of the storage device. |
+| Name | string | Read only | Get the name of the storage device. |
+
+**Table S.4 – Table of StorageDevice property**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| status | number | Read only | Get the status information of the storage device, the value is:
- – 0-indicating that the storage device has been uninstalled;
- – 1-indicating that the storage device has been found and the type has been determined;
- – 2-indicating that the storage device is ready;
- – 3-indicating that the storage device is not available.
|
+| serialNumber | string | Read only | Returns the serial number of the storage device. |
+
+### S.3.3.2 Method
+
+#### S.3.3.2.1 getAllPartitions
+
+Prototype: public StoragePartition[] getAllPartitions()
+
+Description: Obtain all partition information of the device.
+
+Parameter: empty.
+
+Return: Array of StoragePartition objects.
+
+#### S.3.3.2.2 getPartitionByID
+
+Prototype: public StoragePartition getPartitionByID(id)
+
+Description: Getting the partition object of the specified ID.
+
+Parameter: id – number type, specify the partition ID.
+
+Return: StoragePartition object.
+
+### S.3.4 StoragePartition object
+
+The StoragePartition object is a local object.
+
+This object describes the partition information of the storage device, including name, size, idle state, access path, partition type, etc.
+
+Example:
+
+```
+//Create StoragePartition object through the StorageDevice method.
+```
+
+```
+var storagePartitionArray= storageDevice.getAllPartitions();
+```
+
+```
+var storagePartition = storagePartitionArray[0];
+```
+
+#### S.3.4.1 Property
+
+The definition of the property of the StoragePartition object is shown in Table S.5.
+
+**Table S.5 – Table of property of StoragePartition**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|------------------------------------------------------------------------------------------------------------------|
+| Id | number | Read only | Partition ID, that is, the unique identifier of the partition. |
+| Name | string | Read only | Get the partition name of the storage device. |
+| totalSize | number | Read only | Get the size of the partition space of the storage device, in KB. |
+| freeSize | number | Read only | Get the free space size of the partition of the storage device, in KB. |
+| Path | string | Read only | Get the access path of the partition of the storage device. |
+| fsType | string | Read only | Get the system type of the partition file, that is partition format, the main values are E2FS, FAT32, NTFS, etc. |
+| fsStatus | string | Read only | It indicates the partition status of the storage device, such as "good", "unformatted", etc. |
+
+#### S.4 File management module
+
+This module defines JS objects related to file management: FileManager, FileObj and Directory. The relationship between the objects is shown in Figure S.1.
+
+
+
+```
+
+classDiagram
+ FileManager --> Directory
+ FileManager --> FileObj
+ Directory --> FileObj
+
+```
+
+UML class diagram showing the relationship between FileManager, Directory, and FileObj. FileManager has arrows pointing to both Directory and FileObj. Directory has an arrow pointing to FileObj. The diagram is labeled J.1206(24).
+
+**Figure S.1 – Relationship between file resource management objects**
+
+##### 1) Local storage file system
+
+The receiving terminal assigns an area in the local storage to the system (currently the local storage of the receiving terminal is usually implemented by flash memory, and may support other local storage media in the future) for the system to store the downloaded web main application, other applications, local configuration information, PSI/ SI information, user files and other data. For systems and applications, only this area is writable in the local storage, which is maintained and used by the system and applications. This area is uniformly identified with /storage/storage0 in the application to identify its root path. In the future, based on service needs, the second and third writable areas may be added, which are identified by /storage/storage1, /storage/storage2, and currently the terminal only needs to support /storage/storage0.
+
+Example:
+
+- Access the data stored in the boot application with the path /storage/storage0/startapp/;
+- Access the data stored in the advertising service with the path /storage/storage0/adv/.
+
+The corresponding relationship between the /storage/storage0 path of the receiving terminal and the Linux file system path (for example, /mnt/hd/HDD0) is implemented by the system itself.
+
+## 2) USB file system
+
+The path of the storage device connected to the USB interface of the receiving terminal is obtained by using the related objects of the external storage device management module interface in this annex.
+
+### S.4.1 Message
+
+The message of the information of the file management module is shown in Table S.6.
+
+**Table S.6 – Message of file management module**
+
+| Message name | event.which | event.modifiers | Message format |
+|----------------------------------|-------------|-----------------|-------------------------------------------------------|
+| MSG_COPYFILE_SUCCESS | 14201 | – | The file is copied successfully. |
+| MSG_COPYFILE_FAILED | 14202 | – | The copy of the file fails. |
+| MSG_FILE_NOT_EXIST | 14203 | – | The source file does not exist. |
+| MSG_SPACE_SHORTAGE | 14204 | – | The target storage space is insufficient. |
+| MSG_MOVEFILE_SUCCESS | 14205 | – | The file moves successfully. |
+| MSG_MOVEFILE_FAILED | 14206 | – | File moves failed. |
+| MSG_CANNOT_DELETE_FILE | 14207 | – | Unable to delete source file. |
+| MSG_DELETEFILE_SUCCESS | 14208 | – | The file is deleted successfully. |
+| MSG_DELETEFILE_FAILED | 14209 | – | File deletion fails. |
+| Reserved | 14210~14300 | – | |
+| MSG_COPYDIRECTORY_SUCCESS | 14301 | – | The directory is copied successfully. |
+| MSG_COPYDIRECTORY_FAILED | 14302 | – | The directory copy fails. |
+| MSG_DIRECTORY_NOT_EXIST | 14303 | – | The source directory does not exist. |
+| MSG_MOVEDIRECTORY_SUCCESS | 14305 | – | The directory moves successfully. |
+| MSG_MOVEDIRECTORY_FAILED | 14306 | – | The directory moves failed. |
+| MSG_CANNOT_DELETE_DIRECTORY | 14307 | – | Unable to delete the source directory. |
+| MSG_DELETEDIRECTORY_SUCCESS | 14308 | – | The directory is deleted successfully. |
+| MSG_DELETEDIRECTORY_FAILED | 14309 | – | Directory deletion fails. |
+| MSG_DOWNLOAD_REMOTE_FILE_SUCCESS | 14310 | number | The front-end file has been downloaded to the memory. |
+
+**Table S.6 – Message of file management module**
+
+| Message name | event.which | event.modifiers | Message format |
+|------------------------------------|-------------|-----------------|------------------------------------------------------------|
+| MSG_DOWNLOAD_REMOTE_FILE_NOT_EXIST | 14311 | number | The file to be downloaded does not exist on the front end. |
+| MSG_DOWNLOAD_REMOTE_FILE_FAILED | 14312 | number | The front-end file download fails. |
+| MSG_DOWNLOAD_REMOTE_FILE_TIMEOUT | 14313 | number | The front-end file download times out. |
+| MSG_REMOTE_FILE_EXIST | 14314 | number | The specified file exists on the front end. |
+| MSG_REMOTE_FILE_NOT_EXIST | 14315 | number | The specified file does not exist on the front end. |
+| MSG_REMOTE_FILE_SEARCH_TIMEOUT | 14316 | number | The search for front-end file times out. |
+| Reserved | 14317~14400 | | |
+
+#### S.4.2 FileManager object
+
+The FileManager object is a built-in object, used to manage local directories and files.
+
+##### S.4.2.1 Method
+
+###### S.4.2.1.1 copyFile
+
+Prototype: boolean copyFile(path1, path2)
+
+Description: An Asynchronous method, copying the file specified by path1 to path2 without deleting the source file.
+
+- If the copy is successful, send the message MSG\_COPYFILE\_SUCCESS to the page;
+- If the source file does not exist, send the message MSG\_FILE\_NOT\_EXIST to the page;
+- If the storage area where the target path is located is insufficient, send the message MSG\_SPACE\_SHORTAGE to the page;
+- If the copy fails, send the message MSG\_COPYFILE\_FAILED to the page.
+
+Parameter: path1-string type, the path of the source file (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- USB external storage file path obtained through related objects of the device management interface.
+
+path2-string type, the path of the target file (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- USB external storage file path obtained through related objects of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false indicating the unexecution, and the execution result is known by capturing message.
+
+###### S.4.2.1.2 moveFile
+
+Prototype: boolean moveFile(path1, path2)
+
+Description: An Asynchronous method, copying the file specified by path1 to path2, and deleting the source file.
+
+- If the move is successful, send the message MSG\_MOVEFILE\_SUCCESS to the page;
+- If the source file does not exist, send the message MSG\_FILE\_NOT\_EXIST to the page;
+- If the storage area where the target path is located is insufficient, send the message MSG\_SPACE\_SHORTAGE to the page;
+- If the source file cannot be deleted, send the message MSG\_CANNOT\_DELETE\_FILE to the page;
+- If the move fails, send the message MSG\_MOVEFILE\_FAILED to the page.
+
+Parameter: path1 – string type, the path of the source file (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- The path of the USB external storage file obtained through the related object of the device management interface.
+
+path2 – string type, the path of the target file (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- The path of the USB external storage file obtained through the related object of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false indicating the unexecution, and the execution result is known by capturing message.
+
+#### S.4.2.1.3 **deleteFile**
+
+Prototype: boolean deleteFile(path)
+
+Description: An Asynchronous method, deleting a local file.
+
+- If the deletion is successful, send the message MSG\_DELETEFILE\_SUCCESS to the page;
+- If the deletion fails, send the message MSG\_DELETEFILE\_FAILED to the page.
+
+Parameter: path – string type, the path of the file to be deleted (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- The path of the USB external storage file obtained through the related object of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false indicating the unexecution, and the execution result is known by capturing message.
+
+#### S.4.2.1.4 **existLocalFile**
+
+Prototype: boolean existLocalFile(path)
+
+Description: Determine whether a local file exists.
+
+Parameter: path – string type, the path of the local file (including the file name), there are two ways:
+
+- Local storage file path similar to /storage/storage0/xx/xx.txt;
+- USB external storage file path obtained through related objects of the device management interface.
+
+Return: boolean type, true value indicating the file exists, false value indicating the file does not exist.
+
+#### S.4.2.1.5 **copyDirectory**
+
+Prototype: boolean copyDirectory(path1, path2)
+
+Description: Copy the directory specified by path1 and all the contents of the directory to the path2 path, without deleting the source directory and its contents
+
+- If the copy is successful, send the message MSG\_COPYDIRECTORY\_SUCCESS to the page;
+- If the source file does not exist, send the message MSG\_DIRECTORY\_NOT\_EXIST to the page;
+- If the storage area where the target path is located is insufficient, send the message MSG\_SPACE\_SHORTAGE to the page;
+- If the copy fails, send the message MSG\_COPYDIRECTORY\_FAILED to the page.
+
+Parameter: path1 – string type, the path of the source directory, it can have the following two ways:
+
+- The local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+path2 – string type, the path of the target directory, it can have the following two ways:
+
+- The local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false value indicating the unexecution, and the execution result is known by capturing message.
+
+#### S.4.2.1.6 **moveDirectory**
+
+Prototype: boolean moveDirectory(path1, path2)
+
+Description: Copy the directory specified by path1 and all the contents of the directory to the path2 path, and delete the source directory and its contents
+
+- When the move is successful, send the message MSG\_MOVEDIRECTORY\_SUCCESS to the page;
+- If the source file does not exist, send the message MSG\_DIRECTORY\_NOT\_EXIST to the page;
+- If the storage area where the target path is located is insufficient, send the message MSG\_SPACE\_SHORTAGE to the page;
+- If the source file cannot be deleted, send the message MSG\_CANNOT\_DELETE\_DIRECTORY to the page;
+- If the move fails, send the message MSG\_MOVEDIRECTORY\_FAILED to the page.
+
+Parameter: path1 – string type, the path of the source directory, it can have the following two ways:
+
+- The local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+path2 – string type, the path of the target directory, it can have the following two ways:
+
+- The local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false indicating the unexecution, and the execution result is known by capturing message.
+
+#### **S.4.2.1.7 deleteDirectory**
+
+Prototype: boolean deleteDirectory(path)
+
+Description: Delete a directory and all its contents.
+
+- If the deletion is successful, send the message MSG\_DELETEDIRECTORY\_SUCCESS to the page;
+- If the deletion fails, send the message MSG\_DELETEDIRECTORY\_FAILED to the page.
+
+Parameter: path – string type, indicating the path of the directory to be deleted, it can have the following two ways:
+
+- Local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+Return: boolean type, true value indicating the start of the execution, false indicating the unexecution, and the execution result is known by capturing message.
+
+#### **S.4.2.1.8 existDirectory**
+
+Prototype: boolean existDirectory(path)
+
+Description: Determine whether a local directory exists.
+
+Parameter: path – string type, indicating the path of the local directory to be detected, it can have the following two ways:
+
+- Local storage directory path similar to /storage/storage0/xx;
+- The USB external storage directory path obtained through the related objects of the device management interface.
+
+Return: boolean type, true value indicating that the file exists, false value indicating the file does not exist.
+
+#### **S.4.2.1.9 downloadRemoteFile**
+
+Prototype: downloadRemoteFile(path,endureTime)
+
+Description: Download a file from the front end, and generate the corresponding FileObj object in the local memory.
+
+Parameter: path – string type, indicating the path of the front-end file to be downloaded. There are two ways:
+
+- OC address similar to dvb://onid.tsid.serviceid.componenttag/a/b.txt;
+- http address similar to http://a.b.c/d/e.txt.
+
+endureTime – number type, download timeout time, in seconds; if the value is 0, it indicates that there is no time limit for this asynchronous download process.
+
+Return: number type, the system assigns a unique maskId for this asynchronous process.
+
+Remarks: This method is an asynchronous operation: if the download is successful, the system sends the message MSG\_DOWNLOAD\_REMOTE\_FILE\_SUCCESS "The front-end file has been downloaded to the memory" to the application, at this time the application can obtain the FileObj object through the FileManager.getRemoteFile(maskId) method; If the file to be downloaded does not exist in the front end, the system sends the message MSG\_DOWNLOAD\_REMOTE\_FILE\_NOT\_EXIST "the file to be downloaded does not exist in
+
+the front end" to the application; If the file download fails, the system sends the message MSG\_DOWNLOAD\_REMOTE\_FILE\_FAILED "File download fails" to the application; If the time specified by endureTime has elapsed and the file download has not yet been completed, the system will send the message MSG\_DOWNLOAD\_FILE\_TIMEOUT "Timeout expired, file download has not been completed" to the application, and the download operation will be terminated.
+
+#### S.4.2.1.10 getRemoteFile
+
+Prototype: getRemoteFile(maskId)
+
+Description: Getting front-end files. After the application receives the message MSG\_DOWNLOAD\_REMOTE\_FILE\_SUCCESS "The front-end file has been downloaded to the memory", it can retrieve the FileObj object in the memory through this interface. The got FileObj object is in the closed state, and the file must be opened through the FileObj.open(mode) method in order to perform the file reading operation.
+
+Parameter: maskId – number type, when calling the FileManager.downloadRemoteFile() method, the system automatically assigns a unique identifier for this asynchronous process.
+
+Return: FileObj type, file object.
+
+#### S.4.2.1.11 killObject
+
+Prototype: killObject(obj)
+
+Description: Clear File/Directory objects in memory, reclaim memory space.
+
+Parameter: obj – FileObj or Directory type, indicating the memory file/directory object to be cleared.
+
+Return: number type, 1 indicating clearing succeeded; 0 indicating clearing failed.
+
+### S.4.3 Directory object
+
+The Directory object is a local object, which is used to manage the directory of the local disk.
+
+Example:
+
+```
+//Create Directory objects through the construction method.
+var dir = new Directory(path);
+//The getting is performed through the method of the Directory object.
+var directoryArray = dir.getDirList();
+var directory = directoryArray[0];
+```
+
+#### S.4.3.1 Property
+
+The definition of the property of the Directory object is shown in Table S.7.
+
+**Table S.7 – Table of property of Directory object**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| name | String | Read only | Get the name of the directory. |
+| path | String | Read only | Get the absolute path of the directory.
1) Local storage directory path similar to /storage/storage0/xx;
2) The USB external storage directory path obtained through the related objects of the device management interface. |
+
+### S.4.3.2 Method
+
+#### S.4.3.2.1 Directory
+
+Prototype: `Directory(path)`
+
+Description: Construction method, which creates a new `Directory` object instance based on the specified path name.
+
+Parameter: `path` – string type, indicating the character string of the directory path.
+
+#### S.4.3.2.2 getFileList
+
+Prototype: `FileObj[] getFileList()`
+
+Description: Getting the files contained in the current directory.
+
+Parameter: None.
+
+Return: File object array, if the directory does not contain any files, the length of the returned array is 0.
+
+#### S.4.3.2.3 getDirList
+
+Prototype: `Directory[] getDirList()`
+
+Description: Getting the subdirectories contained in the current directory.
+
+Parameter: None.
+
+Return: Directory object array, if the directory does not contain any subdirectories, the length of the returned array is 0.
+
+### S.4.4 FileObj object
+
+`FileObj` is a local object, used to manage files. This object is equivalent to a mirror image of the local storage area file, USB external storage file or front-end file in the memory. Unless the `saveAs(path)` method is called to save the file, the actual file will not be changed.
+
+#### S.4.4.1 Property
+
+The definition of the property of the `FileObj` object is shown in Table S.8.
+
+**Table S.8 – Table of the property of the FileObj object**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| size | number | Read only | Get the size of the file, in bytes. |
+| name | String | Read only | Get the name of the file (including extension). |
+| path | String | Read only | Get the absolute path (including the file name) where the file is located in the following four ways:
1) Local storage file path similar to /storage/storage0/xx/xx.txt ;
2) The USB external storage file path obtained through the related objects of the device management interface;
3) oc address path of dvb://onid.tsid.serviceid.component_tag/xx/xx.txt ;
4) http address path similar to http://x.x.x.x/xx/xx.txt . |
+
+#### **S.4.4.2 Method**
+
+##### **S.4.4.2.1 FileObj**
+
+Prototype: FileObj(locator)
+
+Description: Construction method, which creates a file object according to the specified file path name.
+
+Parameter: locator – string type, indicating the locator of the file. See the path property description of the table of the property of the FileObj object for the format.
+
+##### **S.4.4.2.2 open**
+
+Prototype: open(mode)
+
+Description: Open the file for various editing operations.
+
+Parameter: mode – number type, 1 indicating open in text mode; 0 indicating open in binary mode.
+
+Return: number type, 1 indicating opening is successful; 0 indicating opening failed.
+
+##### **S.4.4.2.3 close**
+
+Prototype: close()
+
+Description: Close the file for the save operation.
+
+Parameter: None.
+
+Return: number type, 1 indicating closing is successful; 0 indicating closing failed.
+
+##### **S.4.4.2.4 readFile**
+
+Prototype: readFile(len)
+
+Description: Read len bytes of data from the file and return it as a character string.
+
+Parameter: len – number type, indicating reading the content of len byte length.
+
+Return: string type, returning the read content as a character string.
+
+##### **S.4.4.2.5 readAllFile**
+
+Prototype: readAllFile()
+
+Description: Read all the contents of the file and return it as a character string.
+
+Parameter: None.
+
+Return: string type, returning the read content as a character string.
+
+#### **S.5 Multimedia file module**
+
+This module defines JS objects related to multimedia files: AudioFile, VideoFile and ImageFile.
+
+##### **S.5.1 AudioFile object**
+
+The AudioFile object is a local object. This object describes the detailed information of an audio file.
+
+Example:
+
+```
+//Create an AudioFile object.
+```
+
+```
+var audioFile = new AudioFile(path);
+```
+
+##### **S.5.1.1 Property**
+
+The definition of the property of the AudioFile object is shown in Table S.9.
+
+**Table S.9 – Table of the property of the AudioFile**
+
+| Property name | Type | Read and write name | Description |
+|------------------|--------|---------------------|-------------------------------------------------------|
+| Type | string | Read only | Get the audio file type, refer to MIME. |
+| location | string | Read only | Get the locator (resource locator) of the audio file. |
+| fileName | string | Read only | Get the audio file name. |
+| fileSize | number | Read only | Get the size of the audio file, in bytes. |
+| sampleRate | number | Read only | Sampling rate, such as 32000, 44100, 48000, in Hz. |
+| numberOfChannels | number | Read only | The number of channels. |
+| duration | number | Read only | The playback time of the audio file, in seconds. |
+| Date | Date | Read only | The release date of the audio. |
+| Title | string | Read only | The title of the audio. |
+| Artist | string | Read only | Artist/performer. |
+| album | string | Read only | The album name. |
+
+**S.5.1.2 Method****S.5.1.2.1 AudioFile**
+
+Prototype: AudioFile(path)
+
+Description: Construction method, create a new audio file object according to the specified path.
+
+Parameter: path – string type, indicating the audio file path.
+
+**S.5.2 VideoFile object**
+
+The VideoFile object is a local object. This object describes the detailed information of a video file.
+
+Example:
+
+```
+//Create a VideoFile object.
+```
+
+```
+var videoFile = new VideoFile(path);
+```
+
+**S.5.2.1 Property**
+
+The definition of the property of the VideoFile object is shown in Table S.10.
+
+**Table S.10 – Table of the property of the VideoFile**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|---------------------------------------------------------|
+| typeContainer | string | Read only | Encapsulation format, such as "AVI", "MP4", "MKV", etc. |
+| typeVideo | string | Read only | Video type, refer to MIME. |
+| typeAudio | string | Read only | Audio type of the accompanying sound, refer to MIME. |
+| location | string | Read only | The locator (resource locator) of the video file. |
+| fileName | string | Read only | The name of the video file. |
+| fileSize | number | Read only | The size of the video file, in bytes. |
+| bitRate | number | Read only | Play rate, in kilobits per second (kb/s) |
+| duration | number | Read only | The playback time of the file, in seconds. |
+
+**Table S.10 – Table of the property of the VideoFile**
+
+| Property name | Type | Read and write property | Description |
+|------------------|--------|-------------------------|------------------------------------------------------------------------------------|
+| width | number | Read only | The width of the video, in pixels. |
+| height | number | Read only | The height of the video, in pixels. |
+| aspectRatio | string | Read only | Video aspect ratio, such as "16:9". |
+| fps | number | Read only | Video frame rate. |
+| sampleRate | number | Read only | Audio sampling rate of the accompanying sound, such as 32000, 44100, 48000, in Hz. |
+| numberOfChannels | number | Read only | The number of channels. |
+
+**S.5.2.2 Method****S.5.2.2.1 VideoFile**
+
+Prototype: VideoFile(path)
+
+Description: Construction method, create a new video file object according to the specified path.
+
+Parameter: path – string type, indicating the path of the video file.
+
+**S.5.3 ImageFile object**
+
+The ImageFile object is a local object. This object describes the detailed information of a picture file.
+
+Example:
+
+```
+//Create an ImageFile object.
+```
+
+```
+var imageFile = new ImageFile(path);
+```
+
+**S.5.3.1 Property**
+
+The property of the ImageFile object is shown in Table S.11.
+
+**Table S.11 – Table of the property of the ImageFile**
+
+| Property name | Type | Property | Description |
+|---------------|--------|-----------|---------------------------------------------------|
+| type | string | Read only | For the type of image file, refer to MIME. |
+| location | string | Read only | The locator (resource locator) of the image file. |
+| fileName | string | Read only | The name of the image file. |
+| width | number | Read only | The width of the picture file, in pixels. |
+| height | number | Read only | The height of the picture file, in pixels. |
+
+**S.5.3.2 Method****S.5.3.2.1 ImageFile**
+
+Prototype: ImageFile(path)
+
+Description: Construction method, create a new image file object according to the specified path.
+
+Parameter: path – string type, image file path.
+
+**S.6 OTA software upgrade module**
+
+This module defines the JS object related to OTA software upgrade: Upgrade.
+
+### S.6.1 Message
+
+The definition of the message that the OTA software upgrade module may send to the application layer is shown in Table S.12.
+
+**Table S.12 – Message definition table of OTA software upgrade module**
+
+| Message name | event.which | event.modifiers | Message description |
+|------------------|-------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------|
+| MSG_FORCE_OTA | 22101 | – | It indicates the OTA upgrade is mandatory, the system automatically downloads the set-top box software image and upgrades the set-top boxNote. |
+| MSG_OPTIONAL_OTA | 22102 | – | It indicates that the OTA upgrade is not mandatory, and the user can choose whether to upgrade this time. |
+| Reserved | 22103~22200 | | |
+
+### S.6.2 Upgrade object
+
+The Upgrade object is a built-in object that provides JS methods for OTA or local upgrade operations.
+
+#### S.6.2.1 Method
+
+##### S.6.2.1.1 checkOTA
+
+Prototype: boolean checkOTA()
+
+Description: Determine whether the front end deploys a new OTA upgrade. This method is mainly used to manually detect OTA upgrade information.
+
+Parameter: None.
+
+Return: boolean type, true indicating there is OTA upgrade, false indicating there is no OTA upgrade.
+
+##### S.6.2.1.2 startOTA
+
+Prototype: startOTA()
+
+Description: Start the OTA upgrade.
+
+Parameter: None.
+
+Return: None.
+
+##### S.6.2.1.3 getOTAName
+
+Prototype: string getOTAName()
+
+Description: Getting the name of the OTA upgrade event, which is different from the name of the OTA provider and refers to the text description of the OTA upgrade event.
+
+Parameter: None.
+
+Return: string type, indicating the name of the OTA upgrade event.
+
+### S.7 System tool module
+
+This module defines tool JS objects: Utility, GlobalVarManager, Rectangle and SysTool.
+
+## S.7.1 Utility object
+
+The Utility object is a built-in object, which can complete the acquisition of event messages and the printing of character strings.
+
+### S.7.1.1 Method
+
+#### S.7.1.1.1 getEventInfo
+
+Prototype: string getEventInfo(id)
+
+Description: Getting a detailed description of the message.
+
+Parameter: id – number type, indicating the message description character string ID.
+
+Return: string type, indicating the detailed description information of the message.
+
+#### S.7.1.1.2 println
+
+Prototype: println(str)
+
+Description: Print the character string, the parameter supports the addition operation of the character string, and the printing will automatically wrap. This method outputs the print information to the serial port, which is convenient for developers to check debugging information.
+
+Parameter: str – string type, indicating the character string to be printed.
+
+Return: None.
+
+## S.7.2 GlobalVarManager object
+
+This object is a built-in object, used for global variable management.
+
+### S.7.2.1 Method
+
+#### S.7.2.1.1 setItemValue
+
+Prototype: setItemValue(key, value)
+
+Description: Setting global variable parameters.
+
+Parameter: key – string type, indicating the global variable keyword, which is set by the application; value – number type, indicating the global variable value.
+
+Return: None.
+
+#### S.7.2.1.2 getItemValue
+
+Prototype: number getItemValue(key)
+
+Description: Getting global variable parameters.
+
+Parameter: key – string type, indicating the global variable keyword, which should correspond to the key in the GlobalVarManager.setItemValue() method.
+
+Return: number type, returning the value of the global variable specified by the keyword key; if the global variable specified by the keyword key does not exist, it returns null.
+
+#### S.7.2.1.3 setItemStr
+
+Prototype: setItemStr(key, str)
+
+Description: Setting global variable parameters.
+
+Parameter: key – string type, indicating the global variable keyword, which is set by the application; str – string type, indicating the global variable value.
+
+Return: None.
+
+#### S.7.2.1.4 getItemStr
+
+Prototype: string getItemStr(key)
+
+Description: Getting global variable parameters.
+
+Parameter: key – string type, indicating the global variable keyword, which should correspond to the key in the GlobalVarManager.setItemStr() method.
+
+Return: string type, returning the global variable value specified by the keyword key; if the global variable specified by the keyword key does not exist, it returns null.
+
+#### S.7.2.1.5 removeItem
+
+Prototype: removeItem(key)
+
+Description: Delete a global variable parameter.
+
+Parameter: key – string type, global variable keyword; if the global variable specified by the keyword key does not exist, no operation is performed.
+
+Return: None.
+
+#### S.7.2.1.6 clearAll
+
+Prototype: clearAll()
+
+Description: Delete all global variable parameters.
+
+Parameter: None.
+
+Return: None.
+
+### S.7.3 Rectangle object
+
+The Rectangle object is a local object.
+
+#### S.7.3.1 Property
+
+The property definition of the Rectangle object is shown in Table S.13.
+
+**Table S.13 – Table of the property of Rectangle object**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|------------------------------------------------------------------------------------|
+| left | number | Read/write | The X-axis coordinate of the upper left corner of the Rectangle object, in pixels. |
+| top | number | Read/write | The Y-axis coordinate of the upper left corner of the Rectangle object, in pixels. |
+| width | number | Read/write | The width of the Rectangle object, in pixels. |
+| height | number | Read/write | The height of the Rectangle object, in pixels. |
+
+#### S.7.3.2 Method
+
+##### S.7.3.2.1 Rectangle
+
+Prototype: Rectangle(left, top, width, height)
+
+Description: Construction method, which creates a new rectangular object according to the specified coordinates and width and height.
+
+Parameter: left – number type, the X-axis coordinate of the upper left corner of the rectangle, in pixel;
+
+right – number type, the Y-axis coordinate of the upper left corner of the rectangle, in pixel;
+
+width – number type, the width of the rectangle, in pixel;
+
+height – number type, the height of the rectangle, in pixel.
+
+#### S.7.4 SysTool object
+
+This object is a built-in object and provides methods for system standby, sleep, and restart operations. The system should verify the permissions of the application, and only privileged applications can call the methods provided by this class. Standby – The CPU of the receiving terminal is still working, used to run some background programs, such as push downloads, software upgrades, etc., for the turning off all audio and video output, from the appearance, the receiving terminal has stopped working. Sleep – The CPU of the receiving terminal stops working, and the power supply of the CPU and the motherboard is completely cut off. Then, depending on the external single-chip or other means to monitor the activation command issued by the remote control, start the switching power supply to supply power to the CPU and the main board to realize the remote start-up. This method consumes less energy. The relevant methods of this object should be implemented according to the actual capabilities of the receiver. For example, if sleep is not supported, the implementation of the sleep() method is empty or the same as the standBy() method.
+
+##### S.7.4.1 Method
+
+###### S.7.4.1.1 standBy
+
+Prototype: standBy()
+
+Description: Control the receiver to enter the standby state. The CPU is still running.
+
+Parameter: None.
+
+Return: None.
+
+###### S.7.4.1.2 sleep
+
+Prototype: sleep()
+
+Description: Control the receiver to enter the sleep state, and the CPU will power off and stop working.
+
+Parameter: None.
+
+Return: None.
+
+###### S.7.4.1.3 reboot
+
+Prototype: reboot()
+
+Description: Restart the receiver.
+
+Parameter: None.
+
+Return: None.
+
+###### S.7.4.1.4 wakeUp
+
+Prototype: wakeUp()
+
+Description: Wake up the receiver.
+
+Parameter: None.
+
+Return: None.
+
+###### S.7.4.1.5 getStandByState
+
+Prototype: number getStandByState()
+
+Description: Getting the standby state.
+
+Parameter: None.
+
+Return: number 1-true standby/sleep; 2-false standby/standBy; 3-normal work.
+
+## S.8 Software and hardware information query module
+
+This module defines JS objects related to receiving terminal software and hardware information query: HardwareInfo, SoftwareInfo.
+
+### S.8.1 HardwareInfo object
+
+HardwareInfo is a built-in object, which is used to describe the hardware parameter information of the receiving terminal.
+
+#### S.8.1.1 Property
+
+The property definition of the HardwareInfo object is shown in Table S.14.
+
+**Table S.14 – Table of the property of HardwareInfo object**
+
+| Property name | Type | Read and write property | Description |
+|------------------|--------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Flash.size | string | Read only | Get the size of the receiving terminal's flash memory, in MB. |
+| RAM.size | string | Read only | Get the size of the receiving terminal's memory, in MB. |
+| RAM.type | string | Read only | Get the memory type of the receiving terminal, which can take the values "SDRAM", "DDR", "DDR2", etc. |
+| SOC.model | string | Read only | Get the model of the main chip of the receiving terminal. |
+| SOC.frequency | string | Read only | Get the operating frequency of the main chip of the receiving terminal, in MHz. |
+| SOC.provider | string | Read only | Get the name of the provider of the main chip of the receiving terminal. |
+| HW.version | string | Read only | Get the hardware version number of the receiving terminal. |
+| STB.TPtype | string | Read only | Get the transmission mode type of the receiving terminal, the value can be a combination of "DVB-C", "DVB-S", "DVB-T", "ABS-SS", and "DTMB". |
+| STB.definition | string | Read only | Get the definition type of the receiving terminal, which can take the values "HD" and "SD". |
+| STB.provider | string | Read only | Get the name of the provider of the receiving terminal. |
+| STB.brand | string | Read only | Get the brand name of the receiving terminal. |
+| STB.model | string | Read only | Get the model of the receiving terminal. |
+| STB.serialnumber | string | Read only | Get the serial number of the receiving terminal. |
+| STB.returnPath | string | Read only | Get the property of the return channel of the receiving terminal. The value "modulator" indicates cableModem; the value "ethernet" indicates Ethernet. |
+
+### S.8.2 SoftwareInfo object
+
+SoftwareInfo is a built-in object, which is used to describe the parameter information of the receiving terminal software.
+
+### S.8.2.1 Property
+
+The property definition of the SoftwareInfo object is shown in Table S.15.
+
+**Table S.15 – Table of the property of SoftwareInfo**
+
+| Property name | Type | Read and write property | Description |
+|-----------------------------|-------------|--------------------------------|----------------------------------------------------------------|
+| OS.name | string | Read only | Get the name of the operating system software. |
+| OS.version | string | Read only | Get the version number of the operating system software. |
+| OS.provider | string | Read only | Get the name of the provider of the operating system software. |
+| middleware.name | string | Read only | Get the name of the system software. |
+| middleware.version | string | Read only | Get the version number of the system software. |
+| middleware.provider | string | Read only | Get the name of the provider of the system software. |
+| middleware.releaseDate | string | Read only | Get the release date of the system software. |
+| middleware.copyright | string | Read only | Get the copyright information of the system software. |
+| middleware.RAMSize | string | Read only | Get the memory space occupied by the system software, in KB. |
+| middleware.NVMSize | string | Read only | Get the NVM space occupied by the system software, in KB. |
+| middleware.platform_profile | string | Read only | Get the platform grade supported by the system software. |
+| loader.name | string | Read only | Get the name of the software update module (loader). |
+| loader.version | string | Read only | Get the version number of the software update module (loader). |
+| loader.provider | string | Read only | Get the provider of the software update module (loader). |
+| loader.size | string | Read only | Get the size of the software update module (loader), in KB. |
+| CA.name | string | Read only | Get the name of the CA software. |
+| CA.version | string | Read only | Get the version number of the CA software. |
+| CA.provider | string | Read only | Get the provider of the CA software. |
+| Driver.vision | string | Read only | Version number of the receiving terminal driver. |
+
+## Annex T
+
+### JavaScript-Message management unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### T.1 Overview
+
+This annex defines functional modules related to message management.
+
+#### T.2 Message management module
+
+This module defines JS object related to message processing: event.
+
+The messages captured by the application layer have the following two sources:
+
+- System messages, such as successful frequency lock, channel scan completed, network signal interruption, etc.;
+- Key messages, such as remote control, keyboard, mouse, front panel and other key trigger messages;
+
+The application layer captures messages in the following ways:
+
+- System message: The application captures system messages through `document.onsystemevent`;
+- Key message:
+ - Keyboard: The application captures keyboard messages through `document.onkeydown`, `document.onkeyup` and `document.onkeypress`, and the message code is consistent with the PC mode;
+ - Mouse: The application captures mouse messages through `document.onmousedown`, `document.onmouseup`, `document.onmousemove`, etc., and the message code is consistent with the PC mode;
+ - Remote control: The application captures remote control messages through `document.onkeydown` and `document.onkeyup`, and the message code is compatible with the PC mode. The definition of the extended key message code is shown in Table T.1;
+ - Front panel: The application captures front panel messages through `document.onkeydown` and `document.onkeyup`, and the message code is consistent with the remote control mode.
+
+##### T.2.1 event object
+
+The event object is a built-in object.
+
+###### T.2.1.1 Property
+
+The property of the event object is shown in Table T.1.
+
+**Table T.1 – Property of event object**
+
+| Property name | Type | Read and write property | Description |
+|-------------------------|--------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| event.type | number | Read only | It indicates the type of event that occurred, that is, the name of the event represented by the current event object, which has the same name as the registered event handle, such as |
+
+**Table T.1 – Property of event object**
+
+| Property name | Type | Read and write property | Description |
+|-----------------|--------|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | "onclick"; or the prefix "on" is deleted for the property of the event handle, such as "click". Same as W3C definition. |
+| event.source | number | Read only | It indicates the source of the message. |
+| event.which | number | Read only | It indicates the code value of the message. |
+| event.modifiers | number | Read only | It indicates the extended property of the message. If the extended property of the message is empty, modifiers returns 0; if the extended property of the message is number type, then modifiers returns the value; if the extended property of the message is a character string, then modifiers returns an ID value, which is generated internally by the system, as a pointer to the specific character string content, the application can call the Utility.getEventInfo(ID) method to retrieve the character string content. |
+
+**T.2.1.2 Message source**
+
+The definition of the message source (event.source) is shown in Table T.2.
+
+**Table T.2 – event.source definition**
+
+| event.source | Description |
+|--------------|----------------------------------------------|
+| 1001 | It indicates system messages. |
+| 1002 | It indicates the remote control key message. |
+| 1003 | It indicates the front panel key message. |
+
+**T.2.1.3 System message**
+
+For system messages, see the definitions of messages in Annexes L, M, N, Q, S, U, V and other annexes.
+
+**T.2.1.4 Key message**
+
+Refer to clause D.2.1.5 for the key message definition.
+
+## Annex U
+
+### JavaScript-Application engine unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### U.1 Overview
+
+This annex defines some commonly used application engine modules: channel management, electronic program guide, scheduled reminder management, information search, etc.
+
+#### U.2 Channel management module
+
+This module defines JS objects related to channel management: ChannelManager, Channel.
+
+##### U.2.1 Message
+
+The definitions of messages that the channel management module may send to the application layer are shown in Table U.1.
+
+**Table U.1 – Channel management module mMessage**
+
+| Message name | event.which | event.modifiers | Message description |
+|--------------------------------|-------------|-----------------|-------------------------------------------------------------------------|
+| MSG_CHANNEL_RAM_TO_NVM_SUCCESS | 19001 | – | It indicates that writing channel data from RAM to NVM is successful. |
+| MSG_CHANNEL_RAM_TO_NVM_FAILED | 19002 | – | It indicates that writing channel data from RAM to NVM failed. |
+| MSG_CHANNEL_NVM_TO_RAM_SUCCESS | 19003 | – | It indicates that restoring channel data from NVM to RAM is successful. |
+| MSG_CHANNEL_NVM_TO_RAM_FAILED | 19004 | – | It indicates that restoring channel data from NVM to RAM failed. |
+| Reserved | 19005~19500 | | |
+
+NOTE – The value of event.modifiers is automatically given by the system, and its data type:
+
+- "Number", indicating that the value is the ID of the message description character string, which can be obtained through the Utility.getEventInfo() method. If the "message description" defines the message character string JSON format, the message content will be retrieved according to the format.
+- "–", indicating event.modifiers is undefined.
+
+##### U.2.2 ChannelManager object
+
+This object is a built-in object that describes how users manage channels.
+
+###### U.2.2.1 Method
+
+###### U.2.2.1.1 getChannelByChannelID
+
+Prototype: Channel getChannelByChannelID(channelId)
+
+Description: Getting the channel object based on the channel ID.
+
+Parameter: channelId – number type, indicating the channel ID, it must be a decimal integer greater than 0.
+
+Return: Channel object.
+
+#### **U.2.2.1.2 getChannelByLogicalID**
+
+Prototype: Channel getChannelByLogicalID(logicalId)
+
+Description: Getting the channel object according to the logical channel number.
+
+Parameter: logicalId – number type, indicating the logical channel number, it must be a decimal integer greater than 0.
+
+Return: Channel object.
+
+#### **U.2.2.1.3 getChannelByServiceID**
+
+Prototype: Channel getChannelByServiceID(serviceId)
+
+Description: Getting the channel object based on the service ID.
+
+Parameter: serviceId – number type, indicating the service ID corresponding to the channel, and the value range being 0-65535.
+
+Return: Channel object.
+
+#### **U.2.2.1.4 getLastChannel**
+
+Prototype: Channel getLastChannel()
+
+Description: Getting the previously opened channel.
+
+Parameter: None.
+
+Return: Channel object.
+
+#### **U.2.2.1.5 getLastChannel**
+
+Prototype: Channel getLastChannel(serviceType)
+
+Description: Getting the previously opened channel of the specified type.
+
+Parameter: serviceType – number type, indicating the type of the service.
+
+Return: Channel object.
+
+#### **U.2.2.1.6 getShutDownChannel**
+
+Prototype: Channel getShutDownChannel()
+
+Description: Getting shutdown channel.
+
+Parameter: None.
+
+Return: Channel object.
+
+NOTE – After the user turns on a certain channel, or switches channels, the system will immediately set the just now opened channel as the shutdown channel. In any case, the shutdown channel can be obtained. If the system has set the shutdown channel, it will get the set value; otherwise, the system decides the shutdown channel by itself.
+
+#### **U.2.2.1.7 getShutDownChannel**
+
+Prototype: Channel getShutDownChannel(serviceType)
+
+Description: Getting the shutdown channel of the specified type.
+
+Parameter: serviceType – number type, indicating the service type.
+
+Return: Channel object.
+
+NOTE – After the user turns on a certain channel, or switches channels, the system will immediately set the just now opened channel as the shutdown channel. In any case, the shutdown channel can be obtained. If the system has set the shutdown channel, the value obtained is the set value; otherwise, in the service type specified by serviceType, the system determines the shutdown channel by itself.
+
+#### **U.2.2.1.8 delChannel**
+
+Prototype: number delChannel(obj)
+
+Description: Delete the specified channel from the channel list.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: obj – Channel object.
+
+Return: number type, 1 indicating the deletion is successful, 0 indicating the deletion failed.
+
+#### **U.2.2.1.9 deleteAll**
+
+Prototype: number deleteAll()
+
+Description: Delete all channels in the channel list.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: None.
+
+Return: number type, 1 indicating success, 0 indicating failure.
+
+#### **U.2.2.1.10 deleteAllDelMarked**
+
+Prototype: number deleteAllDelMarked()
+
+Description: Delete all channel objects marked for deletion in the channel list.
+
+NOTE – Operate on the channel list in RAM.
+
+Return: number type, 1 indicating success, 0 indicating failure.
+
+#### **U.2.2.1.11 deleteAllFavorites**
+
+Prototype: number deleteAllFavorites()
+
+Description: Delete all favorite channels.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: None.
+
+Return: number type, 1 indicating success, 0 indicating failure.
+
+#### **U.2.2.1.12 resetProperties**
+
+Prototype: resetProperties()
+
+Description: Reset all the channels that the user has set as favorite, locked, hidden, etc., and all channels are changed to non-favorite, non-locked, and non-hidden.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: None.
+
+Return: number type, 1 indicating success, 0 indicating failure.
+
+#### **U.2.2.1.13 swap**
+
+Prototype: swap(obj1,obj2)
+
+Description: Exchange the positions of the channel object obj1 and the channel object obj2 in the channel list.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: obj1 – indicating the Channel object;
+
+obj2 – indicating the Channel object.
+
+Return: None.
+
+#### U.2.2.1.14 sort
+
+Prototype: sort(sortTypeArray[], sortOrderArray[])
+
+Description: Sort the channels according to the specified method.
+
+NOTE – Operate on the channel list in RAM.
+
+Parameter: sortTypeArray – number type array, indicating the sorting basis. There can be one or more sorting basis, but they cannot be repeated. The priority of the sorting basis is related to the order of the array members. The smaller the subscript of the array member, the higher the priority.
+
+sortOrderArray – number type array, indicating the sorting mode.
+
+Return: None.
+
+NOTE – The hidden and locked channels must also be sorted. If two or more channels are sorted on the same basis, the previous sorting order between these channels will be maintained.
+
+Example:
+
+```
+//Sort the channels in ascending order by service_id, and the channels with the same
+//service_id are sorted in the order before this time,
+sort([DVB_SORT_TYPE_SERVICE_ID], [DVB_SORT_ORDER_ASC]);
+//Sort the channels according to whether they are encrypted first, non-encrypted channels
+//are first, and encrypted channels are second; channels that are both non-encrypted or
+//encrypted are then sorted in ascending order by service_name, and channels with the
+//same service_name are sorted in the order before this sorting
+sort([DVB_SORT_TYPE_FTA_SCR, DVB_SORT_TYPE_SERVICE_NAME],
+[DVB_SORT_ORDER_ASC,DVB_SORT_ORDER_DESC]);
+```
+
+#### U.2.2.1.15 filter
+
+Prototype: Channel[] filter(filterTypeArray[], valueArray[])
+
+Description: Filter out the new channel list with specified conditions in the current channel list.
+
+Parameter: filterTypeArray – number type array, indicating the filtering basis. The value of each member of the array is shown in Table U.2. There can be one or more sorting basis, the members cannot be repeated, and the filtering basis has no priority.
+
+**Table U.2 – Filter filtering-conditions**
+
+| filterTypeArray value | Description | Value corresponding to valueArray |
+|---------------------------------------|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
+| const FILTER_TYPE_SERVICETYPE = 1000; | Filter out the channels of the specified service type. | See the definition of "Service Type Constant" for the value. |
+| const FILTER_TYPE_FAV = 1001; | Filter out the channels with the specified favorite level. | Value:
– 0-indicating filtering non-favorite channels;
– 1-indicating filtering favorite channels. |
+
+**Table U.2 – Filter filtering-conditions**
+
+| filterTypeArray value | Description | Value corresponding to valueArray |
+|--------------------------------|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
+| const FILTER_TYPE_BAT = 1002; | Filter out the channels under the specified service group. | It indicates bouquet_id. |
+| const FILTER_TYPE_FTA = 1003; | Filter out encrypted or non-encrypted channels. | Value:
– 0-indicating filtering out non-encrypted channels;
– 1-indicating filtering out encrypted channels. |
+| const FILTER_TYPE_HIDE = 1004; | Filter out hidden or non-hidden channels. | Value:
– 0-indicating only filtering out non-hidden channels;
– 1-indicating only filtering out hidden channels. |
+
+valueArray – number type array, which has the same length as filterTypeArray. The members of the array should correspond to the members of the filterTypeArray one-to-one, respectively indicating the value of each filterTypeArray member.
+
+Return: Channel object array.
+
+Example:
+
+```
+//It indicates filtering out the favorite channels among all TV broadcast channels
+filter([FILTER_TYPE_SERVICETYPE, FILTER_TYPE_FAV],
+ [DVB_SERVICE_TYPE_DTV, 1]);
+
+//It indicates filtering out all encrypted channels in the service group with bouquet_id=10
+filter([FILTER_TYPE_BAT, FILTER_TYPE_FTA],[10,1]);
+```
+
+**U.2.2.1.16 save**
+
+Prototype: save()
+
+Description: An Asynchronous method, saving the channel list data in RAM to NVM.
+
+- If the save is successful, send the message MSG\_CHANNEL\_RAM\_TO\_NVM\_SUCCESS;
+- If the save fails, send the message MSG\_CHANNEL\_RAM\_TO\_NVM\_FAILED.
+
+Parameter: None.
+
+Return: None.
+
+**U.2.2.1.17 restore**
+
+Prototype: restore()
+
+Description: An Asynchronous method, restoring the channel list data in NVM to RAM.
+
+- If the restoration is successful, send the message MSG\_CHANNEL\_NVM\_TO\_RAM\_SUCCESS;
+- If the restoration fails, send the message MSG\_CHANNEL\_NVM\_TO\_RAM\_FAILED.
+
+Parameter: None.
+
+Return: None.
+
+### U.2.3 Channel object
+
+The Channel object is a local object, used to describe the properties and methods related to the behavior of users and operators.
+
+#### U.2.3.1 Property
+
+The properties of the Channel object are defined in Table U.3.
+
+**Table U.3 – Table of Channel object properties**
+
+| Property name | Type | Property | Description |
+|---------------|--------|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| channelId | number | Read/write | It indicates the channel number assigned by the receiving terminal.
NOTE – The channel number assigned by the receiving terminal refers to the number assigned to the channel by the terminal system software, and the assignment strategy is determined by the terminal software. After the channelId is generated, it remains unchanged during the life cycle of the Channel object, and channel ordering and switching operations may modify the value of channelId. |
+| logicalId | number | Read only | It indicates the logical channel number of the channel.
If the channel does not have a logical channel number, this property returns the value -1. The acquisition of the logical channel number is related to the operator and is implemented by the receiving terminal itself. |
+| isDeleted | number | Read/write | It indicates the delete flag of the channel. The value is:
– 0-indicating no delete flag is set;
– 1-indicating that the delete flag is set. |
+| isFavorite | number | Read/write | It indicates the favorite level of the channel in the favorite class, value:
– 0-indicating dislike;
– 1-indicating like. |
+| isLocked | number | Read/write | It indicates the locked state of the channel, value:
– 0-indicating the channel is not locked;
– 1-indicating the channel is locked.
When a channel is locked, the user needs to enter the password before watching the program of the channel. |
+
+**Table U.3 – Table of Channel object properties**
+
+| Property name | Type | Property | Description |
+|-----------------|---------|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| isHided | number | Read/write | It indicates the hidden state of the channel, value:
– 0 indicating not hidden;
– 1 indicating hidden.
Once a channel is "hidden", it will not appear in the channel list, nor can it be watched by the up/down button on the remote control. It can only be watched after entering the "System Settings" to cancel its hidden state. |
+| deltVolume | number | Read/write | It indicates the value-added ( $\pm$ ) relative to the global volume, namely:
Channel actual audio = global volume + deltVolume
NOTE – The modification takes effect immediately. |
+| supportPlayback | boolean | Read only | It indicates whether the channel supports time-shifted lookback service, value:
– true-indicating support;
– false-indicating not supported. |
+
+### U.2.3.2 Method
+
+#### U.2.3.2.1 getService
+
+Prototype: DvbService getService()
+
+Description: Getting DvbService object corresponding to the current channel object.
+
+Parameter: None.
+
+Return: DvbService object.
+
+## U.3 Electronic Program Guide Module
+
+This module defines JS objects related to the electronic program guide: EPGManager, ProgramEvent, ReferenceEvent and TimeShiftEvent.
+
+### U.3.1 Message
+
+The message definition that the electronic program guide module may send to the application layer is shown in Table U.4.
+
+**Table U.4 – Electronic Program Guide module message**
+
+| Message name | event.which | event.modifiers | Message description |
+|---------------------------------|-------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| MSG_EPG_SEARCH_SUCCESS | 18001 | number | EPG search is completed successfully. |
+| MSG_EPG_SEARCH_EXCEED_MAX_COUNT | 18002 | number | When the search result reaches the maximum value, the search automatically stops.
The maximum number of ProgramEvent is specified by EPGSetting.program_event_max |
+
+**Table U.4 – Electronic Program Guide module message**
+
+| Message name | event.which | event.modifiers | Message description |
+|-------------------------------------------|-------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------|
+| | | | count in the data management module. |
+| MSG_EPG_SEARCH_REFRESH | 18003 | number | EPG data update.
When EPG has searched part of the data, the message is sent. |
+| MSG_EPG_SEARCH_TIMEOUT | 18004 | number | Search EPG timed out. When no program information is searched within the time period specified by the interface, the message is sent. |
+| MSG_EPG_RECEIVE_NVODREFERENCE_SUCCESS | 18005 | number | Successfully received NVOD reference event. |
+| MSG_EPG_RECEIVE_ALL_NVODREFERENCE_SUCCESS | 18006 | number | The data of all NVOD frequency points has been received. |
+| MSG_EPG_RECEIVE_NVODREFERENCE_TIMEOUT | 18007 | number | NVOD reference event search timed out. |
+| MSG_EPG_RECEIVE_NVODTIMESHIFT_SUCCESS | 18008 | number | Successfully received a time-shift event under a reference event. |
+| MSG_EPG_RECEIVE_NVODTIMESHIFT_TIMEOUT | 18009 | number | NVOD time-shift event receiving timed out. |
+| Reserved | 18010~18500 | | |
+
+NOTE – The value of event.modifiers is automatically given by the system, and its data type:
+
+- "Number", indicating the maskId of the search session.
+- "-", indicating event.modifiers is undefined.
+
+### U.3.2 EPGManager object
+
+The EPGManager object is a built-in object. This object provides a method to obtain an array of events under a specified class.
+
+#### U.3.2.1 Constant
+
+The definition of program type constants is shown in Table U.5.
+
+**Table U.5 – Program type constants**
+
+| Constants | Description |
+|------------------------------------------|---------------------------|
+| Movie/drama | |
+| const CONTENT_TYPE_MOVIE=0x10; | Movie/Drama (general) |
+| const CONTENT_TYPE_MOVIE_DETECTIVE=0x11; | Detective/Thrill |
+| const CONTENT_TYPE_MOVIE_ADVENTURE=0x12; | Expedition/Western/War |
+| const CONTENT_TYPE_MOVIE_FANTASY=0x13; | Sci-Fi/Magic/Horror |
+| const CONTENT_TYPE_MOVIE_COMEDY=0x14; | Comedy |
+| const CONTENT_TYPE_MOVIE_SOAP=0x15; | Series/Situation/Folklore |
+| const CONTENT_TYPE_MOVIE_ROMANCE=0x16; | Romantic |
+
+**Table U.5 – Program type constants**
+
+| Constants | Description |
+|---------------------------------------------|--------------------------------------------------------|
+| const CONTENT_TYPE_MOVIE_CLASSIC=0x17; | Serious/Classic/Religious/Historic Film/Drama |
+| const CONTENT_TYPE_MOVIE_ADULT=0x18; | Adult film/drama |
+| News/Real Time | |
+| const CONTENT_TYPE_NEWS=0x20; | News/Current Affairs (general) |
+| const CONTENT_TYPE_NEWS_WEATHER=0x21; | News/Weather |
+| const CONTENT_TYPE_NEWS_MAGAZINE=0x22; | News Magazine |
+| const CONTENT_TYPE_NEWS_DOCUMENTARY=0x23; | Documentary TV |
+| const CONTENT_TYPE_NEWS_DISCUSSION=0x24; | Discussion/Interview/Debate |
+| Performance/Entertainment | |
+| const CONTENT_TYPE_SHOW=0x30; | Performance/Entertainment (general) |
+| const CONTENT_TYPE_SHOW_GAME=0x31; | Recreation/Guess/Athletics |
+| const CONTENT_TYPE_SHOW_VARIETY=0x32; | Various performances |
+| const CONTENT_TYPE_SHOW_TALK=0x33; | Talk show |
+| Sports | |
+| const CONTENT_TYPE_SPORTS=0x40; | Sports (general) |
+| const CONTENT_TYPE_SPORTS_SPECIAL=0x41; | Specific events (Olympics, World Cup, etc.) |
+| const CONTENT_TYPE_SPORTS_MAGAZINE=0x42; | Sports magazine |
+| const CONTENT_TYPE_SPORTS_SOCCER=0x43; | Football/rugby |
+| const CONTENT_TYPE_SPORTS_TENNIS=0x44; | Tennis/Squash |
+| const CONTENT_TYPE_SPORTS_TEAM=0x45; | Team events (including football) |
+| const CONTENT_TYPE_SPORTS_ATHLETIC=0x46; | Track and field |
+| const CONTENT_TYPE_SPORTS_MOTOR=0x47; | Racing car |
+| const CONTENT_TYPE_SPORTS_WATER=0x48; | Water sports |
+| const CONTENT_TYPE_SPORTS_WINTER=0x49; | Winter sports |
+| const CONTENT_TYPE_SPORTS_EQUESTRAIN=0x4A; | Horse racing |
+| const CONTENT_TYPE_SPORTS_MARTIAL=0x4B; | Martial arts |
+| Children's/Youth Program | |
+| const CONTENT_TYPE_CHILDREN=0x50; | Children/youth program (general) |
+| const CONTENT_TYPE_CHILDREN_PRESCHOOL=0x51; | Programs for preschoolers |
+| const CONTENT_TYPE_CHILDREN_6TO14=0x52; | Entertainment programs suitable for 6 to 14 years old |
+| const CONTENT_TYPE_CHILDREN_10TO16=0x53; | Entertainment programs suitable for 10 to 16 years old |
+| const CONTENT_TYPE_CHILDREN_SCHOOL=0x54; | Information/education/teaching program |
+| const CONTENT_TYPE_CHILDREN_CARTOON=0x55; | Cartoon/Puppet |
+| Music/ballet/dance | |
+
+**Table U.5 – Program type constants**
+
+| Constants | Description |
+|----------------------------------------------|--------------------------------------------|
+| const CONTENT_TYPE_MUSIC=0x60; | Music/ballet/dance (general) |
+| const CONTENT_TYPE_MUSIC_POP=0x61; | Rock/pop |
+| const CONTENT_TYPE_MUSIC_CLASSICAL=0x62; | Serious music/classical music |
+| const CONTENT_TYPE_MUSIC_FOLK=0x63; | Folk/Traditional Music |
+| const CONTENT_TYPE_MUSIC_JAZZ=0x64; | Jazz |
+| const CONTENT_TYPE_MUSIC_OPERA=0x65; | Musical/opera |
+| const CONTENT_TYPE_MUSIC_BALLET=0x66; | Ballet |
+| Art/Culture (excluding music) | |
+| const CONTENT_TYPE_ARTS=0x70; | Art/Culture (excluding music, general) |
+| const CONTENT_TYPE_ARTS_PERFORMANCE=0x71; | Performance art |
+| const CONTENT_TYPE_ARTS_ARTS=0x72; | Fine arts |
+| const CONTENT_TYPE_ARTS_RELIGION=0x73; | Religion |
+| const CONTENT_TYPE_ARTS_CULTURE=0x74; | Pop culture/traditional art |
+| const CONTENT_TYPE_ARTS_LITERATURE=0x75; | Literature |
+| const CONTENT_TYPE_ARTS_FILM=0x76; | Film/movie |
+| const CONTENT_TYPE_ARTS_VIDEO=0x77; | Experimental movie/video |
+| const CONTENT_TYPE_ARTS_PRESS=0x78; | Broadcast/News |
+| const CONTENT_TYPE_ARTS_NEW=0x79; | New media |
+| const CONTENT_TYPE_ARTS_MAGAZINE=0x7A; | Art/Cultural Magazine |
+| const CONTENT_TYPE_ARTS_FASHION=0x7B; | Fashion |
+| Social/Political Hotspot/Economy | |
+| const CONTENT_TYPE_SOCIAL=0x80; | Social/Political Hotspot/Economy (General) |
+| const CONTENT_TYPE_SOCIAL_MAGAZINE=0x81; | Magazine/Report/Documentary |
+| const CONTENT_TYPE_SOCIAL_ECONOMICS=0x82; | Economic/Social Consulting |
+| const CONTENT_TYPE_SOCIAL_PEOPLE=0x83; | Special character |
+| Science/Education/Fact Topics | |
+| const CONTENT_TYPE_EDUCATION=0x90; | Science/education/fact topics (general) |
+| const CONTENT_TYPE_EDUCATION_NATUAL=0x91; | Nature/animal/environment |
+| const CONTENT_TYPE_EDUCATION_TECNOLOGY=0x92; | Technology/Natural Science |
+| const CONTENT_TYPE_EDUCATION_MEDICAL=0x93; | Medicine/Physiology/Psychology |
+| const CONTENT_TYPE_EDUCATION_FOREIGN=0x94; | Abroad/expedition |
+| const CONTENT_TYPE_EDUCATION_SOCIAL=0x95; | Social/Spiritual Science |
+| const CONTENT_TYPE_EDUCATION_EDUCATION=0x96; | Re-education |
+| const CONTENT_TYPE_EDUCATION_LANGUAGE=0x97; | Language |
+| Leisure and entertainment | |
+| const CONTENT_TYPE_LEISURE=0xA0; | Leisure and entertainment (general) |
+
+**Table U.5 – Program type constants**
+
+| Constants | Description |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|
+| const CONTENT_TYPE_LEISURE_TRAVLE=0xA1; | Sightseeing/travel |
+| const CONTENT_TYPE_LEISURE_HANDICRAFT=0xA2; | Handicraft |
+| const CONTENT_TYPE_LEISURE_MOTOR=0xA3; | Self-driving |
+| const CONTENT_TYPE_LEISURE_HEALTH=0xA4; | Fitness/health |
+| const CONTENT_TYPE_LEISURE_COOKING=0xA5; | Cooking |
+| const CONTENT_TYPE_LEISURE_SHOPPING=0xA6; | Advertising/shopping |
+| const CONTENT_TYPE_LEISURE_GARDENING=0xA7; | Gardening |
+| Describe special characteristics | |
+| const CONTENT_TYPE_DESCRIPTION_LANGUAGE=0xB0; | Original language |
+| const CONTENT_TYPE_DESCRIPTION_COLOR=0xB1; | Black/white |
+| const CONTENT_TYPE_DESCRIPTION_UNPUBLISHED=0xB2; | Unreleased |
+| const CONTENT_TYPE_DESCRIPTION_LIVE=0xB3; | Live |
+| NOTE – The upper 4 bits of the constant value are the first-level program content classification, and the lower 4 bits are the second-level program content classification, such as 0xB1, where 0xB indicates the first-level program content classification, and 0x1 indicates the second-level program content classification. | |
+
+**U.3.2.2 Method**
+
+**U.3.2.2.1 searchProgramEvent**
+
+Prototype: number searchProgramEvent(tsList, mask, endureTime)
+
+Description: An Asynchronous method, within the date range defined by the global parameters EPGSetting.search\_start\_date and EPGSetting.search\_days, searching for the program event message specified by the parameter mask according to the frequency list specified by the parameter tsList.
+
+- Send the message MSG\_EPG\_SEARCH\_SUCCESS after the search is completed;
+- If some data is received during the search, the message MSG\_EPG\_SEARCH\_REFRESH can be sent to notify the page that some data has been searched, and the corresponding data can be obtained through the EPGManager.getProgramsByService() method;
+- When the search time reaches the timeout value specified by the parameter endureTime, the system automatically stops the search and sends the message MSG\_EPG\_SEARCH\_TIMEOUT.
+
+The event.modifiers property of the message object should carry the search process identifier (maskId).
+
+Parameter: tsList – DvbTS object array, specify the list of frequency points for searching program information.
+
+mask – number type, indicating the search mask. The basic masks are:
+
+- 0x01 – indicating searching for actual PF;
+- 0x02 – indicating searching for actual schedule;
+- 0x04 – indicating searching for other PF;
+- 0x08 – indicating searching for other schedule.
+
+The mask value can be composed of one or more basic masks, such as 0x03=(0x01|0x02), which indicates searching for the data of actual PF and actual schedule.
+
+endureTime – number type, indicating the timeout period for searching for EPG message, in seconds.
+
+Return: number type, indicating the unique identifier (maskId) assigned by the system for this asynchronous process.
+
+#### **U.3.2.2.2 searchProgramEventByService**
+
+Prototype: number searchProgramEventByService(serviceLocator, mask, endureTime)
+
+Description: An Asynchronous method, within the date range defined by the global parameters EPGSetting.search\_start\_date and EPGSetting.search\_days, searching for the program event message specified by the parameter mask according to the service specified by the parameter serviceLocator.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+mask – number type, indicating the search mask. The basic masks are:
+
+- 0x01 – indicating searching for actual PF;
+- 0x02 – indicating searching for actual schedule;
+- 0x04 – indicating searching for other PF;
+- 0x08 – indicating searching for other schedule.
+
+The mask value can be composed of one or more basic masks, such as 0x03=(0x01|0x02), which indicates searching for the data of actual PF and actual schedule.
+
+endureTime – number type, indicating the timeout period for searching for EPG message, in seconds.
+
+Return: number type, indicating the unique identifier (maskId) assigned by the system for this asynchronous process.
+
+#### **U.3.2.2.3 searchNVODRefEvents**
+
+Prototype: number searchNVODRefEvents(endureTime)
+
+Description: An Asynchronous method, notifying the system to start receiving NVOD reference event data.
+
+- If the NVOD data on a certain frequency point is successfully found, send the message MSG\_EPG\_RECEIVE\_NVODREFERENCE\_SUCCESS to the page, and all the received data can be obtained through the getReferenceEvents() method;
+- If the data of all NVOD frequency points is received, send the message MSG\_EPG\_RECEIVE\_ALL\_NVODREFERENCE\_SUCCESS to the page, and the search results are saved in the memory, and all the data can be obtained through getReferenceEvents();
+- If the search time reaches endureTime, send the message MSG\_EPG\_RECEIVE\_NVODREFERENCE\_TIMEOUT to the page. At this time, the getReferenceEvents() method can also be called to obtain the information that has been searched.
+
+Use the exitNVODMode() method to exit the receiving of the reference event.
+
+Parameter: endureTime: number type, indicating the timeout period for searching for NVOD message, in seconds.
+
+Return: number type, indicating the unique identifier (maskId) assigned by the system for this asynchronous process.
+
+#### **U.3.2.2.4 searchNVODRefEvents**
+
+Prototype: number searchNVODRefEvents(tsArray, endureTime)
+
+Description: An Asynchronous method, notifying the system to start receiving NVOD reference event data at the specified TS frequency.
+
+- If the NVOD data on a certain frequency point is successfully found, send the message MSG\_EPG\_RECEIVE\_NVODREFERENCE\_SUCCESS to the page, and all the received data can be obtained through the getReferenceEvents() method;
+- If the data of all NVOD frequency points is received, send the message MSG\_EPG\_RECEIVE\_ALL\_NVODREFERENCE\_SUCCESS to the page, and the search results are saved in the memory, and all the data can be obtained through getReferenceEvents();
+- If the search time reaches endureTime, send the message MSG\_EPG\_RECEIVE\_NVODREFERENCE\_TIMEOUT to the page. At this time, the getReferenceEvents() method can also be called to obtain the information that has been searched.
+
+Use the exitNVODMode() method to exit the receiving of the reference event.
+
+Parameter: tsArray – DvbTS object array, search for the NVOD data of the specified TS frequency point.
+
+endureTime – number type, indicating the timeout period for searching for NVOD message, in seconds.
+
+Return: number type, indicating the unique identifier (maskId) assigned by the system for this asynchronous process.
+
+#### **U.3.2.2.5 getPresentProgram**
+
+Prototype: programEvent getPresentProgram(serviceLocator)
+
+Description: Getting the current program of the specified service.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+Return: ProgramEvent object.
+
+#### **U.3.2.2.6 getPresentProgramsByContentType**
+
+Prototype: programEvent[] getPresentProgramsByContentType(contentType)
+
+Description: According to the program content classification value specified in the parameter, search for the current program message that meets the conditions in the current EPG database.
+
+Parameter: contentType – number type, indicating the type of program content classification.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.7 getPresentProgramsByName**
+
+Prototype: programEvent[] getPresentProgramsByName(str)
+
+Description: According to the program name specified in the parameter, search for the current program message that meets the conditions in the current EPG database.
+
+Parameter: str – string type, indicating search keyword.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.8 getFollowingProgram**
+
+Prototype: programEvent getFollowingProgram(serviceLocator)
+
+Description: Getting the following program of the specified service.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+Return: ProgramEvent object.
+
+#### **U.3.2.2.9 getFollowingProgramsByContentType**
+
+Prototype: programEvent[] getFollowingProgramsByContentType(contentType)
+
+Description: A Synchronous method, according to the program content classification value specified in the parameter, searching for the following program information that meets the conditions in the current EPG database.
+
+Parameter: contentType – number type, indicating the type of program content classification.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.10 getFollowingProgramsByName**
+
+Prototype: programEvent[] getFollowingProgramsByName(str)
+
+Description: A Synchronous method, according to the program name specified in the parameter, searching the current program information that meets the conditions in the current EPG database.
+
+Parameter: str – string type, indicating search keyword.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.11 getProgramsByService**
+
+Prototype: programEvent[] getProgramsByService(serviceLocator)
+
+Description: Getting all program information of a specified service.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.12 getProgramsByDate**
+
+Prototype: programEvent[] getProgramsByDate(serviceLocator, beginDate, endDate)
+
+Description: A Synchronous method, according to the start date and end date specified in the parameter, getting the program information that meets the conditions in the specified service.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+beginDate – Date type object, indicating the start date.
+
+endDate – Date type object, indicating the end date.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.13 getProgramsByDirection**
+
+Prototype: programEvent[] getProgramsByDirection(serviceLocator, beginDate, count, isForward)
+
+Description: A Synchronous method, according to the start date and search direction specified in the parameters, getting the specified number of program message in the specified service.
+
+Parameter: serviceLocator – string type, indicating the broadcast service locator.
+
+beginDate – Date type object, start date.
+
+count – number type, indicating the number of program message to be obtained.
+
+isForward – number type, 0 indicating backward search; 1 indicating forward search.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.14 getProgramsByContentType**
+
+Prototype: `programEvent[] getProgramsByContentType(contentType)`
+
+Description: A Synchronous method, according to the program content classification value specified in the parameter, searching for the program information that meets the conditions in the current EPG database.
+
+Parameter: `contentType` – number type, program content classification type.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.15 getProgramsByName**
+
+Prototype: `programEvent[] getProgramsByName(str)`
+
+Description: A Synchronous method, according to the program name specified in the parameter, searching the program information that meets the conditions in the current EPG database.
+
+Parameter: `str` – string type, indicating search keyword.
+
+Return: ProgramEvent object array.
+
+#### **U.3.2.2.16 getReferencePrograms**
+
+Prototype: `ReferenceEvent[] getReferencePrograms(serviceLocator)`
+
+Description: A Synchronous method, getting the reference program on the designated reference service.
+
+Parameter: `serviceLocator` – string type, indicating the reference service locator.
+
+Return: ReferenceEvent object array.
+
+#### **U.3.2.2.17 getReferenceEvents**
+
+Prototype: `ReferenceEvent[] getReferenceEvents(sortType, sortOrder)`
+
+Description: Getting the searched ReferenceEvent object array.
+
+Parameter: `sortType` – number type, indicating sorting basis, value:
+
+- 1-indicating sorting according to the reference event ID;
+- 2-indicating sorting according to the reference event name.
+
+`sortOrder`-number type, indicating the sorting method, value:
+
+- 0-indicating descending sort;
+- 1-indicating ascending sort.
+
+Return: ReferenceEvent object array.
+
+#### **U.3.2.2.18 exitNVODMode**
+
+Prototype: `exitNVODMode()`
+
+Description: Exit the receiving of NVOD data.
+
+Parameter: None.
+
+Return: None.
+
+### **U.3.3 ProgramEvent object**
+
+The ProgramEvent object is a local object, used to store program event information related to user behavior.
+
+### U.3.3.1 Property
+
+The property definition of the ProgramEvent object is shown in Table U.6.
+
+**Table U.6 – Table of ProgramEvent property**
+
+| Property name | Type | Property | Description |
+|---------------|-----------------|------------|------------------------------------------------------------------------------------------------------------------|
+| channelObj | Channel object | Read only | Channel object to which the program event belongs. |
+| eventObj | DvbEvent object | Read only | DvbEvent object corresponding to the program event. |
+| isBooked | number | Read/write | Whether the program is reserved to be marked, value:
– 0-indicating not reserved;
– 1-indicating reserved. |
+
+### U.3.4 ReferenceEvent object
+
+ReferenceEvent is a local object, used to store reference event message related to user behavior.
+
+#### U.3.4.1 Property
+
+The property definitions of the ReferenceEvent object are shown in Table U.7.
+
+**Table U.7 – Table of ReferenceEvent property**
+
+| Property name | Type | Property | Description |
+|---------------|-----------------|-----------|------------------------------------------------------------------------|
+| channelObj | Channel object | Read only | Reference service Channel object to which the reference event belongs. |
+| eventObj | DvbEvent object | Read only | DvbEvent object corresponding to the reference event. |
+
+#### U.3.4.2 Method
+
+##### U.3.4.2.1 searchSchedules
+
+Prototype: number searchSchedules(endureTime)
+
+Description: An Asynchronous method, searching all time-shift event message corresponding to the reference event.
+
+Parameter: endureTime – number type, allowable receiving timeout time, in seconds.
+
+Return: number type,
+
+- 1-indicating that there is no data in the cache, and the bottom layer will automatically lock the frequency point. If the data is received successfully, the message MSG\_EPG\_RECEIVE\_NVODTIMESHIFT\_SUCCESS will be sent; when the search time reaches the endureTime, the system will automatically stop the search and send the message MSG\_EPG\_RECEIVE\_NVODTIMESHIFT\_TIMEOUT, the getSchedules() function can also be called at this time to obtain the information that has been searched.
+- 2-indicating that the NVOD time-shift event message that you want to collect already exists in the cache and is complete and can be obtained directly. At this time, no more messages will be returned to the page, and the time-shifted event message can be directly obtained when the return value is determined to be 2 on the page.
+
+#### U.3.4.2.2 getSchedules
+
+Prototype: TimeShiftEvent[] getSchedules()
+
+Description: Getting a list of all time-shifted events within a few days from this moment on the reference event. Time-shifted events that have been played that day will be discarded, and the time-shifted events will be sorted according to the start time.
+
+Parameter: None.
+
+Return: TimeShiftEvent object array.
+
+#### U.3.4.2.3 getPresentSchedules
+
+Prototype: TimeShiftEvent[] getPresentSchedules()
+
+Description: Getting all the time-shift event objects currently being played carried in the reference event, and the elements in the array are sorted according to the playback start time.
+
+Parameter: None.
+
+Return: TimeShiftEvent object array.
+
+#### U.3.4.2.4 getFollowingSchedules
+
+Prototype: TimeShiftEvent[] getFollowingSchedules()
+
+Description: Getting all the time-shift event objects for the next playback carried in the reference event, and the elements in the array are sorted according to the playback start time.
+
+Parameter: None.
+
+Return: TimeShiftEvent object array.
+
+### U.3.5 TimeShiftEvent object
+
+The TimeShiftEvent object is a local object, used to save time-shift event information.
+
+#### U.3.5.1 Property
+
+The properties of the TimeShiftEvent object are shown in Table U.8.
+
+**Table U.8 – Table of TimeShiftEvent object property**
+
+| Property name | Type | Property | Description |
+|---------------|-----------------|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| channelObj | Channel object | Read only | Channel object to which the time-shift event belongs. |
+| refChannelObj | Channel object | Read only | Reference service Channel object corresponding to the time-shift event. |
+| eventObj | DvbEvent object | Read only | DvbEvent object corresponding to the time-shift event. |
+| refEventObj | DvbEvent object | Read only | Reference DvbEvent object corresponding to the time-shift event. |
+| status | number | Read only | Get the time-shift event status, value:
– -1-indicating that the playback has been completed;
– 0-indicating it is broadcasting;
– 1-indicating it has not been broadcast yet.
This property is a real-time value. |
+
+**Table U.8 – Table of TimeShiftEvent object property**
+
+| Property name | Type | Property | Description |
+|---------------|-----------------------|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| orderIndex | number | Read only | It indicates the position of the time-shifted event in the reservation list, value:
– -1-indicating not reserved;
– $\geq 0$ -indicating the position of the time-shift event in the reservation list. |
+| preEvent | TimeShiftEvent object | Read only | Get the previous time-shift event of the time-shift event. If null is returned, it indicates that the object is the first time-shift event. |
+| nextEvent | TimeShiftEvent object | Read only | Get the next time-shift event of the time-shift event, if it returns null, it indicates that the object is the last time-shift event. |
+
+#### U.4 Reservation reminder module
+
+##### U.4.1 Message
+
+The message definition that the reservation reminder module may send to the application layer is shown in Table U.9.
+
+**Table U.9 – Reservation reminder module messages**
+
+| Message name | event.which | event.modifiers | Message description |
+|-------------------------------|-------------|-----------------|-------------------------------------------------------------------------|
+| MSG_REMIND_RAM_TO_NVM_SUCCESS | 20001 | – | It indicates that writing channel data from RAM to NVM is successful. |
+| MSG_REMIND_RAM_TO_NVM_FAILED | 20002 | – | It indicates that writing channel data from RAM to NVM failed. |
+| MSG_REMIND_NVM_TO_RAM_SUCCESS | 20003 | – | It indicates that restoring channel data from NVM to RAM is successful. |
+| MSG_REMIND_NVM_TO_RAM_FAILED | 20004 | – | It indicates restoring channel data from NVM to RAM failed. |
+| Reserved | 20005~20500 | | |
+
+NOTE – The value of event.modifiers is automatically given by the system, and its data type:
+– "Number", indicating that the value is the ID of the message description character string, which can be obtained through the Utility.getEventInfo() method. If the "message description" defines the message character string JSON format, the message content will be retrieved according to the format.
+– "-", indicating that event.modifiers is undefined.
+
+##### U.4.2 OrderManager object
+
+The OrderManager object is a built-in object, used to describe the management mode of user reservations.
+
+###### U.4.2.1 Property
+
+The property definition of the OrderManager object is shown in Table U.10.
+
+**Table U.10 – OrderManager object properties**
+
+| Property name | Type | Property | Description |
+|------------------|--------|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| advanceRemind | number | Read/write | This interface is used to set the pop-up reminder time of the reserved program, that is, how long the reserved program will be played, and that the page reminds the user how long it will start to play the reserved program. The default value is 60, in seconds. |
+| conflictInterval | number | Read/write | This interface is used to set the conflict threshold of reserved programs. If the user wants to reserve program A, within the range of the set minutes of the start time of program A, no other programs that have been reserved before can start to play, otherwise the system will not add a program reservation, and a reservation conflict program list will be generated in the memory (Which programs that have been reserved have conflict with the programs in this reservation on the start time), the default value for calling getConflictEvents() method is 5, in minute. |
+| remindType | number | Read/write | 0-indicating that the conflict Interval value is set as the conflict determination condition;
1-indicating that the entire duration of the program is used as the conflict determination condition. |
+
+**U.4.2.2 Method**
+
+**U.4.2.2.1 getPlayingList**
+
+Prototype: Order[] getPlayingList()
+
+Description: Getting all the Order objects currently being played in the reservation list.
+
+Parameter: None.
+
+Return: Order object array.
+
+**U.4.2.2.2 getRemindList**
+
+Prototype: Order[] getRemindList()
+
+Description: Getting all Remind objects to be played in the reservation list.
+
+Parameter: None.
+
+Return: Order object array.
+
+**U.4.2.2.3 getOrders**
+
+Prototype: Order[] getOrders(type)
+
+Description: Getting all reserved programs according to the specified type.
+
+Parameter: type – number type, indicating the type of program reservation, value:
+
+- 0 or no parameter indicating obtaining all types of program reservations;
+- 1 indicating obtaining the program reservation of the video type;
+- 2 indicating obtaining the program reservation of the audio type;
+- 3 indicating obtaining the program reservation of the NVOD type.
+
+Return: Order object array.
+
+#### **U.4.2.2.4 getOrderByID**
+
+Prototype: Order getOrderByID(orderID)
+
+Description: Obtain the reservation object according to the reservation identifier.
+
+Parameter: orderID – number type, indicating the identifier of the reservation, and the value range being 0-65535.
+
+Return: Order object.
+
+#### **U.4.2.2.5 getOrderByEvent**
+
+Prototype: getOrderByEvent(type, eventObj)
+
+Description: Obtain the reservation object according to the event object corresponding to the reservation.
+
+Parameter: type – indicating the eventObj parameter object type, value:
+
+- 0-indicating eventObj is ProgramEvent object;
+- 1-indicating that eventObj is TimeShiftEvent object.
+
+eventObj-ProgramEvent object or TimeshiftEvent object, the type of the object is determined by the type parameter.
+
+Return: Order object, if there is no corresponding Order object, null is returned.
+
+#### **U.4.2.2.6 getConflictOrders**
+
+Prototype: Order[] getConflictOrders()
+
+Description: Getting the conflict reservation list, when the user wants to reserve a new program (the application calls the OrderManager.addEvent(obj) method), if the start time of the new program and the start time of the reserved program have conflict according to OrderManager.conflictInterval, the system will not add the program reservation, and a reservation conflict program list will be generated in the memory (which programs that have been reserved have conflict with the programs in this reservation on the start time), the reservation conflict program list can be accessed and retrieved by this method.
+
+Parameter: None.
+
+Return: Order object array.
+
+#### **U.4.2.2.7 getDelMarkedList**
+
+Prototype: Order[] getDelMarkedList()
+
+Description: Getting the reservation program list that are currently marked for deletion.
+
+Parameter: None.
+
+Return: Order object array.
+
+#### **U.4.2.2.8 addEvent**
+
+Prototype: number addEvent(type, eventObj)
+
+Description: Add reservation program information to the user reservation list.
+
+NOTE – Only operate on the reservation list in RAM.
+
+Parameter: type – indicating the type of the obj parameter object, the value is:
+
+- 0-indicating that the eventObj parameter is of ProgramEvent type;
+- 1-indicating that the eventObj parameter is of TimeShiftEvent type.
+
+eventObj – ProgramEvent or TimeShiftEvent object to be reserved, the type is specified by the type parameter.
+
+Return: number type, the value being:
+
+- 1-indicating the addition is successful;
+- 0-indicating the program has been broadcast;
+- -1-indicating adding conflict;
+- -2-indicating there is no corresponding service;
+- -3-indicating that the reserved space is full.
+
+#### **U.4.2.2.9 deleteOrder**
+
+Prototype: deleteOrder(orderObj)
+
+Description: Delete the specified reserved program from the reservation program list.
+
+NOTE – Only operate on the reservation list in RAM.
+
+Parameter: orderObj – Order object.
+
+Return: number type, 1 indicating successful deletion of the reserved program, 0 indicating failure to delete the reserved program.
+
+#### **U.4.2.2.10 deleteAll**
+
+Prototype: deleteAll()
+
+Description: Delete all reserved programs in the program reservation list.
+
+NOTE – Only operate on the reservation list in RAM.
+
+Parameter: None.
+
+Return: None.
+
+#### **U.4.2.2.11 deleteAllDelMarked**
+
+Prototype: deleteAllDelMarked()
+
+NOTE – Only operate on the reservation list in RAM.
+
+Description: Delete all reserved programs of the specified type from the user reservation program list, and clear related information from the NVM.
+
+Parameter: None.
+
+Return: None.
+
+#### **U.4.2.2.12 delConflictOrders**
+
+Prototype: number delConflictOrders()
+
+NOTE – Only operate on the reservation list in RAM.
+
+Description: Delete all conflicting reserved programs.
+
+Parameter: None.
+
+Return: number type, value 0 indicating deletion failed, 1 indicating deletion succeeded.
+
+#### **U.4.2.2.13 restore**
+
+Prototype: restore()
+
+Description: Import the program reservation list saved by the current NVM into RAM.
+
+Parameter: None.
+
+Return: number type, value 1 indicating success in restoring the reservation data in the NVM to the memory, and 0 indicating failure.
+
+#### U.4.2.2.14 save
+
+Prototype: save()
+
+Description: Saving the program reservation list in RAM to the NVM of the receiving terminal.
+
+Parameter: None.
+
+Return: None.
+
+### U.4.3 Order object
+
+The Order object is a local object, used to describe the program reservation information.
+
+#### U.4.3.1 Property
+
+The properties of the Order object are shown in Table U.11.
+
+**Table U.11 – Table of Order object property**
+
+| Property name | Type | Property | Description |
+|---------------|---------------------------------|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| orderID | number | Read only | Get the identifier of the current reservation. When a user reserves a program on the terminal interface, the system generates an Order object and assigns an orderID. It must be ensured that the orderID is unique among the Order objects of all users that currently exist. |
+| channelObj | Channel | Read only | Get the channel object to which the current reservation belongs. |
+| deleteFlag | number | Read/write | Mark the reserved program with the deletion mark, the value is:
– 0-indicating there is no deletion mark;
– 1-indicating that there is a deletion mark. |
+| Type | number | Read only | It indicates the eventObj object type, the value being:
– 0-indicating that the eventObj property is ProgramEvent object;
– 1-indicating that the eventObj property is TimeShiftEvent object. |
+| eventObj | ProgramEvent/
TimeShiftEvent | Read only | Get the event object corresponding to the current reservation, the type is specified by the type property. |
+
+### U.5 Message search module
+
+The message search module defines JS objects related to global search and matching search: SearchManager, GlobalSearchSession, AutoCompleteSearchSession, GloalSearchFilter, AutoCompleteSearchFilter, GlobalSearchResultItem, AutoCompleteSearchItem and SearchHistoryItem.
+
+Definition of terms:
+
+- Global Search – Find SI, PVR and other content according to the search conditions set by the user, and return meaningful search results to improve the user experience;
+- Matching search – According to the user's input, the character string that can be matched in the current data source is given to shorten the time for the user to enter the querying keyword and reduce the difficulty for the user to enter the querying keyword.
+
+The message search module is divided into the following components:
+
+- Search Manager (SearchManager) – the entry class of the message search module.
+- Global Search Session (GlobalSearchSession)-session associated with the global search process.
+- Matching search session (AutoCompleteSearchSession) – the session associated with the ongoing matching search process.
+
+### U.5.1 Constants
+
+The constant definitions of this module are shown in Table U.12.
+
+**Table U.12 – Constant definitions of message search module**
+
+| Constants | Value | Description |
+|------------------------------------|-------|--------------------------------------------------------------------------------------------------------|
+| Data source type | | |
+| SourceType.ALL | 0 | It indicates that the data source of the search is two parts: broadcast data and local recording data. |
+| SourceType.BROADCAST | 1 | It indicates that the data source of the search is broadcast data. |
+| SourceType.RECORDED | 2 | It indicates that the searched data source is local recording data. |
+| Search field | | |
+| SearchFields.ALL_STRING_FIELDS | 0 | It indicates searching all character string fields. |
+| SearchFields.SYNOPSIS | 4 | It indicates searching profile field. |
+| SearchFields.TITLE | 5 | It indicates searching title field. |
+| Data content type | | |
+| SearchContentType.ALL | 0 | It indicates searching for data in both audio and video formats. |
+| SearchContentType.AUDIO_ONLY | 1 | It indicates searching for data only in the audio format. |
+| SearchContentType.VIDEO_ONLY | 2 | It indicates searching for data only in the video format. |
+| Get paging direction | | |
+| RetrieveDirection.FIRST_PAGE | 0 | It indicates that the data on the first page is got according to the getting results by paging. |
+| RetrieveDirection.NEXT_PAGE | 1 | It indicates that the data on the next page is got according to the getting results by paging. |
+| RetrieveDirection.PREVIOUS_PAGE | 2 | It indicates that the data on the previous page is got according to the getting results by paging. |
+| Filter condition | | |
+| SearchCriteriaFlags.FLAG_NONE | 0 | Filter condition flag-empty. |
+| SearchCriteriaFlags.FLAG_SD_EVENT | 1 | Filter condition tag-filter standard definition content. |
+| SearchCriteriaFlags.FLAG_HD_EVENT | 2 | Filter condition tag-filter high definition content. |
+| SearchCriteriaFlags.FLAG_3D_EVENT | 4 | Filter condition tag-filter 3D content. |
+| SearchCriteriaFlags.FLAG_CLEAR | 32 | Filter condition tag-filter unscrambled content. |
+| SearchCriteriaFlags.FLAG_SCRAMBLED | 64 | Filter condition tag-filter scrambled content. |
+
+**Table U.12 – Constant definitions of message search module**
+
+| Constants | Value | Description |
+|-------------------------------------|-------|--------------------------------------------------------|
+| Search status | | |
+| SearchStatus.INITIATED | 0 | Search status-initialization is complete. |
+| SearchStatus.IN_PROGRESS | 1 | Search status-in progress. |
+| SearchStatus.COMPLETED | 2 | Search status-end. |
+| SearchStatus.INTERRUPTED | 3 | Search status-interrupted. |
+| SearchStatus.TIMEOUT | 4 | Search status-search stops after timeout. |
+| SearchStatus.TIMEOUT_STOP_FAILED | 5 | Search status-search stop failed after timeout. |
+| SearchStatus.FAILED | 6 | Search status-search failed. |
+| SearchStatus.STOP_SUCCESS | 7 | Search status—successfully stop the search. |
+| SearchStatus.STOP_FAILED | 8 | Search status-failed to stop the search. |
+| SearchStatus.DISPOSE_SUCCESS | 9 | Search status-successfully close the search. |
+| SearchStatus.DISPOSE_FAILED | 10 | Search status-close the search failed. |
+| SearchStatus.RETRIEVAL_SUCCESS | 11 | Search status—successfully get the search results. |
+| SearchStatus.RETRIEVAL_FAILED | 12 | Search status-failed to get the search results. |
+| SearchStatus.RETRIEVAL_INSUFFICIENT | 13 | Search status-not enough search results are available. |
+
+## U.5.2 SearchManager object
+
+SearchManager is a built-in object, the manager of global search and matching search, and the entry class of the information search module. At the same time, the historical search records can be got through it.
+
+### U.5.2.1 Method
+
+#### U.5.2.1.1 getAutoCompleteSearchSession
+
+Prototype: AutoCompleteSearchSession getAutoCompleteSearchSession(autoCompleteFilter)
+
+Description: Getting the matching search session object. Each matching search object is an independent search session. The system can only have one matching search session at a time.
+
+Parameter: autoCompleteFilter – An AutoCompleteSearchFilter object, indicating a matching search filter.
+
+Return: An AutoCompleteSearchSession object, indicating an instance of the matching search session.
+
+#### U.5.2.1.2 getGlobalSearchSession
+
+Prototype: GlobalSearchSession getGlobalSearchSession(globalFilter,sortCriteria)
+
+Description: Getting the global search session object. Each global search session object is an independent search session. In order to have multiple global search sessions at the same time, the application needs not only to obtain different objects, but also to handle the corresponding callback function. According to the terminal capabilities, the system decides itself whether to support multiple global search sessions at the same time.
+
+Parameter: globalFilter – A GlobalSearchFilter object, indicating the global search filter.
+
+sortCriteria – A SortCriteria object, indicating the criteria for sorting search results.
+
+Return: A GlobalSearchSession object, indicating an instance of the global search session.
+
+#### U.5.2.1.3 getSearchHistory
+
+Prototype: SearchHistoryItem[] getSearchHistory()
+
+Description: Getting a list of historical search records.
+
+Parameter: None.
+
+Return: SearchHistoryItem array, indicating historical search records. If there is a successful search record before, and the application explicitly calls the method for saving search result, this method returns the history record of the successful search; if the history record is empty, the returned array length is 0.
+
+#### U.5.2.1.4 clearSearchHistory
+
+Prototype: void clearSearchHistory()
+
+Description: Clear historical search records. At any time, the application can call this method to clear historical search records to protect personal privacy.
+
+Parameter: None.
+
+Return: None.
+
+### U.5.3 GlobalSearchSession object
+
+GlobalSearchSession describes a global search session, provides interfaces for the global search session and related control.
+
+#### U.5.3.1 Constants
+
+The constant definitions of the GlobalSearchSession object are shown in Table U.13.
+
+**Table U.13 – Table of GlobalSearchSession object constant definition**
+
+| Constant | Value | Description |
+|-------------------|-------|------------------------------------------------------------------------------------------------------------------------|
+| DEFAULT_PAGE_SIZE | 6 | The default page size of the global search results, that is, the number of search result items contained in each page. |
+
+#### U.5.3.2 Property
+
+The property definition of the GlobalSearchSession object is shown in Table U.14.
+
+**Table U.14 – GlobalSearchSession object properties**
+
+| Property name | Type | Read and write property | Description |
+|---------------------|------------------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| pageSize | number | Read and write | When returning search results by page, specify the number of results contained in each page.
The default value is GlobalSearchSession.DEFAULT_PAGE_SIZE. |
+| onGlobalSearchStart | Function pointer | Read and write | Global search session start event handling method. |
+| onGlobalSearchStop | Function pointer | Read and write | Global search session closing event handling method. |
+
+**Table U.14 – GlobalSearchSession object properties**
+
+| Property name | Type | Read and write property | Description |
+|-------------------------|------------------|-------------------------|------------------------------------------------------------------------|
+| onGlobalSearchDestroy | Function pointer | Read and write | Global search session destruction event handling method. |
+| onGlobalSearchRetrieval | Function pointer | Read and write | Global search session obtains the search result event handling method. |
+| onGlobalSearchError | Function pointer | Read and write | Global search session error event handling method. |
+
+Examples of using the callback method properties of the GlobalSearchSession object are as follows:
+
+```
+
+var globalSearchSession = SearchManager.getGlobalSearchSession(globalFilter, sortCriteria);
+globalSearchSession.onGlobalSearchStart = eventHandle;
+globalSearchSession.onGlobalSearchStop = eventHandle;
+globalSearchSession.onGlobalSearchDestroy = eventHandle;
+globalSearchSession.onGlobalSearchRetrieval = eventHandle;
+globalSearchSession.onGlobalSearchError = eventHandle;
+globalSearchSession.pageSize = 10;
+.....
+globalSearchSession.startSearch("The Founding of A Party");
+.....
+//definition of callback method
+function eventHandle(aEvent) {
+.....
+switch (aEvent){
+ case COMPLETED:
+ break;
+}
+.....
+}
+.....
+
+```
+
+### U.5.3.3 Method
+
+#### U.5.3.3.1 startSearch
+
+Prototype: void startSearch(searchStr)
+
+Description: Start a new global search request. Once the search is completed, the system will notify the application through an event to get the search results.
+
+Parameter: searchStr – string type, indicating the character string to be searched entered by the user.
+
+Return: None.
+
+#### **U.5.3.3.2 stopSearch**
+
+Prototype: void stopSearch()
+
+Description: Terminate the global search request that has been started before.
+
+Parameter: None.
+
+Return: None.
+
+#### **U.5.3.3.3 getSearchResultList**
+
+Prototype: GlobalSearchResultItem[] getSearchResultList()
+
+Description: To get the global search results, the application needs to wait for the event trigger before calling this method. The results are stored in the same cache. Once a new search is initialized, this interface can no longer be used to obtain the results of the last search.
+
+Parameter: None.
+
+Return: A GlobalSearchResultItem array, indicating global search results. If there is no search result, the length of the returned array is 0.
+
+#### **U.5.3.3.4 getResultCount**
+
+Prototype: number getResultCount()
+
+Description: Getting the number of search result items. If the search has not been completed and is partially updated, the number of results will also be updated according to the change of the search element. For each threshold limit, the application will receive a notification of SearchStatus.IN\_PROGRESS.
+
+Parameter: None.
+
+Return: number type, indicating the number of search result items.
+
+#### **U.5.3.3.5 dispose**
+
+Prototype: void dispose()
+
+Description: Destroy global search session objects that are no longer needed.
+
+NOTE – After the global search is completed, once the session is no longer needed, this method must be called to release the corresponding resources.
+
+Parameter: None.
+
+Return: None.
+
+#### **U.5.3.3.6 retrievePage**
+
+Prototype: void retrievePage(retrieveDirection)
+
+Description: Getting the data on the first page, the next page or the previous page from the search result list, an asynchronous method, waiting for event processing mechanism.
+
+Parameter: retrieveDirection – number type, used to specify the direction of getting the result.
+
+Return: None.
+
+#### **U.5.3.3.7 saveRecentSearchQuery**
+
+Prototype: void saveRecentSearchQuery()
+
+Description: Saving the latest search results to the history records.
+
+Parameter: None.
+
+Return: None.
+
+### U.5.3.4 Callback method
+
+The event description of the GlobalSearchSession object is shown in Table U.15, and the value of the event code is shown in the "Search Status" constant definition in Table U.12.
+
+**Table U.15 – GlobalSearchSession object related events**
+
+| Trigger event | Callback disposal method |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|
+| COMPLETED
IN_PROGRESS
INITIATED | onGlobalSearchStart |
+| STOP_SUCCESS | onGlobalSearchStop |
+| DISPOSE_SUCCESS | onGlobalSearchDestroy |
+| RETRIEVAL_SUCCESS | onGlobalSearchRetrieval |
+| FAILED
INTERRUPTED
TIMEOUT_STOP_FAILED
TIMEOUT
DISPOSE_FAILED
RETRIEVAL_FAILED
RETRIEVAL_INSUFFICIENT
STOP_FAILED
EXPAND_RESULT_FAILED | onGlobalSearchError |
+
+#### U.5.3.4.1 onGlobalSearchStart
+
+Description: The properties of the GlobalSearchSession object, the callback method of the global search session start event. It is used to monitor the global search start event, the application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating the global search event.
+
+Return: None.
+
+#### U.5.3.4.2 onGlobalSearchStop
+
+Description: The properties of the GlobalSearchSession object, the callback method of the global search session stop event. It is used to monitor the global search stop event, the application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating the global search event.
+
+Return: None.
+
+#### U.5.3.4.3 onGlobalSearchDestroy
+
+Description: The properties of the GlobalSearchSession object, the callback method of the global search session destruction event. It is used to monitor the global search destruction event, the application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating the global search event.
+
+Return: None.
+
+#### U.5.3.4.4 onGlobalSearchRetrieval
+
+Description: The properties of the GlobalSearchSession object, the global search session gets the search result event callback method. It is used to monitor the global search to get some search result events, the application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating the global search event.
+
+Return: None.
+
+#### U.5.3.4.5 onGlobalSearchError
+
+Description: The properties of the GlobalSearchSession object, the callback method of the global search session error event. It is used to monitor the global search error event, the application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating the global search event.
+
+Return: None.
+
+### U.5.4 AutoCompleteSearchSession object
+
+The matching search session object provides a matching search session control method.
+
+#### U.5.4.1 Property
+
+The property definition of the AutoCompleteSearchSession object is shown in Table U.16.
+
+**Table U.16 – AutoCompleteSearchSession object properties**
+
+| Property name | Type | Read and write property | Description |
+|-------------------------------|------------------|-------------------------|-----------------------------------------------------------------------|
+| onAutoCompleteSearchStart | Function pointer | Read and write | Matching search session start event handling method. |
+| onAutoCompleteSearchStop | Function pointer | Read and write | Matching search session closing event handling method. |
+| onAutoCompleteSearchDestroy | Function pointer | Read and write | Matching search session destruction event handling method. |
+| onAutoCompleteSearchRetrieval | Function pointer | Read and write | Matching search session gets the search result event handling method. |
+| onAutoCompleteSearchError | Function pointer | Read and write | Matching search session error event handling method. |
+
+Examples of using the callback method properties of the AutoCompleteSearchSession object are as follows:
+
+```
+var autoCompleteSearchSession =
+ SearchManager.getAutoCompleteSearchSession(autoCompleteFilter);
+autoCompleteSearchSession.onAutoCompleteSearchStart = eventHandle;
+autoCompleteSearchSession.onAutoCompleteSearchStop = eventHandle;
+autoCompleteSearchSession.onAutoCompleteSearchDestroy = eventHandle;
+```
+
+```
+
+autoCompleteSearchSession.onAutoCompleteSearchRetrieval = eventHandle;
+autoCompleteSearchSession.onAutoCompleteSearchError = eventHandle;
+.....
+autoCompleteSearchSession.startSearch("The Founding of A Party");
+.....
+//Definition of callback method
+function eventHandle(aEvent) {
+.....
+switch (aEvent){
+ case COMPLETED:
+ break;
+}
+.....
+}
+.....
+
+```
+
+## U.5.4.2 Method
+
+### U.5.4.2.1 startSearch
+
+Prototype: void startSearch(searchStr)
+
+Description: Start a new matching search request. Once the search is completed, the search engine will notify the application to get the search results. After starting the search, the application needs to wait for the notification of onAutoCompleteSearchStart() event and then get the results.
+
+NOTE 1 – If the timeout of AutoCompleteSearchFilter is set to 0, the search will stop only when the stopSearch() method is explicitly called.
+
+NOTE 2:
+
+- 1 Get matching search results by calling the getSearchResultList() method;
+- 2 Terminate the previous search request that is still in progress by calling the stopSearch() method;
+- 3 If the matching search session is no longer used, release it by calling the dispose() method;
+- 4 At the same time, only one matching search session can be active. During this period, the startSearch() and stopSearch() methods can be called repeatedly, but when the matching search session is no longer needed, dispose () method should be called to close the search session and release resources; the search results are stored in the same cache. Once a new search is started, the old search results will no longer be valid.
+
+Parameter: searchStr – string type, indicating the keyword character string entered by the user to be searched.
+
+Return: None.
+
+### U.5.4.2.2 stopSearch
+
+Prototype: void stopSearch()
+
+Description: Terminate previously initiated matching search requests.
+
+NOTE – This operation only terminates the matching search, but the matching search session is still valid, and the corresponding resources are not released. This method should be forced to be called in the following scenarios:
+
+- If the matching search has been started and the results are waiting to be returned, the user must call the `stopSearch()` method to terminate the search when the user enters another character before the search engine returns the results;
+- The timeout limit of the matching search filter is set to 0, so that it will always wait for the search result. If there is no corresponding matching result, the `stopSearch()` method must be called to terminate the search before starting another search.
+
+Tip: If the matching search has been completed, there is no need to call this method.
+
+Parameter: None.
+
+Return: None.
+
+#### U.5.4.2.3 **dispose**
+
+Prototype: `void dispose()`
+
+Description: Destroy matching search session objects that are no longer needed.
+
+NOTE – After the matching search is completed, once the session is no longer needed, this method must be called to release the corresponding resources.
+
+Parameter: None.
+
+Return: None.
+
+#### U.5.4.2.4 **getSearchResultList**
+
+Prototype: `string[] getSearchResultList()`
+
+Description: Getting the results of a matching search.
+
+Parameter: None.
+
+Return: string array, indicating all the searched character string arrays that match the querying keywords entered by the user.
+
+#### U.5.4.3 **Callback method**
+
+The event description of the `AutoCompleteSearchSession` object is shown in Table U.17.
+
+**Table U.17 – AutoCompleteSearchSession object related events**
+
+| Search event | Callback disposal method |
+|----------------------------------------------------|------------------------------------------|
+| COMPLETED | onAutoCompleteSearchStart |
+| STOP_SUCCESS | onAutoCompleteSearchStop |
+| DISPOSE_SUCCESS | onAutoCompleteSearchDestroy |
+| FAILED
TIMEOUT
STOP_FAILED
DISPOSE_FAILED | onAutoCompleteSearchError |
+
+##### U.5.4.3.1 **onAutoCompleteSearchStart**
+
+Description: The properties of the `AutoCompleteSearchSession` object, the matching search session start event callback method. It is used to monitor the matching search start event. The application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: `function eventHandle(aEvent)`
+
+Parameter: `aEvent` – number type, indicating matching search event.
+
+Return: None.
+
+#### **U.5.4.3.2 onAutoCompleteSearchStop**
+
+Description: Properties of the AutoCompleteSearchSession object, the matching search session stop event callback method. It is used to monitor the matching search stop event. The application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating matching search event.
+
+Return: None.
+
+#### **U.5.4.3.3 onAutoCompleteSearchDestroy**
+
+Description: properties of the AutoCompleteSearchSession object, the matching search session destruction event callback method. It is used to monitor the matching search destruction event. The application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating matching search event.
+
+Return: None.
+
+#### **U.5.4.3.4 onAutoCompleteSearchError**
+
+Description: properties of the AutoCompleteSearchSession object, the matching search session error event callback method. It is used to monitor the matching search error event. The application should assign it an event handling function handle to handle the corresponding event.
+
+Prototype: function eventHandle(aEvent)
+
+Parameter: aEvent – number type, indicating matching search event.
+
+Return: None.
+
+### **U.5.5 GlobalSearchFilter object**
+
+The global search filter object provides methods for setting and obtaining global search filter conditions. The global search filter conditions can be:
+
+- Search data source;
+- Search field;
+- The language of the text information;
+- The maximum number of returned results;
+- Search timeout time limit.
+
+NOTE – The application using GlobalSearchFilter can obtain the following effects: According to the specified search data source and search field, the search result list that matches the keyword input by the user is listed within the timeout limit, and the number of search results is less than or equal to the maximum value set by the application.
+
+#### **U.5.5.1 Constants**
+
+The constant definitions of the GlobalSearchFilter object are shown in Table U.18.
+
+**Table U.18 – Table of GlobalSearchFilter object constant definition**
+
+| Constant | Value |
+|-----------------------------------|--------------|
+| DEFAULT_MAX_GLOBAL_SEARCH_RESULTS | 50 |
+
+### U.5.5.2 Property
+
+The properties of the GlobalSearchFilter objects are defined in the following table.
+
+**Table U.19 – Definitions of GlobalSearchFilter object properties**
+
+| Property name | Type | Read and write property | Description |
+|----------------|--------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------|
+| source | number | Read and write | Specify the search source, the default is SourceType.ALL. |
+| contentType | number | Read and write | It indicates the content type, the default is SearchContentType.ALL. |
+| contentNibble | number | Read and write | It indicates the class of the program to be filtered. |
+| searchField | number | Read and write | Search fields, the default is SearchFields.ALL_STRING_FIELDS. |
+| searchLanauage | string | Read and write | Preset system language on the receiving terminal, the default is "zho". |
+| criteriaFlags | number | Read and write | It indicates filter conditions. |
+| maxResults | number | Read and write | It indicates the maximum number of returned results, the default value is GlobalSearchFilter.DEFAULT_MAX_GLOBAL_SEAR CH_RESULTS. |
+| threshold | number | Read and write | Set the threshold of search query results, the default is 0. |
+| timeLimit | number | Read and write | Timeout setting, the default is 0, in milliseconds. |
+
+### U.5.5.3 Method
+
+#### U.5.5.3.1 GlobalSearchFilter
+
+Prototype: GlobalSearchFilter()
+
+Description: Construction method, creates a GlobalSearchFilter object.
+
+Parameter: None.
+
+### U.5.6 AutoCompleteSearchFilter object
+
+Matching search filter object, provides methods for setting and obtaining matching search filter conditions. The matching search filter conditions can be:
+
+- Search data source;
+- Search field;
+- Language of the text information;
+- Maximum number of returned results;
+- Search timeout time limit.
+
+NOTE – The application uses AutoCompleteSearchFilter to obtain the following effects: According to the specified search data source and search field, a list of prompt character strings that match the characters input by the user are listed within the timeout limit, and the number of character strings is less than or equal to the maximum value set by the application.
+
+#### U.5.6.1 Constants
+
+The constant definitions of the AutoCompleteSearchFilter object are shown in the following table.
+
+**Table U.20 – AutoCompleteSearchFilter object constant**
+
+| Constant | Value |
+|------------------------------------------|-------|
+| DEFAULT_MAX_AUTO_COMPLETE_SEARCH_RESULTS | 10 |
+
+**U.5.6.2 Property**
+
+The property definitions of the AutoCompleteSearchFilter object are shown in the following table.
+
+**Table U.21 – AutoCompleteSearchFilter Object Properties**
+
+| Property name | Type | Property | Description |
+|----------------|--------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| source | number | Read and write | Specify the search source, the default is SourceType.ALL. |
+| searchField | number | Read and write | Search fields, the default value is SearchFields.ALL_STRING_FIELDS. |
+| searchLanauage | string | Read and write | It indicates the language of the search text, following the three-letter code agreed by the GB/T 4880.2-2000 standard, and the default value is "zho". |
+| maxResults | number | Read and write | It indicates the maximum number of returned results, the default value is AutoCompleteSearchFilter.DEFAULT_MAX_AUTO_COMPLETE_SEARCH_RESULTS. |
+| timeLimit | number | Read and write | Timeout setting, the default value is 0, in milliseconds. |
+
+**U.5.6.3 Method****U.5.6.3.1 AutoCompleteSearchFilter**
+
+Prototype: AutoCompleteSearchFilter()
+
+Description: Construction method, creates an AutoCompleteSearchFilter object.
+
+Parameter: None.
+
+**U.5.7 SortCriteria object**
+
+The SortCriteria object describes the sorting mechanism of the search results, including two rules, one is to sort according to the specified field, and the other is to use it in ascending or descending order. The two rules need to be used in combination, that is, sort a field in ascending or descending order.
+
+**U.5.7.1 Constants**
+
+The constant definitions of the SortCriteria object are shown in Table U.22.
+
+**Table U.22 – Constants of SortCriteria object**
+
+| Constants | Value |
+|---------------------------------------|-------|
+| Sorting method (ascending/descending) | |
+| SORT_ORDER_NONE | 0 |
+| SORT_ORDER_ASCENDING | 1 |
+| SORT_ORDER_DESCENDING | 2 |
+| Sorting basis | |
+
+**Table U.22 – Constants of SortCriteria object**
+
+| Constants | Value |
+|--------------------------|-------|
+| SORT_TYPE_NONE | 0 |
+| SORT_TYPE_TITLE | 1 |
+| SORT_TYPE_START_TIME | 2 |
+| SORT_TYPE_CONTENT_NIBBLE | 15 |
+
+**U.5.7.2 Property**
+
+The property definitions of the SortCriteria object are shown in Table U.23.
+
+**Table U.23 – Table of SortCriteria object property definitions**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|-------------------------------------------------------------------------------|
+| sortOrder | number | Read and write | The possible values are the "sorting method" constants defined in Table W.22. |
+| sortType | number | Read and write | The possible values are the "sorting basis" constants defined in Table W.22. |
+
+**U.5.7.3 Method**
+
+**U.5.7.3.1 SortCriteria**
+
+Prototype: SortCriteria()
+
+Description: Construction method, creates a default SortCriteria object for sorting search results.
+
+Parameter: None.
+
+**U.5.7.3.2 SortCriteria**
+
+Prototype: SortCriteria(field, order)
+
+Description: A construction method, creating a SortCriteria object according to the specified parameters, which is used to sort the search results.
+
+Parameter: field – number type, which specifies which field to be sorted, which can be the "sorting basis" constants defined in Table W.22 for the value.
+
+order – number type, which specifies the ascending or descending type of sorting, which can be the "sorting method" constant defined in Table W.22 for the value.
+
+**U.5.8 GlobalSearchResultItem object**
+
+**U.5.8.1 Constant**
+
+The constant definitions of the GlobalSearchResultItem object are shown in Table U.24.
+
+**Table U.24 – GlobalSearchResultItem object constants**
+
+| Constants | Value | Description |
+|------------------|-------|------------------------------------------------------|
+| CONTENT_DVBEVENT | 0 | It indicates that the content type is DvbEvent type. |
+| CONTENT_PVREVENT | 1 | It indicates that the content type is PVREvent type. |
+
+### U.5.8.2 Property
+
+The property definition of the GlobalSearchResultItem object is shown in Table U.25.
+
+**Table U.25 – GlobalSearchResultItem object properties**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|--------------------------------------------------------|
+| contentType | number | Read only | The value can be CONTENT_DVBEVENT or CONTENT_PVREVENT. |
+
+### U.5.8.3 Method
+
+#### U.5.8.3.1 getContent
+
+Prototype: object getContent()
+
+Description: Getting the object associated with this search result. The object may be of type DvbEvent or PVREvent, indicated by the contentType property.
+
+Parameter: None.
+
+Return: Object object type, the specific type is determined according to the value of the contentType property:
+
+- If contentType=GlobalSearchResultItem.CONTENT\_DVBEVENT, then return DvbEvent object;
+- If contentType=GlobalSearchResultItem.CONTENT\_PVREVENT, then return the PVREvent object;
+
+### U.5.9 SearchHistoryItem object
+
+The SearchHistoryItem object describes a search history record and provides methods to obtain various information about the search history record.
+
+#### U.5.9.1 Method
+
+##### U.5.9.1.1 getContentType
+
+Prototype: number getContentType()
+
+Description: Getting the content type of this search history record.
+
+Parameter: None.
+
+Return: number type, indicating the content type of the search history record.
+
+##### U.5.9.1.2 getCriteriaFlags
+
+Prototype: number getCriteriaFlags()
+
+Description: Getting the filter character of the search history record.
+
+Parameter: None.
+
+Return: number type, indicating the filter condition of the search history record.
+
+##### U.5.9.1.3 getSearchField
+
+Prototype: number getSearchField()
+
+Description: Getting the search field of this search history record.
+
+Parameter: None.
+
+Return: number type, indicating the search field of the search history record.
+
+#### **U.5.9.1.4 getSearchString**
+
+Prototype: string getSearchString()
+
+Description: Getting the search keyword character string of the search history record.
+
+Parameter: None.
+
+Return: string type, indicating the search keyword character string entered by the user.
+
+#### **U.5.9.1.5 getSortCriteria**
+
+Prototype: SortCriteria getSortCriteria()
+
+Description: Getting the sorting information of the search record.
+
+Parameter: None.
+
+Return: SortCriteria object, indicating the sorting method and sorting basis of the search results.
+
+#### **U.5.9.1.6 getSource**
+
+Prototype: number getSource()
+
+Description: Getting the search source of this search history record.
+
+Parameter: None.
+
+Return: number type, indicating the search source.
+
+## Annex V
+
+### JavaScript-Broadcast Information Service Management Unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### V.1 Overview
+
+This annex defines the relevant JavaScript interface of the broadcast information service management unit.
+
+#### V.2 Broadcast information service management module
+
+This module defines JS objects related to broadcast information service management: DthManager, Ad, AdService.
+
+##### V.2.1 Message
+
+The message definition of the broadcast information service management module is shown in Table V.1.
+
+**Table V.1 – Broadcast Information service management module message definition**
+
+| Message name | event.which | event.modifiers | Message description |
+|--------------------------|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| DTH_EVENT_EMBD_TRIG | 15001 | number | Emergency broadcast event trigger event, the message character string JSON format is:
{ "service_id":param1 Note 1 ,
"ts_id":param2 Note 2 ,
"orig_net_id":param3 Note 3 } |
+| DTH_EVENT_EMBD_CANCEL | 15002 | – | Emergency broadcast event cancel event. |
+| DTH_EVENT_OSD_UPDATE | 15003 | number | Prompt application, there is a new OSD prompt message |
+| DTH_EVENT_SERVICE_UPDATE | 15004 | number, a parameter of 0 indicates that the program does not need to be updated immediately, a parameter of 1 indicates that the program information is forced to be updated | NIT service update |
+| DTH_EVENT_RESET_DATA | 15005 | When the parameter is 01, the set-top box data is required to be erased immediately (dth processing, | Erase messages reported by the data |
+
+**Table V.1 – Broadcast Information service management module message definition**
+
+| Message name | event.which | event.modifiers | Message description |
+|-----------------------------|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------|
+| | | just reporting a message to the application), when the parameter is 0, it indicates that the state of erasing the set-top box is restored to the normal state. | |
+| DTH_EVENT_GPRS_SEND_STATUS | 15006 | A message of 01 indicates a successful sending, and a message of 00 indicates a failed sending | Determining whether the data is sent successfully |
+| DTH_EVENT_BOUQUET_ID_UPDATE | 15007 | number | Bouquet id update message |
+| DTH_EVENT_UPGRADE_TRIG | 15008 | A message of 01 indicates a mandatory upgrade, and a message of 00 indicates a non-mandatory upgrade | Software upgrade message |
+| DTH_EVENT_FINGERPRINT_TRIG | 15009 | number | Fingerprint trigger event. Note 4 |
+| DTH_EVENT_GPRS_STATUS | 15010 | number | Current available status. Note 5 |
+| DTH_EVENT_GPRS_BASE_STATION | 15011 | number | GPRS current base station information. Note 6 |
+| Reserved | 15012–15100 | – | |
+
+The value of event.modifiers is automatically given by the system, and its data type:
+
+- "number", indicating that the value is the ID of the message description character string, which can be obtained through the Utility.getEventInfo() method. If the "message description" defines the message character string JSON format, the message content will be retrieved according to the format.
+- "-", indicating event.modifiers is undefined.
+
+NOTE 1 – param1: number type, program service ID;
+
+NOTE 2 – param2: number type, transport stream ID.
+
+NOTE 3 – param3: number type, network ID.
+
+NOTE 4 – Fingerprint trigger event, the message character string JSON format is: {
+
+char\_color: number //Text color
+
+reg\_highlight: number //Background area height
+
+reg\_width: number //Background area width
+
+reg\_color: number //Background area color
+
+X\_Reg\_Offset: number // Background area x coordinate
+
+**Table V.1 – Broadcast Information service management module message definition**
+
+| Message name | event.which | event.modifiers | Message description |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Y_Reg_Offset: number // Background area y coordinate
X_Text_Offset: number // Text x coordinate
Y_Text_Offset: number // Text y coordinate
Duration: number //duration
fs_text: String //Text content
};
NOTE 5 – Currently available status: {
0, //Module is normal and currently available
-1, //Module is being initialized
-2, //Module SIM is abnormal
-3, //Module network is abnormal
-4, //Module is in a busy status, and need to be obtained later.
-5, //No response from the module
-6, //Other errors
} | | | NOTE 6 – Base station information report event, the JSON format contained in the array is: [{
LAC:number /*location area code location area code*/
Cell_ID:number /* Cell (base station) number*/
Bsic_ID:number /* Base station identification code (C network)*/
ucMNC:number /* Network number*/
strength:number /*Signal strength*/
},
...
] |
+
+## V.2.2 DthManager object
+
+DthManager object is a built-in object that provides management methods for DTH components.
+
+### V.2.2.1 Method
+
+#### V.2.2.1.1 startServer
+
+Prototype: number startServer()
+
+Description: The DTH component is called in the live broadcast star application. The server side of the DTH component is started. You need to wait for the live broadcast star application to start before calling this interface to start each function of the DTH component.
+
+Parameter: None.
+
+Return: number type, value: 0: indicating success. Non-0: indicating failure.
+
+#### V.2.2.1.2 stopServer
+
+Prototype: number stopServer()
+
+Description: After the live broadcast star application exits, call this interface to stop each function of the DTH component.
+
+Parameter: None.
+
+Return: number type, value: 0: indicating success. Non-0: indicating failure.
+
+### **V.2.2.1.3 getADFinishStatus**
+
+Prototype: number getADFinishStatus()
+
+Description: Obtain the processing status of the boot advertisement, that is, obtain whether the advertisement is ready.
+
+Parameter: None.
+
+Return: number type, value: 1 indicating processing is completed and the application can work normally, 0 indicating processing is in progress, and the application needs to continue to wait.
+
+### **V.2.2.1.4 getAllAds**
+
+Prototype: Ad[] getAllAds(epgInfoType,serviceid)
+
+Description: Getting the advertisement image information object.
+
+Parameter: epgInfoType – number type, indicating various types of advertising space, defined as follows:
+
+```
+enum {
+ EPGINFO_TYPE_EPG_CONFIG_DATA = 0xF0F0,
+ EPGINFO_TYPE_BOOTLOGO = 1,
+ EPGINFO_TYPE_MAINMENU,
+ EPGINFO_TYPE_CHANNEL_LIST,
+ EPGINFO_TYPE_FAV_CHANNEL_LIST,
+ EPGINFO_TYPE_EPG_LIST,
+ EPGINFO_TYPE_PFBAR,
+ EPGINFO_TYPE_VOLUMEBAR,
+ EPGINFO_TYPE_AUDIOLOGO,
+ EPGINFO_TYPE_ERROR,
+};
+
+serviceid – number type, when it is EPGINFO_TYPE_PFBAR or
+EPGINFO_TYPE_VOLUMEBAR, serviceid is the serviceid of the channel corresponding
+to the advertisement, otherwise it is 0.
+```
+
+Return: Array of Ad objects.
+
+### **V.2.2.1.5 getOsdXmlFile**
+
+Prototype: String getOsdXmlFile()
+
+Description: Getting the save address of the XML file updated by OSD text.
+
+Parameter: None.
+
+Return: String type, the storage location of the XML file updated by OSD text in the box.
+
+### **V.2.2.1.6 getOsdInfo**
+
+Prototype: String getOsdInfo(tag)
+
+Description: Obtain osd event message that needs to be displayed.
+
+Parameter: tag – String type. It is the prompt message code corresponding to osd.
+
+Return: String type, returning the corresponding osd event message.
+
+#### **V.2.2.1.7 startAdPCT**
+
+Prototype: number startAdPCT(transport\_stream\_id)
+
+Description: Getting the first picture of the boot advertisement. Real-time ad filtering for a certain tp should be turned on instead.
+
+Parameter: transport\_stream\_id – number type, transport stream id.
+
+Return: number type, value: 0 indicating successful acquisition, non-0 indicating failed acquisition, and the application displaying the default picture.
+
+#### **V.2.2.1.8 stopEMBDAction**
+
+Prototype: number stopEMBDAction()
+
+Description: The live broadcast star receives the event information of canceling the emergency broadcast, and calls this interface to make the DTH component stop sending the current emergency broadcast.
+
+Parameter: None.
+
+Return: number type, value: 0: successful operation, non-0: failed operation.
+
+#### **V.2.2.1.9 recordAVBEvent**
+
+Prototype: recordAVBEvent(event\_id, event\_param)
+
+Description: Detect user events and save them.
+
+Parameter: event\_id – number type, event number;
+
+event\_param – number type, setting the event parameters according to the event number.
+
+Return: None.
+
+#### **V.2.2.1.10 dataBDStart**
+
+Prototype: number dataBDStart(file\_path)
+
+Description: Provide the storage path of the information service file, and start the information service receiving.
+
+Parameter: file\_path – String type, the storage path of the message service file. If the parameter is empty, the default path is /data/db/dth/datadb.
+
+Return: number type, value: 0: successful operation, non-0: failed operation.
+
+#### **V.2.2.1.11 dataBDStop**
+
+Prototype: number dataBDStop()
+
+Description: Suspension of message service receiving.
+
+Parameter: None.
+
+Return: number type, value: 0: successful operation, non-0: failed operation.
+
+#### **V.2.2.1.12 getDATABDFinishPercent**
+
+Prototype: number getDATABDFinishPercent()
+
+Description: Getting the percentage of download completion.
+
+Parameter: None.
+
+Return: number type, value: 0-100: percentage of download completion, other values: failed operation.
+
+#### **V.2.2.1.13 getDataBDXmlFileData**
+
+Prototype: String getDataBDXmlFileData(file\_name)
+
+Description: Obtain the corresponding message service data.
+
+Parameter: file\_name – String type, the file name of the message service file. If the parameter is empty, the default path is /data/db/dth/datadb.
+
+Return: String type, returning the corresponding message service data.
+
+#### **V.2.2.1.14 GPRSTransmit**
+
+Prototype: String GPRSTransmit(conn\_type, addr, port, data, timeout, retry\_count)
+
+Description: Sending data through GPRS module and receive returned data. (Asynchronous interface)
+
+Parameter: conn\_type – number type, the type of GPRS connection server is 0 or 1, 0: TCP; 1: UDP; addr – String type, the domain name or IP address of the server;
+
+port – number type, the port number of the server;
+
+data – String type, transmitted data;
+
+timeout – number type, the timeout period for waiting for the return of transmission data;
+
+retry\_count – number type, the number of retries for transmission failure.
+
+Return: String type: If it is empty, it indicates failure, and if it is not empty, it indicates the data returned by the receiving module.
+
+#### **V.2.2.1.15 getGPRSStatus**
+
+Prototype: number getGPRSStatus()
+
+Description: Getting whether GPRS is currently in a normal available state.
+
+Parameter: None.
+
+Return: number type, value: 0: GPRS status is normal, non-0: GPRS status is abnormal.
+
+#### **V.2.2.1.16 getGprsBaseStationInfo**
+
+Prototype: number getGprsBaseStationInfo()
+
+Description: Asynchronous interface, obtains current base station information.
+
+Parameter: None.
+
+Return: 0 indicating success, others indicating failure.
+
+#### **V.2.2.1.17 SaveNITServiceUpdateVersion**
+
+Prototype: number SaveNITServiceUpdateVersion()
+
+Description: After the application updates the program information, notify dth to save the current service update descriptor version.
+
+Parameter: None.
+
+Return: number type, value: 0: successful save, non-0: failed save.
+
+#### **V.2.2.1.18 GetBouquetId**
+
+Prototype: number GetBouquetId()
+
+Description: Getting the current bouquet id.
+
+Parameter: None.
+
+Return: number type, the current bouquetid.
+
+#### **V.2.2.1.19 SaveNITServiceUpdateVersion**
+
+Prototype: number SaveNITServiceUpdateVersion()
+
+Description: After the application updates the program information, notify dth to save the current service update descriptor version.
+
+Parameter: None.
+
+Return: number type, 0 indicating success, others indicating failure.
+
+#### **V.2.2.1.20 dataBDdeleteFiles**
+
+Prototype: number dataBDdeleteFiles()
+
+Description: Delete all downloaded information service files (called when exiting the information service).
+
+Parameter: None.
+
+Return value: number type, 0 indicating success, others indicating failure.
+
+### **V.2.3 Ad object**
+
+#### **V.2.3.1 Property**
+
+The property definition of the Ad object is shown in Table V.2.
+
+**Table V.2 – Ad object properties**
+
+| Property name | Type | Read and write property | Description |
+|----------------------|-------------|--------------------------------|-------------------------------------------------------------------------------------------|
+| adPath | string | Read only | It indicates the storage address of the advertisement. |
+| startDate | string | Read only | It indicates the start date of playing for the advertisement, the format is "YYYY-MM-DD". |
+| startTime | string | Read only | It indicates the start time of playing for the advertisement, the format is "hh:mm:ss". |
+| endDate | string | Read only | It indicates the end date of playing for the advertisement, the format is "YYYY-MM-DD". |
+| endTime | string | Read only | It indicates the ending time of playing for the advertisement, the format is "hh:mm:ss". |
+| Property name | Type | Read and write property | Description |
+| duration | number | Read only | It indicates the playing time of the advertisement, in seconds. |
+| tableExtId | number | Read only | It indicates the type of program-associated advertisement of the advertisement. |
+
+#### **V.2.3.2 Method**
+
+##### **V.2.3.2.1 getAllAdServices**
+
+Prototype: AdService[] getAllAdServices()
+
+Description: Getting all relevant channel parameters and AdService objects of channel-related advertisements.
+
+Parameter: None.
+
+Return value: AdService object array.
+
+## V.2.4 AdService object
+
+### V.2.4.1 Property
+
+The property definition of the AdService object is shown in Table V.3.
+
+**Table V.3 – AdService object properties**
+
+| Property name | Type | Read and write property | Description |
+|---------------|--------|-------------------------|----------------------------------------------------------------------|
+| onId | number | Read only | It indicates the onid of the channel-related advertisement. |
+| tdId | number | Read only | It indicates the tdId of the channel-related advertisement. |
+| serviceId | number | Read only | It indicates the serviceId of the channel-related advertisement. |
+| associateType | number | Read only | It indicates the associateType of the channel-related advertisement. |
+
+## Annex W
+
+### JavaScript-Multi-screen Interactive Unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### W.1 Overview
+
+This annex defines the JavaScript interface related to the multi-screen interactive unit.
+
+##### W.1.1 Scene description
+
+1. There are currently two playback devices of TVOS system, namely A and B, and both A and B systems are connected to the same LAN.
+2. The application program of A system uses the startMultiScreenServer method to start the multi-terminal linkage service through the MultiScreen multi-terminal linkage communication object provided by the A system, and transmits the multi-terminal linkage component message of the B system to the A system.
+3. Then the application uses the findSPs method to search for the B system equipment under the same LAN, and realizes the connection with the B system through the A system through the connect method.
+4. After the connection is successful, the A system program receives the connection status information through the MultiScreenEvent interface provided by the B system, and informs the A system of the connection status by the onConnected method. So far, the A and B systems have realized multi-terminal linkage communication. The application can pass the operation data information of the A system or more video data information to the B system by the inputKeyCode provided by the MultiScreen object, and realize the related operation and playback on the B system.
+
+#### W.2 Multi-screen interactive module
+
+This module supports finding and connection between the client and server in the LAN. The multi-screen interactive component provides a JavaScript interface for the upper application of the Web APP, which can realize the functions of the WEB application in the LAN to find, connect, and control the server equipment.
+
+This module defines the JS object related to multi-screen interaction: MultiScreen.
+
+##### W.2.1 MultiScreen object
+
+###### W.2.1.1 Method
+
+###### W.2.1.1.1 startMultiScreenServer
+
+Prototype: int startMultiScreenServer (String spName, String spDeviceType, String spServiceInfo, String spVersion, String ipaddress, int port, String hostname)
+
+Description: A Remote interface, starting multi-screen interactive component server.
+
+Parameter:
+
+spName – String type, name of multi-screen interactive component server;
+
+spDeviceType – String type, device type of the multi-screen interactive component server;
+
+spServiceInfo – String type, service information of multi-screen interactive component server;
+
+spVersion – String type, version of multi-screen interactive component server;
+
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.2 stopMultiScreenServer**
+
+Prototype: int stopMultiScreenServer()
+
+Description: A Remote interface, stoping multi-screen interactive component server.
+
+Parameter: None.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.3 startMultiScreenClient**
+
+Prototype: int startMultiScreenClient(String clientName)
+
+Description: A Remote interface, starting multi-screen interactive component client.
+
+Parameter: clientName – String type, name of the multi-screen interactive component client.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.4 stopMultiScreenClient**
+
+Prototype: int stopMultiScreenClient()
+
+Description: A Remote interface, closing the multi-screen interactive component client.
+
+Parameter: None.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.5 findSPs**
+
+Prototype: int findSPs()
+
+Description: A Remote interface, searching the multi-screen interactive service component device under the LAN.
+
+Parameter: None.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.6 connect**
+
+Prototype: int connect(String spName, String spDeviceType, String spServiceInfo, String spVersion, String ipaddress, int port, String hostname)
+
+Description: remote interface, which is connected to the server device of the multi-screen interactive service component under the LAN.
+
+Parameter: spName – String type, name of multi-screen interactive component server;
+
+spDeviceType – String type, device type of the multi-screen interactive component server;
+
+spServiceInfo – String type, service information of multi-screen interactive component server;
+
+spVersion – String type, version of multi-screen interactive component server;
+
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.7 queryInfo**
+
+Prototype: int queryInfo(String ipaddress, int port, String hostname, String cmdid, String attribute, String params)
+
+Description: Remote interface, the multi-screen interactive component client requests to obtain it.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+cmdid – String type, instruction id of the request information;
+
+attribute – String type, instruction name of the request information;
+
+params – String type, instruction parameter of the request information.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.8 execCmd**
+
+Prototype: int execCmd(String ipaddress, int port, String hostname, String cmd, String param)
+
+Description: Remote interface, the multi-screen interactive component client requests to execute instructions.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+action – String type, key instruction;
+
+param – String type, parameter attached to the key instruction.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.9 inputKeyCode**
+
+Prototype: int inputKeyCode(String ipaddress, int port, String hostname, String action, String param)
+
+Description: Remote interface, the multi-screen interactive component client sends instructions input by virtual keys.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+action – String type, key instruction;
+
+param – String type, parameters attached to the key instruction.
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+#### **W.2.1.1.10 boardCastAllDevice**
+
+Prototype: int boardCastAllDevice(String cmd,String param)
+
+Description: Remote interface, the multi-screen interactive component server sends broadcast to all connected devices.
+
+Parameter: cmd – String type, broadcast instruction;
+
+param – String type, parameters attached to the broadcast instruction;
+
+Return: int type, returning 0 if the remote interface is called successfully, otherwise returning an error code.
+
+### **W.2.2 Message callback EventHandler**
+
+```
+interface MultiScreenEvent : Event {
+ readonly attribute String spName;
+ readonly attribute String spDeviceType;
+ readonly attribute String spServiceInfo;
+ readonly attribute String spVersion;
+ readonly attribute String ipaddress;
+ readonly attribute int port;
+ readonly attribute String hostname;
+ readonly attribute String id;
+ readonly attribute String attribute;
+ readonly attribute String param;
+ readonly attribute String action;
+ readonly attribute String cmd;
+};
+```
+
+#### **W.2.2.1 Method**
+
+##### **W.2.2.1.1 onSpFounded**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent]EventHandler onSpFounded
+
+Description: Notifying the Web APP multi-screen interactive component that the service search is completed.
+
+Parameter: spName – String type, service name of the searched multi-screen interactive component;
+
+spDeviceType – String type, device type of the searched multi-screen interactive component;
+
+spServiceInfo – String type, server information of the searched multi-screen interactive component;
+
+spVersion – String type, server service version of the searched multi-screen interactive component;
+
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.2 onConnected**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onConnected
+
+Description: Notifying the Web APP multi-screen interactive component that the service connection is completed.
+
+Parameter: spName – String type, service name of the searched multi-screen interactive component;
+spDeviceType – String type, device type of the searched multi-screen interactive component;
+spServiceInfo – String type, server information of the searched multi-screen interactive component;
+spVersion – String type, server service version of the searched multi-screen interactive component;
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+port – int type, port number of the searched multi-screen interactive component device;
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.3 onConnectRefused**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onConnectRefused
+
+Description: Notifying the Web APP multi-screen interactive component that the service connection is refused.
+
+Parameter: spName – String type, service name of the searched multi-screen interactive component;
+spDeviceType – String type, device type of the searched multi-screen interactive component;
+spServiceInfo – String type, server information of the searched multi-screen interactive component;
+spVersion – String type, service version of the searched multi-screen interactive component server;
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+port – int type, port number of the searched multi-screen interactive component device;
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.4 onDisconnected**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onConnectRefused
+
+Description: Notifying the Web APP multi-screen interactive component that the service connection is refused.
+
+Parameter: spName – String type, service name of the searched multi-screen interactive component;
+spDeviceType – String type, device type of the searched multi-screen interactive component;
+spServiceInfo – String type, server information of the searched multi-screen interactive component;
+spVersion – String type, service version of the searched multi-screen interactive component server;
+ipaddress – String type, ip address of the searched multi-screen interactive component device;
+port – int type, port number of the searched multi-screen interactive component device;
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.5 onServiceActivited**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onServiceActivited
+
+Description: Notifying the Web APP multi-screen interactive component that the service is activated.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.6 onServiceDeactivated**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onServiceDeactivated
+
+Description: Notifying the Web APP multi-screen interactive component that the service is unregistered.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device.
+
+#### **W.2.2.1.7 onQueryInfo**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onQueryInfo
+
+Description: Notifying the Web APP that the data request sent by the client of the multi-screen interactive component has been received.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+id – String type, instruction id of the received request;
+
+attribute – String type, instruction property of the received request;
+
+param – String type, parameters attached to the received request.
+
+#### **W.2.2.1.8 onQueryResponse**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onQueryResponse
+
+Description: Notifying the Web APP that the multi-screen interactive component server has responded to the data request.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+id – String type, instruction id of the received request;
+
+attribute – String type, instruction property of the received request;
+
+param – String type, parameters attached to the received request.
+
+#### **W.2.2.1.9 onExecute**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onExecute
+
+Description: Notifying the Web APP that the client of the multi-screen interactive component has sent an execution instruction request.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+cmd – String type, instructions executed;
+
+param – String type, parameters attached to the instruction executed.
+
+#### **W.2.2.1.10 onInputKeyCode**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onInputKeyCode
+
+Description: Notifying the Web APP that the client of the multi-screen interactive component has sent a request to perform key injection.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+cmd – String type, instructions executed;
+
+param – String type, executing the parameters attached to the instruction.
+
+#### **W.2.2.1.11 onNotify**
+
+Prototype: [RuntimeEnabled=MultiScreenEvent] EventHandler onNotify
+
+Description: Notifying the Web APP that the multi-screen interactive component has received a notification.
+
+Parameter: ipaddress – String type, ip address of the searched multi-screen interactive component device;
+
+port – int type, port number of the searched multi-screen interactive component device;
+
+hostname – String type, host name of the searched multi-screen interactive component device;
+
+cmd – String type, received instruction;
+
+param – String type, instruction parameter received.
+
+## Annex X
+
+### JavaScript-DRM management unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### X.1 Overview
+
+This specification defines JavaScript interfaces of the DRM management module.
+
+#### X.2 DRM management module
+
+##### X.2.1 DrmManager object
+
+Example of using DrmManager object:
+
+```
+var drmManager=new DrmManager();//create DrmManager object
+var uuid=new String("2d7d041436f2a048a0c4c1ccbb64546");
+drmManager.Drm_RegisterApp("unitend",uuid, 0, register_pridata,"unitend",1,0,0);//DRM
+APP register
+var resultdata=drmManager.Drm_SendCommandToTA(1,"unitend");//send commands to TEE
+drmManager.Drm_UnRegisterApp();//unregister DRM APP
+```
+
+##### X.2.1.1 Message
+
+The message definition sent by the DRM module to the application layer is shown in Table X.1.
+
+**Table X.1 – DRM module message definition**
+
+| Message name | event. which | event. modifiers | Message description |
+|--------------------|--------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| MSG_DRM_LICENSEREQ | 11000 | number | DRM license acquisition message, message character string JSON format: {"DrmLicenseReqData":param1, "DrmLicenseDataLen":param2}. Among them, param1 is the data related to obtaining the license; param2 is the length of the data related to obtaining the license. |
+| MSG_DRM_DECRYPTREQ | 11001 | number | DRM decrypt message, message character string JSON format {"DrmDecryptReqData":param1, "DrmDecryptReqDataLen": param2}. Among them, param1 is the relevant data used to decrypt the stream; param2 is the length of the relevant data used to decrypt the stream. |
+| MSG_DRM_MESSAGE | 11002 | number | DRM notification message, message character string JSON format: {"DrmMessageType":param1, "DrmMessage":param2, "DrmMessageLen": param3}. Among them, param1 is the type of notification message; param2 is the data transmitted by the notification message; param3 is the length of the data transmitted by the notification message. |
+
+### **X.2.1.2 Method**
+
+#### **X.2.1.2.1 Drm\_RegisterApp**
+
+Prototype: number Drm\_RegisterApp (DrmSystemID, TAUUID register\_commandid,register\_pridata,enflag,licensereq\_commandId,decrypt\_commandId)
+
+Description: DRM APP registration extension, licensereq and decrypt command ID can be privately defined.
+
+Parameter: DrmSystemID – string type, indicating the unique identifier of DRM APP;
+
+TAUUID – string type, indicating the unique identifier of the TApp corresponding to the DRM APP; register\_commandid – number type, indicating the registered commandid for communication with TApp;
+
+register\_pridata – string type, indicating the private registration data carried by the registration of communication with TApp, which is used for TApp to verify the legality of DRM APP;
+
+enflag – number type, indicating a decryption call method;
+
+licensereq\_commandId – number type, indicating the commandid corresponding to the query license;
+
+decrypt\_commandId – number type, indicating the commandid corresponding to the decrypt data.
+
+Return: number type, 0 indicating success, non-0 indicating failure.
+
+#### **X.2.1.2.2 Drm\_UnRegisterApp**
+
+Prototype: number Drm\_UnRegisterApp()
+
+Description: DRM APP unregistration.
+
+Parameter: None.
+
+Return: number type, 0 indicating success, non-0 indicating failure.
+
+#### **X.2.1.2.3 Drm\_SendCommandToTA**
+
+Prototype: string Drm\_SendCommandToTA(commandId, sendData)
+
+Description: Send commands to TEE.
+
+Parameter: commandId – string type, indicating the command ID;
+
+sendData – string type, indicating the data sent.
+
+Return: string type, returning the TEE processing result in JSON format.
+
+#### **X.2.1.2.4 Drm\_SendMessageToPlayer**
+
+Prototype: number Drm\_SendMessageToPlayer(type,message)
+
+Description: Send a message to the player.
+
+Parameter: type – number type, indicating the message type;
+
+Message – string type, indicating message data.
+
+Return: number type, 0 indicating success, non-0 indicating failure.
+
+## Annex Y
+
+### JavaScript-DCAS management unit
+
+(This annex forms an integral part of this Recommendation.)
+
+#### Y.1 Overview
+
+This annex defines the functional modules related to DCAS management. DCAS client software and application software can be developed through the DCAS JavaScript application programming interface.
+
+#### Y.2 EPG DCAS module
+
+This module defines the DCAS module and EPG-related JavaScript objects: EPG\_DCAS object.
+
+##### Y.2.1 EPG\_DCAS object
+
+The EPG\_DCAS object is a built-in object, which provides the JavaScript method of the EPG\_DCAS module.
+
+###### Y.2.1.1 Method
+
+###### Y.2.1.1.1 getActivationStatus
+
+Prototype: number getActivationStatus()
+
+Description: Getting the activation status.
+
+Parameter: None.
+
+Return: number type, value: 0-indicating it has been activated. Non-0 indicating that the status is unknown.
+
+###### Y.2.1.1.2 getBeidouInfo
+
+Prototype: string getBeidouInfo()
+
+Description: Getting current Beidou information.
+
+Parameter: None.
+
+Return: String type, the current Beidou information, the character string JSON format is:
+
+```
+{
+ "islocked":param1,
+ "latitude":param2,
+ "longitude":param3
+ "sat num":param4
+ "SNR":param5
+}
+```
+
+###### Y.2.1.1.3 getCASVersion
+
+Prototype: string getCASVersion()
+
+Description: Getting CAS version information.
+
+Parameter: None.
+
+Return: String type, value: if it is empty, it indicates that the CAS version information is not obtained, and if it is not empty, it indicates that the CAS version information is received.
+
+#### **Y.2.1.1.4 getCASVendorId**
+
+Prototype: number getCASVendorId()
+
+Description: Getting the current CAS vendor ID.
+
+Parameter: None.
+
+Return: number type, value: 0 indicating that the current CAS vendor ID is not obtained, and non-0 indicating that the current CAS vendor ID is obtained.
+
+#### **Y.2.1.1.5 getChipID**
+
+Prototype: string getChipID()
+
+Description: Getting the chip ID.
+
+Parameter: None.
+
+Return: String type, value: if it is empty, it indicates that the chip ID is not obtained, and if it is not empty, it indicates that the chip ID is obtained.
+
+#### **Y.2.1.1.6 getHSMID**
+
+Prototype: string getHSMID()
+
+Description: Getting the HSM chip ID.
+
+Parameter: None.
+
+Return: String type, value: if it is empty, it indicates that the HSM chip ID is not obtained, and if it is not empty, it indicates that the HSM chip ID is obtained.
+
+#### **Y.2.1.1.7 getValidPosition**
+
+Prototype: string getValidPosition()
+
+Description: Getting valid location information allowed by the current set-top box.
+
+Parameter: None.
+
+Return: String type, value: if it is empty, it indicates that no valid location information is obtained, and if it is not empty, it indicates that valid location information is obtained. The return value is in JSON format:
+
+```
+{
+ "latitude":param1,
+ "longitude":param2
+}
+```
+
+#### **Y.2.1.1.8 getPersonalBits**
+
+Prototype: number getPersonalBits()
+
+Description: Getting regional personal Bits.
+
+Parameter: None.
+
+Return: number type, value: 0 indicating that the regional personal Bits are not obtained, and non-0 indicating that the regional personal Bits are obtained.
+
+#### Y.2.1.1.9 getZipCode
+
+Prototype: string getZipCode()
+
+Description: Getting the region code.
+
+Parameter: None.
+
+Return: String type, value: if it is empty, it indicates the area code is not obtained, and if it is not empty, it indicates the area code is obtained.
+
+### Y.3 DCAS\_APP module
+
+See Table Y.1 for the description of DCAS\_APP module objects.
+
+**Table Y.1 – Object description of DCAS\_APP module**
+
+| Object name | Description |
+|-------------------------|----------------------------------------------------------------------------------------------------------------|
+| JSDCAS.CASDescriptor | CA description object, this object is used to express the CA descriptor in PMT or CAT. |
+| JSDCAS.CASEcmEvent | ECM event object, this object contains information about ECM events. |
+| JSDCAS.CASEmmEvent | ECM event object, this object contains information about EMM events. |
+| JSDCAS.CASFilter | Filter object, this object expresses the filter conditions required when filtering in-band or out-of-band EMM. |
+| JSDCAS.CASM | The global object of CASM, from which you can access the CAS manager and controller objects. |
+| JSDCAS.CASModule | CAS module object interface, implemented by the JS DCAS application, is an interface provided to the platform. |
+| JSDCAS.CASModuleManager | CASModuleManager object, this object provides the interface required by JSDCAS application. |
+| JSDCAS.CASPacketEvent | CAS data packet event object notifies the JS DCAS application of out-of-band CAS data packet events. |
+| JSDCAS.CASSession | CAS Sesion object, the platform generates a CAS Session object for each descrambling request. |
+| JSDCAS.CASStatus | CAS status object, through this object, JSDCAS transfers the descrambling status to the platform. |
+| JSDCAS.TeeController | TEE control right object, controller for JS DCAS and TEE communication. |
+| JSDCAS.TeeRetVal | TEE return object, the object contains data, errors and other information returned from TEE. |
+
+#### Y.3.1 Application interface call time sequence
+
+The basic time sequence of the DCAS application interface is shown in Figure Y.1.
+
+
+
+```
+
+sequenceDiagram
+ participant Media
+ participant DCAS App
+ participant DCAS manager
+ participant DTV
+ participant DCAS TApp
+
+ DCAS App->>DCAS manager: registerCASModule
+ DCAS App->>DCAS manager: enableDescramblingRequests
+ Media->>DCAS manager: DCASAL_stopDescrambling
+ DCAS manager-->>DCAS App: onStopDescrambling
+ Media->>DCAS manager: DCASAL_startDescrambling
+ DCAS manager-->>DCAS App: onStartDescrambling
+ DCAS App->>DCAS manager: startEcmLoading
+ DCAS manager->>DTV: DTVAL_startFiltering
+ DTV-->>DCAS manager: ECM filtered
+ DCAS manager-->>DCAS App: onEcmEvent
+ DCAS App->>DCAS manager: sendCommandToTEE
+ DCAS manager->>DCAS TApp: TEE_Client_API
+ DCAS TApp->>DCAS TApp: loadCW
+ DCAS TApp-->>DCAS manager: Return data
+ DCAS manager-->>DCAS App: Return data
+ DCAS App->>DCAS manager: sendDescramblingEvent
+ DCAS manager-->>Media: sendCASEvent
+
+```
+
+J.1206(23)
+
+Sequence diagram showing the basic call time sequence of DCAS application interface. Lifelines: Media, DCAS App, DCAS manager, DTV, DCAS TApp. The sequence involves registration, enabling requests, stopping/starting descrambling, loading ECM, filtering, and returning data.
+
+**Figure Y.1 – Basic call time sequence of DCAS application interface**
+
+### Y.3.2 JSDCAS.CASDescriptor object
+
+This object is used to express the CA descriptor in PMT or CAT.
+
+#### Y.3.2.1 Method
+
+##### Y.3.2.1.1 getCasId
+
+Prototype: number getCasId()
+
+Description: This method is provided by the terminal software platform and returns the CASID in the CA descriptor.
+
+Parameter: None.
+
+Return: number type, indicating CASID.
+
+##### Y.3.2.1.2 getPid
+
+Prototype: number getPid()
+
+Description: Returning PID in the CA descriptor. If the descriptor comes from CAT, it indicates EMM PID. If the descriptor comes from PMT, it indicates ECM PID.
+
+Parameter: None.
+
+Return: number type, return ECMPID.
+
+##### Y.3.2.1.3 getPrivateData
+
+Prototype: Uint8Array getPrivateData()
+
+Description: Returning the private data in the CA descriptor, and the private data is returned in the form of Uint8Array.
+
+Parameter: None.
+
+Return: Uint8Array type, indicating private data.
+
+### **Y.3.3 JSDCAS.CASEcmEvent object**
+
+This object contains information about ECM events, which are passed to the JS DCAS application through CASModule.onEcmEvent or CASModuleManager.onStartDescrambling. It can express that ECM packet is received, or timed out, or an internal error in the filter.
+
+#### **Y.3.3.1 Method**
+
+##### **Y.3.3.1.1 getEcmData**
+
+Prototype: Uint8Array getEcmData()
+
+Description: Returning complete ECM data. If it is a timeout or an internal error for the event, null is returned.
+
+Parameter: None.
+
+Return: Uint8Array type, indicating ECM data.
+
+##### **Y.3.3.1.2 getError**
+
+Prototype: number getError()
+
+Description: Error when returning the internal Section Filter filter. Only used for debugging. This method can only be called when the event does not provide any other information.
+
+Parameter: None.
+
+Return: number type, error message.
+
+##### **Y.3.3.1.3 getTableId**
+
+Prototype: number getTableId()
+
+Description: Table ID when returning the ECM packet. This method can only be called when the event provides ECM data.
+
+Parameter: None.
+
+Return: number type, indicating TableID.
+
+##### **Y.3.3.1.4 isTimeout**
+
+Prototype: boolean isTimeout()
+
+Description: Whether it is timed out when returning the getting of the first ECM packet. The timeout period can be set in CASModuleManager.enableDescramblingRequests. This method can only be called when the event does not provide ECM data.
+
+Parameter: None.
+
+Return: boolean type, true-timeout; false-no timeout.
+
+### **Y.3.4 JSDCAS.CASEmmEvent object**
+
+This object contains information about EMM events, which are passed to the JS DCAS application through CASModule.onInBandEmmEvent. This event may be received because of the receiving of CAT or any EMM packet, or an internal filter error.
+
+#### **Y.3.4.1 Method**
+
+##### **Y.3.4.1.1 getEmmData**
+
+Prototype: Uint8Array getEmmData()
+
+Description: Returning complete EMM data. If the event is caused by CAT update, or caused by an internal error, null is returned.
+
+Parameter: None.
+
+Return: Uint8Array type, EMM data.
+
+##### **Y.3.4.1.2 getError**
+
+Prototype: number getError()
+
+Description: Error when returning the internal Section Filter filter. Only used for debugging. This method can only be called when the event does not provide any other information.
+
+Parameter: None.
+
+Return: number type, error message.
+
+##### **Y.3.4.1.3 getTableId**
+
+Prototype: number getTableId()
+
+Description: Table ID when returning the EMM packet.
+
+Parameter: None.
+
+Return: number type, indicating TableID.
+
+##### **Y.3.4.1.4 isCatUpdateNotification**
+
+Prototype: boolean isCatUpdateNotification()
+
+Description: Whether the return event is caused by CAT update, if it is caused by CAT update, the EMM data should be empty.
+
+Parameter: None.
+
+Return: boolean type.
+
+–true – the event is caused by a CAT update;
+
+–false – the event is caused by any EMM packet, or caused by an internal error.
+
+#### **Y.3.5 JSDCAS.CASFilter object**
+
+This object is used to express the Section Filter filter conditions required when filtering in-band or out-of-band EMM. The platform should only call the CAS Module when the data packet matches the filter conditions. For those data packets that do not meet the conditions, they should be discarded by the platform, and the JS DCAS application should not be called. CASFilter objects (or object arrays) can be set to the platform through CASModuleManager.startCasPacketLoading and CASModuleManager.startInbandEmmLoading. Filter conditions include:
+
+1. Offset in bytes. The data before the offset will be ignored and will not participate in the comparison.
+2. Value used to compare with the data received by the platform, expressed in Bitmap.
+3. It is used to express which bits need to participate in the comparison. For the bits set to 0 in the Bitmap, no comparison is required.
+
+### **Y.3.5.1 Method**
+
+#### **Y.3.5.1.1 getBitmapMask**
+
+Prototype: Uint8Array getBitmapMask()
+
+Description: Returning the filter mask.
+
+Parameter: None.
+
+Return: Uint8Array type, return the filter mask.
+
+#### **Y.3.5.1.2 getBitmapValue**
+
+Prototype: Uint8Array getBitmapValue()
+
+Description: Returning bitmap value used for comparison.
+
+Parameter: None.
+
+Return: Uint8Array type, return the bitmap value.
+
+#### **Y.3.5.1.3 getOffset**
+
+Prototype: number getOffset()
+
+Description: Returning offset (in bytes).
+
+Parameter: None.
+
+Return: number type, indicating the offset.
+
+### **Y.3.6 JSDCAS.CASM object**
+
+CASM is a global object, from which all CAS Manager and Controller objects can be accessed.
+
+#### **Y.3.6.1 Method**
+
+##### **Y.3.6.1.1 getCASModuleManager**
+
+Prototype: JSDCAS.CASModuleManager getCASModuleManager()
+
+Description: Returning CASModuleManager object instance.
+
+Parameter: None.
+
+Return: CASModuleManager object.
+
+##### **Y.3.6.1.2 getTeeController**
+
+Prototype: JSDCAS.TeeController getTeeController()
+
+Description: Returning TeeController object instance.
+
+Parameter: None.
+
+Return: TeeController object.
+
+### **Y.3.7 JSDCAS.CASModule object**
+
+CASModule is an interface of CAS module objects, which should be implemented by JS DCAS application and registered in the CAS Module Manager of the platform to receive descrambling requests, ECM, EMM or any metadata that the JS DCAS application cares about. EMM can be obtained in-band or out-of-band. Determined by the end-to-end design and the capabilities of the platform and equipment.
+
+### **Y.3.7.1 Method**
+
+#### **Y.3.7.1.1 getCasId**
+
+Prototype: number getCasId()
+
+Description: Returning the unique CASID of the CAS module. This method must be implemented before calling CASModuleManager.registerCASModule. The returned value is the value expected to appear in CA descriptor in CAT or PMT.
+
+Parameter: None.
+
+Return: number type, indicating CASID.
+
+#### **Y.3.7.1.2 onCasPacketEvent**
+
+Prototype: onCasPacketEvent(casPacketEvent)
+
+Description: The platform calls this method when it receives out-of-band EMM (or other out-of-band CAS data packets), refer to CASModuleManager.startCasPacketLoading.
+
+Parameter: casPacketEvent – CASPacketEvent object, which contains the CASPacketEvent object instance of the out-of-band EMM or other out-of-band CAS data packets.
+
+#### **Y.3.7.1.3 onEcmEvent**
+
+Prototype: onEcmEvent(casSession,ecmEvent)
+
+Description: After the platform filters the new ECM packet, call this method of the JS DCAS application. In fast mode, the platform calls this method after setting CW in ECM to K-LAD.
+
+Parameter: casSession – CASSession object, CAS Session object obtained from CASModule.onStartDescrambling.
+
+CASEcmEvent ecmEvent-ECM event object.
+
+#### **Y.3.7.1.4 onInbandEmmEvent**
+
+Prototype: onInbandEmmEvent(casSessionForEMM,emmEvent)
+
+Description: The platform calls this method when it receives a CAT update or in-band EMM. Refer to CASModuleManager.startInbandEmmLoading.
+
+Parameter: casSessionForEMM – A CASSession object, a special CAS Session, this session is related to the TS where the CAT is located, and it also contains the CA descriptor in the CAT (not the CA descriptor in the PMT). The platform should create a CAS Session specifically for this purpose. Note that this CAS Session object may only have some fields valid. Note: If the CA descriptor of the CAS is not specified in the CAT, or the terminal leaves the current frequency point, the CAT update event will still be sent JS DCAS application, but CAS Session is null.
+
+emmEvent – CASEmmEvent object, which contains CAT update or EMM, or other wrong CASEmmEvent object instances.
+
+#### **Y.3.7.1.5 onStartDescrambling**
+
+Prototype: onStartDescrambling(casSession,firstEcmEvent)
+
+Description: This method is called by the platform when there is a new descrambling request. It usually happens when the platform starts playing a new scrambled channel. JS DCAS application will receive this descrambling request only upon CASModuleManager.enableDescramblingRequests being called. In the auto-load mode, the platform will automatically start filtering the first ECM, and call this method after receiving the ECM. In this case, the JS DCAS application does not need to call CASModuleManager.startEcmLoading. If the device has multiple Tuners, this method may be called multiple times at the same time, each time corresponding to a playback descrambling request. Each
+
+request will have a different CAS Session. In addition, if the basic stream scrambling method of the service that needs to be descrambled is different, this method may also be called multiple times. Similarly, each call also has a different CAS Session.
+
+Parameter: `casSession` – A `CASSession` object, CAS Session object generated by the platform for a specific descrambling request. Each object has a unique session ID, and all information about the service and the basic stream. It also contains the CA descriptor corresponding to this CAS module in the PMT.
+
+`firstEcmEvent` – A `CASEcmEvent` object, in auto-load mode, the first ECM packet received by the platform (or timeout, error). If it is not in auto-load mode, it is empty.
+
+#### **Y.3.7.1.6 onStopDescrambling**
+
+Prototype: `onStopDescrambling(casSession)`
+
+Description: The platform calls this method when it stops playing the current channel to notify the JS DCAS application to stop descrambling.
+
+Parameter: `casSession` – A `CASSession` object, CAS Session obtained in `CASModule.onStartDescrambling`.
+
+### **Y.3.8 JSDCAS.CASModuleManager object**
+
+JS DCAS application uses this CAS Module Manager object to receive descrambling requests, ECM, EMM, and report CAS descrambling status. The JS DCAS application should implement the CAS Module object, and then register it to the CAS Module Manager.
+
+#### **Y.3.8.1 Method**
+
+##### **Y.3.8.1.1 disableDescramblingRequests**
+
+Prototype: `number disableDescramblingRequests(casModule)`
+
+Description: This method is called by a JSDCAS application to stop receiving descrambling requests. This method rarely has a chance to be called. For example, when the application needs to reconfigure the descrambling request parameters, it needs to call this method to suspend the receiving, and then restart the receiving. Or the application wishes to close itself. Recall `CASManager.enableDescramblingRequests` to restart receiving.
+
+Parameter: `casModule` – `CASModule` object, CAS module instance.
+
+Return: number type.
+
+`success` – `CASModuleManager.ACTION_OK`.
+
+`failure` – Returning the following error values:
+`CASModuleManager.ACTION_ERROR_INVALID_PARAMETERS` – invalid parameter;
+`CASModuleManager.ACTION_ERROR_DRIVER` – low-level error.
+
+##### **Y.3.8.1.2 enableDescramblingRequests**
+
+Prototype: `number enableDescramblingRequests(casModule, firstEcmTimeout, autoLoadFirstEcm, isFastMode, ecmTableIds)`
+
+Description: JS DCAS application starts to receive descrambling requests by calling this method. Through different parameters, different working modes between the platform CAS Manager and the CAS module can be configured. This method is usually only called after the CAS module is registered, because usually the JS DCAS application will not change this way of working. If the JS DCAS application wants to change this working mode, it needs to call `CASModuleManager.disableDescramblingRequests` first, and then call this method again.
+
+Parameter: `casModule` – A `CASModule` object, CAS module instance;
+
+`firstEcmTimeout` – number type, in milliseconds, the longest time the platform waits for the first ECM. If it times out, the CAS module will receive the `CASEcmEvent` through the `onEcmEvent` call or the `onStartDescrambling` call;
+
+`autoLoadFirstEcm` – boolean type, specify whether it is auto-load mode or not. Auto-load mode indicates that the platform automatically starts to filter the first ECM after the JS DCAS application calls this method, without waiting for the JS DCAS application to call `startEcmLoading`.
+
+`isFastMode` – boolean type, fast mode (temporarily only a placeholder, and has no practical meaning);
+
+`ecmTableIds` – Array type, if the JS DCAS application wants to specify `tableID` of ECM.
+
+Return: number type.
+
+`success` – `CASModuleManager.ACTION_OK`.
+
+`failure` – Returning the following error values:
+
+`CASModuleManager.ACTION_ERROR_INVALID_PARAMETERS` – invalid parameter;
+
+`CASModuleManager.ACTION_ERROR_ACTION_NOT_SUPPORTED` – the platform does not implement a specific mode;
+
+`CASModuleManager.ACTION_ERROR_DRIVER` – low-level error.
+
+#### **Y.3.8.1.3 fetchDataFromCasHeadend**
+
+Prototype: number `fetchDataFromCasHeadend(casModule,inputData,casHeURI)`
+
+Description: This method is called by JS DCAS application to obtain data from the headend, via the platform, via GPRS, or other possible means in the future.
+
+Parameter: `casModule` – A `CASModule` object, CAS module instance.
+
+`inputData` – `Uint8Array` type, data to be sent to the headend.
+
+`casHeURI` – String type, URI of the headend service.
+
+Return: number type.
+
+`success` – Data returned by the headend.
+
+`failure` – Returning the following error values:
+
+`CASModuleManager.ACTION_ERROR_INVALID_PARAMETERS` – invalid parameter;
+
+`CASModuleManager.ACTION_ERROR_DRIVER` – low-level error;
+
+`CASModuleManager.ACTION_ERROR_ACTION_NOT_SUPPORTED` – Method not supported;
+
+`CASModuleManager.ACTION_ERROR_NETWORK` – Network error.
+
+#### **Y.3.8.1.4 registerCASModule**
+
+Prototype: number `registerCASModule(vendorId,casModule,networkPriority,applicationContext)`
+
+Description: A JS DCAS application, registering itself in the CAS Module Manager of the platform by calling this method.
+
+Parameter: `vendorId` – number type, Vendor Id of CAS. Each CAS manufacturer has a unique special ID.
+
+`casModule` – `CASModule` object, CAS module instance to be registered.
+
+`networkPriority` – number type, if `CASModuleManager` allows registration of more than one CAS module, this optional parameter expresses the priority between multiple modules, and the specific
+
+value is determined by the operator. The greater the absolute value, the higher the priority, for example, the priority of 3 is higher than 2. After knowing the priority, when the platform encounters a situation where there are multiple CA descriptors in the PMT, it should send a descrambling request to the CAS module with the highest priority according to the priority. If the operator does not set the priority, each JS DCAS application must use 0 as a parameter. In this case, which CAS module can receive the descrambling request is determined by the implementation of the platform.
+
+applicationContext – Platform-related application parameters. Usually this parameter is told to the application by the platform when it is initialized. The usage of this parameter is project-dependent.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_SECURITY – the caller does not have permission to access CASModuleManager;
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter.
+
+#### **Y.3.8.1.5 removeCASModule**
+
+Prototype: number removeCASModule(vendorId,casModule,applicationContext)
+
+Description: This method is called by a JS DCAS application to delete a CAS module from the CAS Module Manager. This method is rarely called, for example, before the application wants to change a CAS ID or before the application closes itself.
+
+Parameter: vendorId – number type, VendorId of CAS. Each CAS manufacturer has a unique special ID.
+
+casModule – CASModule object, CAS module instance to be registered.
+
+applicationContext – Platform-related application parameters. Usually this parameter is told to the application by the platform when it is initialized. The usage of this parameter is project-dependent.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_SECURITY – the caller does not have permission.
+
+#### **Y.3.8.1.6 sendCommandToSTB**
+
+Prototype: number sendCommandToSTB(casModule,inputData)
+
+Description:A Data channel function. This method is called by a JS DCAS application to send data to DCAS Manager, DCAS Manager forwards commands to the corresponding module for processing, these commands include OSD, upgrade trigger, fingerprint, emergency broadcast, ratings survey, etc., these commands are sent by BOSS, DCAS is only responsible for forwarding and is used as a data channel.
+
+Parameter: casModule – CASModule object, CAS module instance to be registered.
+
+inputData – Uint8Array type, data to be sent to the DCAS manager.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported;
+
+CASModuleManager.ACTION\_ERROR\_NETWORK – Network error.
+
+#### **Y.3.8.1.7 sendDataToHeadend**
+
+Prototype: number sendDataToHeadend(casModule,inputData)
+
+Description: This method is called by JS DCAS application to send data to the headend via the platform, via GPRS, or other possible means in the future.
+
+Parameter: casModule – CASModule object, CAS module instance to be registered.
+
+inputData – Uint8Array type, data to be sent to the headend.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported;
+
+CASModuleManager.ACTION\_ERROR\_NETWORK – Network error.
+
+#### **Y.3.8.1.8 sendDescramblingEvent**
+
+Prototype: number sendDescramblingEvent(casModule,casSession,casStatus)
+
+Description: This method is called by a JS DCAS application to report CAS status. CAS status includes the success or failure of descrambling. Every time the status changes, JS DCAS should report the status.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+casSession – CASSession object, CASSession obtained from CASModule.onStartDescrambling.
+
+casStatus – CASStatus object, CASStatus object generated by JSDCAS application.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.9 sendFreeTextOSD**
+
+Prototype: number sendFreeTextOSD(casModule,inputData,flags)
+
+Description: JS DCAS application forwards the received text information to the platform by calling this method. The platform may forward this text information to the UI application or process it by itself.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+inputData – Uint8Array type, text information.
+
+flags – ArrayBuffer type, used to display additional information such as format, project-related.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.10 setCCIBits**
+
+Prototype: number setCCIBits(casModule,casSession,cciBits)
+
+Description: Setting CCI (Copy Control Information) data bit.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+casSession – CASSession object, CAS Session obtained from CASModule.onSTartDescrambling.
+
+cciBits – number type, CCI data bit.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.11 setData**
+
+Prototype: number setData(casModule, propertyId, propertyType, propertyValue)
+
+Description: DCAS APP sets property values for the platform, including BouquetID, activation status, CAS information, Beidou information, ChipID, HSMID, CASVendorID, area code, CA version, etc.
+
+Parameter: casModule – CASModule object, CAS module instance;
+
+propertyId – number type, property ID, see JSDCAS.CASModuleManager.PROP\_ID\_xxx;
+
+propertyType – number type, property type, see JSDCAS.CASModuleManager.PROP\_TYPE\_xxx;
+
+propertyValue – number type, property value.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter ;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.12 setPinCode**
+
+Prototype: number setPinCode(casModule, pinCode)
+
+Description: Notifying the platform to reset PIN.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+pinCode – number type, PIN code.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.13 setServiceListFilter**
+
+Prototype: number setServiceListFilter(casModule,filterData)
+
+Description: Setting the filter conditions of the service list. The definitions of the filter conditions are platform-dependent.
+
+Parameter: casModule – A CASModule object, CAS module instance.
+
+filterData – number type, filter condition.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.14 startCasPacketLoading**
+
+Prototype: number startCasPacketLoading(casModule,cableModemFilter,sourceURL,casFilter)
+
+Description: This method is called by a JS DCAS application to start receiving out-of-band CAS data packets. CAS data packets can be EMM or other out-of-band metadata. The receiving method is determined by the device hardware, platform, network, etc. For device with Cable Modem, it can be received under ADSG or BDSG protocol, and it can also be received by adding a multicast address through IP over Cable. For IP television (IPTV) device, it can be received by adding a multicast address via Ethernet or Wifi. It can also be received via a local UDP socket. In either case, JS DCAS applications can perform processing through CASModule.onCasPacketEvent when receiving CAS data packets.
+
+NOTE – The platform may implement receiving of data packets from multiple different sources at the same time. In this case, this method may be called multiple times from different URLs.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+cableModemFilter – number type, in the case of Cable Modem and DSG tunnelID, a filter must be provided. In the case of non-DSG, this parameter should be null.
+
+sourceURL – String type, if data packets are received from UDP, this parameter needs to be provided. "udp://@127.0.0.1:4444" or "udp://@localhost:4444" is received from local UDP port.
+
+casFilter – CASFilter object, filter condition, it can be a CASFilter array.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.15 startEcmLoading**
+
+Prototype: number startEcmLoading(casModule,casSession)
+
+Description: JS DCAS application initiates the receiving of ECM of a specific scrambled program by calling this method and calls it after receiving the scramble request.
+
+NOTE – In auto-load mode, there is no need to call this method.
+
+Parameter: casModule – A CASModule object, CAS module instance.
+
+casSession – CASSession object, CASSession obtained from CASModule.onSTartDescrambling.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error.
+
+#### **Y.3.8.1.16 startInbandEmmLoading**
+
+Prototype: number startInbandEmmLoading(casModule,emmTableIds,casFilter, includeCatNotifications)
+
+Description: This method is called by a JS DCAS application to start receiving in-band EMM. If required by JS DCAS application, it can also be used to receive CAT. When there is EMM or CAT update, the JS DCAS application receives data through CASModule.onInbandEmmEvent.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+emmTableIds – Array type, EMM Table Id array.
+
+casFilter – CASFilter|Array type, CAS filter. Only the data that meets the conditions will be notified to the application by the platform, and it is also possible to pass a Filter array.
+
+includeCatNotifications – boolean type, specify whether CAT update notification is expected to be received.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error;
+
+CASModuleManager.ACTION\_ERROR\_ACTION\_NOT\_SUPPORTED – Method not supported.
+
+#### **Y.3.8.1.17 stopCasPacketLoading**
+
+Prototype: number stopCasPacketLoading(casModule,cableModemFilter,sourceURL)
+
+Description: This method is called by a JS DCAS application to stop receiving out-of-band CAS data packets.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+cableModemFilter – number|string type, required by Cable Modem.
+
+sourceURL – String type, required when receiving via UDP.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error.
+
+#### **Y.3.8.1.18 stopEcmLoading**
+
+Prototype: number stopEcmLoading(casModule,casSession)
+
+Description: JS DCAS application stops receiving ECM by calling this method. JS DCAS applications rarely have the opportunity to call this method. If ECM receiving is expected to be restarted, CASManager.startEcmLoading needs to be recalled again.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+casSession – CASession object, CASession obtained from CASModule.onSTartDescrambling.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error.
+
+#### **Y.3.8.1.19 stopInbandEmmLoading**
+
+Prototype: number stopInbandEmmLoading(casModule)
+
+Description: JS DCAS application stops receiving in-band EMM by calling this method. This method rarely needs to be called. Recall CASManager.startInbandEmmLoading to restart receiving.
+
+Parameter: casModule – CASModule object, CAS module instance.
+
+Return: number type.
+
+success – CASModuleManager.ACTION\_OK.
+
+failure – Returning the following error values:
+
+CASModuleManager.ACTION\_ERROR\_INVALID\_PARAMETERS – invalid parameter;
+
+CASModuleManager.ACTION\_ERROR\_DRIVER – low-level error.
+
+### **Y.3.9 JSDCAS.CASPacketEvent object**
+
+It is used to notify the JS DCAS application of out-of-band CAS data packet events.
+
+#### **Y.3.9.1 Method**
+
+##### **Y.3.9.1.1 getCableModemFilter**
+
+Prototype: number|string getCableModemFilter()
+
+Description: Returning cableModemFilter used to filter this packet. If Cable Modem DSG is not used, it returns empty.
+
+Parameter: None.
+
+Return: number|string type.
+
+ADSG mode – return CAS Tunner ID, number type.
+
+BDSG mode – Returning virtual MAC address.
+
+#### **Y.3.9.1.2 getPacketData**
+
+Prototype: Uint8Array getPacketData()
+
+Description: Returning the data in the data packet.
+
+Parameter: None.
+
+Return: Uint8Array type.
+
+#### **Y.3.9.1.3 getPacketHeader**
+
+Prototype: Uint8Array getPacketHeader()
+
+Description: Returning the header of the data packet. The header contains the IP address and UDP header.
+
+Parameter: None.
+
+Return: Uint8Array type.
+
+#### **Y.3.9.1.4 getSourceURL**
+
+Prototype: string getSourceURL()
+
+Description: Returning the source address of the CAS packet received via UDP.
+
+Parameter: None.
+
+Return: string type, source address character string.
+
+### **Y.3.10 JSDCAS.CASSession object**
+
+The platform generates a CAS Session object for each descrambling request. It contains the unique session ID, and all the information about the broadcast program, and also contains the CA descriptor related to this descrambling in the PMT. For each descrambling request, the JS DCAS application obtains the CAS Session through CASModule.onStartDescrambling. The CASSession object can also be used in the scenario of receiving CAT update messages. In this scenario, only some fields of the CASSession object are valid.
+
+#### **Y.3.10.1 Method**
+
+##### **Y.3.10.1.1 GetCasDescriptor**
+
+Prototype: CASDescriptor getCasDescriptor()
+
+Description: Returning CA descriptor, which may be from PMT or CAT.
+
+Parameter: None.
+
+Return: CASDescriptor object, CA descriptor object instance.
+
+##### **Y.3.10.1.2 getChannelNumber**
+
+Prototype: number getChannelNumber()
+
+Description: Returning channel number. This method is optional, especially for those platforms that cannot determine the channel number, it can return 0.
+
+Parameter: None.
+
+Return: number type, channel number.
+
+##### **Y.3.10.1.3 getNetworkId**
+
+Prototype: number getNetworkId()
+
+Description: Returning original network ID. This method is optional, if the platform is not available, it can return 0.
+
+Parameter: None.
+
+Return: number type, original network ID.
+
+#### **Y.3.10.1.4 getOperationType**
+
+Prototype: number GetOperationType()
+
+Description: Returning operation type.
+
+Parameter: None.,
+
+Return: number type, operation type value:
+
+CASSession.OPERATION\_TYPE\_PRESENTATION ;
+
+CASSession.OPERATION\_TYPE\_RECORDING ;
+
+CASSession.OPERATION\_TYPE\_BUFFERING ;
+
+CASSession.OPERATION\_TYPE\_SECOND\_DEVICE.
+
+#### **Y.3.10.1.5 getProgramNumber**
+
+Prototype: number getProgramNumber()
+
+Description: Returning program number.
+
+Parameter: None.
+
+Return: number type, program number.
+
+#### **Y.3.10.1.6 getServiceIdentifier**
+
+Prototype: number getServiceIdentifier()
+
+Description: Returning identifier of the service being descrambled, which is a value or an object;
+
+Parameter: None.
+
+Return: number type, identifier of service.
+
+#### **Y.3.10.1.7 getSessionId**
+
+Prototype: number getSessionId()
+
+Description: Returning SessionID.
+
+Parameter: None.
+
+Return: number type, indicating SessionID.
+
+#### **Y.3.10.1.8 getStreamPath**
+
+Prototype: Uint8Array getStreamPath()
+
+Description: Returning StreamPath data.
+
+Parameter: None.
+
+Return: Uint8Array type, indicating StreamPath data.
+
+#### **Y.3.10.1.9 getStreamPIDs**
+
+Prototype: Array getStreamPIDs()
+
+Description: Returning Stream PIDs list.
+
+Parameter: None.
+
+Return: Array type, PID list.
+
+#### **Y.3.10.1.10 getStreamTypes**
+
+Prototype: Array getStreamTypes()
+
+Description: Returning StreamTypes list.
+
+Parameter: None.
+
+Return: Array type, Streamtypes list.
+
+#### **Y.3.10.1.11 getTransmitterScramblingMode**
+
+Prototype: number getTransmitterScramblingMode()
+
+Description: Returning scrambling mode value.
+
+Parameter: None.
+
+Return: number type, scrambling mode.
+
+#### **Y.3.10.1.12 getTransportStreamId**
+
+Prototype: number getTransportStreamId()
+
+Description: Returning TSID being descrambled.
+
+Parameter: None.
+
+Return: number type, indicating TSID.
+
+#### **Y.3.10.1.13 getTunerId**
+
+Prototype: number getTunerId()
+
+Description: Returning TunerID used by the program being descrambled.
+
+Parameter: None.
+
+Return: number type, indicating TunerID.
+
+### **Y.3.11 JSDCAS.CASStatus object**
+
+#### **Y.3.11.1 Overview of the JSDCAS.CASStatus object**
+
+JS DCAS application transmits the descrambling state to the platform through this object. Every time there is a change in the descrambling state, the JS DCAS application should call CASModuleManager.sendDescramblingEvent to notify the platform. After the platform receives this status change, it can handle it by itself or forward it to the UI application. The UI application can simply pop up the OSD to notify the user of the success or failure of the descrambling, and can also parse the additional information in the CASStatus object to show the specific reason for the failure. These additional information formats are project-related. If the JS DCAS application does not have additional information, the UI application obtains the Token in the CASStatus object and can also use this Token to communicate with the JS DCAS application through the means provided by IPC or other platforms to obtain more information.
+
+#### **Y.3.11.2 Method**
+
+##### **Y.3.11.2.1 getCasToken**
+
+Prototype: number getCasToken()
+
+Description: Returning CAS Token. If the platform forwards the CASStatus information to the UI application, the UI application can use this Token to initiate a request to the JS DCAS application to
+
+obtain more detailed status information. The method of request is determined by the platform, such as IPC.
+
+Parameter: None.
+
+Return: number type, return Token.
+
+#### **Y.3.11.2.2 getMajorContentProblem**
+
+Prototype: number getMajorContentProblem()
+
+Description: Returning main error value where the program cannot be watched.
+
+Parameter: None.
+
+Return: number type, error message.
+
+#### **Y.3.11.2.3 getStatusData**
+
+Prototype: ArrayBuffer getStatusData()
+
+Description: Returning extended data in descrambling state. With extended data, the UI application can display more detailed information about the descrambling state.
+
+Parameter: None.
+
+Return: ArrayBuffer type, indicating extended data. If there is no extended data available, null should be returned.
+
+#### **Y.3.11.2.4 isSuccess**
+
+Prototype: boolean isSuccess()
+
+Description: Returning whether descrambling is successful or not.
+
+Parameter: None.
+
+Return: boolean type, true-success, false-failure.
+
+### **Y.3.12 JSDCAS.TeeController object**
+
+Controller for JS DCAS and TEE communication.
+
+#### **Y.3.12.1 Method**
+
+##### **Y.3.12.1.1 sendCommandToTEE**
+
+Prototype: TeeRetVal
+
+sendCommandToTEE(teeAppUUID,commandId,inputData,applicationContext)
+
+Description: JS DCAS application uses this method to send commands to TA running in TEE.
+
+Parameter:
+
+teeAppUUID – Uint8Array type, UUID of TA, 16 bytes. Each CA manufacturer has a different ID.
+
+commandId – number type, Command ID in TEE communication. Defined by each CA manufacturer.
+
+inputData – Uint8Array type, data sent to TA.
+
+applicationContext – Application context, platform related. It is usually provided to the application by the platform during initialization.
+
+Return: TeeRetVal object, this object contains information such as data and errors returned from TA.
+
+### **Y.3.13 JSDCAS.TeeRetVal class**
+
+This object is returned by TeeController.sendCommandToTEE. The object contains information such as data and errors returned from the TEE.
+
+### **Y.3.13.1 Method**
+
+#### **Y.3.13.1.1 getOriginCode**
+
+Prototype: number getOriginCode()
+
+Description: Returning origin code.
+
+Parameter: None.
+
+Return: number type, indicating origincode.
+
+#### **Y.3.13.1.2 getResponseData**
+
+Prototype: Uint8Array getResponseData()
+
+Description: Getting data returned from TA.
+
+Parameter: None.
+
+Return: Uint8Array type, data returned from TA. It can be null for some commands. If there is an error in the call or communication, null is also returned.
+
+#### **Y.3.13.1.3 getReturnCode**
+
+Prototype: number getReturnCode()
+
+Description: Returning code.
+
+Parameter: None.
+
+Return: number type, indicating the return code.
+
+## Bibliography
+
+- [b-ITU-T J.205] Recommendation ITU-T J.205 (2012), *Requirements for an application control framework using integrated broadcast and broadband digital television.*
+- [b-ITU-T J.1033] Recommendation ITU-T J.1033 (2020), *Downloadable conditional access system for bidirectional networks – The terminal.*
+- [b-ITU-T J.1203] Recommendation ITU-T J.1203 (2022), *Smart television operating system – Specification.*
+- [b-ITU-T J.1204] Recommendation ITU-T J.1204 (2022), *Smart television operating system – Security framework.*
+- [b-ITU-T J.1205] Recommendation ITU-T J.1205 (2022), *Smart television operating system – Hardware abstract layer application programming interface.*
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1bd5370f7ea1f8861fe3cc6f35655927bdfc1e53
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:30213fc9e7c3304a43ca1ece2ea753b5337ed4da7a70be5fc4adfa0fc4277a33
+size 30999
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ec5afb8b4480ce7e9c5be3846e619565b90e0e43
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/0538daaa5583c23e17db3a12f2281a55_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f7bb6bb227e627e87d9003b540c6331523019eb2622bdc8a919764c77c42a6f3
+size 7205
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/16152cf1d84aea10848758f51a91ff6a_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/16152cf1d84aea10848758f51a91ff6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ec6308485532e4db4906046cae13153a01424ce9
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/16152cf1d84aea10848758f51a91ff6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:477793b8612d8057de061ecf72a591a8de63a255f5ae13cf989ea837c7858263
+size 19128
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/18722c46c9e8475524e634dedd08bac2_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/18722c46c9e8475524e634dedd08bac2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a8201a0a8a093040df9f666b26a315a04b9859ff
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/18722c46c9e8475524e634dedd08bac2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b966e204bfc6da120befb58d138cdf3d27a493016d715af1c0ba07be4e44db6
+size 23801
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/29f586959675cafdf81cf934954908eb_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/29f586959675cafdf81cf934954908eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fe3d07f03874a8a5dcf27e7d376fbd73bc8c0431
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/29f586959675cafdf81cf934954908eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c704d7af7268ea621abc454af3752b2d0e753a44a23c978522fc55aec08abc41
+size 23462
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0ced80a7eb252a80aacdbbea3724b0738fa2ece4
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e8d80d198e4d7eb5c09eceecde9e813ea68e192f0ddba09e70a14980bed8411
+size 23165
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ebfd0816212febf3e8918a4fbb7296d8855adfce
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:56c8837538a08e4d7f16808c036e89f744c136c4cc40a705ee3c3b9118007d6d
+size 53103
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bcf7961a300e361503b2ff5bcf112bc77a9867fa
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d8ea851356489aba4a1c3621b6ecb69c5c9deb3582647bc37c1124cc0d1e482
+size 34864
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ff4c725ca806eb8ce6c3a68fb0982d9a6fb33fe1
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec712823699c59f9b22d33023c0df7c6f5e3dc75f63348ee76a49f1b0b7833dd
+size 30425
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..39685f4f011d29c8562f7a5f81e9e0e2de9e3609
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/898fb89a50d9ec1dfb4e425c816976a7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbc39118f670ed0a6ce0f6420f69a37478df56c7fab22997b769a9076a75c4d0
+size 11419
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..df450dcb6d1446112f4ba607bde3fc7b80b4618c
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9be04bb855ee39d7317b060f734a54957c0119036f2dca3b363197e84a03cd96
+size 18797
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cfaf71df8c41c526e55b0141eed968fa4e0ccf28
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d4b195335a758861f64e587d07cb914c2a5312d30ae2a13cd536c4933d4c62c
+size 37620
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ec279406ce9ff157eecc66ed7bcd21350ef1e2b5
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9190fbf343af5b674a63a6b60dd1b7ff4693ad5767144ab795e568e4e70c156
+size 23554
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2f1af79681489d2c06ec6bf7d73e4946b9ad511b
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c8bd533da69050edda1a254f45ca2597b4fd7ab78950292a670441c8cf430de
+size 99024
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/b90144cfbb81a2d610d920240fda689d_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/b90144cfbb81a2d610d920240fda689d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c38db06a7287e1e5b6794f454ebd6ecd7cb09fcb
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/b90144cfbb81a2d610d920240fda689d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:580451a6149b8f834d1f185d8b90645679fab292d9c37a630710248dca45509e
+size 18881
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..10fe927e5f6da4a4579845c30781fae2be64f2c1
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:215ecef7929b325852e667ea1a036aadfa90b1c03b8f6890b2e50d2c33fea93b
+size 24161
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/df1d0e45191302de72176e4390224c16_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/df1d0e45191302de72176e4390224c16_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..51d4481c5057531bb230b5e3730315e688998e57
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/df1d0e45191302de72176e4390224c16_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e03240b591857fe35231b186808d1b072ccc74015992141290fb2bbe817cb6de
+size 31644
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a1da9c9f7d548d73840a720168e45abd3a84648b
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a481f1c6db3c33e67da3dba524d0b83f2bc18cb8557c772181ddff22bc878be5
+size 44319
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg b/marked/J/T-REC-J.1207-202410-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..20127efaf55031db9309fe2e3d56ddb6c0549f5b
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b39a1f1af068e6b6dc5ed0dd9c2614e59f4ba2a5c14f1702aa5ea5a75d98a961
+size 23498
diff --git a/marked/J/T-REC-J.1207-202410-I_PDF-E/raw.md b/marked/J/T-REC-J.1207-202410-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..0ba5a0e1ea1bfb628883069a23f9a92e14b6ab9d
--- /dev/null
+++ b/marked/J/T-REC-J.1207-202410-I_PDF-E/raw.md
@@ -0,0 +1,4991 @@
+
+
+# Recommendation**ITU-T J.1207 (10/2024)**
+
+SERIES J: Cable networks and transmission of television,
+sound programme and other multimedia signals
+
+Smart TV operating system
+
+---
+
+# **Smart television operating system – Conformance test**
+
+
+
+The logo of the International Telecommunication Union (ITU), featuring the letters 'ITU' in blue inside a circle with a globe-like grid pattern.
+
+ITU logo
+
+## ITU-T J-SERIES RECOMMENDATIONS
+
+## Cable networks and transmission of television, sound programme and other multimedia signals
+
+| | |
+|-------------------------------------------------------------------------------------------------|----------------------|
+| GENERAL RECOMMENDATIONS | J.1-J.9 |
+| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 |
+| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 |
+| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 |
+| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 |
+| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 |
+| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 |
+| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 |
+| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 |
+| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 |
+| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.150-J.159 |
+| IPCABLECOM (MGCP-BASED) - PART 1 | J.160-J.179 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.180-J.189 |
+| CABLE MODEMS AND HOME NETWORKING | J.190-J.199 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.200-J.209 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.210-J.229 |
+| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.230-J.239 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.240-J.249 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.250-J.259 |
+| IPCABLECOM (MGCP-BASED) - PART 2 | J.260-J.279 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.280-J.289 |
+| CABLE SET-TOP BOX | J.290-J.299 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.300-J.309 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.340-J.349 |
+| IPCABLECOM2 (SIP-BASED) - PART 1 | J.360-J.379 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.380-J.389 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.440-J.449 |
+| IPCABLECOM2 (SIP-BASED) - PART 2 | J.460-J.479 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.480-J.489 |
+| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.600-J.699 |
+| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.700-J.799 |
+| MULTIMEDIA OVER IP IN CABLE | J.800-J.899 |
+| TRANSMISSION OF 3-D TV SERVICES | J.900-J.999 |
+| CONDITIONAL ACCESS AND PROTECTION | J.1000-J.1099 |
+| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.1100-J.1119 |
+| SMART TV OPERATING SYSTEM | J.1200-J.1209 |
+| IP VIDEO BROADCAST | J.1210-J.1219 |
+| CABLE SET-TOP BOX - PART 2 | J.1290-J.1299 |
+| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.1300-J.1309 |
+| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.1310-J.1319 |
+| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.1400-J.1409 |
+| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T J.1207
+
+# Smart television operating system – Conformance test
+
+## Summary
+
+Recommendation ITU-T J.1207 specifies the conformance test for a smart TV operating system over integrated broadcast and broadband cable networks. A smart TV operating system is intended to be installed in an integrated broadcast and broadband (IBB)-capable cable set-top box (STB) and TV, enabling both broadcasting and IP-based interactive services provided by cable television operators and third-party providers. By running a smart TV operating system, the IBB-capable cable STB and TV will be able to intelligently provide subscribers with advanced and personalized services. This is achieved through download and installation of advanced and personalized apps from both cable operators' platforms and third-party platforms, which are interconnected with the related cable operators' platforms.
+
+Conformance to the smart TV operating system means adherence to the relevant requirements of ITU-T J.1201, ITU-T J.1202, ITU-T J.1203, ITU-T J.1204, ITU-T J.1205 and ITU-T J.1206.
+
+The TVOS platform should meet the conformity requirements for functionality and architecture, security, performance, and interfaces as described in this Recommendation.
+
+## History\*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T J.1207 | 2024-10-29 | 9 | 11.1002/1000/16193 |
+
+## Keywords
+
+Conformance test, smart TV operating system, TVOS.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2025
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+###### Page
+
+| | | |
+|---------|----------------------------------------------------------------------------------|-----|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| 3.1 | Terms defined elsewhere ..... | 1 |
+| 3.2 | Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 4 |
+| 6 | Conformance approach in this Recommendation..... | 4 |
+| 7 | Conformity requirements..... | 4 |
+| 7.1 | Function and architecture conformity requirements..... | 4 |
+| 7.2 | Security conformity requirements ..... | 6 |
+| 7.3 | Performance conformity requirements ..... | 8 |
+| 7.4 | Interface conformity requirements ..... | 8 |
+| 8 | Test methods ..... | 8 |
+| 8.1 | Test environment ..... | 8 |
+| 8.2 | Test devices ..... | 15 |
+| 8.3 | Test process ..... | 17 |
+| Annex A | – Conformance test of TVOS JAVA application programming interface ..... | 40 |
+| A.1 | Conformance test of unidirectional broadcast network access unit interface ..... | 40 |
+| A.2 | Conformance test of broadcasting protocol processing unit interface ..... | 48 |
+| A.3 | Conformance test of access unit interfaces for two-way broadband networks ..... | 82 |
+| A.4 | Conformance test of HCI unit interface ..... | 95 |
+| A.5 | Conformance test of audio video (AV) setting unit interface ..... | 102 |
+| A.6 | Conformance test of media processing unit interface ..... | 120 |
+| A.7 | Conformance test of system management unit interface..... | 138 |
+| A.8 | Conformance test of application engine unit interface..... | 163 |
+| A.9 | Conformance test of multi-screen interactive unit interfaces..... | 205 |
+| A.10 | Conformance test of DRM management unit interface..... | 220 |
+| A.11 | Conformance test of DCAS unit interface..... | 223 |
+| Annex B | – Conformance test of TVOS WEB application programming interface..... | 242 |
+| B.1 | Conformance test of one-way broadcast network access unit interface..... | 242 |
+| B.2 | Conformance test of broadcast protocol processing unit interface..... | 248 |
+| B.3 | Conformance test of two-way broadband network access unit interface ..... | 271 |
+| B.4 | Conformance test of HCI unit interfaces ..... | 284 |
+| B.5 | Conformance test of AV setting unit interface..... | 286 |
+| B.6 | Conformance test of media processing unit interface ..... | 304 |
+
+| | Page | |
+|-----------|-----------------------------------------------------------------------------------------------|-----|
+| B.7 | Conformance test of application management unit interface ..... | 312 |
+| B.8 | Conformance test of message management unit interface ..... | 314 |
+| B.9 | Conformance test of system management unit interface..... | 315 |
+| B.10 | Conformance test of application engine unit interfaces ..... | 342 |
+| B.11 | Conformance test of the broadcast information service management unit
interface ..... | 368 |
+| B.12 | Conformance test of multi-screen interactive unit interface ..... | 375 |
+| B.13 | Conformance test of DRM management unit interface..... | 385 |
+| B.14 | Conformance test of DCAS management unit interface ..... | 387 |
+| Annex C – | Conformance test of hardware abstraction interfaces..... | 408 |
+| C.1 | Conformance test of specialized hardware abstraction interfaces for
media processing ..... | 408 |
+
+# Recommendation ITU-T J.1207
+
+## Smart television operating system – Conformance test
+
+# 1 Scope
+
+This Recommendation specifies the conformance test for a smart TV operating system over integrated broadcast and broadband cable networks. The smart TV operating system is intended to be installed in an integrated broadcast and broadband (IBB)-capable cable set-top box (STB) and TV, enabling both broadcasting and IP-based interactive services provided by cable television operators and third-party providers. By running the smart TV operating system, the IBB-capable cable STB and TV will be able to intelligently provide subscribers with advanced and personalized services. This is achieved through the downloading and installation of a range of innovative apps from both cable operators' platforms and third-party platforms, which are interconnected with the related cable operators' platforms.
+
+# 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 indicated 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-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 J.205] Recommendation ITU-T J.205 (2012), *Requirements for an application control framework using integrated broadcast and broadband digital television*.
+- [ITU-T J.1201] Recommendation ITU-T J.1201 (2022), *Smart television operating system – Functional requirements*.
+- [ITU-T J.1202] Recommendation ITU-T J.1202 (2022), *Smart television operating system – Architecture*.
+- [ITU-T J.1203] Recommendation ITU-T J.1203 (2022), *Smart television operating system – Specification*.
+- [ITU-T J.1204] Recommendation ITU-T J.1204 (2022), *Smart television operating system – Security framework*.
+- [ITU-T J.1205] Recommendation ITU-T J.1205 (2022), *Smart television operating system – Hardware abstract layer application programming interface*.
+- [ITU-T J.1206] Recommendation ITU-T J.1206 (2024), *Smart television operating system – Application programming interface*.
+- [ISO 639] ISO 639:2023, *Code for individual languages and language groups*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 integrated broadcast and broadband (IBB) DTV service** [ITU-T J.205]: A service that simultaneously provides an integrated experience of broadcasting and interactivity relating to media
+
+content, data and applications from multiple sources, where the interactivity is sometimes associated with broadcasting programmes.
+
+**3.1.2 smart television operating system (TVOS)** [ITU-T J.1201]: A system software running on an integrated broadcast and broadband-capable (IBB-capable) cable set top box (STB) and television (TV) that is capable of managing hardware, software and data resources of the IBB-capable cable STB and TV, supporting and controlling the application software execution.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|--------|-----------------------------------------------------|
+| AV | Audio Video |
+| AVI | Audio Video Interleave |
+| BSSID | Basic Service Set Identifier |
+| CA | Conditional Access |
+| CAS | Conditional Access System |
+| CAT | Conditional Access Table |
+| CPU | Central Processing Unit |
+| CW | Control Word |
+| DCAS | Downloadable Conditional Access System |
+| DHCP | Dynamic Host Configuration Protocol |
+| DNS | Domain Name System |
+| DTV | Digital Television |
+| DRM | Digital Rights Management |
+| DSM-CC | Digital Storage Media/Command and Control |
+| DTMB | Digital Television Terrestrial Multimedia Broadcast |
+| DVB | Digital Video Broadcasting |
+| DVB-C | Digital Video Broadcasting – Cable |
+| ECM | Entitlement Control Message |
+| EIT | Event Information Table |
+| EMM | Entitlement Management Message |
+| EPG | Electronic Programme Guide |
+| ES | Elementary Stream |
+| FLV | Flash Video |
+| HDMI | High-Definition Multimedia Interface |
+| HDR | High Dynamic Range |
+| HLS | HTTP Live Streaming |
+| HTML5 | Hyper Text Markup Language 5.0 |
+
+| | |
+|-----------|--------------------------------------------------------------|
+| HTTP | Hyper Text Transfer Protocol |
+| HTTPS | Hypertext Transfer Protocol Secure |
+| ID | Identifier |
+| IP | Internet Protocol |
+| IPQAM | Internet Protocol Quadrature Amplitude Modulation |
+| IPTV | IP Television |
+| LAN | Local Area Network |
+| M3UA | MTP 3 User Adaptation layer |
+| MAC | Media Access Control |
+| MP3 | MPEG-1 Audio Layer 3 |
+| MP4 | MPEG-4 Part 14 |
+| MPEG | Moving Picture Experts Group |
+| MPEG-DASH | MPEG Dynamic Adaptive Streaming over HTTP |
+| NIT | Network Information Table |
+| NVM | Non-Volatile Memory |
+| OSD | On-Screen Display |
+| OTA | Over The Air |
+| PAT | Programme Association Table |
+| PID | Packet Identifier |
+| PMT | Programme Mapping Table |
+| PPPOE | Point-to-Point Protocol over Ethernet |
+| PSI | Programme Service Information |
+| QAM | Quadrature Amplitude Modulation |
+| RAM | Random Access Memory |
+| REE | Rich Execution Environment |
+| SD card | Secure Digital Memory Card |
+| SDT | Service Description Table |
+| SI | Service Information |
+| SPDIF | Sony/Philips Digital Interconnect Format |
+| SSID | Service Set Identifier |
+| TA | Trusted Application |
+| TDT | Time Date Table |
+| TEE | Trusted Execution Environment |
+| TS | Transport Stream |
+| TOT | Time of Transmission |
+| TVOS | Television Operating System |
+| TVOS-C | Dual-Platform Version of a Smart Television Operating System |
+
+| | |
+|--------|----------------------------------------------------------------|
+| TVOS-H | Single-Platform Version of a Smart Television Operating System |
+| URL | Uniform Resource Locator |
+| USB | Universal Serial Bus |
+| UTC | Coordinated Universal Time |
+| W3C | World Wide Web Consortium |
+| WiFi | Wireless Fidelity |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The phrase "is required to" indicates a requirement which must be strictly followed and from which no deviation is permitted if conformance with this document is to be claimed.
+
+The phrase "is recommended" indicates a requirement that is advised but not absolutely necessary. Thus this requirement does not need to be present to claim conformance.
+
+The phrase "is prohibited from" indicates a requirement which must be strictly followed, with no deviation permitted if conformance with this document is to be claimed.
+
+The phrase "can optionally" indicates an optional requirement that is permissible, without implying any sense of being recommended. This term does not imply that the vendor's implementation must include the option and that the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with this Recommendation.
+
+In the body of this document and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear. When they do, they shall be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent.
+
+# 6 Conformance approach in this Recommendation
+
+Conformance of the smart TV operating system means that smart TV operating system conforms to relevant requirements of [ITU-T J.1201], [ITU-T J.1202], [ITU-T J.1203], [ITU-T J.1204], and [ITU-T J.1205].
+
+The smart television operating system (TVOS) platform should conform to the conformity requirements for functionality and architecture, security, performance , and interfaces according to clauses 7 and 8 of this Recommendation.
+
+# 7 Conformity requirements
+
+## 7.1 Function and architecture conformity requirements
+
+#### 7.1.1 Live TV conformity requirements
+
+| S/N | Requirement |
+|-----|------------------------------------------------------------------------|
+| 1 | Support tuning of system frequency |
+| 2 | Support system channel search |
+| 3 | Support channel change |
+| 4 | Support the system to get electronic programme guide (EPG) information |
+| 5 | Support the system to get EPG P/F information |
+
+| S/N | Requirement |
+|-----|---------------------------------------------------|
+| 6 | Support live audio video synchronization |
+| 7 | Support the system to display channel information |
+
+#### 7.1.2 Video-on-demand conformity requirements
+
+| S/N | Requirement |
+|-----|------------------------------------------------------|
+| 1 | Support the system to play the programme on demand |
+| 2 | Support the system to pause the programme on demand |
+| 3 | Support the system to resume the programme on demand |
+| 4 | Support the system to stop the programme on demand |
+| 5 | Support the system to seek the programme on demand |
+
+#### 7.1.3 IP television (IPTV) conformity requirements
+
+| S/N | Requirement |
+|-----|--------------------------------------------|
+| 1 | Support the system to play network video |
+| 2 | Support the system to pause network video |
+| 3 | Support the system to resume network video |
+| 4 | Support the system to stop network video |
+| 5 | Support the system to seek network video |
+
+#### 7.1.4 Conformity requirements for local audio video file playing
+
+| S/N | Requirement |
+|-----|--------------------------------------------------------------------------------------------------|
+| 1 | Support the system to normally play audio video files required in clause 6.1.5 of [ITU-T J.1201] |
+| 2 | Support the system to pause local audio video files |
+| 3 | Support the system to resume local audio video files |
+| 4 | Support the system to stop local audio video files |
+| 5 | Support the system to seek local audio video files |
+
+#### 7.1.5 Human-machine interaction conformity requirements
+
+| S/N | Requirement |
+|-----|----------------------------------------------|
+| 1 | Support three-button mouse input interaction |
+| 2 | Support keyboard input interaction |
+| 3 | Support remote controller input interaction |
+| 4 | Support voice input interaction |
+| 5 | Support mobile phone input interaction |
+
+#### 7.1.6 HTML5 support conformity requirements
+
+| S/N | Requirement |
+|-----|------------------------------------------------|
+| 1 | Support Hyper Text Markup Language 5.0 (HTML5) |
+
+#### 7.1.7 System setting conformity requirements
+
+| S/N | Requirement |
+|-----|--------------------------------------------|
+| 1 | Support to restore system factory settings |
+| 2 | Support standby/awaking |
+| 3 | Support volume up/down |
+| 4 | Support mute/unmute setting |
+
+#### 7.1.8 Conformity requirements of application software support
+
+| S/N | Requirement |
+|-----|---------------------------------------|
+| 1 | Support JAVA application installation |
+| 2 | Support JAVA application running |
+| 3 | Support WEB application installation |
+| 4 | Support WEB application running |
+
+#### 7.1.9 Architecture conformity requirements
+
+| S/N | Requirement |
+|-----|-----------------------------------------------------------------------------------------------------------------|
+| 1 | The system needs to contain two parts: trusted execution environment (TEE) and rich execution environment (REE) |
+| 2 | Media functions are processed by media engine of smart operating system |
+| 3 | WEB application is processed by HTML5 engine of smart TV operating system |
+| 4 | WEB application running is independent of JAVA environment |
+
+### 7.2 Security conformity requirements
+
+#### 7.2.1 Secure boot conformity requirements
+
+| S/N | Requirement |
+|-----|--------------------------------------------------------------------------------------------------------------------------------|
+| 1 | When BL_KEY1, BOOT, kernel and system mirror signed by legal BL_KEY0 are used and recorded, the system can be started normally |
+| 2 | When the mirror containing tampered BL_KEY1 is used and recorded, the system cannot be started normally |
+| 3 | When the mirror containing wrong BL_KEY1 and signature is used and recorded, the system cannot be started normally |
+| 4 | When the mirror containing tampered Bootloader is used and recorded, the system cannot be started normally |
+| 5 | When the mirror containing wrong Bootloader is used and recorded, the system cannot be started normally |
+| 6 | When the mirror containing tampered kernel is used and recorded, the system cannot be started normally |
+| 7 | When the data containing wrong kernel and signature are used and recorded, the system cannot be started normally |
+| 8 | When the mirror containing tampered system is used and recorded, the system cannot be started normally |
+| 9 | When the data containing wrong system mirror and signature are used and recorded, the system cannot be started normally |
+
+#### 7.2.2 Conformity requirements of application security
+
+| S/N | Requirement |
+|-----|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | When the application installation package signed with correct operator certificate and correct personal certificate is used, the system can be successfully installed |
+| 2 | When the application installation package signed with wrong operator certificate and correct personal certificate is used, the system cannot be successfully installed |
+| 3 | When the application installation package signed with correct operator certificate and wrong personal certificate is used, the system cannot be successfully installed |
+| 4 | When the tampered application installation package is used, the system cannot be successfully installed |
+| 5 | When the application installation package without operator certificate signature is used, the system cannot be successfully installed |
+| 6 | When the application installation package without personal certificate signature is used, the system cannot be successfully installed |
+
+#### 7.2.3 Conformity requirements of service security
+
+| S/N | Security type | Requirement |
+|-----|---------------|-----------------------------------------------------------------------------------------------------------------------------|
+| 1 | DCAS | Use downloadable conditional access system (DCAS) front end and DCAS application, and support the system to search channels |
+| 2 | | Use DCAS front end and DCAS application, and support the system to play programs |
+| 3 | | Use DCAS front end and DCAS application, and support the system to display EPG |
+| 4 | | Use DCAS front end and DCAS application, and support the system to change channels |
+| 5 | Integrated CA | Use integrated conditional access (CA) front end and integrated CA application, and support the system to search channels |
+| 6 | | Use integrated CA front end and integrated CA application, and support the system to play programs |
+| 7 | | Use integrated CA front end and integrated CA application, and support the system to display EPG |
+| 8 | | Use integrated CA front end and integrated CA application, and support the system to change channels |
+
+#### 7.2.4 Conformity requirements of content security
+
+| S/N | Requirement |
+|-----|------------------------------------------------------------------------------------------------------------------------|
+| 1 | Use digital rights management (DRM) front end and DRM application, and support the system to register terminal devices |
+| 2 | Use DRM front end and DRM application, and support the system to authorize terminal devices |
+| 3 | Use DRM front end and DRM application, and support the system to cancel authorization of terminal devices |
+| 4 | Use DRM front end and DRM application, and support the system to play programs |
+| 5 | Use DRM front end and DRM application, and support the system to pause programs |
+| 6 | Use DRM front end and DRM application, and support the system to resume programs |
+| 7 | Use DRM front end and DRM application, and support the system to stop programs |
+| 8 | Use DRM front end and DRM application, and support the system to seek programs |
+
+#### 7.2.5 Conformity requirements of security upgrade
+
+| S/N | Upgrade mode | Requirement |
+|-----|--------------------------------|---------------------------------------------------------------------------------------------|
+| 1 | Over the air (OTA) upgrade | Support high version detection |
+| 2 | | Support forced upgrade |
+| 3 | | Support the system to start securely in case of signal interruption in the upgrade process |
+| 4 | | Support the system to start securely in case of sudden power failure in the upgrade process |
+| 5 | Internet protocol (IP) upgrade | Support high version detection |
+| 6 | | Support forced upgrade |
+| 7 | | Support the system to start securely in case of sudden power failure in the upgrade process |
+
+## 7.3 Performance conformity requirements
+
+#### 7.3.1 Boot time conformity requirements
+
+| S/N | Requirement |
+|-----|-------------------------------------------------------------------------------------|
+| 1 | Support the time from power on to the first startup picture is not greater than 5 s |
+| 2 | Support the time from power on to the homepage is not greater than 50 s |
+
+### 7.3.2 Conformity requirements of channel change time
+
+| S/N | Requirement |
+|-----|-------------------------------------------------------------------------------------|
+| 1 | Support the switching time between high-definition channels is not greater than 2 s |
+
+## 7.4 Interface conformity requirements
+
+### 7.4.1 Conformity requirements of application programming interface
+
+It conforms to the relevant interface requirements stipulated in [ITU-T J.1206], including Annex A Conformity Test of TVOS JAVA Application Programming Interface and Annex B Conformity Test of TVOS WEB Application Programming Interface.
+
+#### 7.4.2 Conformity requirements of hardware abstract interface
+
+It conforms to the relevant interface requirements stipulated in [ITU-T J.1205], including Annex C Conformity Test of Hardware Abstract Interface.
+
+# 8 Test methods
+
+## 8.1 Test environment
+
+### 8.1.1 Hardware platform
+
+Hardware configuration requirements of dual-platform version of a smart television operating system (TVOS-C): storage capacity configuration of flash at the terminal to be tested should not be lower than 1 GB, and random access memory (RAM) storage capacity configuration should not be lower than 1 GB; central processing unit (CPU) should be configured with double kernel or above; dominant frequency should be not lower than 1 GHz.
+
+Hardware configuration requirements of single-platform version of a smart television operating system (TVOS-H): storage capacity configuration of flash at the terminal to be tested should not be
+
+lower than 256 MB, and RAM storage capacity configuration should not be lower than 512 MB; CPU dominant frequency should be not lower than 600 MHz.
+
+#### 8.1.2 Function and architecture test environment
+
+#### 8.1.2.1 Live TV test
+
+See Figure 1 for the block diagram of live TV test.
+
+
+
+The diagram shows a 'Code stream server' and an 'SI management server' connected to a 'Multiplexer'. The 'Multiplexer' is connected to a 'Modem' and a 'Remote controller'. The 'Modem' is connected to a 'Mixer', which is also connected to the 'Remote controller'. The 'Mixer' is connected to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' and a 'Controller' (indicated by a zigzag line). The text 'J.1207(24)' is in the bottom right corner.
+
+Block diagram of live TV test
+
+Figure 1 – Block diagram of live TV test
+
+##### 8.1.2.2 Video-on-demand test
+
+See Figure 2 for the block diagram of video-on-demand test.
+
+
+
+The diagram shows a 'Front end of video-on-demand' connected to an 'IPQAM modulator' and a 'Two-way network' (represented by a cloud). The 'IPQAM modulator' is connected to a 'Terminal'. The 'Two-way network' is also connected to the 'Terminal'. The 'Terminal' is connected to a 'Display terminal' and a 'Controller' (indicated by a zigzag line). The text 'J.1207(24)' is in the bottom right corner.
+
+Block diagram of video-on-demand test
+
+Figure 2 – Block diagram of video-on-demand test
+
+#### 8.1.2.3 IPTV test
+
+See Figure 3 for the block diagram of IPTV test.
+
+
+
+The diagram shows a 'Front end of application shop' and a 'Front end service platform of IPTV' connected to a 'Two-way' network (represented by a cloud). The 'Two-way' network is connected to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' and a 'Controller' (indicated by a zigzag line). The text 'J.1207(24)' is in the bottom right corner.
+
+Block diagram of IPTV test
+
+Figure 3 – Block diagram of IPTV test
+
+#### 8.1.2.4 Local audio video playing test
+
+See Figure 4 for the block diagram of local audio video playing test.
+
+
+
+```
+
+graph LR
+ A[Front end of application shop] --- B((Two-way))
+ B --- C[Terminal]
+ C --- D[Display terminal]
+ C --- E[Local storage device]
+ C -.-> F[Controller]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of local audio video playing test. A 'Front end of application shop' connects to a 'Two-way' cloud, which connects to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' above it, a 'Local storage device' below it, and a 'Controller' to its right via a zigzag line. The label J.1207(24) is at the bottom right.
+
+**Figure 4 – Block diagram of local audio video playing test**
+
+##### **8.1.2.5 Human-machine test**
+
+See Figure 5 for the block diagram of human-machine test.
+
+
+
+```
+
+graph LR
+ A[Front end of voice] --- B((Two-way))
+ B --- C[Terminal]
+ C --- D[Display terminal]
+ C -.-> E[USB/bluetooth]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of human-machine test. A 'Front end of voice' connects to a 'Two-way' cloud, which connects to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' above it and a 'USB/bluetooth' device to its right via a zigzag line. The label J.1207(24) is at the bottom right.
+
+**Figure 5 – Block diagram of human-machine test**
+
+#### **8.1.2.6 HTML5 support test**
+
+See Figure 6 for the block diagram of HTML5 support test.
+
+
+
+```
+
+graph LR
+ A[HTML5 test website] --- B((Two-way))
+ B --- C[Terminal]
+ C --- D[Display terminal]
+ C -.-> E[Controller]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of HTML5 support test. An 'HTML5 test website' connects to a 'Two-way' cloud, which connects to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' above it and a 'Controller' to its right via a zigzag line. The label J.1207(24) is at the bottom right.
+
+**Figure 6 – Block diagram of HTML5 support test**
+
+#### **8.1.2.7 System setting test**
+
+See Figure 7 for the block diagram of system setting test.
+
+
+
+```
+
+graph LR
+ A1[Code stream server] --- B[Multiplexer]
+ A2[Code stream server] --- B
+ B --- C1[Modem]
+ B --- C2[Modem]
+ C1 --- D[Mixer]
+ C2 --- D
+ D --- E[Terminal]
+ E --- F[Display terminal]
+ E -.-> G[Controller]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of system setting test. Two 'Code stream server' blocks connect to a 'Multiplexer'. The 'Multiplexer' connects to two 'Modem' blocks. The top 'Modem' connects to a 'Mixer', and the bottom 'Modem' also connects to the 'Mixer'. The 'Mixer' connects to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' above it and a 'Controller' to its right via a zigzag line. The label J.1207(24) is at the bottom right.
+
+**Figure 7 – Block diagram of system setting test**
+
+#### **8.1.2.8 Application software support test**
+
+See Figure 8 for the block diagram of application software test.
+
+
+
+```
+
+graph LR
+ FEA[Front end of application shop] --- TW((Two-way))
+ TW --- T[Terminal]
+ T --- DT[Display terminal]
+ T --- C[Controller]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of application software test. A 'Front end of application shop' block is connected to a 'Two-way' cloud, which is connected to a 'Terminal' block. The 'Terminal' block is connected to a 'Display terminal' block above it and a 'Controller' block to its right via a zigzag line. The label 'J.1207(24)' is at the bottom right.
+
+**Figure 8 – Block diagram of application software test**
+
+#### **8.1.2.9 Architecture test**
+
+See Figure 9 for the block diagram of system architecture test.
+
+
+
+```
+
+graph LR
+ CSS1[Code stream server] --- M[Multiplexer]
+ SMS[SI management server] --- M
+ CSS2[Code stream server] --- M
+ WFE[WEB front end] --- TW((Two-way))
+ TW --- T[Terminal]
+ M --- Modem1[Modem]
+ M --- Modem2[Modem]
+ Modem1 --- Mixer[Mixer]
+ Modem2 --- Mixer
+ Mixer --- T
+ T --- DT[Display terminal]
+ T --- C[Controller]
+ J120724[J.1207(24)]
+
+```
+
+Block diagram of system architecture test. On the left, four blocks ('Code stream server', 'SI management server', 'Code stream server', and 'WEB front end') are connected to a 'Multiplexer' block. The 'WEB front end' is connected via a 'Two-way' cloud. The 'Multiplexer' is connected to two 'Modem' blocks, which are connected to a 'Mixer' block. The 'Mixer' is connected to a 'Terminal' block. The 'Terminal' block is connected to a 'Display terminal' block above it and a 'Controller' block to its right via a zigzag line. The label 'J.1207(24)' is at the bottom right.
+
+**Figure 9 – Block diagram of system architecture test**
+
+#### **8.1.3 Security test environment**
+
+##### **8.1.3.1 Secure boot test**
+
+See Figure 10 for the block diagram of secure boot test.
+
+
+
+```
+
+graph LR
+ SBIMS[Secure boot image management system] --- T[Terminal]
+ subgraph SBIMS [ ]
+ IET[Image editing tool]
+ IST[Image signature tool]
+ TRT[Terminal recording tool]
+ end
+ T --- DT[Display terminal]
+ J120724[J.1207(24)]
+ style SBIMS fill:none,stroke:none
+
+```
+
+Block diagram of secure boot test. A large block labeled 'Secure boot image management system' contains three sub-blocks: 'Image editing tool', 'Image signature tool', and 'Terminal recording tool'. This large block is connected to a 'Terminal' block. The 'Terminal' block is connected to a 'Display terminal' block above it. The label 'J.1207(24)' is at the bottom right.
+
+**Figure 10 – Block diagram of secure boot test**
+
+#### **8.1.3.2 Application security test**
+
+See Figure 11 for the block diagram of application security test.
+
+
+
+```
+
+graph LR
+ subgraph Front_end_of_App_shop [Front end of App shop]
+ Signature[Signature]
+ Packaging[Packaging]
+ Certificate[Certificate]
+ end
+ Front_end_of_App_shop --- Two_way((Two-way))
+ Two_way --- Terminal[Terminal]
+ Terminal --- Display_terminal[Display terminal]
+ Terminal -.- Controller[Controller]
+ J1207_24[J.1207(24)]
+
+```
+
+Block diagram of application security test. A 'Front end of App shop' containing 'Signature', 'Packaging', and 'Certificate' is connected via a 'Two-way' cloud to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' and a 'Controller' via a zigzag line. Reference J.1207(24) is shown in the bottom right.
+
+**Figure 11 – Block diagram of application security test**
+
+#### **8.1.3.3 Service security test**
+
+See Figure 12 for the block diagram of service security test.
+
+
+
+```
+
+graph LR
+ Integrated_CA[Integrated CA] --> Multiplexer[Multiplexer]
+ Code_stream1[Code stream] --> Multiplexer
+ SI_management_server[SI management server] --> Multiplexer
+ Code_stream2[Code stream] --> Multiplexer
+ DCAS_front_end[DCAS front end] --> Multiplexer
+ Multiplexer --> Modem1[Modem]
+ Multiplexer --> Modem2[Modem]
+ Modem1 --> Mixer[Mixer]
+ Modem2 --> Mixer
+ Mixer --> Terminal[Terminal]
+ Terminal --- Display_terminal[Display terminal]
+ J1207_24[J.1207(24)]
+
+```
+
+Block diagram of service security test. Inputs include 'Integrated CA', 'Code stream', 'SI management server', 'Code stream', and 'DCAS front end' entering a 'Multiplexer'. The 'Multiplexer' output goes to two 'Modem' blocks, which then connect to a 'Mixer'. The 'Mixer' output goes to a 'Terminal', which is connected to a 'Display terminal'. Reference J.1207(24) is shown in the bottom right.
+
+**Figure 12 – Block diagram of service security test**
+
+#### **8.1.3.4 Content security test**
+
+See Figure 13 for the block diagram of content security test.
+
+
+
+```
+
+graph LR
+ DRM_front_end[DRM front end] --- Two_way((Two-way))
+ Stream_media_system[Stream media system] --- Two_way
+ Two_way --- Terminal[Terminal]
+ Terminal --- Display_terminal[Display terminal]
+ Terminal -.- Controller[Controller]
+ J1207_24[J.1207(24)]
+
+```
+
+Block diagram of content security test. 'DRM front end' and 'Stream media system' are connected via a 'Two-way' cloud to a 'Terminal'. The 'Terminal' is connected to a 'Display terminal' and a 'Controller' via a zigzag line. Reference J.1207(24) is shown in the bottom right.
+
+**Figure 13 – Block diagram of content security test**
+
+#### **8.1.3.5 Security upgrade test**
+
+See Figure 14 for the block diagram of upgrade support test.
+
+
+
+This block diagram illustrates the upgrade test environment. A central grey box labeled 'Terminal' is connected to a 'Display terminal' above it. To the left of the 'Terminal', two boxes labeled 'Front end of OTA upgrade' and 'Front end of IP upgrade' are connected to a cloud-shaped 'Two-way' component, which in turn connects to the 'Terminal'. To the right of the 'Terminal', a 'Controller' is connected via a zigzag line representing a wireless link. The reference 'J.1207(24)' is located at the bottom right.
+
+Block diagram of upgrade test (Figure 14).
+
+**Figure 14 – Block diagram of upgrade test**
+
+### 8.1.4 Performance test environment
+
+#### 8.1.4.1 Boot time test
+
+See Figure 15 for the block diagram of boot time test.
+
+
+
+This block diagram shows the boot time test environment. A central grey box labeled 'Terminal' is connected to a 'Display terminal' above it. To the right of the 'Terminal', a 'Controller' is connected via a zigzag line representing a wireless link. The reference 'J.1207(24)' is located at the bottom right.
+
+Block diagram of boot time test (Figure 15).
+
+**Figure 15 – Block diagram of boot time test**
+
+#### 8.1.4.2 Channel change time test
+
+See Figure 16 for the block diagram of channel change time test.
+
+
+
+This block diagram depicts the channel change time test environment. Two boxes labeled 'Code stream server' are on the left, both connected to a 'Multiplexer'. The 'Multiplexer' is connected to two 'Modem' boxes. The top 'Modem' is connected to a 'Mixer', and the bottom 'Modem' is also connected to the same 'Mixer'. The 'Mixer' is connected to a central grey box labeled 'Terminal'. The 'Terminal' is connected to a 'Display terminal' above it and a 'Controller' to its right via a zigzag line representing a wireless link. The reference 'J.1207(24)' is located at the bottom right.
+
+Block diagram of channel change time test (Figure 16).
+
+**Figure 16 – Block diagram of channel change time test**
+
+### 8.1.5 Interface test environment
+
+#### 8.1.5.1 Test of application programming interface
+
+See Figure 17 for the block diagram of TVOS application programming interface test.
+
+
+
+```
+
+graph TD
+ DCAS[DCAS] --> Multiplexer[Multiplexer]
+ CS1[Code stream] --> Multiplexer
+ SI[SI management] --> Multiplexer
+ CS2[Code stream] --> Multiplexer
+ FrontEnd[Front end] --> IPQAM[IPQAM]
+ FrontEnd --> TwoWay((Two-way))
+ API[Application programming interface test] --> TwoWay
+ DRM[DRM] --> TwoWay
+ WEB[WEB front end] --> TwoWay
+ AppShop[Application shop] --> TwoWay
+ IPTV[IPTV] --> TwoWay
+ MultiScreen[Multi-screen interaction] --> TwoWay
+ MultiScreen --> MobileInternet((Mobile Internet))
+ Multiplexer --> Modem[Modem]
+ Modem --> Terminal[Terminal]
+ IPQAM --> Terminal
+ TwoWay --> Terminal
+ TwoWay --> WiFi[Wi-Fi routing]
+ MobileInternet --> Mobile[Mobile]
+ Terminal --> Display[Display terminal]
+ Terminal --> Remote[Remote controller]
+ Terminal --> USB[USB peripheral]
+ Terminal -.-> BT[Bluetooth peripheral]
+ WiFi --> Mobile
+ Mobile -.-> BT
+
+```
+
+Block diagram of TVOS application programming interface test. The diagram shows various input components (DCAS, Code stream, SI management, Front end, Application programming interface test, DRM, WEB front end, Application shop, IPTV, Multi-screen interaction) connected to a central 'Two-way' cloud. This cloud is connected to a 'Terminal' and a 'Mobile Internet' cloud. The 'Terminal' is connected to a 'Modem' and 'IPQAM' (which receive signals from a 'Multiplexer' and 'Front end'). The 'Terminal' is also connected to a 'Wi-Fi routing' unit, which is connected to a 'Mobile' device via a dashed line with a Wi-Fi symbol. The 'Terminal' is also connected to a 'Display terminal', 'Remote controller', 'USB peripheral', and 'Bluetooth peripheral' (via a dashed line with a Bluetooth symbol). The 'Mobile Internet' cloud is connected to a 'Mobile' device via a dashed line with a signal strength icon. The 'Mobile' device is also connected to the 'Wi-Fi routing' unit.
+
+J.1207(24)
+
+**Figure 17 – Block diagram of TVOS application programming interface test**
+
+#### 8.1.5.2 Hardware abstract interface test
+
+See Figure 18 for the block diagram of hardware abstract interface test.
+
+
+
+```
+
+graph LR
+ CSS1[Code stream server] --> M[Multiplexer]
+ SI[SI server] --> M
+ CSS2[Code stream server] --> M
+ M --> Modem[Modem]
+ Modem --> Terminal[Terminal]
+ Terminal --> DT[Display terminal]
+ Terminal --> RC[Remote controller]
+ Terminal --> USB[USB Mouse, keyboard]
+ Terminal --> T((Two-way))
+ T --> HAL[Hardware abstract layer interface test]
+ T --> WFE[WEB front end]
+ T --> FEI[Front end of IPTV]
+
+```
+
+Block diagram of hardware abstract interface test. The diagram shows a flow from left to right: three boxes (Code stream server, SI server, Code stream server) point to a 'Multiplexer' box. The 'Multiplexer' box points to a 'Modem' box. The 'Modem' box points to a 'Terminal' box. The 'Terminal' box is connected to three boxes: 'Display terminal', 'Remote controller', and 'USB (Mouse, keyboard)'. Below the 'Terminal' box, a 'Two-way' cloud is connected to three boxes: 'Hardware abstract layer interface test', 'WEB front end', and 'Front end of IPTV'.
+
+J.1207(24)
+
+**Figure 18 – Block diagram of hardware abstract interface test**
+
+## 8.2 Test devices
+
+| S/N | Device name | Function description |
+|-----|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Code stream server | Code stream sending server, used to output TS code stream to the multiplexer, provide system signal source and support ASI signal output. |
+| 2 | SI management server | Code stream server in which programme specific information (PSI) / service information (SI) editing software is preassembled, used to output TS code stream containing SI information to the multiplexer. Support editing of programme association table (PAT), conditional access table (CAT), programme mapping table (PMT), service description table (SDT), event information table (EIT) and other tables, and have the functions of programme scheduling, programme search, user management and parameter configuration, etc. |
+| 3 | Multiplexer | TS code stream multiplexer, used to multiplex multichannel TS code stream, support code stream multiplexing, demultiplexing and remultiplexing, support packet identifier (PID) remapping, and support filtering capability of PID code stream. |
+| 4 | Modem | Cable/ territorial/ satellite modulator, used to modulate TS code stream to the specified frequency point. Support digital video broadcasting – cable (DVB-C) and digital television terrestrial multimedia broadcast (DTMB) modulation standards. Output radio-frequency signals; port requirements: F, 75 Ω. |
+| 5 | Mixer | Channel mixer, used to mix signals at multiple frequency points and complete the output. Requirements for radio frequency input and output port: F, 75 Ω. |
+| 6 | Front end of video-on-demand | Support hyper text transfer protocol (HTTP) / HTTP Live Streaming (HLS) stream media transport protocol, advanced video coding (ITU-T H.264 and MPEG-2) coded formats. Support stream media on-demand services such as audio video interleave (AVI), flash video (FLV), MPEG-1 audio layer 3 (MP3), MPEG-4 part 14 (MP4), MTP 3 user adaptation layer (M3UA) and moving picture experts group (MPEG). Be able to complete service distribution and scheduling such as media on-demand, time shift and playback. |
+
+| S/N | Device name | Function description |
+|-----|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | Internet protocol quadrature amplitude modulation (IPQAM) modem | Used to implement quadrature amplitude modulation (QAM) digital modulation for TS stream data from IP network. Support IP interface of gigabit Ethernet; support multiplexing, modulation and up-conversion functions. Complete QAM modulation and output of multichannel TS stream; requirements of radio frequency output interface: F, 75 Ω. |
+| 8 | Front end of application shop | Implement application presentation, application classification, application search, download, and upgrade, etc. |
+| 9 | Local storage device | Device with local storage function, including universal serial bus (USB) flash disk and secure digital memory card (SD card). |
+| 10 | HTML5 test website | Used to test the browser's support of HTML5. |
+| 11 | WEB front end | Used to support hypertext transfer protocol (HTTP) / hypertext transfer protocol secure (HTTPS) transport protocols and provide WEB services. |
+| 12 | Secure boot mirror management system | Used to manage device mirror, provide binary editing, signature and recording functions of mirror. |
+| 13 | Integrated CA front end | Integrated CA front end server, used to output TS code stream scrambled by integrated CA with entitlement message to the multiplexer. Have entitlement management message (EMM) and entitlement control message (ECM) message generation and sending functions. |
+| 14 | DCAS front end | DCAS front end server, used to output TS code stream scrambled by DCAS with entitlement message to the multiplexer. Have EMM and ECM message generation and sending functions. |
+| 15 | DRM front end | DRM front end, used to provide entitlement message and DRM encrypted code stream. Support mainstream coding formats such as MPEG-2, ITU-T H.264 and AVS+, and support mainstream transport formats such as HLS and MPEG dynamic adaptive streaming over HTTP (MPEG-DASH). |
+| 16 | Stream media system | Stream media server matched with DRM front-end system, used to provide stream media services. |
+| 17 | Front end of OTA upgrade | Insert upgrade descriptor in network information table (NIT), convert update software to TS file, and adopt one-way data broadcasting for terminal software upgrade. |
+| 18 | Front end of IP upgrade | The front end of IP upgrade is configured with upgrade file. After the terminal starts, the monitor of IPLoader in the backend will start automatically. It regularly and periodically requests to download server configuration files and detects update. Terminal software is upgraded by applying IP two-way channel. |
+| 19 | Front end of IPTV | Support HTTP/HLS stream media transport protocol, ITU-T H.264 and MPEG-2 coded formats. Support stream media on-demand services such as AVI, FLV, MP4 and MPEG. Be able to complete service distribution and scheduling such as media on-demand, time shift and playback. |
+| 20 | Front end of application programming interface test | The test system providing storage and push functions for test cases of TVOS application programming interface. |
+| 21 | Front end of hardware abstract interface test | The test system providing storage and push functions for test cases of TVOS hardware abstract interface. |
+| 22 | Front end of function component interface test | The test system providing storage and push functions for test cases of TVOS function component interface. |
+
+| S/N | Device name | Function description |
+|-----|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 23 | Front end of trusted execution environment (TEE) interface test | The test system providing storage and push functions for test cases of TVOS trusted execution environment interface. |
+| 24 | Cloud control terminal of multi-screen interaction | Front end server of internet multi-screen interaction, supporting multimedia resource sharing among smartphone, tablet PC and smart television and mutual playing push. |
+| 25 | Front end pf voice engine | Implement connection with voice cloud, and ensure voice data interaction, semantic match and search. |
+| 26 | Display terminal | Have the television with high-definition multimedia interface (HDMI) input. |
+| 27 | USB peripheral | USB interface peripheral, including USB keyboard and USB mouse, etc. |
+| 28 | Bluetooth peripheral | Bluetooth interface peripheral, including voice-based remote controller, mobile phone and gamepad, etc. |
+
+## 8.3 Test process
+
+### 8.3.1 Function and architecture conformance test
+
+#### 8.3.1.1 Live TV test
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support tuning of system frequency. | Preconditions:
Set up the test environment as shown in Figure 1, start the front end of live digital television such as code stream server and multiplexer, and open the terminal to be tested.
Test methods:
a) Enter system tuning interface.
b) Set corresponding frequency point according to situations of front-end frequency points.
Conformity result requirements:
Be able to tune to corresponding frequency point.
|
+| 2 | Support system channel search. | Preconditions:
Set up the test environment as shown in Figure 1, start the front end of live digital television such as code stream server and multiplexer, and open the terminal to be tested; the system can be tuned.
Test methods:
a) Enter system search interface.
b) Select auto search and observe search situations.
c) Select manual search and observe search situations.
d) Select range search and observe search situations.
Conformity result requirements:
a) Auto search succeeds.
b) Manual search succeeds.
c) Range search succeeds.
|
+
+| S/N | Test requirement | Process description |
+|-----|------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 3 | Support channel change. | Preconditions:
Set up the test environment as shown in Figure 1, start the front end of live digital television such as code stream server and multiplexer, open the terminal to be tested, and ensure live programme is played normally.
Test methods:
Switch different programs with the remote controller.
Conformity result requirements:
Be able to switch programs normally.
|
+| 4 | Support the system to get EPG information. | Preconditions:
Set up the test environment as shown in Figure 1, start the front end of live digital television such as code stream server, SI server and multiplexer, and open the terminal to be tested.
Test methods:
Check the EPG information list in the system.
Conformity result requirements:
Be able to normally display the EPG information list.
|
+| 5 | Support the system to get EPG P/F information. | Preconditions:
Set up the test environment as shown in Figure 1, start the front end of live digital television such as code stream server, SI server and multiplexer, and open the terminal to be tested.
Test methods:
a) Select EPG forward programme information list in the system.
b) Select EPG backward programme information list in the system.
Conformity result requirements:
Be able to normally display EPG forward and backward information lists.
|
+| 6 | Support live audio video synchronization. | Preconditions:
Set up the test system as shown in Figure 1, start the front end of live digital television such as code stream server and multiplexer, and open the terminal to be tested.
Test methods:
Open live audio video and measure whether audio video synchronization conforms to requirements.
Conformity result requirements:
The system can normally synchronize audio video.
|
+
+| S/N | Test requirement | Process description |
+|-----|----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | Support the system to display channel information. | Preconditions:
Set up the test system as shown in Figure 1, start the front end of live digital television such as code stream server and multiplexer, open the terminal to be tested, and ensure live stream is normal.
Test methods:
a) Check names of corresponding channels.
b) Check frequency points of corresponding channels.
c) Check programme identifier (ID) of corresponding channels.
Conformity result requirements:
Be able to normally display channel information.
|
+
+##### 8.3.1.2 Video-on-demand test
+
+| S/N | Test requirement | Process description |
+|-----|------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support the system to play the programme on demand. | Preconditions:
Set up the test environment as shown in Figure 2, start video-on-demand front end and IPQAM modulator, and open the terminal to be tested.
Test methods:
a) Enter the video-on-demand interface.
b) Select corresponding programme according to the programme list and play it.
Conformity result requirements:
Be able to play the programme on demand normally.
|
+| 2 | Support the system to pause the programme on demand. | Preconditions:
Set up the test environment as shown in Figure 2, start video-on-demand front end and IPQAM modulator, open the terminal to be tested and successfully play the programme on demand.
Test methods:
Select pause key to pause programme playing.
Conformity result requirements:
Be able to pause playing of the programme on demand.
|
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 3 | Support the system to resume the programme on demand. | Preconditions:
Set up the test environment as shown in Figure 2, start video-on-demand front end and IPQAM modulator, open the terminal to be tested, successfully play the programme on demand and pause the program.
Test methods:
Select resume key to resume programme playing.
Conformity result requirements:
Be able to resume playing of the programme on demand.
|
+| 4 | Support the system to stop the programme on demand. | Preconditions:
Set up the test environment as shown in Figure 2, start video-on-demand front end and IPQAM modulator, open the terminal to be tested and successfully play the programme on demand.
Test methods:
Select stop key to stop programme playing.
Conformity result requirements:
Be able to stop playing of the programme on demand.
|
+| 5 | Support the system to seek the programme on demand. | Preconditions:
Set up the test environment as shown in Figure 2, start video-on-demand front end and IPQAM modulator, open the terminal to be tested and successfully play the programme on demand.
Test methods:
Select seek key to control programme playing.
Conformity result requirements:
Be able to control the programme on demand normally.
|
+
+#### 8.3.1.3 IPTV test
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support the system to play network video. | Preconditions:
Set up the test environment as shown in Figure 3 and open the terminal to be tested.
Test methods:
Enter the application store and select IPTV application.
Select relevant programs in IPTV application and play them.
Conformity result requirements:
Be able to successfully play
|
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | corresponding program. |
+| 2 | Support the system to pause network video. | Preconditions:
Set up the test environment as shown in Figure 3, open the terminal to be tested, and ensure IPTV programme is in the status of normal playing.
Test methods:
Click "pause" button for the programme which is being played.
Conformity result requirements:
Be able to successfully pause corresponding program.
|
+| 3 | Support the system to resume network video. | Preconditions:
Set up the test environment as shown in Figure 3, open the terminal to be tested, and ensure IPTV programme is in the pause status.
Test methods:
Click "resume" button for the programme which is in the pause status.
Conformity result requirements:
Be able to successfully resume corresponding program.
|
+| 4 | Support the system to stop network video. | Preconditions:
Set up the test environment as shown in Figure 3, open the terminal to be tested, and ensure IPTV programme is in the status of normal playing.
Test methods:
Click "stop" button for the programme which is being played.
Conformity result requirements:
Be able to successfully stop corresponding program.
|
+| 5 | Support the system to seek network video. | Preconditions:
Set up the test environment as shown in Figure 3, open the terminal to be tested, and ensure IPTV programme is in the status of normal playing.
Test methods:
Control programme progress through seek button for the programme which is being played.
Conformity result requirements:
Be able to successfully drag and drop the corresponding programme to the corresponding position.
|
+
+#### 8.3.1.4 Local audio video file playing test
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support the system to normally play audio video files required in clause 6.1.5 of [ITU-T J.1201]. | Preconditions:
Set up the test environment as shown in Figure 4, open the terminal to be tested, and copy the audio video files required in clause 6.1.5 of [ITU-T J.1201] to a local storage device.
Test methods:
a) Insert the system device to be tested into the local storage device.
b) Select audio video files in the local storage device and play them.
Conformity result requirements:
Be able to successfully play corresponding audio video files.
|
+| 2 | Support the system to pause local audio video files. | Preconditions:
Set up the test environment as shown in Figure 4, open the terminal to be tested, copy the audio video files to a local storage device and ensure audio video files are played normally.
Test methods:
Click "pause" button for the audio video files which are played normally.
Conformity result requirements:
Be able to successfully pause corresponding audio video files.
|
+| 3 | Support the system to resume local audio video files. | Preconditions:
Set up the test environment as shown in Figure 4, open the terminal to be tested, copy the audio video files to a local storage device and ensure audio video files are in the pause status.
Test methods:
Click "resume" button for the audio video file which is in the pause status.
Conformity result requirements:
Be able to successfully resume corresponding audio video files.
|
+| 4 | Support the system to stop local audio video files. | Preconditions:
Set up the test environment as shown in Figure 4, open the terminal to be tested, copy the audio video files to a local storage device and ensure audio video files are played normally.
Test methods:
Click "stop" button for the audio video files.
Conformity result requirements:
Be able to successfully stop corresponding audio video files.
|
+
+| S/N | Test requirement | Process description |
+|-----|-----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 5 | Support the system to seek local audio video files. | Preconditions:
Set up the test environment as shown in Figure 4, open the terminal to be tested, copy the audio video files to a local storage device and ensure audio video files are played normally.
Test methods:
Control programme progress through drag and drop button for the programme which is being played.
Conformity result requirements:
Be able to successfully drag and drop the corresponding programme to the corresponding position.
|
+
+#### 8.3.1.5 Human-machine test
+
+| S/N | Test requirement | Process description |
+|-----|-----------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support three-button mouse input interaction. | Preconditions: set up the test environment as shown in Figure 5. Connect the mouse to the system device to be tested via USB interface.
Test methods:
a) Move the mouse.
b) Click the left mouse button.
c) Click the right mouse button.
d) Roll the mouse wheel.
Conformity result requirements:
The system device to be tested can correctly respond to mouse actions.
|
+| 2 | Support keyboard input interaction. | Preconditions: set up the test environment as shown in Figure 5. Connect the keyboard to the system device to be tested via USB interface.
Test methods:
a) Input any character on the keyboard.
b) Input direction key on the keyboard.
Conformity result requirements:
The system device to be tested can correctly respond to keyboard operation.
|
+| 3 | Support remote controller input interaction. | Preconditions: set up the test environment as shown in Figure 5.
Test methods:
Press any key on the remote controller, including character key, direction key, HOME, and backspace key, etc.
Conformity result requirements:
The system device to be tested can correctly respond to remote controller operation.
|
+
+| S/N | Test requirement | Process description |
+|-----|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 4 | Support voice input interaction. | Preconditions: set up the test environment as shown in Figure 5.
Test methods:
Send voice command to the terminal.
Conformity result requirements:
The system device to be tested can correctly respond to voice and make corresponding operation. |
+| 5 | Support mobile phone input interaction. | Preconditions: set up the test environment as shown in Figure 5.
Test methods:
Press any key on the mobile phone, including character key, direction key, HOME, and backspace key, etc.
Conformity result requirements:
The system device to be tested can correctly respond to mobile phone operation. |
+
+#### 8.3.1.6 HTML5 support test
+
+| S/N | Test requirement | Process description |
+|-----|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Test HTML5 support by the system. | Preconditions:
Set up the test system as shown in Figure 6, and keep network signal connection.
Test methods:
Open the browser and input HTML5 test website recommended by World Wide Web Consortium (W3C).
Conformity result requirements:
Test scores conform to requirements. |
+
+#### 8.3.1.7 System setting test
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support to restore system factory settings. | Preconditions:
Set up the test system as shown in Figure 7, and keep network signal connection. Live programs have been searched and played successfully.
Test methods:
Enter system setting interface and select factory setting reset.
Conformity result requirements:
After factory setting reset, original configuration and TV programs searched are all cleared. |
+
+| | | |
+|---|------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 2 | Support standby/awaking. | Preconditions:
Set up the test system as shown in Figure 7, and keep network signal connection.
Test methods:
a) Press the remote controller to make the system standby.
b) Press the remote controller to awake the system.
Conformity result requirements:
System standby/awakening function is normal.
|
+| 3 | Support volume up/down. | Preconditions:
Set up the test system as shown in Figure 7, start the front end of live digital television such as code stream server and multiplexer, open the terminal to be tested, and ensure live stream is normal.
Test methods:
a) Use volume "+" key on the remote controller to increase system volume.
b) Use volume "-" key on the remote controller to decrease system volume.
Conformity result requirements:
Be able to normally regulate system volume.
|
+| 4 | Support mute/unmute setting. | Preconditions:
Set up the test system as shown in Figure 7, start the front end of live digital television such as code stream server and multiplexer, open the terminal to be tested, and ensure live stream is normal.
Test methods:
a) Press "mute" button on the remote controller.
b) Press "mute" button on the remote controller again.
Conformity result requirements:
Mute the system when pressing "mute" button the first time, and cancel system mute when pressing "mute" button the second time.
|
+
+#### **8.3.1.8 Application software support test**
+
+| S/N | Test requirement | Process description |
+|-----|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Support JAVA application installation. | Preconditions:
Set up the test environment as shown in Figure 8.
Test methods:
a) Enter application store interface and select legal and valid JAVA application.
b) Download JAVA application and install it.
Conformity result requirements:
Be able to successfully install JAVA application.
|
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 2 | Support JAVA application running. | Preconditions:
Successfully and correctly install JAVA application.
Test methods:
Run JAVA application.
Conformity result requirements:
Be able to successfully run JAVA application. |
+| 3 | Support WEB application installation. | Preconditions:
Set up the test environment as shown in Figure 8.
Test methods:
a) Enter application store interface and select legal and valid WEB application.
b) Download WEB application and install it.
Conformity result requirements:
Be able to successfully install WEB application. |
+| 4 | Support WEB application running. | Preconditions:
Set up the test environment as shown in Figure 8.
Test methods:
Run legal and valid WEB application.
Conformity result requirements:
Be able to successfully run WEB application. |
+
+#### 8.3.1.9 Architecture conformance test
+
+| S/N | Test requirement | Process description |
+|-----|--------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | The system needs to contain two parts: TEE and REE. | Preconditions:
Set up the test environment as shown in Figure 9.
Test methods:
a) Download test TA.
b) Send test command through REE side.
Conformity result requirements:
REE side can receive the expected result fed back by test TA. |
+| 2 | Media functions are processed by media engine of smart operating system. | Preconditions:
Set up the test environment as shown in Figure 9.
Test methods:
a) Open media engine log.
b) Play a video.
c) Close the log.
Conformity result requirements:
The log content can confirm the invocation of media engine by the player application. |
+
+| S/N | Test requirement | Process description |
+|-----|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 3 | WEB application is processed by HTML5 engine of smart TV operating system. | Preconditions:
Set up the test environment as shown in Figure 9.
Test methods:
a) Open HTML5 engine log.
b) Run WEB application.
c) Close the log.
Conformity result requirements:
The log content can confirm the invocation of HTML5 engine by WEB application.
|
+| 4 | WEB application running is independent of JAVA environment. | Preconditions:
Set up the test environment as shown in Figure 9.
Test methods:
a) Open media engine log and HTML5 engine log.
b) Run WEB video player application.
c) Close the log.
Conformity result requirements:
The log content can confirm code execution is independent of JAVA execution environment.
|
+
+### 8.3.2 Security conformance test
+
+#### 8.3.2.1 Secure boot
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | When BL_KEY1, BOOT, kernel and system mirror signed by legal BL_KEY0 are used and recorded, the system can be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get BL_KEY1, Bootloader mirror, kernel mirror and system mirror without signature of the device to be tested.
Test methods:
a) Use correct BL_KEY0 to sign BL_KEY1 without signature, and use BL_KEY1 to sign Bootloader mirror, kernel mirror and system mirror without signature.
b) Use recording tools to record the above signed mirrors and other mirrors to the device to be tested.
c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested can be started normally, and finally enters the interface.
|
+
+| S/N | Test requirement | Process description |
+|-----|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 2 | When the mirror containing tampered BL_KEY1 is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get correctly signed BL_KEY1 mirror of the device to be tested.
Test methods:
- a) Use mirror editing tools to tamper any position of signed BL_KEY1 mirror.
- b) Use recording tools to record the above tampered mirrors and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+| 3 | When the mirror containing wrong BL_KEY1 and signature is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and prepare a wrongly signed BL_KEY1 mirror.
Test methods:
- a) Use correct BL_KEY0 to sign the above BL_KEY1 mirror.
- b) Use recording tools to record the above BL_KEY1 mirror and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+| 4 | When the mirror containing tampered Bootloader is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get correctly signed Bootloader mirror of the device to be tested from the device manufacturer.
Test methods:
- a) Use mirror editing tools to tamper any position of signed Bootloader mirror.
- b) Use recording tools to record the above tampered mirrors and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 5 | When the mirror containing wrong Bootloader is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get Bootloader mirror without signature of the device to be tested. Prepare a wrong BL_KEY1.
Test methods:
- a) Use wrong BL_KEY1 to sign Bootload mirror without signature.
- b) Use recording tools to record the above mirror wrongly signed by BL_KEY1 and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+| 6 | When the mirror containing tampered kernel is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get correctly signed kernel mirror of the device to be tested.
Test methods:
- a) Use mirror editing tools to tamper any position of signed kernel mirror.
- b) Use recording tools to record the above tampered mirrors and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+| 7 | When the data containing wrong kernel and signature are used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get the kernel mirror without signature of the device to be tested. Prepare a wrong BL_KEY1.
Test methods:
- a) Use wrong BL_KEY1 to sign the kernel mirror without signature.
- b) Use recording tools to record the above mirror wrongly signed by BL_KEY1 and other mirrors to the device to be tested.
- c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+
+| S/N | Test requirement | Process description |
+|-----|--------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | When the mirror containing tampered system is used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get correctly signed system mirror of the device to be tested.
Test methods:
a) Use mirror editing tools to tamper any position of signed system mirror.
b) Use recording tools to record the above tampered mirrors and other mirrors to the device to be tested.
c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+| 9 | When the data containing wrong system mirror and signature are used and recorded, the system cannot be started normally. | Preconditions:
Set up the test environment as shown in Figure 10, and get the system mirror without signature of the device to be tested. Prepare a wrong BL_KEY1.
Test methods:
a) Use wrong BL_KEY1 to sign the system mirror without signature.
b) Use recording tools to record the above mirror wrongly signed by BL_KEY1 and other mirrors to the device to be tested.
c) After the completion of recording, power off and restart the device to be tested.
Conformity result requirements:
The device to be tested cannot be started.
|
+
+#### 8.3.2.2 Application security
+
+| S/N | Test requirement | Process description |
+|-----|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | When the application installation package signed with correct operator certificate and correct personal certificate is used, the system can be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package without signature.
Test methods:
a) Use correct operator certificate and personal certificate to sign the installation package without signature, and place it at the front end of application store.
b) Download the above signed installation package from the application store and install it.
c) Complete the installation and start the application.
|
+
+| S/N | Test requirement | Process description |
+|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Conformity result requirements:
The application is normally installed and started. |
+| 2 | When the application installation package signed with wrong operator certificate and correct personal certificate is used, the system cannot be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package without signature.
Prepare a wrong operator certificate.
Test methods:
a) Use wrong operator certificate and correct personal certificate to sign the installation package without signature. And place it at the front end of application shop.
b) Download the above signed installation package from the application store and install it.
Conformity result requirements:
Installation fails. |
+| 3 | When the application installation package signed with correct operator certificate and wrong personal certificate is used, the system cannot be successfully installed.
When the application installation package signed with correct operator certificate and wrong personal certificate is used, the system cannot be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package without signature.
Prepare a wrong personal certificate.
Test methods:
a) Use correct operator certificate and wrong personal certificate to sign the installation package without signature. And place it at the front end of application shop.
b) Download the above signed installation package from the application store and install it.
Conformity result requirements:
Installation fails. |
+| 4 | When the tampered application installation package is used, the system cannot be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package with correct signature.
Test methods:
a) Use binary editing tools to tamper any position of installation package with correct signature. And place it at the front end of application shop.
b) Download the above tampered installation package from the application store and install it.
Conformity result requirements:
Installation fails. |
+
+| S/N | Test requirement | Process description |
+|-----|----------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 5 | When the application installation package without operator certificate signature is used, the system cannot be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package without signature.
Test methods:
a) Use only personal certificate to sign the installation package without signature. And place it at the front end of application shop.
b) Download the above signed installation package from the application store and install it.
Conformity result requirements:
Installation fails.
|
+| 6 | When the application installation package without personal certificate signature is used, the system cannot be successfully installed. | Preconditions:
Set up the test environment as shown in Figure 11, and get the application installation package without signature.
Test methods:
a) Directly use operator certificate to sign the installation package without signature. And place it at the front end of application shop.
b) Download the above signed installation package from the application store and install it.
Conformity result requirements:
Installation fails.
|
+
+#### 8.3.2.3 Service security
+
+| S/N | Security mode | Test requirement | Process description |
+|-----|---------------|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | DCAS | Use DCAS front end and DCAS application, and support the system to search channels. | Preconditions:
Set up the test environment as shown in Figure 12 and start DCAS front-end system.
Test methods:
a) Start DCAS application.
b) Start auto search, manual search and range search respectively one after another.
Conformity result requirements:
The search test in the three modes succeeds, and the programme list searched every time is consistent with the configuration of front end system.
|
+| 2 | | Use DCAS front end and DCAS application, and support the system to play programs. | Preconditions:
Set up the test environment as shown in Figure 12 and start DCAS front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start DCAS application.
b) Play corresponding programs.
|
+
+| S/N | Security mode | Test requirement | Process description |
+|-----|---------------|-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result requirements:
The programs are played normally. |
+| 3 | | Use DCAS front end and DCAS application, and support the system to display EPG. | Preconditions:
Set up the test environment as shown in Figure 12 and start DCAS front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start DCAS application.
b) Check the EPG information list in the system.
Conformity result requirements:
Be able to normally display the EPG information list. |
+| 4 | | Use DCAS front end and DCAS application, and support the system to change channels. | Preconditions:
Set up the test environment as shown in Figure 12 and start DCAS front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start DCAS application.
b) Change channels.
Conformity result requirements:
Channel change function is normal. |
+| 5 | Integrated CA | Use integrated CA front end and integrated CA application, and support the system to search channels. | Preconditions:
Set up the test environment as shown in Figure 12 and start integrated CA front-end system.
Test methods:
a) Start integrated CA application.
b) Start auto search, manual search and range search respectively one after another.
Conformity result requirements:
The search test in the three modes succeeds, and the programme list searched every time is consistent with the configuration of front end system. |
+| 6 | Integrated CA | Use integrated CA front end and integrated CA application, and support the system to play programs. | Preconditions:
Set up the test environment as shown in Figure 12 and start integrated CA front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start integrated CA application.
b) Play corresponding programs.
Conformity result requirements: programs are played normally. |
+| 7 | | Use integrated CA front end and integrated CA application, and support the system to display EPG. | Preconditions:
Set up the test environment as shown in Figure 12 and start integrated CA front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start integrated CA application.
b) Check the EPG information list in the system.
Conformity result requirements:
Be able to normally display the EPG information list. |
+
+| S/N | Security mode | Test requirement | Process description |
+|-----|---------------|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | | Use integrated CA front end and integrated CA application, and support the system to change channels. | Preconditions:
Set up the test environment as shown in Figure 12 and start integrated CA front-end system. The device to be tested successfully completes one auto search.
Test methods:
a) Start integrated CA application.
b) Change channels.
Conformity result requirements:
Channel change function is normal. |
+
+#### 8.3.2.4 Content security
+
+| S/N | Test requirement | Process description |
+|-----|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Use DRM front end and DRM application, and support the system to register terminal devices. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has not be registered yet.
Test methods:
a) Start DRM application.
b) Click register.
Conformity result requirements:
Register succeeds. |
+| 2 | Use DRM front end and DRM application, and support the system to authorize terminal devices. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has not entitled the device to be tested.
Test methods:
a) Add the device to be tested at DRM front end for entitlement.
b) Start DRM application.
c) Select a protected video and play it.
Conformity result requirements:
It is played successfully. |
+| 3 | Use DRM front end and DRM application, and support the system to cancel authorization of terminal devices. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Delete the device to be tested at DRM front end to cancel the entitlement.
b) Start DRM application.
c) Select a protected video and play it.
Conformity result requirements:
It fails to be played. |
+| 4 | Use DRM front end and DRM application, and support the system to play programs. | Preconditions:
Set up the test system as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Start DRM application. |
+
+| S/N | Test requirement | Process description |
+|-----|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | b) Select a protected video and play it.
Conformity result requirements:
It is played normally. |
+| 5 | Use DRM front end and DRM application, and support the system to pause programs. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Start DRM application.
b) Select a protected video and play it.
c) Press the pause key.
Conformity result requirements:
It is played and paused normally. |
+| 6 | Use DRM front end and DRM application, and support the system to resume programs. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Start DRM application.
b) Select a protected video and play it. c) Press the pause key.
d) Press the resume key.
Conformity result requirements:
It is played, paused and resumed normally. |
+| 7 | Use DRM front end and DRM application, and support the system to stop programs. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Start DRM application.
b) Select a protected video and play it.
c) Press the stop key.
Conformity result requirements:
It is played and stopped normally. |
+| 8 | Use DRM front end and DRM application, and support the system to seek programs. | Preconditions:
Set up the test environment as shown in Figure 13. DRM application has been registered, and DRM front end has entitled the device to be tested.
Test methods:
a) Start DRM application.
b) Select a protected video and play it.
c) Control programme progress through drag and drop button for the programme which is being played.
Conformity result requirements:
Press the direction key to successfully drag and drop the corresponding programme to the corresponding position. |
+
+#### 8.3.2.5 Security upgrade
+
+| S/N | Upgrade mode | Test requirement | Process description |
+|-----|--------------|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | OTA Upgrade | High version detection | Preconditions:
Set up the test environment as shown in Figure 14.
Prepare a transport stream (TS) containing signed high-version mirror. Start front end of OTA upgrade.
Test methods:
a) Broadcast the transport stream containing a high version at the front end of the trusted application (TA) upgrade.
b) Enter the upgrade interface of the device to be tested.
c) Detect the version.
Conformity result requirements:
Detect a high version.
|
+| 2 | | Forced upgrade test | Preconditions:
Set up the test environment as shown in Figure 14.
Prepare a transport stream containing signed high-version mirror. Start front end of OTA upgrade.
Test methods:
a) Broadcast the transport stream containing the signed high-version mirror at the front end of OTA upgrade.
b) The device to be tested detects a high version, and prompts it is about to upgrade.
c) Automatically restart after upgrading.
Conformity result requirements:
The system is upgraded normally; the system is restarted normally after system upgrade; the version number is a new one after the system is restarted.
|
+| 3 | | The system can be started securely in case of signal interruption in the upgrade process. | Preconditions:
Set up the test environment as shown in Figure 14.
Prepare a transport stream containing signed high-version mirror. Start front end of OTA upgrade.
Test methods:
a) Broadcast the transport stream containing the signed high-version mirror at the front end of OTA upgrade.
b) The device to be tested detects a high version, and prompts it is about to upgrade.
c) Pull up the live signal line in the upgrading process.
d) Resume the live signal line after the system is over time and restarted.
Conformity result requirements:
The system is over time and restarted, and the system will be upgraded again after restart.
|
+
+| S/N | Upgrade mode | Test requirement | Process description |
+|-----|--------------|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 4 | OTA Upgrade | The system can be started securely in case of sudden power failure in the upgrade process. | Preconditions:
Set up the test environment as shown in Figure 14.
Prepare a transport stream containing signed high-version mirror. Start front end of OTA upgrade.
Test methods:
a) Broadcast the transport stream containing the signed high-version mirror at the front end of OTA upgrade.
b) The device to be tested detects a high version, and prompts it is about to upgrade.
c) Cut off the power supply in the upgrading process.
d) Electrify the device again.
Conformity result requirements:
The system will be upgraded again after restart.
|
+| 5 | | High version detection | Preconditions:
Set up the test environment as shown in Figure 14. Place a signed high-version mirror at the front end of IP upgrade, and start the front end of IP upgrade.
Test methods:
a) Enter the upgrade interface of the device to be tested.
b) Detect the version.
Conformity result requirements:
Detect a high version.
|
+| 6 | IP upgrade | Forced upgrade test | Preconditions:
Set up the test environment as shown in Figure 14. Place a signed high-version mirror at the front end of IP upgrade, and start the front end of IP upgrade.
Test methods:
a) The device to be tested detects a high version, and prompts it is about to upgrade.
b) Automatically restart after upgrading.
Conformity result requirements: the system is upgraded normally; the system is restarted normally after system upgrade; the version number is a new one after the system is restarted.
|
+| 7 | | The system can be started securely in case of sudden power failure in the upgrade process. | Preconditions:
Set up the test environment as shown in Figure 14. Place a signed high-version mirror at the front end of IP upgrade, and start the front end of IP upgrade.
Test methods:
a) The device to be tested detects a high version, and prompts it is about to upgrade.
b) Cut off the power supply in the upgrading process.
c) Electrify the device again.
Conformity result requirements:
The system will be upgraded again after restart.
|
+
+### 8.3.3 Performance conformance test
+
+#### 8.3.3.1 Boot time
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Test whether the time from power on to the first startup picture is not greater than 5 s. | Preconditions:
Set up the test environment as shown in Figure 15.
Test methods:
a) Start the terminal to be tested and start timekeeping simultaneously.
b) Stop timekeeping when the startup picture is displayed and calculate the time.
Conformity result requirements:
The appearance time of startup picture conforms to the standard, not more than 5 s.
|
+| 2 | Test whether the time from power on to the main menu is not greater than 50 s. | Preconditions:
Set up the test environment as shown in Figure 15.
Test methods:
a) Start the terminal to be tested and start timekeeping simultaneously.
b) Stop timekeeping when the main interface of the system appears and calculate the time for startup.
Conformity result requirements:
The startup time conforms to the standard, not more than 50 s.
|
+
+#### 8.3.3.2 Channel change time
+
+| S/N | Test requirement | Process description |
+|-----|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Test whether the switching time between high-definition channels is not greater than 2 s. | Preconditions:
Set up the test environment as shown in Figure 16, start the front end of live digital television such as code stream server and multiplexer, open the terminal to be tested and finish channel search.
Test methods:
Switch among multiple channels, count time and test the channel change time.
Conformity result requirements: the channel change time conforms to the standard, not more than 2 s.
|
+
+### **8.3.4 Interface conformance test**
+
+#### **8.3.4.1 Conformance test of application programming interface**
+
+The test steps are as follows:
+
+- a) Set up the test system for the application programming interface of smart TV operating system as shown in Figure 17, and keep the connection between radio and television signals and internet signals;
+- b) Push the test cases which conform to the application programming interface requirements in the front end system of test cases to the terminal to be tested;
+- c) Operate test cases of the application programming interface of smart TV operating system and test the conformity of application programming interface. See Annex A and Annex B for the conformance test of application programming interface.
+
+#### **8.3.4.2 Conformance test of hardware abstract interface**
+
+The test steps are as follows:
+
+- a) Set up the test system for the hardware abstract interface of smart TV operating system as shown in Figure 18, and keep the connection between radio and television signals and internet signals;
+- b) Push the test cases which conform to the hardware abstract interface requirements in the front end system of test cases to the terminal to be tested;
+- c) Operate test cases of the hardware abstract layer interface of smart TV operating system and test the conformity of hardware abstract interface. See Annex C for the conformance test of hardware abstract interface.
+
+# Annex A
+
+## Conformance test of TVOS JAVA application programming interface
+
+(This annex forms an integral part of this Recommendation.)
+
+### A.1 Conformance test of unidirectional broadcast network access unit interface
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | TuningParameters | getDeliverySystemType() | Conformity Requirements:
Precondition: None.
Test method: Call getDeliverySystemType() method.
Conformity result: The return value is the correct current system type. |
+| 2 | TuningListener | receiveNIEvent
(TunerEvent anEvent) | Conformity Requirements:
Precondition:
addNetworkInterfaceListener(TuningListener listener) registers the listener correctly.
Test method: Call tune(TuningParameters tuningParameters) to start frequency locking and wait for listener messages until frequency locking ends.
Conformity result:
The anEvent type received by receiveNIEvent(TunerEvent anEvent) is:
a) TunerTuningEvent object indicates the start of frequency locking.
b) TunerTuningOverEvent object indicates the end of frequency locking. |
+| 3 | DvbcTuningParameters | DVB_C_MOD_UNDEFINED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 4 | | DVB_C_MOD_QAM16 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 5 | | DVB_C_MOD_QAM32 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 6 | | DVB_C_MOD_QAM64 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 7 | | DVB_C_MOD_QAM128 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | | DVB_C_MOD_QAM256 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 5. |
+| 9 | | DvbcTuningParameters() | Conformity requirements:
Precondition: None.
Test method: Call DvbcTuningParameters(), call getModulation(), getFrequency(), getSymbolRate() to obtain the parameters.
Conformity results:
The return obtained from getFrequency() and getSymbolRate() is -1, and the value obtained from getModulation() is DVB_C_MOD_UNDEFINED. |
+| 10 | | DvbcTuningParameters(
int frequency,
int modulation,
int symbolRate) | Conformity requirements:
Precondition: None.
Test method: Call DvbcTuningParameters (int frequency, int modulation, int symbolRate) to input the correct parameters, and call getModulation(), getFrequency(), getSymbolRate() to obtain the parameters.
Conformity results: The values obtained from getModulation(), getFrequency(), and getSymbolRate() are the same as the set values. |
+| 11 | | setFrequency(int frequency) | Conformity requirements:
Precondition: None.
Test method: setFrequency() calls getFrequency() after setting parameters.
Conformity result: getFrequency() obtains the same result as setting parameters. |
+| 12 | | getFrequency() | Conformity requirements:
Precondition: setFrequency(int frequency) passes in a valid parameter.
Test method: getFrequency().
Conformity result: The return value is the same as the set parameter. |
+| 13 | | setModulation(int modulation) | Conformity requirements:
Precondition: None.
Test method: Call setModulation(int modulation) and input valid parameters. Call getModulation() to get the value.
Conformity result: The return value is the same as the set parameter. |
+| 14 | | getModulation() | Conformity requirements:
Precondition: None.
Test method: Call setModulation(int modulation) and input valid parameters. Call getModulation() to get the value.
Conformity result: The return value is the same as the set parameter. |
+| 15 | | setSymbolRate(int symbolRate) | Conformity requirements:
Precondition: None.
Test method: Call setSymbolRate(int |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | symbolRate) to input valid parameters. Call getSymbolRate() to get the value.
Conformity result: The return value is the same as the set parameter. |
+| 16 | | getSymbolRate() | Conformity requirements:
Precondition: None.
Test method: Call setSymbolRate(int symbolRate) to input valid parameters. Call getSymbolRate() to get the value.
Conformity result: The return value is the same as the set parameter. |
+| 17 | | ABS_SS_POLAR_LINEAR_H | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 18 | | ABS_SS_POLAR_LINEAR_V | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 19 | | ABS_SS_POLAR_CIRCULAR_L | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 20 | | ABS_SS_POLAR_CIRCULAR_R | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 21 | AbsssTuningParameters | AbsssTuningParameters() | Conformity requirements:
Precondition: None.
Test method:
Call AbsssTuningParameters() to create the object.
Conformity result: The object is successfully created. |
+| 22 | | setFrequency(int freq) | Conformity requirements:
Precondition: None.
Test method: setFrequency(int freq) calls getFrequency() after setting parameters.
Conformity result: getFrequency() obtains the same result as setting parameters. |
+| 23 | | getFrequency() | Conformity requirements:
Precondition: setFrequency(int frequency) passes in a valid parameter.
Test method: Call getFrequency().
Conformity result: The return value is the same as the set parameter. |
+| 24 | | setPolarization(int polarization) | Conformity requirements:
Precondition: None.
Test method: Call SetPolarization(int polarization) to input valid parameters. Call getPolarization() to obtain the value. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The return value is the same as the set parameter. |
+| 25 | | getPolarization() | Conformity requirements:
Precondition: None.
Test method: Call SetPolarization(int polarization) to input valid parameters. Call getPolarization() to obtain the value.
Conformity result: The return value is the same as the set parameter. |
+| 26 | | setSymbolRate(int symbolRate) | Conformity requirements:
Precondition: None.
Test method: Call SetSymbolRate(int symbolRate) to input valid parameters. Call getSymbolRate() to obtain the value.
Conformity result: The return value is the same as the set parameter. |
+| 27 | | getSymbolRate() | Conformity requirements:
Precondition: None
Test method: Call SetSymbolRate(int symbolRate) to input valid parameters. Call getSymbolRate() to obtain the value.
Conformity result: The return value is the same as the set parameter. |
+| 28 | DtmbTuningParameters | DTMB_MOD_UNDEFINED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 29 | | DTMB_MOD_QAM4 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 30 | | DTMB_MOD_QAM4_NR | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 31 | | DTMB_MOD_QAM16 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 32 | | DTMB_MOD_QAM32 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+| 33 | | DTMB_MOD_QAM64 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 5. |
+| 34 | | DTMB_MOD_QAM128 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DtmbTuningParameters | | Conformity result: The constant value is 6. |
+| 35 | | DTMB_MOD_QAM256 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 7. |
+| 36 | | DTMB_MOD_QAM512 | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 8. |
+| 37 | | DTMB_BANDWIDTH_6M | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 6000. |
+| 38 | | DTMB_BANDWIDTH_7M | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 7000. |
+| 39 | | DTMB_BANDWIDTH_8M | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 8000. |
+| 40 | | DtmbTuningParameters() | Conformity requirements:
Precondition: None.
Test method: Call DtmbTuningParameters() to create an object.
Conformity result: The object is successfully created. |
+| 41 | | setFrequency(int frequency) | Conformity requirements:
Precondition: None.
Test method: Call setFrequency(int frequency) to input valid parameters, and call getFrequency().
Conformity result: Get the same value as the input parameter. |
+| 42 | | getFrequency() | Conformity requirements:
Precondition: None.
Test method: Call setFrequency(int frequency) to input valid parameters, and call getFrequency().
Conformity result: Get the same value as the input parameter. |
+| 43 | | setModulation(int bandWidth) | Conformity requirements:
Precondition: None.
Test method: Call setModulation(int modulation) to input valid parameters and call getModulation().
Conformity result: Get the same value as the input parameter. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 44 | DtmbTuningParameters | getModulation() | Conformity requirements:
Precondition: None.
Test method: Call setModulation(int modulation) to input valid parameters, and call getModulation() to get the value.
Conformity result: Get the same value as the input parameter. |
+| 45 | | setBandWidth(int bandWidth) | Conformity requirements:
Precondition: None.
Test method: Call setBandWidth(int bandWidth) to input valid parameters, and call getBandWidth() to get the value.
Conformity result: Get the same value as the input parameter. |
+| 46 | | getBandWidth() | Conformity requirements:
Precondition: None.
Test method: Call setBandWidth(int bandWidth) to input valid parameters, and call getBandWidth() to get in the value.
Conformity result: Get the same value as the input parameter. |
+| 47 | | getCodingRatio() | Conformity requirements:
Precondition: After successful tuning and demodulation, obtain the DTMB signal.
Test method: Call getCodingRatio().
Conformity result: Return 0.4, 0.6, or 0.8. |
+| 48 | | getPNMode() | Conformity requirements:
Precondition: After successful tuning and demodulation, obtain the DTMB signal.
Test method: Call getPNMode().
Conformity result: Return a string, for example "PN945". |
+| 49 | TunerEvent | getSource() | Conformity requirements:
Precondition: None.
Test method: Call getSource().
Conformity result: Return a tuner object. |
+| 50 | | TunerEvent(Object Tuner) | Conformity requirements:
Precondition: None.
Test method: Call TunerEvent(Object Tuner) to input the correct parameters.
Conformity result: Create a TunerEvent object. |
+| 51 | TunerTuningEvent | TunerTuningEvent (Object Tuner) | Conformity requirements:
Precondition: None.
Test method: Call TunerTuningEvent (Object Tuner) to input the correct parameters.
Conformity result: Successfully create a TunerTuningEvent object. |
+| 52 | TunerTuningOverEvent | SUCCEEDED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 53 | | FAILED | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 54 | Tuner | | Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 55 | | TunerTuningOverEvent
(Object tuner, int status) | Conformity requirements:
Precondition: None.
Test method: Call the TunerTuningOverEvent (Object Tuner, int status) method to input the Tuner object and lock frequency status.
Conformity result: Successfully create a TunerTuningOverEvent object. |
+| 56 | | getStatus() | Conformity requirement 1:
Precondition: Successfully call the tune() method and lock the frequency successfully.
Test method: Call the getStatus() method.
Conformity result: The method call succeeds and the return value is SUCCEEDED.
Conformity requirement 2:
Precondition: Successfully call the tune() method, but fail to lock the frequency.
Test method: Call the getStatus() method.
Conformity result: The method call succeeds and the return value is FAILED. |
+| 57 | | tune(TuningParameters tuningParameters) | Conformity requirement 1:
Precondition: None.
Test method: Call tune(TuningParameters tuningParameters) and input the correct parameters.
Conformity result: The method call succeeds with no return values and no exceptions.
Conformity requirement 2:
Precondition: None.
Test method: Call the tune(TuningParameters tuningParameters) method and input invalid parameters.
Conformity result: Throw IllegalArgumentException exception. |
+| 58 | | getSignalIntensity() | Conformity requirement 1:
Precondition: Successfully call the tune() method and lock the frequency successfully.
Test method: Call the getSignalIntensity() method and input valid parameters.
Conformity result: The method call is successful, and returns 0~100. |
+| 59 | | getSignalQuality() | Conformity requirement 1:
Precondition: Successfully call the tune() method and lock the frequency successfully.
Test method: Call the getSignalQuality() method and input valid parameters.
Conformity result: The method call is successful, and returns 0~100. |
+| | | getCurrentTunningParam() | Conformity requirement 1:
Precondition: It's in the process of locking. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|-------------------|------------------------|---------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 60 | Tuner | | Test method:
Call the getCurrentTunningParam() method.
Conformity result: The method call is successful and returns NULL.
Conformity requirement 2:
Precondition: Successfully call the tune() method and lock the frequency successfully.
Test method:
Call getCurrentTunningParam().
Conformity result: Return the current lock frequency parameter. |
+| 61 | | addNetworkInterfaceListener (TuningListener listener) | Conformity requirements:
Precondition: None.
Test method: AddNetworkInterfaceListener (TuningListener listener) passes in valid parameters.
Conformity result: The registered listener can receive messages. |
+| 62 | | removeNetworkInterfaceListener(TuningListener listener) | Conformity Requirements:
Precondition: none.
Test method:
removeNetworkInterfaceListener (TuningListener listener) input an already registered listener object.
Conformity result: The passed-in listener object will no longer receive messages. |
+| 63 | | getCurrentTransportStream() | Conformity requirement 1:
Precondition: The current network interface has been tuned to the transport stream.
Test method: getCurrentTransportStream().
Conformity result: Obtain the transport stream tuned to the current network interface.
Conformity requirement 2:
Precondition: The current network interface has not been tuned to the transport stream.
Test method: Call getCurrentTransportStream().
Conformity result: Return NULL. |
+| 64 | | getDeliverySystemType() | Conformity Requirements:
Precondition: None.
Test method:
Call getDeliverySystemType().
Conformity result: Get the current network interface delivery type. |
+| 65 | TunerManager | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call getInstance() to obtain the TunerManager instance.
Conformity result: Successfully obtain the instance. |
+| | | getNetworkInterfaces() | Conformity requirements:
Precondition: None.
Test method: Call getNetworkInterfaces() to obtain the Tuner object array.
Conformity result: Successfully obtain |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------|
+| | | | Tuner object array. |
+
+### A.2 Conformance test of broadcasting protocol processing unit interface
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | NotAuthorized Interface | POSSIBLE_UNDER_CONDITIONS | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 2 | | NOT_POSSIBLE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 3 | | COMMERCIAL_DIALOG | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 4 | | MATURITY_RATING_DIALOG | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 5 | | TECHNICAL_DIALOG | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 6 | | FREE_PREVIEW_DIALOG | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+| 7 | | NO_ENTITLEMENT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 8 | | MATURITY_RATING | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 9 | | TECHNICAL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 10 | | GEOGRAPHICAL_BLACKOUT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+| 11 | | OTHER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 5. |
+| 12 | | SERVICE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 13 | | ELEMENTARY_STREAM | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 14 | | getType() | Conformity requirements:
Precondition: Get a subclass object of NotAuthorizedInterface.
Test method: Call the getType method.
Conformity result: The method return value is of type int, indicating the type of MPEG-2 object in which the unauthorized error occurred, and takes the value of 0 or 1. |
+| 15 | | getService() | Conformity requirements:
Precondition: Obtain a subclass object of NotAuthorizedInterface.
Test method: Call the getService method.
Conformity result: The method return value is Service type, indicating the service object that cannot be descrambled. |
+| 16 | | getElementaryStreams() | Conformity requirements:
Precondition: Obtain a subclass object of NotAuthorizedInterface.
Test method: Call the getElementaryStreams method.
Conformity result: The method return value is an ElementaryStream array, indicating the elementary stream object that cannot be descrambled. |
+| 17 | | getReason(int index) | Conformity requirement 1:
Precondition: Obtain a subclass object of NotAuthorizedInterface.
Test method: Call the getReason method and input valid parameters.
Conformity result: The method returns an int array with a length of 2, where int [0] represents the main reason with values ranging from 0 to 1; Int [1] represents the secondary reason with values ranging from 1 to 5.
Conformity requirement 2:
Precondition: Obtain a subclass object of NotAuthorizedInterface. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the getReason method and input invalid parameters.
Conformity result: The function throws a java.lang.IndexOutOfBoundsException exception during execution. |
+| 18 | ElementaryStream | getPID() | Conformity requirements:
Precondition: Obtain the Service through the TransportStream class, and then obtain the ElementaryStream object through the Service.
Test method: Call the getPID method.
Conformity result: The method return value is of type int, and indicates the PID value of the transport packet carrying the elementary stream (ES). |
+| 19 | | getAssociationTag() | Conformity requirements:
Precondition: Obtain the Service through the TransportStream class, and then obtain the ElementaryStream object through the Service.
Test method: Call the getAssociationTag method;
Conformity result: The method return value is of type Integer, indicating the digital storage media/command and control (DSM-CC) association identifier of the base stream, or NULL if there is no association identifier. |
+| 20 | | getService() | Conformity requirements:
Precondition: Obtain the ElementaryStream object through the TransportStream class.
Test method: Call the getService method.
Conformity result: The method return value is Service type, indicating the service to which the ES stream belongs. |
+| 21 | Service | getServiceId() | Conformity requirements:
Precondition: Obtain the Service object through the TransportStream class.
Test method: Call the getServiceId method.
Conformity result: The return value is an int type, indicating the identifier of the service (i.e. obtaining the program_number field information in PMT). |
+| 22 | | getTransportStream() | Conformity requirements:
Precondition: Obtain Service object.
Test method: Call the getTransportStream method.
Conformity result: The method returns a value of TransportStream type, indicating the transport stream object that carries the service. |
+| 23 | | retrieveElementaryStream(int pid) | Conformity requirement 1:
Precondition: Obtain the Service object through the TransportStream class.
Test method: Call the retrieveElementaryStream method and input valid parameters.
Conformity result: The return value is ElementaryStream type, indicating the corresponding elementary stream objects included in the service. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 24 | TransportStream | retrieveElementaryStreams() | Conformity requirement 2:
Precondition: Obtain the Service object through the TransportStream class.
Test method: Call the retrieveElementaryStream method and input invalid parameters.
Conformity result: The method return value is empty. |
+| 25 | | getTransportStreamId() | Conformity requirements:
Precondition: Obtain the TransportStream object.
Test method: Call the getTransportStreamId method.
Conformity result: The method return value is an int type, indicating the transport stream identifier (i.e. obtaining information from the transport_stream_id field in PAT). |
+| 26 | | retrieveService(int serviceId) | Conformity requirement 1:
Precondition: Obtain the TransportStream object.
Test method: Call the retrieveService method and input valid parameters.
Conformity result: The method returns a Service object, indicating the corresponding service object carried in the transport stream.
Conformity requirement 2:
Precondition: Obtain the TransportStream object.
Test method: Call the retrieveService method and input invalid parameters.
Conformity result: The method return value is empty. |
+| 27 | | retrieveServices() | Conformity requirements:
Precondition: Obtain the TransportStream object.
Test method: Call the retrieveServices method.
Conformity result: The method return value is a Service array, indicating all service objects carried in the transport stream. |
+| 28 | DvbElementaryStream | getComponentTag() | Conformity requirements:
Precondition: Obtain DvbElementaryStream object.
Test method: Call the getComponentTag method.
Conformity result: The method return value is an Integer type, indicating the component label of the DVB elementary stream (i.e. the value of the component_tag field of the stream identifier descriptor carried by the ES stream loop in the PMT). |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 29 | DvbService | retrieveDvbElementaryStream | Conformity requirements:
Precondition: Obtain DvbService object.
Test method: Call the retrieveDvbElementaryStream method.
Conformity result: The method return value is of DvbElementaryStream type, indicating the DVB elementary stream included in the DVB service. |
+| 30 | DvbTransport Stream | getNetworkId() | Conformity requirements:
Precondition: Obtain DvbTransportStream object.
Test method: Call the getNetworkId method.
Conformity result: The method return value is an int type, indicating the network identifier of the network where the DVB transport stream is located. |
+| 31 | | getOriginalNetworkId() | Conformity requirements:
Precondition: Obtain DvbTransportStream object.
Test method: Call the getOriginalNetworkId method.
Conformity result: The method return value is an int type, indicating the original network identifier of the DVB transport stream. |
+| 32 | SectionFilterListener | sectionFilterUpdate() | Conformity requirement 1:
Precondition: The effective frequency point has been tuned and locked.
Test method:
a) Construct and implement the SectionFilterListener object;
b) Call the newSimpleSectionFilter method of the SectionFilterGroup to create a pair of SectionFilter objects, call setTimeout to set a timeout, and call addSectionFilterListener to bind listeners;
c) Call the attach method of SectionFilterGroup;
d) Call the startFiltering method of SectionFilter and input valid parameters;
e) Wait for callback sectionFilterUpdate.
Conformity result: The sectionFilterUpdate callback is successful, and the parameter event value is an instance of sectionAvailableEvent.
Conformity requirement 2:
Precondition: The effective frequency point has been tuned and locked.
Test method:
a) Construct and implement the SectionFilterListener object;
b) Call the newSimpleSectionFilter method of the SectionFilterGroup to create a pair of SectionFilter objects, call setTimeout to set a timeout, and call addSectionFilterListener to bind listeners; |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | c) Call the attach method of SectionFilterGroup;
d) Call the startFiltering method of SectionFilter and input parameters that do not exist in the current locked frequency point;
e) Wait for callback sectionFilterUpdate.
Conformity result: The sectionFilterUpdate callback is successful, with the parameter event being a TimeOutEvent instance.
|
+| 33 | Section | clone() | Conformity requirement 1:
Precondition: Obtain Section object.
Test method: Call the clone method.
Conformity result: The method return value is Object type, indicating the copied Section object.
Conformity requirement 2:
Precondition: Obtain Section object.
Test method: First call the setEmpty method and then call the clone method.
Conformity result: Throw the exception of NoDataAvailableException during function execution.
|
+| 34 | | current_next_indicator() | Conformity requirement 1:
Precondition: Obtain Section object.
Test method: Call the current_next_indicator method.
Conformity result: The method return value is a boolean type, indicating the value of the current next_indicator field in the segment header.
Conformity requirement 2:
Precondition: Obtain Section object.
Test method: First call the setEmpty method, and then call the current_next_indicator method.
Conformity result: Throw the exception of NoDataAvailableException during function execution.
|
+| 35 | | getByteAt(int index) | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the getByteAt method and input valid parameters.
Conformity result: The method returns a byte value, indicating the specified byte of segment data filtered from the object.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, then call the getByteAt method, and input valid parameters.
Conformity result: Throw the exception of NoDataAvailableException during function execution.
Conformity requirement 3:
Precondition: Obtain Section object.
Test method: Call the getByteAt method and
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Section | | input invalid parameters.
Conformity result: A java.lang.IndexOutOfBoundsException is thrown during method execution. |
+| 36 | | getData() | Conformity requirement 1:
Precondition: Obtain Section object.
Test method: Call the getData method.
Conformity result: The method return value is a byte array, indicating that the filtered segment data includes the segment header.
Conformity requirement 2:
Precondition: Obtain Section object.
Test method: first call the setEmpty method, then call the getData method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 37 | | getFullStatus() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the getFullStatus method.
Conformity result: The method return value is Boolean with a value of true.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, and then call the getFullStatus method.
Conformity result: The method return value is Boolean with a value of false. |
+| 38 | | last_section_number() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the last_section_number method.
Conformity result: The method return value is an int, indicating the value of the last_section_number field in the segment header.
Conformity requirement 2:
Precondition: Get Section object.
Test method: first call the setEmpty method, and then call the last_section_number method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 39 | | private_indicator() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the private_indicator method.
Conformity result: The method returns an int value that indicates the value of the private_indicator field in the segment header.
Conformity requirement 2:
Precondition: Get Section object.
Test method:
First call the setEmpty method, and then call the |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Section | | private_indicator method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 40 | | section_length() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the section_length method.
Conformity result: The method return value is an int type, indicating the value of the section_length field in the segment header.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, then call the section_length method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 41 | | section_number() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the section_number method.
Conformity result: The method return value is an int type, indicating the value of the section_number field in the segment header.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, then call the section_number method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 42 | | section_syntax_indicator() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the section_syntax_indicator method.
Conformity result: The method return value is Boolean, indicating the value of the section_syntax_indicator field in the segment header.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, then call the section_syntax_indicator method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 43 | | setEmpty() | Conformity requirements:
Precondition: Get Section object.
Test method: Call the setEmpty method.
Conformity result: The method execution is successful. |
+| 44 | | table_id_extension() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the table_id_extension method.
Conformity result: The method returns an int |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|-------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Section | | value, indicating the value of the table_id_extension field.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, and then call the table_id_extension method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 45 | | table_id() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the table_id method.
Conformity result: The method return value is an int type, indicating the table_id field of the segment.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, then call the table_id method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 46 | | version_number() | Conformity requirement 1:
Precondition: Get Section object.
Test method: Call the version_number method.
Conformity result: The method return value is short, indicating the value of the version number field.
Conformity requirement 2:
Precondition: Get Section object.
Test method: First call the setEmpty method, and then call the version_number method.
Conformity result: Throw the exception of NoDataAvailableException during function execution. |
+| 47 | SectionFilterGroup | SectionFilterGroup() | Conformity requirement 1:
Precondition: None.
Test method: Call the SectionFilterGroup method and input valid parameters.
Conformity result: The method call succeeds and creates a section filter group object.
Conformity requirement 2:
Precondition: None.
Test method: Call the SectionFilterGroup method and input invalid parameters (less than 1).
Conformity result: The method throws an IllegalArgumentException exception. |
+| 48 | | addResourceStatusEventListener() | Conformity requirements:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the addResourceStatusEventListener method and input valid parameters.
Conformity result: The method call succeeds. |
+| 49 | | removeResourceStatusEventListener() | Conformity requirements:
Precondition: The SectionFilterGroup object has been created. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the removeResourceStatusEventListener method and input valid parameters.
Conformity result: The method call succeeds. |
+| 50 | SectionFilterGroup | attach() | Conformity requirement 1:
Precondition: The effective frequency point has been tuned and locked, and the SectionFilterGroup object has been created.
Test method: Call the attach method and input valid parameters.
Conformity result: The method returns a value of true.
Conformity requirement 2:
Precondition: The effective frequency point has been tuned and locked, and the SectionFilterGroup object has been created.
Test method: Continuously call the attach method and input valid parameters.
Conformity result: The method returns a value of false. |
+| 51 | | detach() | Conformity Requirement 1.
Preconditions: The effective frequency point has been tuned and locked, and the SectionFilterGroup object has been created.
Test method: Call the attach method first, input valid parameters, and then call detach .
Conformity result: The method return value is true. |
+| 52 | | getClient() | Conformity Requirements.
Precondition: SectionFilterGroup object has been created.
Test method: Call the attach method first, input valid parameters, and then call getClient .
Conformity result: The method return value is the same as the input client parameter. |
+| 53 | | getSource() | Conformity Requirements.
Precondition: SectionFilterGroup object has been created.
Test method: Call attach method first, input valid parameters, then call getSource .
Conformity result: The method return value is the same as the input stream parameter. |
+| 54 | | newRingSectionFilter(int ringSize) | Conformity Requirements.
Precondition: SectionFilterGroup object has been created.
Test method: Call the newRingSectionFilter(int ringSize) method.
Conformity result: The method returns non-null. |
+| 55 | | newRingSectionFilter(int ringSize, int sectionSize) | Conformity Requirement 1.
Precondition: The SectionFilterGroup object has been created.
Test method: Call newRingSectionFilter(int ringSize, int sectionSize) method with valid parameters.
Conformity result: The method returns a non-empty TableSectionFilter object.
Conformity Requirement 2.
Precondition: The SectionFilterGroup object has |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SectionFilterGroup | | been created.
Test method: Call newRingSectionFilter(int ringSize, int sectionSize) method with invalid parameters.
Conformity result: Throw the exception of IllegalArgumentException during method execution. |
+| 56 | | newSimpleSectionFilter() | Conformity requirements:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the newSimpleSectionFilter() method.
Conformity result: The method returns non-null. |
+| 57 | | newSimpleSectionFilter(int sectionSize) | Conformity requirement 1:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the newSimpleSectionFilter (int sectionSize) method and input valid parameters.
Conformity result: The method returns a non empty TableSectionFilter object.
Conformity requirement 2:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the newSimpleSectionFilter (int sectionSize) method and input invalid parameters.
Conformity result: Throw the exception of IllegalArgumentException during method execution. |
+| 58 | | newTableSectionFilter() | Conformity Requirement.
Precondition: SectionFilterGroup object has been created.
Test method: Call newTableSectionFilter() method.
Conformity result: The method returns non-null. |
+| 59 | | newTableSectionFilter(int sectionSize) | Conformity requirement 1:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the newTableSectionFilter(int sectionSize) method and input valid parameters.
Conformity result: The method returns a non empty TableSectionFilter object.
Conformity requirement 2:
Precondition: The SectionFilterGroup object has been created.
Test method: Call the newTableSectionFilter(int sectionSize) method and input invalid parameters.
Conformity result: Throw the exception of IllegalArgumentException during method execution. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 60 | SectionFilter | addSectionFilterListener() | Conformity requirements:
Precondition: The SectionFilterGroup object has been created, and newRingSectionFilter(int ringSize) is called to get the SectionFilter object.
Test method: Call the addSectionFilterListener method.
Conformity result: The method execution is successful. |
+| 61 | | removeSectionFilterListener() | Conformity requirements:
Precondition: The SectionFilterGroup object has been created, and newRingSectionFilter(int ringSize) is called to get the SectionFilter object.
Test method: Call the removeSectionFilterListener method.
Conformity result: The method execution is successful. |
+| 62 | | setTimeout() | Conformity requirement 1:
Precondition: The SectionFilterGroup object has been created, and newSimpleSectionFilter() is called to get the SectionFilter object.
Test method: Call the setTimeout method and input valid parameters.
Conformity result: The method execution is successful.
Conformity requirement 2:
Precondition: The SectionFilterGroup object has been created, and newSimpleSectionFilter() is called to obtain the SectionFilter object.
Test method: Call the setTimeout method and input invalid parameters.
Conformity results: Throw the exception of IllegalArgumentException during method execution. |
+| 63 | | startFiltering() | Conformity requirement 1:
Precondition: The effective frequency point has been tuned and locked, a SectionFilterGroup object has been created, and newSimpleSectionFilter() has been called to get the SectionFilter object.
Test method: Call the startFiltering method and input valid parameters.
Conformity result: The method returns a value of true.
Conformity requirement 2:
Precondition: The effective frequency point has been tuned and locked, a SectionFilterGroup object has been created, and newSimpleSectionFilter() has been called to obtain the SectionFilter object.
Test method: Call the startFiltering method twice in a row and input valid parameters.
Conformity result: The method returns a value of false. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 64 | | stopFiltering() | Conformity requirement 1:
Precondition: The effective frequency point has been tuned and locked, a SectionFilterGroup object has been created, and newSimpleSectionFilter() has been called to obtain the SectionFilter object.
Test method: Call the stopFiltering method and input valid parameters.
Conformity result: The method returns a value of false.
Conformity requirement 2:
Precondition: The effective frequency point has been tuned and locked, a SectionFilterGroup object has been created, and newSimpleSectionFilter() has been called to obtain the SectionFilter object.
Test method: First call the startFiltering method, input valid parameters, and then call stopFiltering.
Conformity result: The method returns a value of true.
|
+| 65 | SimpleSection Filter | getSection() | Conformity requirement 1:
Preconditions: Effective frequency points have been tuned and locked, a SectionFilterGroup object has been created, newSimpleSectionFilter() has been called to get the SectionFilter object, and timeouts and listeners have been set.
Test method: Call the startFiltering method, input valid parameters, wait for the callback SectionAvailableEvent message, and then call the getSection method.
Conformity result: The method return value is a non empty object.
Conformity requirement 2:
Preconditions: Effective frequency points have been tuned and locked, a SectionFilterGroup object has been created, newSimpleSectionFilter() has been called to get the SimpleSectionFilter object, and timeouts and listeners have been set.
Test method: First call the startFiltering method, input valid parameters, and then call the getSection method before the listener receives the SectionAvailableEvent message.
Conformity result: The method return value is empty.
|
+| 66 | TableSection Filter | getSections() | Conformity requirement 1:
Preconditions: Effective frequency points have been tuned and locked, a SectionFilterGroup object has been created, newTableSectionFilter() has been called to get the TableSectionFilter object, and timeouts and listeners have been set.
Test method: Call the startFiltering method, input valid parameters, wait for the callback EndOfFilteringEvent message, and then call the getSections method.
Conformity result: The method return value is a non empty object.
|
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity requirement 2:
Preconditions: Effective frequency points have been tuned and locked, a SectionFilterGroup object has been created, newTableSectionFilter() has been called to obtain the TableSectionFilter object, and timeouts and listeners have been set.
Test method: First call the startFiltering method, input valid parameters, and then call the getSections method before the listener receives the EndOfFilteringEvent message.
Conformity result: The method return value is empty.
|
+| 67 | RingSectionFilter | getSections() | Conformity requirement 1:
Preconditions: Effective frequency points have been tuned and locked, a Section Filter Group object has been created, newRingSectionFilter (int ringSize) is called to get the RingSectionFilter object, and timeouts and listeners are set.
Test method: Call the startFiltering method, input valid parameters, wait for the callback SectionAvailableEvent message, and then call the getSections method.
Conformity result: The method return value is a non empty object.
Conformity requirement 2:
Preconditions: Effective frequency points have been tuned and locked, a Section Filter Group object has been created, newRingSectionFilter (int ringSize) is called to get the RingSectionFilter object, and timeouts and listeners are set.
Test method: First call the startFiltering method, input valid parameters, and then call the getSections method before the listener receives the SectionAvailableEvent message.
Conformity result: The method return value is empty.
|
+| 68 | SectionFilterEvent | getSource() | Conformity requirements:
Precondition: The effective frequency point has been tuned and locked.
Test method:
- a) Construct and implement the SectionFilterListener object;
- b) Call the newSimpleSectionFilter method of the SectionFilterGroup to create a pair of SectionFilter objects, call setTimeout to set a timeout, and call addSectionFilterListener to bind listeners;
- c) Call the attach method of SectionFilterGroup;
- d) Call the startFiltering method of SectionFilter and input valid parameters;
- e) Wait for the callback sectionFilterUpdate to obtain the sectionFilterEvent object;
- f) Call the getSource method.
|
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The return value is the filter object created in step b). |
+| 69 | | getAppData() | Conformity requirements:
Precondition: The effective frequency point has been tuned and locked.
Test method:
a) Construct and implement the SectionFilterListener object;
b) Call the newSimpleSectionFilter method of the SectionFilterGroup to create a pair of SectionFilter objects, call setTimeout to set a timeout, and call addSectionFilterListener to bind listeners;
c) Call the attach method of SectionFilterGroup;
d) Call the startFiltering method of SectionFilter and input valid parameters;
e) Wait for the callback sectionFilterUpdate to obtain the sectionFilterEvent object;
f) Call the getAppData method.
Conformity result: The return value is consistent with the input appData parameter values in step d.
|
+| 70 | VersionChangeDetectedEvent | getOriginalVersion() | Conformity requirements:
Precondition: By obtaining the time of the SectionFilterEvent, obtain the event that the Section has changed, which is the VersionChangeDetectedEvent object.
Test method: Call the getOriginalVersion method.
Conformity result: The method returns an int type value, indicating the old version number of the segment data.
|
+| 71 | | getNewVersion() | Conformity requirements:
Precondition: By obtaining the SectionFilterEvent event, obtain the event that the Section has changed, which is the VersionChangeDetectedEvent object.
Test method: Call the getNewVersion method.
Conformity result: The method returns an int value, indicating the new version number of the segment data.
|
+| 72 | ForcedDisconnectedEvent | getSource() | Conformity requirements:
Precondition: Get the ForcedDisconnectedEvent object.
Test method: Call the getSource method.
Conformity result: The method return value is the corresponding filter.
|
+| 73 | Locator | Locator() | Conformity requirement 1:
Precondition: None.
Test method: Call the Locator method.
Conformity result: The method return value is a non empty Locator object.
Conformity requirement 2:
Precondition: None.
Test method: Call the Locator method and input
|
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Locator | | parameters.
Conformity result: The method return value is a non empty Locator object. |
+| 74 | | hasMultipleTransformations() | Conformity requirements:
Precondition: The Locator object has been created.
Test method: Call the hasMultipleTransformations method.
Conformity result: The method return value is a value of false. |
+| 75 | | toExternalForm() | Conformity requirement 1:
Precondition: None.
Test method: Call Locator, input string parameters, and then call toExternalForm method.
Conformity result: The method return value is consistent with the input string. |
+| 76 | | toString() | Conformity requirement 1:
Precondition: None.
Test method: Call Locator, and then call the toString method.
Conformity result: The method return value is NULL.
Conformity requirement 2:
Precondition: None.
Test method: Call Locator, input string parameters, and then call toString method.
Conformity result: The method return value is consistent with the input string. |
+| 77 | | equals() | Conformity requirement 1:
Precondition: None.
Test method: Call the Locator method, input the same parameters, construct two objects, and then call The equals method.
Conformity result: The method return value is a value of true.
Conformity requirement 2:
Precondition: None.
Test method: Call the Locator method to input different string parameters, and then call the equals method.
Conformity result: The method return value is a value of false. |
+| 78 | DvbLocator | DvbLocator() | Conformity requirement 1:
Precondition: None.
Test method: Call the Locator method and enter invalid parameters.
Conformity result: Thrown the exception of an InvalidLocatorException during method execution.
Conformity requirement 2:
Precondition: None.
Test method: Call the Locator method, input validparameters in the format "dvb://original_network_id.transport_stream_id". |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbLocator | | Conformity result: The method returns a DvbLocator object.
Conformity requirement 3:
Precondition: None.
Test method: Call the Locator method, input validparameters in the format "dvb://original_network_id.transport_stream_id.service_id.component_tag{&component_tag};event_id/filepath".
Conformity result: The method returns a DvbLocator object.
Conformity requirement 4:
Precondition: None.
Test method: Call the method of DvbLocator(int onid, int tsid, int serviceid, int eventid,int[] componenttags, String filePath), and input validparameters.
Conformity result: The method returns a DvbLocator object.
|
+| 79 | | getComponentTags() | Conformity requirement 1:
Precondition: Construct a DvbLocator object using a uniform resource locator (URL) without component_tag.
Test method: Call the getComponentTags method.
Conformity result: The method returns an empty object.
Conformity requirement 2:
Precondition: Construct a DvbLocator object using a URL with component_tag.
Test method: Call the getComponentTags method.
Conformity result: The method returns a non empty object.
|
+| 80 | | getEventId() | Conformity requirement 1:
Precondition: Construct a DvbLocator object using a URL without event_id.
Test method: Call the getEventId method.
Conformity result: The method returns a null value of -1.
Conformity requirement 2:
Precondition: Construct a DvbLocator object using a URL with event_id.
Test method: Call the getEventId method.
Conformity result: The method returns he same decimal value as the input event_id.
|
+| 81 | | getFilePath() | Conformity requirement 1:
Precondition: Construct a DvbLocator object using a URL without a filepath.
Test method: Call the getFilePath method.
Conformity result: The method returns an empty object.
Conformity requirement 2:
Precondition: Construct a DvbLocator object
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbLocator | | using a URL with event_id.
Test method: Call the getFilePath method.
Conformity result: The method returns the input filepath value. |
+| 82 | | getOriginalNetworkId() | Conformity requirements:
Precondition: The DvbLocator object has been constructed.
Test method: Call the getOriginalNetworkId method.
Conformity result: The method returns the same decimal value as the original_network_id. |
+| 83 | | getTransportStreamId() | Conformity requirements:
Precondition: The DvbLocator object has been constructed.
Test method: Call the getTransportStreamId method.
Conformity result: The method returns the same decimal value as the transport_stream_id. |
+| 84 | | getServiceId() | Conformity requirements:
Precondition: The DvbLocator object has been constructed.
Test method: Call the getServiceId method.
Conformity result: The method returns the same decimal value as the service_id. |
+| 85 | | toExternalForm() | Conformity requirement 1:
Precondition: None.
Test method: Call the Locator method, input a valid parameter in the format of "dvb://original_network_id.transport_stream_id.service_id.component_tag{&component_tag};event_id/filepath", call the toExternalForm method.
Conformity result: The method returns a string that matches the input parameter.
Conformity requirement 2:
Precondition: None.
Test method: Call the DvbLocator(int onid, int tsid, int serviceid, int eventid, int[] componenttags, String filePath) method with input valid parameters and then call the toExternalForm method.
Conformity result: The method returns a string starting with dvb://. |
+| 86 | DvbNetworkBoundLocator | DvbNetworkBoundLocator() | Conformity requirement 1:
Precondition: None.
Test method: Call the DvbNetworkBoundLocator method and input valid parameters.
Conformity result: The method returns the DvbNetworkBoundLocator object.
Conformity requirement 2:
Precondition: None.
Test method: Call the DvbNetworkBoundLocator method and input |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | invalid parameters.
Conformity result: Throw
InvalidLocatorExceptionEx exception during
method execution. |
+| 87 | | getNetworkId() | Conformity requirements:
Precondition: None.
Test method: Call the
DvbNetworkBoundLocator method, input valid
parameters, and call the getNetworkId method.
Conformity result: The method return value is
the same as the input parameter value. |
+| 88 | | SI_BOUQUET | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 89 | | SI_NETWORK | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 90 | | SI_SERVICE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 91 | | SI_TS | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 92 | | SI_ES | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+| 93 | SICommonInf
ormation | SI_EVENT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 5. |
+| 94 | | SI_TIME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 6. |
+| 95 | | getType() | Conformity requirements:
Precondition: Get SICommonInformation
instance.
Test method: Call the getType method.
Conformity result: The method returns an int
value with a range of 0 to 6. |
+| 96 | | getSIDatabase() | Conformity requirements:
Precondition: Get SICommonInformation
instance.
Test method: Call the getSIDatabase method.
Conformity result: The method returns a value
of SIDatabase type, indicating the PSI/SI
database to which the SI object of this interface
belongs. |
+| 97 | SINetwork | getNetworkID() | Conformity requirements:
Precondition: Get the SINetwork instance.
Test method: Call the getNetworkID method.
Conformity result: The method returns an int
value, indicating the acquisition of the network |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 98 | SINetwork | getNetworkName() | identifier (i.e., the network_id field of NIT).
Conformity requirements:
Precondition: Get the SINetwork instance.
Test method: Call the getNetworkName method.
Conformity result: The method returns a String value, indicating the acquisition of the network identifier (i.e., the network_id field of NIT). |
+| 99 | | getShortNetworkName() | Conformity requirements:
Precondition: Get the SINetwork instance.
Test method: Call the getShortNetworkName method.
Conformity result: The method return value is a String type, indicating the abbreviation of the network name. |
+| 100 | | getServicesLocators() | Conformity requirements:
Precondition: Get the SINetwork instance.
Test method: Call the getServicesLocators method.
Conformity result: The method returns an array of objects with a value of org.davic.net.dvb.DvbLocator, indicating the locators for all services in the network. |
+| 101 | | getService(DvbLocator locator) | Conformity requirement 1:
Precondition: Get the SINetwork instance.
Test method: Call the getService method and input valid parameters.
Conformity result: The method returns a non empty SIService object.
Conformity requirement 2:
Precondition: Obtain the SINetwork instance.
Test method: Call the getService method and input invalid parameters.
Conformity result: The method returns an empty object. |
+| 102 | | getNetwork() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getNetwork method.
Conformity result: The method return value is of type SINetwork, indicating the network object. |
+| 103 | SIBouquet | getNetworkID() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the network identity. |
+| 104 | | getBouquetID() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getBouquetID method.
Conformity result: The method return value is of type int , indicating the Bouquet identifier (i.e., the bouquet_id field in the BAT table). |
+| 105 | | getBouquetName() | Conformity requirements:
Precondition: Get SIBouquet instance. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SIBouquet | | Test method: Call the getBouquetName method.
Conformity result: The method return value is of type String, indicating the full name of the Bouquet group. |
+| 106 | | getShortBouquetName() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getShortBouquetName method.
Conformity result: The method return value is of type String, indicating the abbreviation of the bouquet name obtained. |
+| 107 | | getService() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getService method.
Conformity result: The method return value is the SIService object. |
+| 108 | | getServicesLocators() | Conformity requirements:
Precondition: Get SIBouquet instance.
Test method: Call the getServicesLocators method.
Conformity result: Method return value is an org.davic.net.dvb.DvbNetworkBoundLocator array. |
+| 109 | SIService | getServiceName() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getServiceName method.
Conformity result: Method return value is a java.lang.String object, indicating the full name of the Service. |
+| 110 | | getShortServiceName() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getShortServiceName method.
Conformity result: The method return value is a java.lang.String object, indicating the abbreviation of the Service name. |
+| 111 | | getServiceProviderName() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getServiceProviderName method.
Conformity result: The method return value is a Java.lang.String object, indicating the full name of the Service provider. |
+| 112 | | getShortServiceProviderName() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getShortServiceProviderName method.
Conformity result: The method return value is a java.lang.String object, indicating the abbreviation of the Service provider. |
+| 113 | | getServiceType() | Conformity requirements: |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: Get SIService instance.
Test method: Call the getServiceType method.
Conformity result: The method return value is to obtain the service type (service_type), with a value range of 0 to 12. |
+| 114 | | getChannelNumber() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getChannelNumber method.
Conformity result: The method return value is of type int, indicating the logical channel number of the service. |
+| 115 | | getDvbLocator() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getDvbLocator method.
Conformity result: The method return value is org.davic.net.dvb.DvbLocator object, indicating the locator of the service object. |
+| 116 | | getNetworkID() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the identification of the network to which the transport stream belongs. |
+| 117 | SIService | getOriginalNetworkID() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getOriginalNetworkID method.
Conformity result: The method return value is of type int, indicating the original network identifier to which the service object belongs. |
+| 118 | | getTransportStreamID() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getTransportStreamID method.
Conformity result: The method return value is of type int, indicating the transport stream identifier to which the service object belongs. |
+| 119 | | getServiceID() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getServiceID method.
Conformity result: The method return value is of type int, indicating the service identifier. |
+| 120 | | getNetwork() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getNetwork method.
Conformity result: The method return value is the SINetwork object. |
+| 121 | | getTransportStream() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getTransportStream method.
Conformity result: The method return value is |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the SITransportStream object. |
+| 122 | SIService | getBouquets() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getBouquets method.
Conformity result: The method return value is a SIBouquet array. |
+| 123 | | getFreeCAMode() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getFreeCAMode method.
Conformity result: The method return value is Boolean, true indicates that the service is scrambled, and reception is controlled by CA; False indicates that the service has not been scrambled and can be freely received. |
+| 124 | | getPcrPID() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getPcrPID method.
Conformity result: The method return value is of type int, indicating the TS_PID of the PCR referenced by the service. |
+| 125 | | getEITPresentFollowingFlag() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getEITPresentFollowingFlag method.
Conformity result: The method return value is Boolean. True indicates that the service has current/subsequent EIT information, while false indicates that the service has no current/subsequent EIT information. |
+| 126 | | getEITScheduleFlag() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the getEITScheduleFlag method.
Conformity result: The method return value is Boolean, true indicates that the service has EIT schedule information, and false indicates that the service does not have EIT schedule information. |
+| 127 | | retrieveElementaryStreams() | Conformity requirements:
Precondition: Get SIService instance.
Test method: Call the retrieveElementaryStreams method.
Conformity result: The method return value is the SIRequest object. |
+| 128 | SITransportStream | getNetworkID() | Conformity requirements:
Precondition: Get the SITransportStream instance.
Test method: Call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the identification of the network to which the transport stream belongs. |
+| 129 | | getOriginalNetworkID() | Conformity requirements:
Precondition: Get the SITransportStream instance.
Test method: Call the getOriginalNetworkID |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SITransportStream | | method.
Conformity result: The method return value is of type int, indicating the original network identifier to which the transport stream object belongs. |
+| 130 | | getTransportStreamID() | Conformity requirements:
Precondition: Get the SITransportStream instance.
Test method: Call the getTransportStreamID method.
Conformity result: The method return value is of type int, indicating the transport stream identifier of the transport stream object. |
+| 131 | | getNetwork() | Conformity requirements:
Precondition: Get the SITransportStream instance.
Test method: Call the getNetwork method.
Conformity result: The method return value is the SINetwork object. |
+| 132 | SIElementaryStream | getComponentTag() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getComponentTag method.
Conformity result: The method return value is byte, indicating the label of the elementary stream component. If the elementary stream does not carry stream_identifier_descriptor, its component label value defaults to -2. |
+| 133 | | getElementaryPID() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getElementaryPID method.
Conformity result: The method return value is of type short, indicating the identification of the transport stream packet carrying the elementary stream. |
+| 134 | | getNetworkID() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the identification of the network to which the transport stream belongs. |
+| 135 | | getOriginalNetworkID() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getOriginalNetworkID method.
Conformity result: The method return value is of type int, indicating the original network identifier of the elementary stream object that implements the interface. |
+| 136 | | getTransportStreamID() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getTransportStreamID method.
Conformity result: The method return value is of type int, indicating the transport stream |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | identifier to which the elementary stream object belongs. |
+| 137 | SIElementary Stream | getServiceID() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getServiceID method.
Conformity result: The method return value is of type int, indicating the service identifier to which the elementary stream object belongs. |
+| 138 | | getStreamType() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getStreamType method.
Conformity result: The method return value is of type byte, indicating the elementary stream type. |
+| 139 | | getService() | Conformity requirements:
Precondition: Get SIElementaryStream instance.
Test method: Call the getService method.
Conformity result: The method return value is SIService object. |
+| 140 | SIEvent | getNetworkID() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the identification of the network to which the transport stream belongs. |
+| 141 | | getOriginalNetworkID() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getOriginalNetworkID method.
Conformity result: The method return value is of type int, indicating the original network identifier to which the event object belongs. |
+| 142 | | getTransportStreamID() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getTransportStreamID method.
Conformity result: The method return value is of type int, indicating the transport stream identifier to which the event object belongs. |
+| 143 | | getServiceID() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getServiceID method.
Conformity result: The method return value is of type int, indicating the service identifier to which the event object belongs. |
+| 144 | | getEventID() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getEventID method.
Conformity result: The method return value is of type int, indicating the event identifier. |
+| 145 | | getDvbLocator() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getDvbLocator method.
Conformity result: The method return value is |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SIEvent | | org.davic.net.dvb.DvbLocator object, indicating the locator of the event object. |
+| 146 | | getService() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getService method.
Conformity result: The method return value is SIService object. |
+| 147 | | getNibbles() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getNibbles method.
Conformity result: The method return value is a byte array. |
+| 148 | | getStartTime() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getStartTime method.
Conformity result: The method return value is java.util.Date object, indicating the start time of the event. |
+| 149 | | getDuration() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getDuration method.
Conformity result: The method return value is of type long, indicating the duration of the event. |
+| 150 | | getEndTime() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getEndTime method.
Conformity result: The method return value is java.util.Date object, indicating the end time of the event. |
+| 151 | | getEventName() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getEventName method.
Conformity result: The method return value is of type String , indicating that the full name of the event (eventname) is obtained. |
+| 152 | | getShortEventName() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getShortEventName method.
Conformity result: The method return value is java.lang.String object, indicating the abbreviation of the event name. If there is no abbreviation information, it should return NULL. |
+| 153 | | getEventDescription() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getEventDescription method.
Conformity result: The method return value is java.lang.String object, indicating the description of the event. |
+| 154 | | getFreeCAMode() | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SIEvent | | Precondition: Get SIEvent instance.
Test method: Call the getFreeCAMode method.
Conformity result: The method return value is Boolean, true indicates that the event is scrambled, and reception is controlled by CA; False indicates no scrambling and free reception. |
+| 155 | | getRunningStatus() | Conformity requirements:
Precondition: Get SIEvent instance.
Test method: Call the getRunningStatus method.
Conformity result: The method return value is of type byte, indicating the running status of the event. |
+| 156 | SITime | getUTCTime() | Conformity requirements:
Precondition: Get the SITime instance.
Test method: Call the getUTCTime method.
Conformity result: The method return value is java.util.Date object, indicating coordinated universal time (UTC) and retrieving information from time date table (TDT) or time of transmission (TOT). |
+| 157 | SIDescriptor | getByteAt(int index) | Conformity requirement 1:
Precondition: Get SIDescriptor instance.
Test method: Call the getByteAt method and input valid parameters.
Conformity result: The method return value is of type byte, indicating the content of a byte at the specified position.
Conformity requirement 2:
Precondition: Get SIDescriptor instance.
Test method: Call the getByteAt method and input invalid parameters.
Conformity result: Throw a java.lang.IndexOutOfBoundsException during method execution. |
+| 158 | | getContent() | Conformity requirements:
Precondition: Get SIDescriptor instance.
Test method: Call the getContent method.
Conformity result: The method return value is a byte array, indicating the content part of the descriptor. |
+| 159 | | getContentLength() | Conformity requirements:
Precondition: Get SIDescriptor instance.
Test method: Call the getContentLength method.
Conformity result: The method return value is of type short, indicating the length of the descriptor content part, in bytes. |
+| 160 | | getTag() | Conformity requirements:
Precondition: Get SIDescriptor instance.
Test method: Call the getTag method.
Conformity result: The method return value is short, indicating the descriptor label field value. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 161 | SIRequest | cancelRequest() | Conformity requirements:
Precondition: Get SIRequest instance.
Test method: Call the cancelRequest method.
Conformity result: The method execution is successful. |
+| 162 | SIRetrieveListener | postEvent() | Conformity requirements:
Precondition: Construct SIRetrieveListener instance.
Test method: Call the postEvent method.
Conformity result: The method execution is successful. |
+| 163 | SIUpdateListener | postEvent() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addNITUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the NIT table in the waiting flow.
Conformity result: The method execution is successful. |
+| 164 | SIDatabase | getDatabase() | Conformity requirements:
Precondition: None.
Test method: Call the getDatabase method.
Conformity result: The method returns a SIDatabase array with a length greater than 0. |
+| 165 | | getID() | Conformity requirements:
Precondition: SIDatabase object already exists.
Test method: Call the getID method.
Conformity result: The method return value is valid. |
+| 166 | | addNITUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addNITUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the NIT table in the waiting flow.
Conformity result: The method execution is successful. |
+| 167 | | removeNITUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addNITUpdateListener is called.
Test method: Call the removeNITUpdateListener method.
Conformity result: The method execution is successful. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 168 | SIDatabase | addBATUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addBATUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the BAT table in the waiting flow.
Conformity result: The method execution is successful.
|
+| 169 | | removeBATUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addBATUpdateListener is called.
Test method: Call the removeBATUpdateListener method.
Conformity result: The method execution is successful.
|
+| 170 | | addPATUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addPATUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the PAT table in the waiting flow.
Conformity result: The method execution is successful.
|
+| 171 | | removePATUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addPATUpdateListener is called.
Test method: Call the removePATUpdateListener method.
Conformity result: The method execution is successful.
|
+| 172 | | addPMTUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addPMTUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the PMT table in the waiting flow.
Conformity result: The method execution is successful.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 173 | SIDatabase | removePMTUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addPMTUpdateListener is called.
Test method: Call the removePMTUpdateListener method.
Conformity result: The method execution is successful. |
+| 174 | | addSDTUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addSDTUpdateListener is called.
Test method: Call back the postEvent method when there is a change in the SDT table in the waiting flow.
Conformity result: The method execution is successful. |
+| 175 | | removeSDTUpdateListener() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addSDTUpdateListener is called.
Test method: Call the removeSDTUpdateListener method.
Conformity result: The method execution is successful. |
+| 176 | | getAllNetworks() | Conformity requirements:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getAllNetworks method.
Conformity result: The method returns a SINetwork array with a length greater than 0. |
+| 177 | | getAllServices() | Conformity requirements:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getAllServices method.
Conformity result: The method returns a SIService array with a length greater than 0. |
+| 178 | | getAllTransportStreams() | Conformity requirements:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getAllTransportStreams method. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The method returns a SITransportStream array with a length greater than 0. |
+| 179 | SIDatabase | getSIBouquets() | Conformity requirement 1:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIBouquets method and input invalid parameters.
Conformity result: The method returns a SIBouquet array with a length of 0.
Conformity requirement 2:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIBouquets method and input valid parameters.
Conformity result: The method returns a SIBouquet array with a length greater than 0.
Conformity requirement 3:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIBouquets method and input valid parameters, where service_id is -1.
Conformity result: The method returns a SIBouquet array with a length greater than 0.
|
+| 180 | | getSIElementStreams() | Conformity requirement 1:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIElementStreams method and input invalid parameters.
Conformity result: The method returns a SIElementStream array with a length of 0.
Conformity requirement 2:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIElementStreams method and input valid parameters.
Conformity result: The method returns a SIElementStream array with a length greater than 0.
Conformity requirement 3:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIElementStreams method and input valid parameters, where service_id is -1.
|
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The method returns a SIElementStream array with a length greater than 0. |
+| 181 | SIDatabase | getSIServices() | Conformity requirement 1:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIServices method and input invalid parameters.
Conformity result: The method returns a SIService array with a length of 0.
Conformity requirement 2:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIServices method and input valid parameters.
Conformity result: The method returns a SIService array with a length greater than 0.
Conformity requirement 3:
Precondition: Already searched (automatic search, manual search, interval search, etc.), obtained SIDatabase instance through the getDatabase method of SIDatabase.
Test method: Call the getSIServices method and input valid parameters, where service_id is -1.
Conformity result: The method returns a SIService array with a length greater than 0.
|
+| 182 | | getPreferredLanguage() | Conformity requirement 1:
Precondition: SIDatabase object already exists.
Test method: First call the setPreferredLanguage method, input valid parameters, and then call the getPreferredLanguage method.
Conformity result: The method return value is consistent with the input.
|
+| 183 | | setPreferredLanguage() | Conformity requirements:
Precondition: SIDatabase object already exists.
Test method: Call the setPreferredLanguage method.
Conformity result: The method execution is successful.
|
+| 184 | SIRequestFailureType | getCode() | Conformity requirements:
Precondition: Get SIRequestFailureType instance.
Test method: Call the getCode method.
Conformity result: The method returns an int value with a range of 0 to 3.
|
+| 185 | | toString() | Conformity requirements:
Precondition: Get SIRequestFailureType instance.
Test method: Call the toString method.
Conformity result: The method return value is valid.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 186 | SIRetrieveEvent | getSource() | Conformity requirements:
Precondition: Get SIRetrieveEvent instance.
Test method: Call the getSource method.
Conformity result: The method return value is an Object object, indicating the SIRequest object that generated the event. |
+| 187 | | getAppData() | Conformity requirements:
Precondition: Get SIRetrieveEvent instance.
Test method: Call the getAppData method.
Conformity result: The method return value is a java.lang.Object object, indicating additional application data. |
+| 188 | SISuccessRetrieveEvent | getResult() | Conformity requirements:
Precondition: Get the SISuccessRetrieveEvent instance.
Test method: Call the getResult method.
Conformity result: The method return value is valid. |
+| 189 | SIFailureRetrieveEvent | getReason() | Conformity requirements:
Precondition: Get the SIFailureRetrieveEvent instance.
Test method: Call the getReason method.
Conformity result: The method return value is SIRequestFailureType object, indicating the reason for PSI/SI information retrieval failure. |
+| 190 | SIUpdateEvent | getTableID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addNITUpdateListener is called.
Test method: Call the postEvent method when the NIT table in the flow changes, retrieve the SIUpdateEvent object, and call the getTableID method.
Conformity result: The method return value is of type int, indicating the PSI/SI table identifier (table_id) where the update occurred. |
+| 191 | | getBouquetID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addBATUpdateListener is called.
Test method: Call the postEvent method when the BAT table in the flow changes, retrieve the SIUpdateEvent object, and call the getBouquetID method.
Conformity result: The method return value is of type int, indicating the identification of the service bouquet. |
+| 192 | | getNetworkID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SIUpdateEvent | | addNITUpdateListener is called.
Test method: Call the postEvent method when the NIT table in the flow changes, retrieve the SIUpdateEvent object, and call the getNetworkID method.
Conformity result: The method return value is of type int, indicating the network identity. |
+| 193 | | getOriginalNetworkID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addNITUpdateListener is called.
Test method: Call the postEvent method when the NIT table in the flow changes, retrieve the SIUpdateEvent object, and call the getOriginalNetworkID method.
Conformity result: The method return value is of type int, indicating the original network identifier. |
+| 194 | | getServiceID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addPMTUpdateListener is called.
Test method: Call the postEvent method when the PMT table in the flow changes, retrieve the SIUpdateEvent object, and call the getServiceID method.
Conformity result: The method return value is of type int, indicating the service identifier. |
+| 195 | | getTransportStreamID() | Conformity requirements:
Precondition: The effective frequency point has been locked, and the SIDatabase instance is obtained through the getDatabase method of the SIDatabase. The SIRetrieveListener instance constructed by binding the addSDTUpdateListener is called.
Test method: Call the postEvent method when the SDT table in the flow changes, retrieve the SIUpdateEvent object, and call the getTransportStreamID method.
Conformity result: The method return value is of type int, indicating the transport stream identifier. |
+
+### A.3 Conformance test of access unit interfaces for two-way broadband networks
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Listener | onAvailabilityChanged() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create the EthernetManager object, call the addListener() method to register the callback function, and change the network status by plugging and unplugging the network cable.
Conformity result: The callback function is called when the network state changes. |
+| 2 | DhcpInfo | ipAddress | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create an EthernetManager object and call the getDhcpInfo() method.
Conformity result: The returned DhcpInfo object is not empty. |
+| 3 | | Gateway | |
+| 4 | | dns1 | |
+| 5 | | dns2 | |
+| 6 | | serverAddress | |
+| 7 | EthernetManager | ETHERNET_STATE_DISABLED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create an EthernetManager object, access the getNetLinkStatus() method in EthernetManager, and change the network status by plugging and unplugging the network cable.
Conformity result: The getNetLinkStatus() method returns the status of ETHERNET_STATE_DISABLED. |
+| 8 | | ETHERNET_STATE_ENABLED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create an EthernetManager object, access the getNetLinkStatus() method in EthernetManager, and change the network status by plugging and unplugging the network cable.
Conformity result: The getNetLinkStatus() method returns the status of ETHERNET_STATE_ENABLED. |
+| 9 | | ETHERNET_STATE_UNKNOWN | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create an EthernetManager object, access the getNetLinkStatus() method in EthernetManager, and change the network status by plugging and unplugging the network cable.
Conformity result: The getNetLinkStatus() method returns the status of ETHERNET_STATE_UNKNOWN. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 10 | EthernetManager | EVENT_DHCP_CONNECT_SUCCESS
ED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, create an EthernetManager object, access the getNetLinkStatus() method in EthernetManager, and connect to the network through DHCP in the settings.
Conformity result: The getNetLinkStatus() method returns the status of
EVENT_DHCP_CONNECT_SUCESSED |
+| 11 | | EVENT_DHCP_CONNECT_FAILED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package.
Test method: In the testing program, Create an EthernetManager object, access the getNetLinkStatus() method in EthernetManager, and disable DHCP in settings.
Conformity result: The getNetLinkStatus() method returns the status of
EVENT_DHCP_CONNECT_FAILED. |
+| 12 | | isAvailable() | Conformity requirement 1:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: Create an EthernetManager object in the test programme and call the isAvailable() method.
Conformity result: Method returns true.
Conformity Requirement 2:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device is not initialized.
Test method: Create an EthernetManager object in the test programme and call the isAvailable() method.
Conformity result: Method returns false. |
+| 13 | | addListener() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, create an EthernetManager object, call the addListener() method to register a callback function, and change the network status by plugging and unplugging the network cable.
Conformity result: The callback function will be called. |
+| 14 | | removeListener() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EthernetManager | | Test method: In the testing program, Create an EthernetManager object, call the removeListener() method to delete the callback function, and change the network status by plugging and unplugging the network cable.
Conformity result: The callback function will not be called. |
+| 15 | | getConfiguration() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getConfiguration() method.
Conformity result: The method returns the configuration information of the IP. |
+| 16 | | setConfiguration() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setConfiguration() method and getConfiguration() method.
Conformity result: The information obtained by getConfiguration() is consistent with the information set by setConfiguration(). |
+| 17 | | setEthernetEnabled() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setEthernetEnabled() method with a parameter of true.
Conformity result: Ethernet is enabled. |
+| 18 | | getEthernetState() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getEthernetState() method.
Conformity result: Return the ethernet status. |
+| 19 | | getDhcpInfo() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EthernetManager | | Test method: In the testing program, Create an EthernetManager object and call the getDhcpInfo() method.
Conformity result: Return the status of DHCP. |
+| 20 | | getNetLinkStatus() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getNetLinkStatus() method.
Conformity result: Return the status of the physical connection. |
+| 21 | | getInterfaceName() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getInterfaceName() method.
Conformity result: Return the ethernet interface name. |
+| 22 | | setEthernetMode() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setEthernetMode() method.
Conformity result: Set the Ethernet connection mode, such as dynamic host configuration protocol (DHCP), point-to-point protocol over Ethernet (PPPOE), etc. |
+| 232 | | getEthernetMode() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setEthernetMode() method and getEthernetMode() method.
Conformity result: The information obtained by getEthernetMode() is consistent with the information set by setEthernetMode(). |
+| 24 | | getDeviceNameList() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EthernetManager | | an EthernetManager object and call the getDeviceNameList() method.
Conformity result: Return a list of Ethernet ports. |
+| 25 | | getTotalInterface() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getTotalInterface() method.
Conformity result: Return the number of available physical ethernet interface. |
+| 26 | | enableEthernet() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the enableEthernet() method.
Conformity result: Ethernet is enabled, and the tested device can be connected to the ethernet. |
+| 27 | | setInterfaceName() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setInterfaceName() method.
Conformity result: Set Ethernet name. |
+| 28 | | getDhcpOption60State() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getDhcpOption60State() method.
Conformity result: Return the status of Dhcp Option60/Option61. |
+| 29 | | getDhcpOption60Login() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getDhcpOption60Login() method.
Conformity result: Return the username of Dhcp Option61. |
+| 30 | | getDhcpOption60Password() | Conformity requirements: |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EthernetManager | | Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getDhcpOption60Password() method.
Conformity result: Return the password for Dhcp Option60. |
+| 31 | | setDhcpOption60() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setDhcpOption60() method.
Conformity result: Set the username and password for Dhcp Option60. |
+| 32 | | getDhcpOption125State() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getDhcpOption125State() method.
Conformity result: Return the status of DHCP Option125. |
+| 33 | | getDhcpOption125Info() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getDhcpOption125Info() method.
Conformity result: Return information for DHCP Option125. |
+| 34 | | setDhcpOption125() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setDhcpOption125() method.
Conformity result: Set information for DHCP Option125. |
+| 35 | | enableIpv6() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing programme |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EthernetManager | | Create an EthernetManager object and call the enableIpv6() method.
Conformity result: Enable IPv6 ethernet. |
+| 36 | | getIpv6PersistedState() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the getIpv6PersistedState() method.
Conformity result: Return the status of DHCPv6. |
+| 37 | | setEthernetMode6() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create an EthernetManager object and call the setEthernetMode6() method.
Conformity result: Set the mode for obtaining IPv6 addresses. |
+| 38 | ActionListener | onSuccess() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, An object implements this interface class, calling the onSuccess() method in the object.
Conformity result: The test programme can be compiled and passed. |
+| 39 | | onFailure() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, An object implements this interface class, calling the onFailure() method in the object.
Conformity result: The test programme can be compiled and passed. |
+| 40 | WifiInfo | getMacAddress() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getMacAddress() method.
Conformity result: Return the media access control (MAC) address of the hotspot route. |
+| 41 | | getSSID() | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | WifiInfo | | Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getSSID() method.
Conformity result: Return the service set identifier (SSID) of the current network connection.
|
+| 42 | | getLinkSpeed() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getLinkSpeed() method.
Conformity result: Return the speed of the ethernet connection.
|
+| 43 | | getNetworkId() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getNetworkId() method.
Conformity result: Return the identification number of the current network connection.
|
+| 44 | | getBSSID() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getBSSID() method.
Conformity result: Return the basic service set identifier (BSSID) of the access point.
|
+| 45 | | getIpAddress() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiInfo object and call the getIpAddress() method.
Conformity result: Return the IP address of the current connection.
|
+| 46 | WifiInfo | getFrequency() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | a WifiInfo object and call the getFrequency() method.
Conformity result: Return the transmission frequency of the current connection. |
+| 47 | WifiManager | ERROR_AUTHENTICATING | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFi Manager object and access the constant ERROR_AUTHENTICATING.
Conformity result: The test programme can be compiled and passed. |
+| 48 | | WIFI_STATE_DISABLING | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and access the constant WIFI_STATE_DISABLING.
Conformity result: The test programme can be compiled and passed. |
+| 49 | | WIFI_STATE_DISABLED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and access the constant WIFI_STATE_DISABLED.
Conformity result: The test programme can be compiled and passed. |
+| 50 | | WIFI_STATE_ENABLING | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and access the constant WIFI_STATE_ENABLING.
Conformity result: The test programme can be compiled and passed. |
+| 51 | | WIFI_STATE_ENABLED | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and access the constant WIFI_STATE_ENABLED.
Conformity result: The test programme can be compiled and passed. |
+| 52 | | WIFI_STATE_UNKNOWN | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 53 | WifiManager | WifiManager() | Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and access the constant WIFI_STATE_UNKNOWN.
Conformity result: The test programme can be compiled and passed. |
+| 54 | | getConfiguredNetworks() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and call the getconfiguredNetworks() method.
Conformity result: Return the current available WiFi network connection configuration. |
+| 55 | | addNetwork() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the addNetwork() method.
Conformity result: Add a network configuration. |
+| 56 | | removeNetwork() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the removeNetwork() method.
Conformity result: Remove a specified network configuration. |
+| 57 | | enableNetwork() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | WifiManager | | enableNetwork() method.
Conformity result: Enable a certain network connection. |
+| 58 | | disableNetwork() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the disableNetwork() method.
Conformity result: Disabled a certain network connection. |
+| 59 | | getConnectionInfo() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the getConnectionInfo() method.
Conformity result: Return the current connection information. |
+| 60 | | isWifiEnabled() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the isWifiEnabled() method.
Conformity result: Check if WiFi is enabled. |
+| 61 | | setWifiEnabled() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the setWifiEnabled() method.
Conformity result: Set WiFi to on or off. |
+| 62 | | saveConfiguration() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFi Manager object and call the saveConfiguration() method.
Conformity result: Successfully saved network configuration. |
+| 63 | | getScanResults() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | WifiManager | | getScanResults() method.
Conformity results: Obtain scan results. |
+| 64 | | startScan() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and call the startScan() method.
Conformity result: Start scanning. |
+| 65 | | disconnect() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the disconnect() method.
Conformity result: Disconnect from the current network connection point. |
+| 66 | | reassociate() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the reassociate() method.
Conformity result: Reassociate the current network connection point. |
+| 67 | | reconnect() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WiFiManager object and call the reconnect() method.
Conformity result: Reconnect to the current network. |
+| 68 | | getDhcpInfo() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and call the getDhcpInfo() method.
Conformity result: Return the result information of the previous DHCP request. |
+
+| Serial No. | Class/
Interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 69 | | getWifiState() | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a WifiManager object and call the getWifiState() method.
Conformity result: Return the status of WiFi. |
+| 70 | ScanResult | SSID | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a ScanResult object to access SSID members.
Conformity result: The test programme can be compiled and passed. |
+| 71 | | BSSID | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a ScanResult object and access BSSID members.
Conformity result: The test programme can be compiled and passed. |
+| 72 | | capabilities | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a ScanResult object and access the capabilities member.
Conformity result: The test programme can be compiled and passed. |
+| 73 | | Frequency | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a ScanResult object and access frequency members.
Conformity result: The test programme can be compiled and passed. |
+| 74 | | level | Conformity requirements:
Precondition: Test the programme for importing the org.tvos.net package and the Ethernet of the tested device has been initialized.
Test method: In the testing program, Create a ScanResult object and access level members.
Conformity result: The test programme can be compiled and passed. |
+
+### A.4 Conformance test of HCI unit interface
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | NgbKeyListener | notifyKeyEvent() | Conformity requirements:
Precondition: Keyboard input conditions are required.
Test method: Call notifyKeyEvent() to register a key event to notify the use of the key input device, and trigger the button pressing and popping process.
Conformity result: notifyKeyEvent returns success, a key event notification occurs, and the notification emits a key event that matches the actual trigger key. |
+| 2 | NgbMouseListener | notifyMouseEvent() | Conformity requirements:
Precondition: Mouse input conditions are required.
Test method: Call notifyMouseEvent() to register for button event notifications; Use a mouse input device to trigger the button pressing and popping process.
Conformity result: notifyMouseEvent returns success, a key event notification occurs, and the key event sent by the notification matches the actual trigger key. |
+| 3 | FrontPanel | ALIGN_CENTER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 4 | | ALIGN_LEFT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 5 | | ALIGN_RIGHT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 6 | | STATUS_OFF | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 7 | | STATUS_ON | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 8 | | STATUS_UNKNOWN | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 9 | FrontPanel | TYPE_MAIL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 10 | | TYPE_SIGNAL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 11 | | TYPE_POWER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 12 | | TYPE_RADIO | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 13 | | getInstance() | Conformity requirements:
Precondition: A front panel device is required.
Test method: Call getInstance() to obtain the front panel instance.
Conformity result: getInstance returns success to get an instance of the system implementation of the front panel. |
+| 14 | | clear() | Conformity requirements:
Precondition: A front panel device is required, and display the string.
Test method: Call clear() to clear all displayed information on the front panel.
Conformity result: Clear returns success, clear succeeds, the content displayed on the front panel is cleared. |
+| 15 | | displayDate(Date date) | Conformity requirements:
Precondition: A front panel device is required.
Test method: Call displayDate() to write the current time and date information.
Conformity result: DisplayDate returns success, displays success, and the front panel displays the current time. |
+| 16 | | displayText(String str) | Conformity requirements:
Precondition: A front panel device is required.
Test method: Call displayText() to write the string information.
Conformity result: DisplayText returns success, displays success, and the front panel displays the currently written string. |
+| 17 | | getStatus(int type) | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: A front panel device is required.
Test method: Call getStatus() to obtain the status of a specific type of indicator light on the front panel.
Conformity result: getStatus returns success, obtains status successfully and the obtained status matches the actual situation. |
+| 18 | | setStatus(int type, int value) | Conformity requirements:
Precondition: A front panel device is required.
Test method: Call setStatus() to set the status of specific types of indicator lights on the front panel.
Conformity result: setStatus returns successful, set successfully, and check if the indicator light status matches the set situation. |
+| 19 | | getMaxChars() | Conformity requirements:
Precondition: A front panel device is required.
Test method: Call getMaxChars() to obtain the maximum number of strings that can be displayed on the front panel; Call displayText() to write a string of the corresponding length.
Conformity result: getMaxChars returns success, get success, display correctly after filling in the string according to the requirements of the display. |
+| 20 | NgbInputManager | getInstance() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: Call getInstance() to obtain the input control management instance implemented by the system.
Conformity result: getInstance returns success and gets success. |
+| 21 | | addKeyEventListener() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: Call addKeyEventListener() to register the specified key event listener with the system.
Conformity result: Register Successfully. |
+| 22 | | removeKeyEventListener() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: Call removeKeyEventListener() to remove the specified key event listener from the |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | system.
Conformity result: Remove Successful. |
+| 23 | | injectKeyEvent() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: Call injectKeyEvent() to inject a specified key event into the system.
Conformance result: InjectKeyEvent returns success, injection is successful, and the key event listener can listen to the event. |
+| 24 | | addMouseListener() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: Call addMouseListener() to register the specified mouse event listener with the system.
Conformity result: Register Successfully. |
+| 25 | | removeMouseListener() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: Call removeMouseListener() to remove the specified mouse event listener from the system.
Conformity result: Remove Successful. |
+| 26 | | injectMouseEvent() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: Call injectMouseEvent() to inject a specified mouse event into the system.
Conformity result: InjectMouseEvent returns success, injection is successful, and the mouse event listener can listen to the event. |
+| 27 | NgbInputEvent | getEventTime() | Conformity requirements:
Precondition: Input device is required.
Test method: The input device triggers an input event and calls getEventTime() to obtain the generation time value of the input event.
Conformity result: GetEventTime returns the time value, and the obtained input event |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | generation time matches the actual time. |
+| 28 | | getSource() | Conformity requirements:
Precondition: Input device is required.
Test method: The input device triggers an input event and calls getSource() to retrieve the source of the input event.
Conformity result: GetSource returns the generation source, and the obtained input event generation source matches the actual one. |
+| 29 | | getAction() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: The key input device triggers an input event and calls getAction() to obtain the status of the input event.
Conformity result: getAction returns the event status, and the obtained button input event status matches the actual situation. |
+| 30 | KeyEvent | getCode() | Conformity requirements:
Precondition: Keyboard input device is required.
Test method: The key input device triggers an input event and calls getCode() to obtain the key value code of the input event.
Conformity result: GetCode returns the key value code, and the obtained key value code for the key input event matches the actual situation. |
+| 31 | | getAction() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: The mouse input device triggers an input event and calls getAction() to obtain the status of the input event.
Conformity result: getAction returns the event status, and the obtained mouse input event status is successful and matches the actual situation. |
+| 32 | | getCode() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: The mouse input device triggers an input event and calls getCode() to obtain the key value code of the input event.
Conformity result: getCode returns the key code, and the obtained key value code for the mouse input event is successful and matches the actual value. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 33 | MouseEvent | getButton() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: The mouse input device triggers an input event and calls getButton() to obtain the mouse button of the input event.
Conformity result: getButton returns the mouse button, and the obtained mouse input events for mouse buttons is successful and matches the actual value. |
+| 34 | | getX() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: The mouse input device moves the mouse to trigger an input event, and calls getX() to obtain the mouse focus X-axis position for the input event.
Conformity result: getX returns the position value, and the obtained mouse focus X-axis position for mouse input event is successful and matches the actual value. |
+| 35 | | getY() | Conformity requirements:
Precondition: Mouse input device is required.
Test method: The mouse input device moves the mouse to trigger an input event, and calls getY() to obtain the mouse focus Y-axis position for the input event.
Conformity result: getY returns the position value, and the obtained mouse focus Y-axis position for mouse input event is successful and matches the actual value. |
+| 36 | NgbVoiceListener | onVoiceStart() | Conformity requirements:
Precondition: A voice input device is required.
Test method: Call the onVoiceStart() function to start voice input.
Conformity result: Function call succeeds, beginning the voice input. |
+| 37 | | onVoiceEnd() | Conformity requirements:
Precondition: A voice input device is required, voice input has started.
Test method: Call the onVoiceEnd() function to end language input.
Conformity result: Function call succeeds, ending the voice input. |
+| 38 | | onVoiceResult() | Conformity requirements:
Precondition: A voice input device is required, voice input has started and ended. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | NgbVoiceManager | | Test method: Call the onVoiceResult() function.
Conformity result: Function call succeeds, obtaining the results of voice recognition. |
+| 39 | | onError() | Conformity requirements:
Precondition: A voice input device is required, voice input has started and ended.
Test method: Call the onError() function.
Conformity result: Function call succeeds, obtaining the error code in the voice process. |
+| 40 | | getInstance() | Conformity requirements:
Precondition: A voice input device is required.
Test method: Call the getInstance() function.
Conformity result: The function call succeeds, obtaining the instance successfully. |
+| 41 | | startListening() | Conformity requirements:
Precondition: A voice input device is required, the instance is successfully got.
Test method: Call the startListening() function.
Conformity result: The function call is successful. |
+| 42 | | stopListening() | Precondition: A voice input device is required, the instance is successfully got, Voice monitoring begins.
Test method: Call the stopListening() function.
Conformity result: The function call is successful. |
+| 43 | | cancel() | Precondition: A voice input device is required, the instance is successfully got, Voice monitoring begins.
Test method: Call the cancel() function.
Conformity result: The function call is successful. |
+| 44 | | setVoiceListener() | Precondition: A voice input device is required, the instance is successfully got.
Test method: Call the setVoiceListener() function.
Conformity result: The function call is successful. |
+| 45 | | release() | Precondition: A voice input device is required, the instance is successfully got.
Test method: Call the release() function.
Conformity result: The function call is successful. |
+
+### A.5 Conformance test of audio video (AV) setting unit interface
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | AudioSetting | CHANNEL_STEREO | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 2 | | CHANNEL_LEFT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 3 | | CHANNEL_RIGHT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 4 | | CHANNEL_MIXED_MONO | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 5 | | getOutputInterfaceList() | Conformity requirements:
Precondition: All audio video (AV) ports are connected to the TV normally, and the system starts successfully.
Test method: Call the getOutputInterfaceList method.
Conformity result: The method call succeeds, obtaining the available audio output port names for the system. |
+| 6 | | getOutputInterfaceStatus(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with the parameters returned by the getOutputInterfaceList method call.
Conformity result: The method call succeeds, obtaining the status of the system audio output port specified by the parameter.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: The return value of the method call is false. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | AudioSetting | disableOutputInterface(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with the parameters returned by the getOutputInterfaceList method call.
Conformity result: The method call succeeds, the system audio output interface specified by the parameter is disabled successfully.
Conformity requirement 2:
Precondition: All AV interfaces are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, and the state of the system audio output interface remains unchanged.
|
+| 8 | | enableOutputInterface(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with the parameters returned by the getOutputInterfaceList method call.
Conformity result: Method call succeeds, and the system audio output interface specified by the parameter is enabled successfully.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, and system audio output interface status remains unchanged.
|
+| 9 | | getOutputVolume() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the audio output port is in an
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AudioSetting | | enabled state.
Test method: Call the getOutputVolume method.
Conformity result: The method call succeeds, and the obtained system volume value is within the range defined by the interface standard. |
+| 10 | | setOutputVolume(int volume) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the audio output interface is in an enabled state.
Test method: Call the setOutputVolume method with parameters within the scope defined by the interface standard.
Conformity result: Method call succeeds, and the system volume value is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the audio output interface is in an enabled state.
Test method: Call the setOutputVolume method, with parameters other than the scope defined by the interface standard.
Conformity result: The method call succeeds, and system volume is set to the value closest to the set parameter within the valid range. |
+| 11 | | getOutputChannelMode() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the audio output channel is in an enabled state.
Test method: Call the getOutputChannelMode method.
Conformity result: The method call succeeds, and the system output channel type is obtained. |
+| 12 | | setOutputChannelMode(int type) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the audio output channel is in an enabled state.
Test method: Call the setOutputChannelMode method, with parameters within the scope defined by the interface standard.
Conformity result: Method call succeeds, and the system output channel type is set according to parameter values, which |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------------|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | actually works.
Conformity requirement 2:
Precondition: All HDMI ports are connected to the TV normally, the system is successfully started, and the audio output channel is in an enabled state.
Test method: Call the setOutputChannelMode method, with parameters within the range defined by the interface standard.
Conformity result: Method call fails, and system output channel type remains unchanged.
|
+| 13 | | getOutputSPDIFMode() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, the audio output port is enabled, and the Sony/Philips digital interconnect format (SPDIF) interface is connected to the AV amplifier.
Test method: Call the getOutputSPDIFMode method.
Conformity result: Method call succeeds, obtaining the data format of the system SPDIF output interface.
|
+| 14 | AudioSetting | setOutputSPDIFMode(int mode) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, the audio output port is enabled, and the SPDIF interface is connected to the AV amplifier.
Test method: Call the setOutputSPDIFMode method with parameters within the range defined by the interface standard.
Conformity results: The method is called successfully, and the system output sound format is set according to the parameter value, which is consistent with the sound format displayed by the AV amplifier.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, the audio output port is enabled, and the SPDIF interface is connected to the AV amplifier.
Test method: Call the setOutputSPDIFMode method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, and system output sound format remains unchanged.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 15 | | isMute() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, the audio output port is enabled, and the mute interface is called.
Test method: Call the isMute method.
Conformity result: The method call is successful, and the status of whether the system is silent is true, which matches the actual effect.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system starts successfully, the audio output port is enabled, and the unmute interface is called to unmute.
Test method: Call the isMute method.
Conformity result: The method call succeeds, and the status of whether the system is muted is false, which matches the actual effect.
|
+| 16 | | mute() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, and the system starts successfully.
Test method: Call the mute method.
Conformity result: Method call succeeds, and system is muted.
|
+| 17 | | unMute() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, and the system starts successfully.
Test method: Call the unMute method.
Conformity result: Method call succeeds, and system is unmuted.
|
+| 18 | | getOutputHDMIIFMode() | Conformity requirements:
Precondition: HDMI port is connected to AV amplifier input, AV amplifier HDMI output is connected to TV, and the system starts successfully, HDMI audio output port is in enabled state.
Test method: Call the getOutputHDMIIFMode method.
Conformity result: Method call succeeds, obtaining the data format of the system HDMI output interface.
|
+| 19 | | setOutputHDMIIMode(int mode) | Conformity requirements:
Precondition: HDMI port is connected to AV amplifier input, AV amplifier HDMI output is connected to TV, and the system starts successfully, HDMI audio output port is in enabled state.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the setOutputHDMIMode method with parameters within the range defined by the interface standard.
Conformity results: The method is called successfully, and the type of system HDMI output sound is set according to the parameter value, which is consistent with the actual displayed value of AV Amplifier.
Conformity requirement 2.
Preconditions: HDMI port is normally connected to the AV amplifier, the HDMI output of the AV amplifier is connected to the TV, the system is successfully started, and the audio output port is enabled.
Test Method: Call setOutputHDMIMode method, the parameter is other than the range of interface standard definition.
Conformity results: Method call fails, and the type of system HDMI output sound is unchanged.
|
+| 20 | VideoSetting | getOutputInterfaceList() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, and the system starts successfully.
Test method: Call the getOutputInterfaceList method.
Conformity result: The call succeeds, obtaining the name of the available video output port.
|
+| 21 | | getOutputInterfaceStatus(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The call succeeds, obtaining the status of the system video output port specified by the parameter.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: The return value of the
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 22 | VideoSetting | | method call is false. |
+| | | disableOutputInterface(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with the parameters returned by the getOutputInterfaceList method.
The method is called successfully, and the system video output port specified by the parameter is closed successfully.
Conformity result: The method call succeeds, and the system video output port specified by the parameter is disabled successfully.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, the status of the system video output port remains unchanged.
|
+| 23 | | enableOutputInterface(String port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method call succeeds, and the system video output port specified by the parameter is enabled successfully.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, the status of system video output port remains unchanged.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 24 | | getOutputMatchMethod() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputMatchMethod method.
Conformity result: The method call succeeds, and the aspect ratio adaptation mode value for system video outputs is within the range defined by the interface standard.
|
+| 25 | | getOutputBrightness() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputBrightness method.
Conformity result: The method call succeeds, and the value of the system brightness is within the range defined by the interface standard.
|
+| 26 | | getOutputContrast() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputContrast method.
Conformity result: The method call succeeds, and the value of system contrast size is within the range defined by the interface standard.
|
+| 27 | | getOutputSaturation() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputSaturation method.
Conformity result: The method call succeeds, and the obtained value of system saturation size is within the range defined by the interface standard.
|
+| 28 | | getOutputStandard(int device) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For the getOutputStandard method called by the high-definition system,
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the parameter is the VOUT_HD defined by the interface standard.
Conformity result: The method call succeeds, and the obtained value of system model format is within the range defined by the interface standard.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For the getOutputStandard method called by the standard definition system, the parameter is the VOUT_SD defined by the interface standard.
Conformity result: The method call succeeds, and the obtained value of system model format is within the range defined by the interface standard.
|
+| 29 | | getOutputStandards(int device) | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For the getOutputStandards method called by the standard definition system, the parameter is the VOUT_SD defined by the interface standard.
Conformity result: The method call succeeds, and the obtained values of all system model format are within the range defined by the interface standard.
|
+| 30 | | getOutputTransparency() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputTransparency method.
Conformity result: The method call succeeds, and the obtained values of system transparency size is within the interface standard definition.
|
+| 31 | | setOutputMatchMethod(int matchMethod) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputMatchMethod method with parameters within the standard definition of
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the interface.
Conformity result: The method call succeeds, and the aspect ratio adaptation mode value for system video outputs is within the range of the interface standard definition, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputMatchMethod method with parameters other than the scope of the interface standard definition.
Conformity result: Method call fails, and the aspect ratio adaptation mode of the set-top video output box remains unchanged.
|
+| 32 | | setOutputBrightness(int value) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputBrightness method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the value of the system brightness is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputBrightness method with parameters other than the scope of the interface standard definition.
Conformity result: The method call succeeds, and the system volume is set to the value closest to the set parameter within the valid range.
|
+| 33 | | setOutputContrast(int value) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputContrast method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds,
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | and the value of system contrast size is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputContrast method with parameters other than the scope of the interface standard definition.
Conformity result: Method call succeeds, and the system contrast is set to the value closest to the set parameter within the valid range.
|
+| 34 | | setOutputSaturation(int value) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputSaturation method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the saturation (chromaticity) of the video output is set according to the parameter values, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputSaturation method with parameters other than the scope of the interface standard definition.
Conformity result: Method call succeeds, and the saturation (chromaticity) of the video output is set to the value closest to the set parameter within the valid range.
|
+| 35 | | | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For HD system call setOutputStandard method, device parameter is VOUT_HD, standard parameter is within the interface standard definition.
Conformity result: The method call succeeds, and the format value of the system video signal is set according to the parameter value, which actually works.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | setOutputStandard() | Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For SD system call setOutputStandard method, device parameter is VOUT_SD, standard parameter is within the interface standard definition.
Conformity result: The method call succeeds, and the format value of the system video signal is set according to the parameter value, which actually works.
Conformity requirement 3:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For HD system call setOutputStandard method, device parameter is VOUT_HD, standard parameter is within the interface standard definition.
Conformity result: Method call fails, and the system video signal format value remains unchanged.
Conformity requirement 4:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: For SD system call setOutputStandard method, device parameter is VOUT_SD, standard parameter is within the interface standard definition.
Conformity result: Method call fails, and the system video signal format value remains unchanged.
|
+| 36 | | setOutputTransparency() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputTransparency method, with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the system transparency size value is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|-------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputTransparency method with parameters other than the scope of the interface standard definition.
Conformity result: The method call succeeds, and the system transparency is set to the value closest to the set parameter within the valid range.
|
+| 37 | | getOutputAspectRatio() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOutputAspectRatio method.
Conformity result: The method call succeeds, and the obtained aspect ratio of the system video output is within the range defined by the interface standard.
|
+| 38 | | setOutputAspectRatio() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputAspectRatio method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the aspect ratio mode value of system video output is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOutputAspectRatio method with parameters other than the scope of the interface standard definition.
Conformity result: Method call fails, and the aspect ratio adaptation mode of the set-top video output box remains unchanged.
|
+| 39 | | GetColorSpaceMode() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Calls the GetColorSpaceMode method.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 40 | | GetDeepColorMode() | Conformity result: The method call succeeds, and the obtained color space mode value of the system video output is within the range defined by the interface standard.
Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the GetDeepColorMode method.
Conformity result: The method call succeeds, and the obtained color depth mode value of the system's video output is within the range defined by the interface standard.
|
+| 41 | | SetColorSpaceAndDeepColor() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetColorSpaceAndDeepColor method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the color space and color depth mode values for the system video output are set according to the parameter values, which actually work.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Calls the SetColorSpaceAndDeepColor method with parameters other than the scope of the interface standard definition.
Conformity result: Method call fails, the color space and color depth mode values of the set-top video output remain unchanged.
|
+| 42 | | GetHDRType() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the GetHDRType method.
Conformity result: The method call succeeds, and the current correct high dynamic range (HDR) mode is obtained.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 43 | | SetHDRType() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetHDRType method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the HDR mode value of the system's video output is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetHDRType method with parameters outside the scope of the interface standard definition.
Conformity result: Method call fails, and the HDR mode value of the set-top video output remains unchanged.
|
+| 44 | | GetStereoOutMode() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the GetStereoOutMode method.
Conformity result: The method call succeeds, and the obtained stereo mode value of the system's video output is within the range defined by the interface standard.
|
+| 45 | | SetStereoOutMode() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetStereoOutMode method with a number within the standard definition of the interface.
Conformity result: The method call succeeds, and the stereo R mode value of the system video output is set according to the parameter value, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the SetStereoOutMode method with parameters other than the scope of the interface standard definition.
Conformity result: Method call fails, and the stereo mode value of the set-top video output remains unchanged. |
+| 46 | | GetRightEyeFirst() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the GetRightEyeFirst method.
Conformity result: The method call succeeds, and gets whether the right eye in front value of the stereo mode of the system's video output is within the range defined by the interface standard. |
+| 47 | | SetRightEyeFirst() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetRightEyeFirst method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and Stereoscopic right eye in front mode value of the system video output is set according to the parameter values, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetRightEyeFirst method with parameters other than the scope of the interface standard definition.
Conformity result: Method call fails, and Stereoscopic right eye in front mode value of the system video output remains unchanged. |
+| 48 | | GetStereoDepth() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the GetStereoDepth method.
Conformity result: The method call succeeds, and the obtained stereo mode depth value of |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the system's video output is within the range defined by the interface standard. |
+| 49 | | SetStereoDepth(int depth) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetStereoDepth method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the stereo mode depth value of the system's video output is set according to parameter values, which actually works.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the SetStereoDepth method with parameters other than the standard definition of the interface.
Conformity result: The method call succeeds, and the stereo mode depth value of the system's video output is set to the value closest to the set parameter within the valid range.
|
+| 50 | | getPictureMode() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getPictureMode method.
Conformity result: The method call succeeds, and the obtained image mode value of the system video output is within the range defined by the interface standard.
|
+| 51 | | setPictureMode(int mode) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setPictureMode method with parameters within the standard definition of the interface.
Conformity result: The method call succeeds, and the obtained image mode value of the system video output is set according to the parameter value, which actually works.
Conformity requirement 2:
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setPictureMode method with parameters other than the standard definition of the interface.
Conformity result: Method call fails, and the image value of set-top video output remains unchanged.
|
+| 52 | | getDisplayHue() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getDisplayHue method.
Conformity result: Method call succeeds, and the hue value of system video output is within the range defined by the interface standard.
|
+| 53 | | setDisplayHue(int hue) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setDisplayHue method, with parameters within the standard definition of the interface.
Conformity result: Method call succeeds, and the hue value of system video output is set according to the parameter value, which actually work.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setDisplayHue method with parameters other than the scope of the interface standard definition.
Conformity result: Method call succeeds, and the hue value of system video output is set to the value closest to the set parameter within the valid range.
|
+| 54 | | SaveDisplayFmt() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call SaveDisplayFmt method.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Method call succeeds, and the system saves the video output parameter configurations, and the video output parameter configurations can be maintained and not lost after the system is powered down and restarted. |
+| 55 | | setOptimalFormatEnable() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the setOptimalFormatEnable method.
Conformity result: Method call succeeds, and returns TRUE. |
+| 56 | | getOptimalFormatEnable() | Conformity requirements:
Precondition: All AV ports are connected to the TV normally, the system is successfully started, and the video output port is in an enabled state.
Test method: Call the getOptimalFormatEnable method.
Conformity result: Method call succeeds, and obtains the enable status of the current correct automated video output format. |
+
+### A.6 Conformance test of media processing unit interface
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | | MEDIA_ERROR_UNKNOWN | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1. |
+| 2 | | MEDIA_ERROR_SERVER_DIED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 100. |
+| 3 | | MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 200. |
+| 4 | | TVOS_MEDIA_ERROR_START_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1000. |
+| 5 | | TVOS_MEDIA_ERROR_SETPACE_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | Conformity result: Constant value is 1001. |
+| 6 | | TVOS_MEDIA_ERROR_SEEK_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1002. |
+| 7 | | TVOS_MEDIA_ERROR_PAUSE_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1003. |
+| 8 | | TVOS_MEDIA_ERROR_RESUME_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1004. |
+| 9 | | TVOS_MEDIA_ERROR_STOP_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1005. |
+| 10 | | TVOS_MEDIA_ERROR_URL_INVALID | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1006. |
+| 11 | | TVOS_MEDIA_ERROR_RESOURCE_UNAVAILABLE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1007. |
+| 12 | | TVOS_MEDIA_ERROR_AUDIO_DECODE_ERROR | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1008. |
+| 13 | | TVOS_MEDIA_ERROR_VIDEO_DECODE_ERROR | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1009. |
+| 14 | | TVOS_MEDIA_ERROR_UNSUPPORTED_VIDEO_DEC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1010. |
+| 15 | | TVOS_MEDIA_ERROR_UNSUPPORTED_AUDIO_DEC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1011. |
+| 16 | | TVOS_MEDIA_ERROR_CONNECT_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | Conformity result: Constant value is 1012. |
+| 17 | | TVOS_MEDIA_ERROR_VOD_SEARCH_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1300. |
+| 18 | | TVOS_MEDIA_ERROR_VOD_OUT_OF_RANGE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1301. |
+| 19 | | MEDIA_INFO_UNKNOWN | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1. |
+| 20 | | MEDIA_INFO_STARTED_AS_NEXT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 2. |
+| 21 | | MEDIA_INFO_RENDERING_START | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 3. |
+| 22 | | MEDIA_INFO_VIDEO_TRACK_LAGGING | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 700. |
+| 23 | | MEDIA_INFO_BUFFERING_START | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 701. |
+| 24 | | MEDIA_INFO_BUFFERING_END | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 702. |
+| 25 | | MEDIA_INFO_NETWORK_BANDWIDTH | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 703. |
+| 26 | | MEDIA_INFO_BAD_INTERLEAVING | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 800. |
+| 27 | | MEDIA_INFO_NOT_SEEKABLE | Conformity requirements:
Precondition: None.
Test method: Determine constant values. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 28 | MediaPlayer | MEDIA_INFO_METADATA_UPDATE | Conformity result: Constant value is 801.
Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 802. |
+| 29 | | MEDIA_INFO_EXTERNAL_METADATA_UPDATE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 803. |
+| 30 | | MEDIA_INFO_TIMED_TEXT_ERROR | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 900. |
+| 31 | | MEDIA_INFO_UNSUPPORTED_SUBTITLE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 901. |
+| 32 | | MEDIA_INFO_SUBTITLE_TIMED_OUT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 902. |
+| 33 | | TVOS_MEDIA_INFO_START_SUCCESS | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1000. |
+| 34 | | TVOS_MEDIA_INFO_TUNE_LOCK_SUCCESS | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1001. |
+| 35 | | TVOS_MEDIA_INFO_TUNE_LOCK_LOST | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1002. |
+| 36 | | TVOS_MEDIA_INFO_NO_STREAM | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1003. |
+| 37 | | TVOS_MEDIA_INFO_STREAM_RECOVER | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1004. |
+| 38 | | TVOS_MEDIA_INFO_AUDIO_DECODE_SUCCESS | Conformity requirements:
Precondition: None.
Test method: Determine constant values. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 39 | MediaPlayer | TVOS_MEDIA_INFO_VIDEO_DECODE_SUCCESS | Conformity result: Constant value is 1005.
Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1006. |
+| 40 | | TVOS_MEDIA_INFO_PACE_CHANGE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1007. |
+| 41 | | TVOS_MEDIA_INFO_DVB_C_A_READY | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1100. |
+| 42 | | TVOS_MEDIA_INFO_DVB_C_A_NOT_READY | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1101. |
+| 43 | | TVOS_MEDIA_INFO_VOD_END_OF_STREAM | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1300. |
+| 44 | | TVOS_MEDIA_INFO_VOD_BEGIN_OF_STREAM | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1301. |
+| 45 | | MediaPlayer() | Conformity Requirements.
Precondition:None.
Test Method:Create a MediaPlayer object.
Conformity Result:MediaPlayer object created successfully. |
+| 46 | | setDataSource() | Conformity Requirements.
Precondition:Successfully create a MediaPlayer object.
Test Method:Call setDataSource() with valid input parameters.
Conformity Result:No return value, no error message is reported. |
+| 47 | | prepareAsync() | Conformity Requirements.
Precondition:Successfully create a MediaPlayer object, listen to setOnPreparedListener, and setDataSource() succeeds.
Test method:call prepareAsync() interface.
Conformity result: No return value; receive MEDIA_PREPARED message |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 48 | MediaPlayer | prepare() | after prepare succeeds.
Conformity Requirements.
Precondition: Create a MediaPlayer object successfully, and setDataSource() succeeds.
Test method: call prepare() interface.
Conformity result: no return value, synchronization waiting for preparation is completed. |
+| 49 | | start() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object, After a successful call to prepare() or a call to prepareAsync(), setOnPreparedListener() receives listening.
Test method: Call the start() interface.
Conformity result: No return value, play successfully, can receive MEDIA_STARTED message on first playback. |
+| 50 | | pause() | Conformity requirements:
Precondition: The player plays normally.
Test method: Call the pause() interface.
Conformity result: No return value, playback is paused. |
+| 51 | | getDuration() | Conformity requirements:
Precondition: The player plays normally.
Test method: Call the getDuration() interface.
Conformity result: Return the length of the file, or -1 if not supported by the resource or service. |
+| 52 | | getCurrentPosition() | Conformity requirements:
Precondition: The player plays normally.
Test method: Call the getCurrentPosition() interface.
Conformity result: Return the current location of the file. |
+| 53 | | setVolume() | Conformity Requirements.
Precondition: The player is playing normally.
Test Method: Call setVolume() interface with valid input parameter.
Conformity result: Volume set successfully with no return value. |
+| 54 | | seekTo() | Conformity requirements:
Precondition: The player is playing normally.
Test method: Call the seekTo() interface |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | with valid input parameters.
Conformity result: No return value, and jump to the specified location for playback. |
+| 55 | | reset() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the reset() interface.
Conformity result: No return value; player returns to initialized state. |
+| 56 | | release() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the release() interface.
Conformity result: No return value, player is destroyed. |
+| 57 | | setOnInfoListener() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setOnInfoListener() interface.
Conformity result: No return value, register for message listening, and receive messages when information messages arrive. |
+| 58 | | setOnErrorListener() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setOnErrorListener() interface.
Conformity result: No return value, register an error listener to receive an error when it arrives. |
+| 59 | | setOnCompleteListener() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setOnCompleteListener() interface.
Conformity result: No return value, Register the playback completion listener to receive the playback completion event when the playback is finished. |
+| 60 | | setOnPreparedListener() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setOnPreparedListener() interface.
Conformity result: No return value, Register the ready listener to receive the |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | ready event when the player is ready. |
+| 61 | | setOnBufferingUpdateListener() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setOnBufferingUpdateListener() interface.
Conformity result: No return value, Register the buffer update listener to receive buffer update messages when they arrive. |
+| 62 | | setDisplay() | SurfaceHolder.
Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setDisplay() interface with valid input parameters.
Conformity result: No return value, Set the SurfaceHolder for media video playback. |
+| 63 | | setAudioStreamType() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setAudioStreamType() interface with valid input parameters.
Conformity result: No return value, set audio stream type. |
+| 64 | | setStopMode() | Conformity requirement 1:
Precondition: Successfully create a MediaPlayer object.
Test method: Call the setStopMode() interface with valid input parameters of 0.
Conformity result: Return successful, set black screen mode.
Conformity requirement 2:
Precondition: Successfully create a MediaPlayer object and prepare it.
Test method: Call the setStopMode() interface with a valid input parameter of 1.
Conformity result: Return successful, set stop mode. |
+| 65 | | getStopMode() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the getStopMode() interface.
Conformity result: The return value is the value of the corresponding set stop mode. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 66 | | getStartTime() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and prepare it.
Test method: Call the getStartTime() interface.
Conformity result: The return value indicates the start time of the time-shifted (or look-back) program. |
+| 67 | | getPace() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the getPace() interface.
Conformity result: The return value indicates the speed of fast forward or fast reverse. |
+| 68 | | setPace() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the setPace() interface with valid input parameters.
Conformity result: No return value, playback shows the correct multiplier playback effect. |
+| 69 | | setClip() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the setClip() interface with valid input parameters.
Conformity result: No return value, indicating the display of the specified area of the media source. |
+| 70 | | getClip() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the getClip() interface with valid input parameters.
Conformity result: The return value indicates the display area of the media source screen. |
+| 71 | | clearVideo() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the clearVideo() interface.
Conformity result: A return value of 0 indicates successful screen cleaning, while a failure value of -1 is returned. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 72 | | setVideoDisplay() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the setVideoDisplay() interface with the parameter TVOS_VIDEO_DISPLAY_CLOSE. Then call the setVideoDisplay() interface again, with the parameter TVOS_VIDEO_DISPLAY_OPEN.
Conformity result: Both calls return TRUE successfully, and the video output is first turned off and then turned back on. |
+| 73 | | getVideoDisplay() | Conformity requirements:
Precondition: Successfully create a MediaPlayer object and start playing.
Test method: Call the getVideoDisplay() interface.
Conformity result: The call succeeds, putting back the current correct video display state. |
+| 74 | TrackInfo | MEDIA_TRACK_TYPE_UNKNOWN | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 0. |
+| 75 | | MEDIA_TRACK_TYPE_VIDEO | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 1. |
+| 76 | | MEDIA_TRACK_TYPE_AUDIO | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 2. |
+| 77 | | MEDIA_TRACK_TYPE_TIME_TEXT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 3. |
+| 78 | | MEDIA_TRACK_TYPE_SUBTITLE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: Constant value is 4. |
+| 79 | | getTrackInfo() | Conformity requirements:
Precondition: Successfully create org.tvos.media.TrackInfo object.
Test method: Call the getTrackInfo() interface.
Conformity result: Get all actionable audio stream information of the currently |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | TrackInfo | | playing program, including audio, video, subtitle, synchronized subtitle, etc., and return org.tvos.media.TrackInfo data |
+| 80 | | selectTrack() | Conformity requirements:
Precondition: Successfully created. org.tvos.media.TrackInfo object
Test method: Call the selectTrack() interface with a valid track index as the input parameter.
Conformity result: No return value, indicating the selection of a certain track. |
+| 81 | | getSelectedTrack() | Conformity requirements:
Precondition: Successfully create org.tvos.media.TrackInfo object.
Test method: Call the getSelectedTrack() interface with a valid track type as the input parameter.
Conformity result: Get the index of the audio, video or subtitle track currently selected for playback. The return value indicates the index of the audio, video or subtitle selected for playback. |
+| 82 | MediaFormat | MIMETYPE_VIDEO_VP8 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/x-vnd.on2.vp8". |
+| 83 | | MIMETYPE_VIDEO_VP9 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/x-vnd.on2.vp9". |
+| 84 | | MIMETYPE_VIDEO_AVC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/avc". |
+| 85 | | MIMETYPE_VIDEO_HEVC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/hevc". |
+| 86 | | MIMETYPE_VIDEO_MPEG4 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/mp4v-es". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 87 | | MIMETYPE_VIDEO_H263 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/3gpp". |
+| 88 | | MIMETYPE_VIDEO_MPEG2 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/mpeg2". |
+| 89 | | MIMETYPE_VIDEO_RAW | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "video/raw". |
+| 90 | | MIMETYPE_AUDIO_AMR_N
B | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/amr-nb". |
+| 91 | | MIMETYPE_AUDIO_AMR_W
B | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/amr-wb". |
+| 92 | | MIMETYPE_AUDIO_MPEG | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/mpeg". |
+| 93 | | MIMETYPE_AUDIO_AAC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/mp4a-latm". |
+| 94 | | MIMETYPE_AUDIO_QCELP | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/qcelp". |
+| 95 | | MIMETYPE_AUDIO_VORBIS | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/vorbis". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 96 | | MIMETYPE_AUDIO_OPUS | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/opus". |
+| 97 | | MIMETYPE_AUDIO_G711_A_LAW | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/g711-alaw". |
+| 98 | | MIMETYPE_AUDIO_G711_M_LAW | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/g711-mlaw". |
+| 99 | | MIMETYPE_AUDIO_RAW | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/raw". |
+| 100 | | MIMETYPE_AUDIO_FLAC | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/flac". |
+| 101 | | MIMETYPE_AUDIO_MSGSM | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/gsm". |
+| 102 | | MIMETYPE_AUDIO_AC3 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio/ac3". |
+| 103 | | MIMETYPE_TEXT_VTT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "text/vtt". |
+| 104 | | MIMETYPE_TEXT_CEA_608 | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "text/cea-608". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 105 | | KEY_MIME | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "mime". |
+| 106 | | KEY_LANGUAGE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "language". |
+| 107 | | KEY_SAMPLE_RATE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "sample-rate". |
+| 108 | | KEY_CHANNEL_COUNT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "channel-count". |
+| 109 | | KEY_WIDTH | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "width". |
+| 110 | | KEY_HEIGHT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "height". |
+| 111 | | KEY_MAX_WIDTH | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "max-width". |
+| 112 | | KEY_MAX_HEIGHT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "max-height". |
+| 113 | | KEY_MAX_INPUT_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "max-input-size". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 114 | | KEY_BIT_RATE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "bitrate". |
+| 115 | | KEY_STREAM_PID | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "stream-pid". |
+| 116 | | KEY_COLOR_FORMAT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "color-format". |
+| 117 | | KEY_CAPTURE_RATE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "capture-rate". |
+| 118 | | KEY_I_FRAME_INTERVAL | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "i-frame-interval". |
+| 119 | | KEY_TEMPORAL_LAYERING | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "ts-schema". |
+| 120 | | KEY_REPEAT_PREVIOUS_FRAME_AFTER | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "repeat-previous-frame-after". |
+| 121 | | KEY_PUSH_BLANK_BUFFERS_ON_STOP | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "push-blank-buffers-on-shutdown". |
+| 122 | | KEY_DURATION | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "durationUs". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 123 | | KEY_IS_ADTS | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "is-adts". |
+| 124 | | KEY_CHANNEL_MASK | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "channel-mask". |
+| 125 | | KEY_AAC_PROFILE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-profile". |
+| 126 | | KEY_AAC_SBR_MODE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-sbr-mode". |
+| 127 | | KEY_AAC_MAX_OUTPUT_C HANNEL_COUNT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-max-output-channel_count". |
+| 128 | | KEY_AAC_DRC_TARGET_R EREFERENCE_LEVEL | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-target-ref-level". |
+| 129 | | KEY_AAC_ENCODED_TARG ET_LEVEL | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-encoded-target-level". |
+| 130 | | KEY_AAC_DRC_BOOST_FA CTOR | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-drc-boost-level". |
+| 131 | | KEY_AAC_DRC_ATTENUAT ION_FACTOR | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-drc-cut-level". |
+| 132 | | KEY_AAC_DRC_HEAVY_CO MPRESSION | Conformity requirements: |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "aac-drc-heavy-compression". |
+| 133 | | KEY_FLAC_COMPRESSION_LEVEL | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "flac-compression-level". |
+| 134 | | KEY_COMPLEXITY | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "complexity". |
+| 135 | | KEY_PROFILE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "profile". |
+| 136 | | KEY_BITRATE_MODE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "bitrate-mode". |
+| 137 | | KEY_AUDIO_SESSION_ID | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "audio-session-id". |
+| 138 | | KEY_IS_AUTOSELECT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "is-autoselect". |
+| 139 | | KEY_IS_DEFAULT | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "is-default". |
+| 140 | | KEY_IS_FORCED_SUBTITLE | Conformity requirements:
Precondition: None.
Test method: Determine constant values.
Conformity result: The constant value is "is-forced-subtitle". |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 141 | | MediaFormat() | Conformity requirements:
Precondition: None.
Test method: Create a MediaFormat object.
Conformity result: Constructor. |
+| 142 | | containsKey() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the containsKey() interface and legally input parameters.
Conformity result: Boolean type, Returns true if there is a message with a key value of name, otherwise returns false. |
+| 143 | | getInteger() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the getInteger() interface and legally input parameters.
Conformity result: int type, indicating that the key value corresponds to the integer attribute value of name. If the key does not exist, or the corresponding attribute value is not an integer, an exception is thrown. |
+| 144 | | getLong() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the getLong() interface and legally input parameters.
Conformity result: Long type, indicating that the key value corresponds to the long integer attribute value of name. If the key does not exist or the corresponding property value is not a long integer, an exception is thrown. |
+| 145 | | getFloat() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the getFloat() interface and legally input parameters.
Conformity result: float type, indicating the floating-point attribute value corresponding to the key value of name. If the key does not exist, or if the corresponding attribute value is not a floating-point form, an exception is thrown. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 146 | | getString() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the getString() interface and legally input parameters.
Conformity result: String object, representing the string attribute value corresponding to the key value of name. If the key does not exist, or the corresponding attribute value is not a String object, an exception is thrown. |
+| 147 | | getByteBuffer() | Conformity requirements:
Precondition: Successfully create a MediaFormat object.
Test method: Call the getByteBuffer() interface and legally input parameters.
Conformity result: Java.nio ByteBuffer object, representing the attribute value corresponding to the key value of name. If the key does not exist, or the corresponding attribute value is not a ByteBuffer object, an exception is thrown. |
+
+### A.7 Conformance test of system management unit interface
+
+| Serial No. | Test item | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------|--------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Peripheral management | PeripheralType interface | PERIPHERAL_ALL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "all". |
+| 2 | | | PERIPHERAL_MOUSE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mouse". |
+| 3 | | | PERIPHERAL_PC_KEYBOARD | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "keyboard". |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|-------------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 4 | | Peripheral
interface | getType() | Conformity requirement 1:
Precondition: Insert the mouse and successfully obtain an instance of the Peripheral class.
Test method: Call the getType() method and input valid parameters.
Conformity result: The method call succeeds and returns the peripheral type PERIPHERAL_MOUSE("mouse").
Conformity requirement 2:
Precondition: Insert the mouse and successfully obtain an instance of the Peripheral class.
Test method: Call the getType() method and input valid parameters.
Conformity result: The method call succeeds and returns the peripheral type PERIPHERAL_PC_KEYBOARD("keyboard").
Conformity requirement 3:
Precondition: Insert the mouse and successfully obtain an instance of the Peripheral class.
Test method: Call the getType() method and input valid parameters.
Conformity result: The method call succeeds and returns the peripheral type PERIPHERAL_ALL("all").
|
+| 5 | | Peripheral
interface | getID() | Conformity requirements:
Precondition: Insert peripheral and successfully obtain an instance of the Peripheral class.
Test method: Call the getID() method.
Conformity result: The method call succeeds and returns the peripheral global unique identifier not 0.
|
+| 6 | | Peripheral
interface | getName() | Conformity requirements:
Precondition: Insert peripheral and successfully obtain an instance of the Peripheral class.
Test method: Call the getName() method.
Conformity result: The method call succeeds and the returned peripheral name is not NULL.
|
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|--------------------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | | | getStatus() | Conformity requirements:
Precondition: Insert peripheral and successfully obtain an instance of the Peripheral class.
Test method: Call the getStatus() method.
Conformity result: The method call succeeds. Return an int type, indicating the status of the peripheral, with values related to the specific type of peripheral. |
+| 8 | | | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call the getInstance() method.
Conformity result: The method call succeeds, returning a unique instance of the PeripheralManager class implemented by the system that is not NULL. |
+| 9 | | Peripheral
Manager
class | addPeripheralEventListener() | Conformity requirement 1:
Precondition: Successfully obtain an instance of the PeripheralManager class and insert the peripheral device.
Test method: Call the addPeripheralEventListener() method and input valid parameters.
Conformity result: The method call succeeds, triggering the peripheral information callback, and the callback event type is 0~3 respectively.
Conformity requirement 2:
Precondition: Successfully obtain an instance of the PeripheralManager class and insert the peripheral device.
Test method: Call the addPeripheralEventListener() method and input invalid parameters.
Conformity result: No callback is triggered. |
+| 10 | | | removePeripheralListener() | Conformity requirement 1:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, call the addPeripheralEventListener() method, and register the peripheral event listener successfully.
Test method: Call the removePeripheralListener() method and input valid parameters.
Conformity result: The method call succeeds, the peripheral information callback is not triggered, and the callback |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|--------------------------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Peripheral
Manager
class | | message is not received.
Conformity requirement 2:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, call the addPeripheralEventListener() method, and register the peripheral event listener successfully.
Test method: Call the removePeripheralListener() method and input invalid parameters.
Conformity result: The method call fails, triggering a peripheral information callback with the message TYPE_FOUND (0). |
+| 11 | | | getAllPeripheralsByType() | Conformity requirement 1:
Precondition: Successfully obtain an instance of the PeripheralManager class and insert the peripheral device.
Test method: Call the getAllPeripheralsByType() method and input valid parameters.
Conformity result: Method call succeeds, the returned length of the array of Peripheral objects is not zero.
Conformity requirement 2:
Precondition: Successfully obtain an instance of the PeripheralManager class and insert the peripheral device.
Test method: Call the getAllPeripheralsByType() method and input invalid parameters.
Conformity result: The method call fails, the returned length of the array of Peripheral objects is zero. |
+| 12 | | | getPeripheralsByID() | Conformity requirement 1:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, and obtain the peripheral ID.
Test method: Call the getPeripheralsByID() method and input valid parameters.
Conformity result: The method call succeeds and the Peripheral object is returned.
Conformity requirement 2:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, and obtain the peripheral ID. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|---------------------|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | | Test method: Call the getPeripheralsByID() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| 13 | | | uninstallPeripheralByID() | Conformity requirement 1:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, and obtain the peripheral ID.
Test method: Call the uninstallPeripheralByID() method and input valid parameters.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: Successfully obtain the instance of the PeripheralManager class, insert the peripheral, and obtain the peripheral ID.
Test method: Call the uninstallPeripheralByID() method and input valid parameters.
Conformity result: The method call fails and returns false. |
+| 14 | | PeripheralListener | processPeripheralEvent() | Conformity requirements:
Precondition: Successfully obtain an instance of the PeripheralManager class and call the addPeripheralEventListener() method successfully.
Test method: Insert peripherals.
Conformity result: The method is successfully called. |
+| 15 | | | TYPE_FOUND | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 16 | | | TYPE_READY | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 17 | | PeripheralEvent | TYPE_ERROR | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|---------------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | | | TYPE_PLUGOUT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 19 | | | getPeripheral() | Conformity requirements:
Precondition: Successfully obtain an instance of the PeripheralManager class, insert the peripheral, call the addPeripheralEventListener() method to register for peripheral listening, and obtain the PeripheralEvent instance when the callback is triggered.
Test method: Call the getPeripheral() method.
Conformity result: The method call succeeds and the returned Peripheral object is not NULL. |
+| 20 | | | getType() | Conformity requirement 1:
Precondition: Successfully obtain an instance of the PeripheralManager class, insert the peripheral, call the addPeripheralEventListener() method to register for peripheral listening, and obtain the PeripheralEvent instance when the callback is triggered.
Test method: Call the getType() method.
Conformity result: The method call succeeds and returns a peripheral event type of TYPE_FOUND (0) and TYPE_READY (1).
Conformity requirement 2:
Precondition: Successfully obtaining an instance of the PeripheralManager class, inserting a peripheral. The peripheral has an unrecoverable error and cannot be accessed. Call the addPeripheralEventListener() method to register for peripheral listening, and when the callback is triggered, obtain the PeripheralEvent instance.
Test method: Call the getType() method.
Conformity result: The method call succeeds and the error message TYPE_ERROR(2) is returned.
Conformity requirement 3:
Precondition: Successfully obtain an instance of the PeripheralManager class, insert the peripheral, call the addPeripheralEventListener() method to |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-------------------------|---------------------|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | | register for peripheral listening, and obtain the PeripheralEvent instance when the callback is triggered.
Test method: Remove the peripheral and call the getType() method.
Conformity result: The method call succeeds and the error message TYPE_PLUGOUT(3) is returned. |
+| 21 | Data access and storage | DataConfigs class | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call the getInstance() method
Conformity result: The method call succeeds, and the unique instance of the DataAccess class implemented by the system is returned as non null. |
+| 22 | | | getProperty() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the getProperty() method and input valid parameters.
Conformity result: The method call succeeds and the returned data item value that is not NULL.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the getProperty() method and input valid parameters.
Conformity result: The method call fails and the returned data item value is NULL. |
+| 23 | | | setProperty() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the setProperty() method, set the value of the data item, and input valid parameters.
Conformity result: The method call succeeds and returns the modified result as greater than 0.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the setProperty() method, set the value of the data item, and input invalid parameters. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-------------------------|---------------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Data access and storage | DataAccess class | | Conformity result: The method call fails and returns a modification result of 0.
Conformity requirement 3:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the setProperty() method to set the value of the data item, which does not exist.
Conformity result: The method call fails and returns a modification result of -1. |
+| 24 | | | restoreDefault() | Conformity requirement:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the restoreDefault() method and input valid parameters.
Conformity result: The method call succeeds and returns true. |
+| 25 | | | restoreFromNvm() | Conformity requirement:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the restoreFromNvm() method and input valid parameters.
Conformity result: The method call succeeds and returns true. |
+| 26 | | | saveToNvm() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the saveToNvm() method and input valid parameters.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the DataAccess class.
Test method: Call the saveToNvm() method and input invalid parameters.
Conformity result: Method call fails and returns false. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|---------------------------------|---------------------|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 27 | View
Hardware
Information | HardwareInfo class | FLASH_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "flash_size". |
+| 28 | | | RAM_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "ram_size". |
+| 29 | | | RAM_TYPE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "ram_type". |
+| 30 | | | SOC_MODEL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "soc_model". |
+| 31 | | | SOC_FREQUENCY | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "soc_frequency". |
+| 32 | | | SOC_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "soc_provider". |
+| 33 | | | DEFINITION_TYPE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "definition_type". |
+| 34 | | | HW_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "hw_version". |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|---------------------------------|---------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 35 | View
Hardware
Information | HardwareInfo class | STB_BRAND | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "stb_brand". |
+| 36 | | | STB_MODEL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "stb_model". |
+| 37 | | | STB_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "stb_provider". |
+| 38 | | | STB_SERIAL_NUMBER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "stb_serial_number". |
+| 39 | | | TRANSPORT_TYPE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "transport_type". |
+| 40 | | | getProperty() | Conformity requirement 1:
Precondition: None.
Test method: Call the getProperty() method and input valid parameters.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: None.
Test method: Call the getProperty() method, input invalid parameters, hardware configuration item keywords are illegal.
Conformity result: The method call fails, throwing an IllegalArgumentException. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|---------------------------------|---------------------|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 41 | View
Software
Information | SoftwareInfo class | OS_NAME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "os_name". |
+| 42 | | | OS_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "os_provider". |
+| 43 | | | OS_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "os_version". |
+| 44 | | | MW_NAME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_name". |
+| 45 | | | MW_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_version". |
+| 46 | | | MW_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_provider". |
+| 47 | View
Software
Information | SoftwareInfo class | MW_RAM_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_ram_size". |
+| 48 | | | MW_NVM_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_nvm_size". |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|---------------------------------|---------------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 49 | View
Software
Information | SoftwareInfo class | MW_RELEASE_DATE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_release_date". |
+| 50 | | | MW_COPYRIGHT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_copyright". |
+| 51 | | | MW_PLATFORM_LEVEL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_platform_level". |
+| 52 | | | MW_PLATFORM_PROFILE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "mw_platform_profile". |
+| 53 | | | CA_NAME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "ca_name". |
+| 54 | | | CA_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "ca_version". |
+| 55 | | | CA_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "ca_provider". |
+| 56 | | | LOADER_NAME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "loader_name". |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-------------|---------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 57 | | | LOADER_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "loader_version". |
+| 58 | | | LOADER_PROVIDER | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "loader_provider". |
+| 59 | | | LOADER_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "loader_size". |
+| 60 | | | DRIVER_VERSION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is "driver_version". |
+| 61 | | | getProperty() | Conformity requirement 1:
Precondition: None.
Test method: Call the getProperty() method and input valid parameters.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: None.
Test method: Call the getProperty() method, input invalid parameters, hardware configuration item keywords are illegal.
Conformity result: The method call fails, throwing an IllegalArgumentException. |
+| 62 | System tool | SysTool class | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call the getInstance() method.
Conformity result: The method call succeeds, and the unique instance of the SysTool class implemented by the system is returned as non null. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|---------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 63 | | | getStandByStatus() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class.
Test method: Call the getStandByStatus() method to enter standby mode.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class.
Test method: Call the getStandByStatus() method to exit standby mode (i.e. working mode).
Conformity result: The method call succeeds and returns false.
|
+| 64 | | | standby() | Conformity requirements:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class.
Test method: Call the standby() method.
Conformity result: The method call is successful and the receiver is restarted.
|
+| 65 | | | sleep() | Conformity requirements:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class.
Test method: Call the Sleep() method.
Conformity result: The method call succeeds, the receiver goes to sleep and the CPU will power down and stop working.
|
+| 66 | | | reboot() | Conformity requirements:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class.
Test method: Call the reboot() method.
Conformity result: The method call succeeds and the WaleUpSrc object returned is not NULL.
|
+| 67 | | | wakeup() | Conformity requirements:
Precondition: Call the getInstance() method to successfully obtain an instance of the SysTool class, and call Sleep() to enter sleep mode.
Test method: Call the wakeUp() method.
Conformity result: The method call succeeds and the receiver enters the operating state.
|
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-------------------------------------|--------------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 68 | Storage
Device
Managem
ent | StorageMa
nager class | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call the getInstance() method.
Conformity result: The method call succeeds, and the unique instance of the StorageManager class implemented by the system is returned as non null. |
+| 69 | | | addStorageEventListener() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the addStorageEventListener() method and input valid parameters.
Conformity result: The method call succeeds, and the callback has a message.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the addStorageEventListener() method and input invalid parameters.
Conformity result: The method call fails and does not trigger a callback for peripheral information. |
+| 70 | Storage
Device
Managem
ent | StorageMa
nager class | removeStorageEventListener() | Conformity requirement 1:
Precondition: Call the getInstance() method to obtain an instance of the StorageManager class successfully, call the addStorageEventListener() method, and register for listening successfully.
Test method: Call the removeStorageEventListener() method and input valid parameters.
Conformity result: The method call succeeds, no peripheral information callback is triggered, and no callback message is received.
Conformity requirement 2:
Precondition: Call the getInstance() method to obtain an instance of the StorageManager class successfully, call the addStorageEventListener() method, and register for listening successfully.
Test method: Call the removeStorageEventListener() method and input invalid parameters.
Conformity result: The method call fails, and callback has message. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|---------------------------|--------------------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 71 | | StorageManager class | getAllStorages() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the getAllStorages() method and input valid parameters.
Conformity result: The method call succeeds and returns the Storage object.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the getAllStorages() method and input invalid parameters.
Conformity result: The method call succeeds and returns NULL.
|
+| 72 | Storage Device Management | | uninstallStorage() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the uninstallStorage() method and input valid parameters.
Conformity result: The method call succeeds, and returns true.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully retrieve an instance of the StorageManager class.
Test method: Call the uninstallStorage() method and input invalid parameters.
Conformity result: Method call fails, and returns false.
|
+| 73 | | StorageEventListener interface | processStorageEvent() | Store event listeners, implemented by applications without testing. |
+| 74 | | | TYPE_PARTITION_FOUND | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 22.
|
+| 75 | | | TYPE_PARTITION_MOUNTED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 23.
|
+
+| Serial No. | Test item | Class/ interface | Constant field/Attribute/Method | Process description |
+|------------|-----------|------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 76 | | | TYPE_PARTITION_MOUNT_FAILED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 24. |
+| 77 | | | TYPE_PARTITION_UNINSTALL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 25. |
+| 78 | | | TYPE_INSUFFICIENT_SPACE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 32. |
+| 79 | | | getType() | Conformity requirement 1:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the getType() method.
Conformity result: The method call succeeds, returning a message of type TYPE_PARTITION_FOUND(22), TYPE_PARTITION_MOUNTED(23).
Conformity requirement 2:
Precondition: Insert a storage device with insufficient space, call the getInstance() method to obtain an instance of the StorageManager class successfully, call the addStorageEventListener() method, and when the callback is triggered, obtain the StorageEvent object.
Test method: Call the getType() method.
Conformity result: The method call succeeds, returning a message of type TYPE_INSUFFICIENT_SPACE(32). |
+| | | | getType() | Conformity requirement 3:
Precondition: Insert a storage device that cannot be mounted, call the getInstance() method, successfully obtain an instance of the StorageManager class, call the addStorageEventListener() method, and when the callback is triggered, obtain the StorageEvent object. |
+
+154 Rec. ITU-T J.1207 (10/2024)
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|---------------------|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | | Test method: Call the getType() method.
Conformity result: The method call succeeds, returning a message of type TYPE_PARTITION_MOUNT_FAILED(24).
Conformity requirement 4:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the uninstallStorage() method to uninstall the storage device, and call the getType() method.
Conformity result: The method call succeeds, returning a message of type TYPE_PARTITION_UNINSTALL(25).
|
+| 80 | | | getStorage() | Conformity requirement 1:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the getStorage() method.
Conformity result: The method call succeeds, and the returned Storage object is not NULL.
Conformity requirement 2:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the getStorage() method.
Conformity result: The method call fails, and the returned Storage object is NULL.
|
+| 81 | | | getStoragePartition() | Conformity requirement 1:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the getStoragePartition() method.
Conformity result: The method call
|
+
+| Serial No. | Test item | Class/ interface | Constant field/Attribute/Method | Process description |
+|------------|-----------|-----------------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | | succeeds, and the returned StoragePartition object is not NULL.
Conformity requirement 2:
Precondition: Insert the storage device, call the getInstance() method, successfully obtain the instance of the StorageManager class, call the addStorageEventListener() method, and obtain the StorageEvent object when the callback is triggered.
Test method: Call the getStoragePartition() method.
Conformity result: The method call fails, and the returned StoragePartition object is NULL. |
+| 82 | | StoragePart
ition
interface | getName() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getName() method and input valid parameters.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getName() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| 83 | | | getID() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getID() method and input valid parameters.
Conformity result: The method call succeeds and returns a globally unique identifier (ID) greater than 0.
Conformity requirement 2:
Precondition: Call the getInstance() |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|-------------------|------------------|-----------------------------|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 84 | | StoragePartition interface | | method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getID() method and input invalid parameters.
Conformity result: The method call fails, and returns a globally unique ID less than 0. |
+| | | | getPath() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getPath() method and input valid parameters.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getPath() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| | | | getStatus() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getStatus() method and input validparameters.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() |
+| 85 | | StoragePartition | | |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|---------------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | interface | | to obtain the StoragePartition object.
Test method: Call the getStatus() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| 86 | | | getFreeSize() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getFreeSize() method and input valid parameters.
Conformity result: The method call succeeds and the value returned is of type LONG and greater than 0.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getFreeSize() method and input invalid parameters.
Conformity result: The method call succeeds and the value returned is of type LONG and not greater than 0. |
+| 87 | | | getTotalSize() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getTotalSize() method and input valid parameters.
Conformity result: The method call succeeds and the value returned is of type LONG and greater than 0.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, call the getAllStorages() method to obtain the Storage object, and call getAllPartitions() to obtain the StoragePartition object.
Test method: Call the getTotalSize() method and input invalid parameters.
Conformity result: The method call succeeds and the value returned is of type LONG and not greater than 0. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|----------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 88 | | Storage
interface | getSerialNumber() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, and call the getAllStorages() method to obtain the Storage object.
Test method: Call the getSerialNumber() method and input valid parameters.
Conformity result: The method call succeeds and an array of StoragePartition objects is returned.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, and call the getAllStorages() method to obtain the Storage object.
Test method: Call the getSerialNumber() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| 89 | | | getAllPartitions() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, and call the getAllStorages() method to obtain the Storage object.
Test method: Call the getAllPartitions() method and input valid parameters.
Conformity result: The method call succeeds and an array of StoragePartition objects is returned.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the StorageManager class, and call the getAllStorages() method to obtain the Storage object.
Test method: Call the getAllPartitions() method and input invalid parameters.
Conformity result: The method call fails and returns NULL. |
+| 90 | | | getInstance() | Conformity requirements:
Precondition: None.
Test method: Call the getInstance() method.
Conformity result: The method call succeeds, and returns a unique instance of the OTAManager class implemented by the system that is not NULL. |
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|----------------|---------------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 91 | OTA Management | OTAManager class | checkOTA() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the checkOTA() method and start the upgrade by calling startOTA().
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: Successfully call the tune() method and lock the frequency successfully.
Test method: Call the checkOTA() method.
Conformity result: The method call succeeds and returns false.
|
+| 92 | OTA Management | OTAManager class | getOTAName() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the getOTAName() method, call startOTA() to start the upgrade, and provide the name of the upgrade event.
Conformity result: The method call succeeds and the returned String object is not NULL.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the getOTAName() method, call startOTA() to start the upgrade, and no upgrade event name was provided.
Conformity result: Return NULL.
|
+| 93 | OTA Management | OTAManager class | startOTA() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call startOTA() to start the upgrade.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the startOTA() method
|
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|----------------|---------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 94 | OTA Management | OTAManager class | | to start the upgrade.
Conformity result: The method call fails and returns false. |
+| | | | addOTAEVENTListener() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the addOTAEVENTListener() method, input valid parameters, do not prompt the user, and directly call the startOTA() method to start the upgrade.
Conformity result: The method call succeeds, triggering an external OTA upgrade callback with a callback event type of 0.
Conformity requirement 2:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class.
Test method: Call the addOTAEVENTListener() method, input valid parameters, prompt the user, and call the startOTA() method to start the upgrade.
Conformity result: The method call succeeds, triggering an external OTA upgrade callback with a callback event type of 1.
|
+| 95 | | | removeOTAEVENTListener() | Conformity requirement 1:
Precondition: Call the getInstance() method to obtain an instance of the OTAManager class successfully, call the addOTAEVENTListener() method, and register the peripheral event listener successfully.
Test method: Call the removeOTAEVENTListener() method, input valid parameters, and call the startOTA() method to start the upgrade.
Conformity result: The method call succeeds, no peripheral information callback is triggered, and no callback message is received.
Conformity requirement 2:
Precondition: Call the getInstance() method to obtain an instance of the OTAManager class successfully, call the addOTAEVENTListener() method, and register the peripheral event listener successfully.
|
+
+| Serial No. | Test item | Class/
interface | Constant
field/Attribute/Method | Process description |
+|------------|-----------|-------------------------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | | Test method: Call the removeOTAEventListener() method, input invalid parameters, and call the startOTA() method to start the upgrade. Conformity result: The method call fails, triggering a peripheral information callback with a callback message of 0. |
+| 96 | | OTAEventListener
interface | processEvent() | OTA event listener, implemented by the application program, does not require testing. |
+| 97 | | | OTA_NORMAL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 98 | | | OTA_FORCE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 99 | | OTAEvent
event | getType() | Conformity requirement 1:
Precondition: Call the getInstance() method to successfully obtain an instance of the OTAManager class, call the addOTAEventListener() method, and directly call the startOTA() method to trigger a callback to obtain the OTAEvent instance.
Test method: Call the getType() method.
Conformity result: The method call succeeds, and the return upgrade type is OTA_FORCE(0) .
Conformity requirement 2:
Precondition: Call the getInstance() method to obtain an instance of the OTAManager class. Call the addOTAEventListener() method. After the user confirms, call the startOTA() method to trigger a callback to obtain an OTAEvent instance.
Test method: Call the getType() method.
Conformity result: The method call succeeds, and the return upgrade type is OTA_NORMAL(1) . |
+
+### A.8 Conformance test of application engine unit interface
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------------------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | org.ngb.toolkit.channelscan.
ChannelScanListener | processEvent() | Conformity requirements:
Precondition: The application programme implements the interface, and the application further determines the prototype of the event object through the IsInstanceOf() method.
Test method: When searching for channels, the class that implements this interface is called and the listener is registered.
Conformity result: Can correctly monitor the status of successful or failed channel search.
|
+| 2 | | CHANNELSCAN_TYPE_MANUAL | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanEngine.CHANNELSCAN_TYPE_MANUAL.
Conformity requirements: The corresponding values are consistent with the standards.
|
+| 3 | | CHANNELSCAN_TYPE_NIT | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanEngine.CHANNELSCAN_TYPE_NIT.
Conformity requirements: The corresponding values are consistent with the standards.
|
+| 4 | org.ngb.toolkit.channelscan.
ChannelScanEngine | CHANNELSCAN_TYPE_ZONE | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanEngine.CHANNELSCAN_TYPE_ZONE.
Conformity requirements: The corresponding values are consistent with the standards.
|
+| 5 | | CHANNELSCAN_TYPE_JSON | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanEngine.CHANNELSCAN_TYPE_JSON.
Conformity requirements: The corresponding values are consistent with the standards.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------------------------------|------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 6 | | createInstance(int tunerId) | Conformity requirement 1:
Precondition: None.
Test method: Calling the createInstance() parameter is valid.
Conformity result: The method call succeeds and returns the org.ngb.toolkit.channelscan.ChannelScanEngine object, representing the search engine.
Conformity requirement 2:
Precondition: None.
Test method: Call createInstance(), the TunerID parameter is invalid.
Conformity result: Throw org.davic.mpeg.ResourceException indicating that the underlying resource is insufficient.
|
+| 7 | | addChannelScanListener() | Conformity requirement 1:
Precondition: Successfully call the createInstance() method and return a valid search engine.
Test method: Call the addChannelScanListener() method with the parameter org.ngb.toolkit.channelscan.ChannelScanListener object.
Conformity result: The registered listener can listen to the search status.
|
+| 8 | | removeChannelScanListener() | Conformity requirement 1:
Precondition: Successfully call the createInstance() method and return a valid search engine.
Test method: Call the removeChannelScanListener() method with an parameter of the org.ngb.toolkit.channelscan.ChannelScanListener object to be logged out.
Conformity result: Listener logout succeeds, no search status is detected.
|
+| 9 | org.ngb.toolkit.channelscan.ChannelScanEngine | startScan(int type, TuningParameters[] params) | Conformity requirement 1:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener().
Test method: Call startScan() and ensure that the parameters are valid.
Conformity result: The org.ngb.toolkit.channelscan.ChannelScanListener object registered by addChannelScanListener() will listen
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------------------------------------|------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | to the following four types of events:
a) Listen to the org.ngb.toolkit.channelscan.ChannelScanNITSuccessEvent event when the search for the NIT is complete.
b) Listen to the org.ngb.toolkit.channelscan.ChannelScanSuccessEvent event when the search for a frequency is complete.
c) Listen to the org.ngb.toolkit.channelscan.ChannelScanFinishEvent event when the search for a frequency is complete.
d) Listen to the org.ngb.toolkit.channelscan.ChannelScanFailureEvent event when the search fails.
Conformity requirement 2:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener().
Test method: Call startScan() with invalid parameters.
Conformity result: Throw a java.lang.IllegalArgumentException exception, indicating that the parameter is invalid.
|
+| 10 | org.ngb.toolkit.channelscan.ChannelScanEngine | startScanExt(TuningParameters params,int pid, int tableid) | Conformity requirement 1:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener().
Test method: Call the startScanExt() method with valid parameters.
Conformity result: The org.ngb.toolkit.channelscan.ChannelScanListener object registered by addChannelScanListener()will listen to the following two types of events:
- 1. Listen to the org.ngb.toolkit.channelscan.ChannelScanFinishEvent event when the search ends.
- 2. Listen to the org.ngb.toolkit.channelscan.ChannelScanFailureEvent event when the search fails.
Conformity requirement 2:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | addChannelScanListener().
Test method: Call the startScanExt() method with invalid parameters.
Conformity result: Throw a Java.lang.IllegalArgumentException exception, indicating that the parameter is invalid. |
+| 11 | | cancel() | Conformity requirement 1:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener(), and successfully call one of the search methods startScan() or startScanExt().
Test method: Call the cancel() method before the search fails or ends.
Conformity result: The org.ngb.toolkit.channelscan.ChannelScanListener object registered by addChannelScanListener() will monitor the org.ngb.toolkit.channelscan.ChannelScanFinishEvent event.
Conformity requirement 2:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener(), and successfully call one of the search methods startScan() or startScanExt().
Test method: Call the cancel() method after the search fails or ends.
Conformity result: The org.ngb.toolkit.channelscan.ChannelScanListener object will not monitor the org.ngb.toolkit.channelscan.ChannelScanFinishEvent event. |
+| 12 | | release() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine.
Test method: Call release().
Conformity result: Search engine usage resources are released. |
+| 13 | | saveScanResult() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------------|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | valid search engine; Successfully call addChannelScanListener() and the startScan() method.
Test method: Call the saveScanResult() method after the search is complete.
Conformity result: Return true to indicate the success of saving the data, while return false to indicate the failure of saving the data. |
+| 14 | | saveServicesInfo(String jsonSIInfo) | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener() and the startScanExt() method.
Test method: call the saveServicesInfo() method after the search is complete.
Conformity result: Return true to indicate the success of saving the data, while return false to indicate the failure of saving the data. |
+| 15 | | REASON_UNKNOWN | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_UNKNOWN.
Conformity requirements:
Corresponding values are consistent with the standard. |
+| 16 | | REASON_TUNE_LOCK_FAILED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_TUNE_LOCK_FAILED.
Conformity requirements:
Corresponding values are consistent with the standard. |
+| 17 | ChannelScanFailureEvent | REASON_NIT_SEARCH_FAILED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_NIT_SEARCH_FAILED.
Conformity requirements:
Corresponding values are consistent with the standard. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | ChannelScanFailureEvent | REASON_BAT_SEARCH_FAILED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_BAT_SEARCH_FAILED.
Conformity requirements:
Corresponding values are consistent with the standard. |
+| 19 | | REASON_PAT_SEARCH_FAILED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_PAT_SEARCH_FAILED.
Conformity requirements:
Corresponding values are consistent with the standard. |
+| 20 | | REASON_PMT_SEARCH_FAILED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ChannelScanFailureEvent.REASON_PMT_SEARCH_FAILED.
Conformity requirements:
Corresponding values are consistent with the standard. |
+| 21 | | getReason() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener(), and successfully call one of the search methods startScan() or startScanExt().
Test method: Call getReason() when listening to ChannelScanFailureEvent.
Conformity result: The return value is the value taken from the org.ngb.toolkit.channelscan.ChannelScanFailureEvent constant field. |
+| 22 | ChannelScanFinishEvent | getServiceCount() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener(), and successfully call one of the search methods startScan() or startScanExt().
Test method: Call the |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 23 | | | getServiceCount() when listening to search completion.
Conformity result: Return value>=0 indicates the number of services. |
+| | | getTransportStreamCount() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener(), and successfully call one of the search methods startScan() or startScanExt().
Test method: Call getTransportStreamCount() when listening to ChannelScanFinishEvent.
Conformity result: Return value>=0 indicates the number of transport streams. |
+| 24 | ChannelScanNITSuccessEvent | getTransportStream() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener() and method startScan().
Test method: Call getTransportStream() when listening to ChannelScanNITSuccessEvent.
Conformity result: Return an array of org.ngb.broadcast.dvb.si.TransportStream objects, if the return value is not NULL, it means the frequency point is searched; if the return value is NULL, it means no frequency point is searched. |
+| 25 | ChannelScanSuccessEvent | getResult() | Conformity requirements:
Precondition: Successfully call the createInstance() method and return a valid search engine; Successfully call addChannelScanListener() and method startScan().
Test method: Call getResult() when listening to the ChannelScanSuccessEvent.
Conformity result: Return an array of org.ngb.broadcast.dvb.si.SIService objects, if the return value is not NULL, it means the channel is searched; if the return value is NULL, it means no channel is searched. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 26 | ProgramEvent | getTitle() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getTitle() method with no input parameters.
Conformity result: The method call succeeds and returns a String object indicating the programme's name. |
+| 27 | | getShortDescription() | Conformity requirement 1:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getShortDescription() method with no input parameters.
Conformity result: The method call succeeds and returns a String object indicating the programme's short description. |
+| 28 | | getBeginDate() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getBeginDate() method with no input parameters.
Conformity result: The method call succeeds and returns a Date object indicating the programme's beginning time. |
+| 29 | | getDuration() | Conformity requirement:
Precondition: The ProgramEvent object has been correctly obtained.
Test method: Call the getDuration() method with no input parameters.
Conformity result: The method call succeeds and returns a long type value indicating the programme's duration. |
+| 30 | | getEndDate() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getEndDate() method with no input parameters.
Conformity result: The method call succeeds and returns a Date object indicating the end time of the program. |
+| 31 | | getLanguageCode() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getLanguageCode() method with no |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | input parameters.
Conformity result: A successful method call returns a String object section indicating the programme's language code. |
+| 32 | | getNibbles() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getNibbles() method with no input parameters.
Conformity result: The method call succeeds and returns a byte array indicating the programme's classification information. |
+| 33 | | getCALockMode() | Conformity requirement 1:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getCALockMode() method, the programme is an authorized program.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getCALockMode() method, the programme is an unauthorized program.
Conformity result: The method call succeeds and returned false. |
+| 34 | | getDvbLocator() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getDvbLocator() method with no input parameters.
Conformity result: The method call succeeds and returns a DvbNetworkBoundLocator object indicating the locator of the programme event. |
+| 35 | | getProgramService() | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the getProgramService() method with no input parameters.
Conformity result: The method call succeeds and returns a |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | ProgramService object indicating the programme service object to which the programme event belongs. |
+| 36 | ProgramEventFilter | accept(ProgramEvent programEvent) | Conformity requirement:
Precondition: The ProgramEvent object is correctly obtained.
Test method: Call the accept() method and input a programEvent that meets the filtering criteria.
Conformity result: The method call succeeds and returns true. |
+| 37 | ProgramService | SERVICE_TYPE_RESERVED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 38 | | SERVICE_TYPE_DIGITAL_TELEVISION | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 39 | | SERVICE_TYPE_DIGITAL_RADIO_SOUND | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 40 | | SERVICE_TYPE_TELETEXT | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 3. |
+| 41 | | SERVICE_TYPE_NVOD_REFERENCE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 4. |
+| 42 | | SERVICE_TYPE_NVOD_TIME_SHIFTED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 5. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
+| 43 | | SERVICE_TYPE_MOSAI
C | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 6. |
+| 44 | | SERVICE_TYPE_PAL | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 7. |
+| 45 | | SERVICE_TYPE_SECAM | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 8. |
+| 46 | | SERVICE_TYPE_D_D2_
MAC | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 9. |
+| 47 | | SERVICE_TYPE_FM_RA
DIO | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 10. |
+| 48 | | SERVICE_TYPE_NTSC | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 11. |
+| 49 | | SERVICE_TYPE_DATA_
BROADCAST | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 12. |
+| 50 | | SERVICE_TYPE_RESER
VED_FOR_CI | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 13. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 51 | | SERVICE_TYPE_RCS_M
AP | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 14. |
+| 52 | | SERVICE_TYPE_RCS_FL
S | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 15. |
+| 53 | | SERVICE_TYPE_DVB_M
HP | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 15. |
+| 54 | | getDvbLocator() | Conformity requirement 1:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getDvbLocator() method with no input parameters.
Conformity result: The method call succeeds and returns a DvbNetworkBoundLocator object indicating the service locator. |
+| 55 | | getNetworkID() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getNetworkID() method with no input parameters.
Conformity result: The method call succeeds and returns an object of type int indicating the network ID of the network to which the service object belongs. |
+| 56 | | getServiceName() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getServiceName() method with no input parameters.
Conformity result: The method call succeeds and returns a String object indicating the name of the service. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 57 | | getServiceLogicNumber() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getServiceLogicNumber() method with no input parameters.
Conformity result: The method call succeeds and returns an object of type int indicating the service logic number. |
+| 58 | | getServiceType() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getServiceType() method with no input parameters.
Conformity result: The method call succeeds and returns an object of type int indicating the type of service. |
+| 59 | | getCAFreeMode() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getCAFreeMode() method with no input parameters.
Conformity result: The method call succeeds and returns true (scrambled)/false (not scrambled). |
+| 60 | | getPresentProgramEvent() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getPresentProgramEvent() method with no input parameters.
Conformity result: The method call succeeds and returns a ProgramEvent object indicating the current programme information. |
+| 61 | | getFollowingProgramEvent() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getFollowingProgramEvent() method with no input parameters.
Conformity result: The method call succeeds and returns a ProgramEvent object indicating the subsequent programme information. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 62 | | getProgramEvents(Program EventFilter filter) | Conformity requirement 1:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getProgramEvents() method and input valid parameters.
Conformity result: The method call succeeds and returns the ProgramEvent array object indicating the programme information of the filter.
Conformity requirement 2:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getProgramEvents() method and input invalid parameters.
Conformity result: The method call succeeds and returns null.
|
+| 63 | | getEPGManager() | Conformity requirement:
Precondition: The ProgramService object is correctly obtained.
Test method: Call the getEPGManager() method with no input parameters.
Conformity result: The method call succeeds and returns an EPGManager object indicating the EPGManager instance to which this programme service object belongs.
|
+| 64 | ProgramServiceFilter | accept(ProgramService programService) | Conformity requirement 1:
Precondition: The interface is implemented by the application, and the application has implemented filtering behavior.
Test method: Call the accept() method and input parameters that meet the filtering criteria.
Conformity result: The method call succeeds and returns true.
Conformity requirement 2:
Precondition: The interface is implemented by the application, and the application has implemented filtering behavior.
Test method: Call the accept() method and input parameters that do not meet the filtering criteria.
Conformity result: The method call succeeds and returns false.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 65 | EPGUpdateListener | onUpdate(EPGUpdateEvent event) | Conformity requirement:
Precondition: The interface is implemented by the application and an event listener has been correctly added.
Test method: When there is an EPG information event update, call the onUpdate() method and input valid parameters.
Conformity result: The method call succeeds, and the exact logic is controlled by the application.
|
+| 66 | EPGManager | getEPGManager() | Conformity requirement:
Precondition: Received EPG information from the flow.
Test method: Call the getEPGManager() method with no input parameters.
Conformity result: The method call succeeds and returns an array of EPGManager objects indicating the EPG manager.
|
+| 67 | | getNetworkIDs() | Conformity requirement:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getNetworkIDs() method with no input parameters.
Conformity result: The method call succeeds and returns an array of type Integer indicating the broadcast network identifier corresponding to the EPG manager instance.
|
+| 68 | | getNetworkName(int networkId) | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getNetworkName() method and input valid parameters.
Conformity result: The method call succeeds and returns a String object indicating the name of the broadcast network to which the EPG manager instance corresponds.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getNetworkName() method and input invalid parameters.
Conformity result: The method call succeeds and returns NULL.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 69 | | addUpdateListener() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the addUpdateListener() method and input valid parameters.
Conformity result: The method call succeeds, and adds this event listener.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: the method call succeeds without adding this event listener.
|
+| 70 | | removeUpdateListener() | Conformity requirement:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the removeUpdateListener() method and input valid parameters.
Conformity result: The method call succeeds, and removes the event listener.
|
+| 71 | | getService() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getService() method and input valid parameters.
Conformity result: The method call succeeds and returns the ProgramService object indicating the object that matches the conditions of the input parameters.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getService() method and input invalid parameters.
Conformity result: The method call fails, throwing an InvalidParameterException.
|
+| 72 | | getServices() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getServices() method and input valid parameters.
Conformity result: The method call succeeds and returns the ProgramService array object indicating the programme object that
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 73 | | | matches the input parameter condition.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getServices() method and input invalid parameters.
Conformity result: The method call fails, throwing an IllegalArgumentException.
|
+| | | getPresentFollowingEvent() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getPresentFollowingEvent() method and input valid parameters.
Conformity result: The method call succeeds and returns the ProgramService object indicating the programme information service object that matches the conditions.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getPresentFollowingEvent() method and input invalid parameters.
Conformity result: The method call fails, throwing an IllegalArgumentException.
|
+| 74 | | getProgramService() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getProgramService() method and input valid parameters.
Conformity result: The method call succeeds and returns a ProgramService object indicating programme information service object that matches the conditions.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getProgramService() method and input invalid parameters.
Conformity result: The method call fails, throwing an IllegalArgumentException or InvalidPeriodException exception.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 75 | | getProgramServices() | Conformity requirement 1:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getProgramServices() method and input valid parameters.
Conformity result: The method call succeeds and returns the ProgramService array object indicating the service object that matches the conditions.
Conformity requirement 2:
Precondition: The EPGManager instance has been correctly obtained.
Test method: Call the getProgramServices() method and input invalid parameters.
Conformity result: The method call fails, throwing an InvalidPeriodException.
|
+| 76 | EPGUpdateEvent | getResult() | Conformity requirement:
Precondition: The EPGUpdateEvent object has been correctly obtained.
Test method: Call the getResult() method with no input parameters.
Conformity result: The method call succeeds and returns the updated programme information service object.
|
+| 77 | | EPGUpdateEvent() | Conformity requirement:
Precondition: None.
Test method: Call the EPGUpdateEvent() method with no input parameters.
Conformity result: The method call succeeds, creating an EPGUpdateEvent object.
|
+| 78 | AutoCompleteSearchListener | onAutoCompleteSearchStart() | Conformity requirement:
Precondition: SearchManager engine is initialized successfully, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession() to get AutoCompleteSearchSession object and call startSearch().
Test method: Call onAutoCompleteSearchStart().
Conformity result: Search engines pass a message to the application to start searching.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 79 | | onAutoCompleteSearchStop() | Conformity requirement:
Precondition: The SearchManager engine is successfully initialized, the AutoCompleteSearchFiler object is instantiated, getAutoCompleteSearchSession() is called to get the AutoCompleteSearchSession object, and startSearch() is called, and startSearch() and stopSearch() have been called.
Test method: Call onAutoCompleteSearchStop().
Conformity result: Search engines pass a message to the application to stop searching.
|
+| 80 | | onAutoCompleteSearchDestroy() | Conformity requirement 1:
Precondition: The SearchManager engine is successfully initialized, the AutoCompleteSearchFiler object is instantiated, getAutoCompleteSearchSession() is called to get the AutoCompleteSearchSession object, startSearch() is called, and startSearch() and stopSearch() have been called.
Test method: Call onAutoCompleteSearchDestroy().
Conformity result: The search engine passes a message to the application to destroy the search.
|
+| 81 | | onAutoCompleteSearchError() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession () to get AutoCompleteSearchSession object.
Test method: Call onAutoCompleteSearchError().
Conformity result: Search engines pass error messages to applications.
|
+| 82 | AutoCompleteSearchResult Item | getSource() | Conformity requirement:
Precondition: The searchManager engine is initialized successfully, the AutoCompleteSearchFiler object is instantiated, getAutoCompleteSearchSession() is called to get the AutoCompleteSearchSession object,
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 83 | | | and calls startSearch(), stopSearch(), dispose().
Test method: Call getSource().
Conformity result: Get the matching data sources. |
+| | | getString() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession() to get the AutoCompleteSearchSession object, and call startSearch(). The calls to startSearch(), stopSearch(), and dispose() has already been called.
Test method: Call the getString() method.
Conformity result: Get a string that matches the keyword provided by the user. |
+| 84 | AutoCompleteSearchSession | startSearch() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession(). AutoCompleteSearchSession object is instantiated.
Test method: Call the startSearch() method.
Conformity result: Start matching operation.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession(). AutoCompleteSearchSession object is instantiated.
Test method: Call the startSearch() method and input an illegal parameter of getAutoCompleteSearchSession().
Conformity result: The start session operation failed with an exception.
Conformity requirement 3:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | instantiated, call getAutoCompleteSearchSession(). AutoCompleteSearchSession object is instantiated.
Test method: Call the startSearch() method and input an illegal parameter to startSearch().
Conformity result: The start session operation fails and throws an exception.
|
+| 85 | | stopSearch() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession(). AutoCompleteSearchSession object is instantiated.
Test method: Call the stopSearch() method.
Conformity result: Terminate this search.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, AutoCompleteSearchFiler object is instantiated, call getAutoCompleteSearchSession(). AutoCompleteSearchSession object is instantiated.
Test method: Call the stopSearch() method, StartSearch() was not called.
Conformity result: Stopping this search fails and throws an exception.
|
+| 86 | AutoCompleteSearchSession | dispose() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is instantiated, getAutoCompleteSearchSession() is called, AutoCompleteSearchSession object is instantiated, and the calls startSearch() and stopSearch().
Test method: Call the dispose() method.
Conformity result: Dispose the closed searches.
Conformity requirement 2:
Precondition: SearchManager engine initialization is successful, AutoCompleteSearchFiler object is
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 87 | | | instantiated,
getAutoCompleteSearchSession() is called and
AutoCompleteSearchSession object is instantiated.
Test method: Call the dispose() method, without calling startSearch() before.
Conformity result: Disposing fails and throws an exception. |
+| | | getSearchResultList() | Conformity requirement 1:
Precondition: SearchManager engine is instantiated successfully,
AutoCompleteSearchFiler object is instantiated,
getAutoCompleteSearchSession() is called, the
AutoCompleteSearchSession object is instantiated, startSearch(),
stopSearch(), dispose() are called, and the listener receives a success status.
Test method: Call the getSearchResultList() method.
Conformity result: The call to the getSearchResultList() method succeeds and returns the AutoCompleteSearchResultList object.
Conformity requirement 2:
Precondition: SearchManager engine initialization is successful,
AutoCompleteSearchFiler object is instantiated, call
getAutoCompleteSearchSession(),
AutoCompleteSearchSession object is instantiated, call startSearch(),
stopSearch(), dispose().
Test method: When
AutoCompleteSearchListen does not hear the completed state, call the
getSearchResultList() method.
Conformity result: The call to the getSearchResultList() method fails and throws an exception. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 88 | GlobalSearchListener | onGlobalSearchStart() | Conformity requirement:
Precondition: The SearchManager engine is initialized successfully. the GlobalSearchFilter object is instantiated, Call getGlobalSearchSession() to get the GlobalSearchSession object successfully.
Test method: Call the onGlobalSearchStart() method.
Conformity result: Search engines transmit start search information to the application. |
+| 89 | | onGlobalSearchStop() | Conformity requirement:
Precondition: The SearchManager engine is initialized successfully. the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get the GlobalSearchSession object successfully, startSearch() and stopSearch() are called.
Test method: Call the onGlobalSearchStop() method.
Conformity result: Search engines transmit stop search information to applications. |
+| 90 | | onGlobalSearchDestroy() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get the GlobalSearchSession object successfully, and startSearch(), stopSearch(), and dispose Search() are called.
Test method: Call the onGlobalSearchDestroy() method.
Conformity result: Search engines transmit destroy search information to applications. |
+| 91 | | onGlobalSearchError() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, GlobalSearchFilter object is instantiated and getGlobalSearchSession() is called to get the GlobalSearchSession object successfully, and called startSearch() |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|------------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 92 | GlobalSearchListener | | method.
Test method: Call the onGlobalSearchError() method.
Conformity result: Search engines transmit error information to applications. |
+| | | onGlobalSearchRetrieval() | Conformity requirement 1:
Precondition: The searchManager engine is initialized successfully, the GlobalSearchFilter object is instantiated, and getGlobalSearchSession() is called to get the GlobalSearchSession object successfully, and startSearch(), stopSearch(), dispose() are called.
Test method: Call the onGlobalSearchRetrieval () method.
Conformity result: Search engines transmit search success information to applications. |
+| 93 | GlobalSearchResultItem | getContent() | Conformity requirement 1:
Precondition: SearchManager engine initialization is successful, GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get the GlobalSearchSession object successfully, startSearch() and stopSearch() are called, and the listener listens to the completion of the search.
Test method: Call the getContent() method.
Conformity result: Associate this search result with other objects. |
+| 94 | GlobalSearchSession | DEFAULT_PAGE_SIZE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 6. |
+| 95 | | startSearch() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: Call the startSearch() method. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | GlobalSearchSession | | Conformity result:
GlobalSearchSession starts launching searches.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: The parameter in getGlobalSearchSession() is illegal, call the startSearch() method.
Conformity result: The startup operation fails and throws an exception.
|
+| 96 | | stopSearch() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object and call startSearch().
Test method: Call the stopSearch() method.
Conformity result:
GlobalSearchSession starts to stop this search.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: No startSearch() is called, the stopSearch() method is called.
Conformity result: Stop operation fails, throws exception.
|
+| 97 | | dispose() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object, and call startSearch() and stopSearch().
Test method: Call the dispose() method.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | GlobalSearchSession | | Conformity result: Dispose useless GlobalSearchSession.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: The startSearch() method is not called, but the dispose() method is called.
Conformity result: The disposing operation fails and throws a exception.
|
+| 98 | | getPageSize() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object, and call startSearch(), stopSearch().
Test method: Call the getPageSize() method.
Conformity result: Get the number of entries per page.
|
+| 99 | | getResultCount() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object, and call startSearch(), stopSearch(), the listener listens to a successful search event.
Test method: Call the getResultCount() method.
Conformity result: Obtain the number of search results.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: Test: startSearch() is not called or completed status is not received, the getResultCount()
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 100 | GlobalSearchSession | | method is called.
Conformity result: Throw an exception. |
+| | | getSearchResultList() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object, and call startSearch() and stopSearch(), the listener receives a successful message.
Test method: Call the getSearchResultList() method.
Conformity results: Get the search result object.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object.
Test method: Test: startSearch() is not called or completed status is not received, the getResultCount() method is called. Call the getSearchResultList() method.
Conformity result: Throw an exception. |
+| 101 | | retrievePage() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object. Call startSearch(), stopSearch(), and listen to the status of a successful search.
Test method: Call the retrievePage() method.
Conformity result: Initialize the current page, previous page, and next page of data.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | getGlobalSearchSession() to get GlobalSearchSession object.
Test method: StartSearch() is not called or a successful search status is not listened. Call the retrievePage() method.
Conformity result: Throw an exception.
|
+| 102 | | saveRecentSearchQuery() | Conformity requirement:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object. Call startSearch() which returns the search success status and is called before dispose().
Test method: Call the saveRecentSearchQuery() method.
Conformity result: Temporarily store the current matching result.
|
+| 103 | | setPageSize() | Conformity requirement 1:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object. Call startSearch(), which returns the search success status and is called before dispose().
Test method: Call the setPageSize() method.
Conformity result: Set the size of items displayed per page.
Conformity requirement 2:
Precondition: The SearchManager engine is initialized successfully. After the GlobalSearchFilter object is instantiated, call getGlobalSearchSession() to get GlobalSearchSession object, call StartSearch(), and return the search success status.
Test method: Set the size to be less than 0 or greater than the system's maximum value, and call the setPageSize() method.
Conformity result: Throw an exception.
|
+| 104 | | | Conformity requirements: |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SearchHistoryItem | getContentType() | Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getContentType() method.
Conformity result: Get the search type for the search. |
+| 105 | | getCriteriaFlags() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getCriteriaFlags() method.
Conformity result: Get the indicator for the search. |
+| 106 | | getSearchField() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getSearchField() method.
Conformity result: Get the search field for the search. |
+| 107 | | getSearchString() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getSearchString() method.
Conformity result: Get the matching string for the search. |
+| 108 | | getSortCriteria() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getSortCriteria() method.
Conformity result: Get the sorting information of the search. |
+| 109 | SearchHistoryItem | getSources() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds, search session returns results.
Test method: Call the getSources() method.
Conformity result: Get the source information of the search. |
+| 110 | | ALL | Conformity requirements:
Precondition: None. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 111 | SourceType | | Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| | | BROADCAST | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 112 | | RECORDED | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 113 | AutoCompleteSearchFilter | DEFAULT_MAX_AUTO_COMPLETE_SEARCH_RESULTS | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 10. |
+| 114 | | getAutoCompleteSearchFilter() | Conformity requirements:
Precondition: SearchManager engine initialization succeeds.
Test method: Call the getAutoCompleteSearchFilter() method.
Conformity result: Return AutoCompleteSearchFilter object. |
+| 115 | | getMaxResults() | Conformity requirements:
Precondition: The SearchManager engine has been successfully initialized, the AutoCompleteSearchFilter object has been instantiated, and setMaxResults() has been called before.
Test method: Call the getMaxResults() method.
Conformity result: Return the maximum value of the search result to be matched. |
+| 116 | | getSearchField() | Conformity requirements:
Precondition: The SearchManager engine has been successfully initialized, the AutoCompleteSearchFilter object has been instantiated, and |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AutoCompleteSearchFilter | | setSearchField() has been called before.
Test method: Call the setSearchField() method.
Conformity result: Return the fields that need to be matched for the match search. |
+| 117 | | getSearchLanguage() | Conformity requirements:
Precondition: The SearchManager engine has been successfully initialized, the AutoCompleteSearchFilter object has been instantiated, and setSearchLanguage() has been called before.
Test method: Call the getSearchLanguage() method.
Conformity result: Return the language type that matches the search text information. |
+| 118 | | getSource() | Conformity requirements:
Precondition: The SearchManager engine has been successfully initialized, the AutoCompleteSearchFilter object has been instantiated, and setSource() has been called before.
Test method: Call the getSource() method.
Conformity result: Return the search data source that matches the search. |
+| 119 | | getTimeLimit() | Conformity requirements:
Precondition: The SearchManager engine has been successfully initialized, the AutoCompleteSearchFilter object has been instantiated, and setTimeLimit() has been called before.
Test method: Call the getTimeLimit() method.
Conformity result: Return the time limit for matching search timeout. |
+| 120 | | setMaxResults() | Conformity requirement:
Precondition: ASearchManager engine has been successfully instantiated, AutoCompleteSearchFilter object has been instantiated.
Test method: Call the setMaxResults() method. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AutoCompleteSearchFilter | | Conformity result: Return the maximum number of results that can be returned from a match search.
Conformity requirement 2:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: If the set value is less than or equal to 0 or exceeds the maximum value supported by the system, call the setMaxResults() method.
Conformity result: Throw an exception.
|
+| 121 | | setSearchField() | Conformity requirement 1:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: Call the setSearchField() method.
Conformity results: Set up three searchable types, as title or keyword or profile.
Conformity requirement 2:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: Set non-title or keyword or introduction to one of three searchable types, and call the setSearchField() method.
Conformity result: Return an exception.
|
+| 122 | | setSearchLanguage() | Conformity requirement 1:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: Call the setSearchLanguage() method.
Conformity result: Set the language type of the search text.
Conformity requirement 2:
Precondition: The SearchManager
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: If the input parameter iso639code does not comply with [ISO 639], call the setSearchLanguage() method.
Conformity result: Throw an exception.
|
+| 123 | | setSource() | Conformity requirement 1:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: Call the setSource() method.
Conformity result: Set the search data source for matching searches.
Conformity requirement 2:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: If the matching search data source is not within the type defined by sourceType, call the setSource() method.
Conformity result: Throw an exception.
|
+| 124 | | setTimeout() | Conformity requirement 1:
Precondition: The SearchManager engine has been successfully initialized and the AutoCompleteSearchFilter object has been instantiated.
Test method: Call the setTimeout() method.
Conformity result: Set the matching search timeout.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, and AutoCompleteSearchFilter object has been instantiated.
Test method: Set the time to be less than 0 or exceed the maximum value supported by the system, and call the setTimeout() method.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Throw an exception. |
+| 125 | GlobalSearchFilter | DEFAULT_MAX_GLOBAL_SEARCH_RESULTS | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 50. |
+| 126 | | getGlobalSearchFilter() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully.
Test method: Call the getGlobalSearchFilter() method.
Conformity result: Return the object instantiated by GlobalSearchFilter. |
+| 127 | | getContentNibble() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, and GlobalSearchFilter object has been instantiated.
Test method: Call the getContentNibble() method.
Conformity result: Return the category of the programme to be filtered. |
+| 128 | | getContentType() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, and GlobalSearchFilter object has been instantiated.
Test method: Call the getContentType() method.
Conformity result: Return the programme type of the programme to be filtered. |
+| 129 | | getCriteriaFlags() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, and GlobalSearchFilter object has been instantiated.
Test method: Call the getCriteriaFlags() method.
Conformity result: Return the flag of the searched filter condition. |
+| 130 | | getMaxResults() | Conformity requirements
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setMaxResults() has |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | GlobalSearchFilter | | been called previously.
Test method: Call the getMaxResults() method.
Conformity result: Get the maximum search value returned by the global search. |
+| 131 | | getSearchField() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setSearchField() has been called previously.
Test method: Call the getSearchField() method.
Conformity result: Get the fields that need to be searched for in the global search. |
+| 132 | | getSearchLanguage() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setSearchLanguage()has been called previously.
Test method: Call the getSearchLanguage() method.
Conformity result: Get the language category of global search text information. |
+| 133 | | getSource() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setSource()has been called previously.
Test method: Call the getSource() method.
Conformity result: Get the data source for the global search. |
+| 134 | | getThreshold() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setThreshold()has been called previously.
Test method: Call the getThreshold() method.
Conformity result: Get the threshold for global search results. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 135 | | getTimeLimit() | Conformity requirements:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated and setTimeLimit()has been called previously.
Test method: Call the getTimeLimit() method.
Conformity result: Get the time limit for the global search.
|
+| 136 | | setContentNibble() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setContentNibble() method.
Conformity result: Set the category of the global search for programs to be filtered.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setContentNibble() method.
Conformity result: Throw an exception.
|
+| 137 | | setContentType() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setContentType() method.
Conformity result: Set the type of the global search for programs to be filtered.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: The set parameter is not in the defined content type, call the setContentType() method.
Conformity result: Throw an exception.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 138 | | setCriteriaFlags() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setCriteriaFlags() method.
Conformity result: Set the flag of the global search criteria.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: The set parameter is not in the defined content type, call the setCriteriaFlags() method.
Conformity result: Throw an exception.
|
+| 139 | | setMaxResults() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setMaxResults() method.
Conformity result: Set the maximum value of the search returned by the global search.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: The set parameter is less than 0 or exceeds the maximum value specified by the system, call the setMaxResults() method.
Conformity result: Throw an exception.
|
+| 140 | | setSearchField() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setSearchField() method.
Conformity result: Set the search field for the global search.
Conformity requirement 2:
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Set non-title or keyword or introduction to one of three searchable types, and call the setSearchField() method.
Conformity result: Throw an exception.
|
+| 141 | | setSearchLanguage() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setSearchLanguage() method.
Conformity result: Set the language category for global search text messages.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: If the input parameter iso639code does not comply with [ISO 639], call the setSearchLanguage() method.
Conformity result: Throw an exception.
|
+| 142 | | setSource() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setSource() method.
Conformity result: Set the search data source for matching searches.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: If the set parameter is not in the value specified by the data source., call the setSource() method.
Conformity result: Throw an exception.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 143 | | setThreshold() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setThreshold() method.
Conformity result: Set the threshold for global search.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: If the set value is less than 0, call the setThreshold() method.
Conformity result: Throw an exception.
|
+| 144 | | SetTimeLimit() | Conformity requirement 1:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: Call the setTimeLimit() method.
Conformity result: Set the maximum time limit of the search returned by the global search.
Conformity requirement 2:
Precondition: SearchManager engine is initialized successfully, the GlobalSearchFilter object has been instantiated.
Test method: The set value is less than 0 or exceeds the range of the system maximum value, call the setTimeLimit() method.
Conformity result: Throw an exception.
|
+| 145 | SearchManager | getInstance() | Conformity requirements:
Preconditions: None.
Test method: Call the getInstance() method.
Conformity result: Return an instance of SearchManager.
|
+| 146 | | getAutoCompleteSearchSession() | Conformity requirement 1:
Precondition: Instantiate the object of the SearchManager class.
Test method: Call the
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SearchManager | | getAutoCompleteSearchSession() method.
Conformity result: Return AutoCompleteSearchSession object.
Conformity requirement 2:
Precondition: Instantiate the object of the SearchManager class.
Test method: Call the getAutoCompleteSearchSession() method with illegal input parameters.
Conformity result: Throw an exception. |
+| 147 | | getGlobalSearchSession() | Conformity requirement 1:
Precondition: Instantiate the object of the SearchManager class.
Test method: Call the getGlobalSearchSession() method.
Conformity result: Return GlobalSearchSession object.
Conformity requirement 2:
Precondition: Instantiate the object of the SearchManager class.
Test method: Call the getGlobalSearchSession() method with illegal input parameters.
Conformity result: Throw an exception. |
+| 148 | | getSearchHistory() | Conformity requirement 1:
Precondition: Before instantiating the SearchManager class object, there are sessions that successfully return search results.
Test method: Call the getSearchHistory() method.
Conformity result: Return the getSearchHistoryList object.
Conformity requirement 2:
Precondition: Instantiate the object of the SearchManager class.
Test method: StartSearch() has not been called before.
getSearchHistory() method is called.
Conformity result: Searching the history list returns a failure, and throws an exception. |
+| 149 | | clearHistory() | Conformity requirement 1:
Precondition: Before instantiating the SearchManager class object, there are sessions that successfully return search results. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the clearHistory() method.
Conformity result: Clear search history.
Conformity requirement 2:
Precondition: Instantiate the object of the SearchManager class.
Test method: StartSearch() has not been called before.
getSearchHistory() method is called.
Conformity result: Throw an exception. |
+| 150 | SortCriteria | SORT_ORDER_NONE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 151 | | SORT_ORDER_ASCENDING | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 152 | | SORT_ORDER_DESCENDING | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 153 | | SORT_TYPE_NONE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 0. |
+| 154 | | SORT_TYPE_TITLE | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 1. |
+| 155 | | SORT_TYPE_START_TIME | Conformity requirements:
Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 2. |
+| 156 | | SORT_TYPE_CONTENT_NIBBLE | Conformity requirements: |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SortCriteria | | Precondition: None.
Test method: Determine the constant value.
Conformity result: The constant value is 15. |
+| 157 | | SortCriteria() | Conformity requirements:
Precondition: Instantiate SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results.
Test method: Call the SortCriteria() method.
Conformity result: Create an object with sorting criteria. |
+| 158 | | getOrder() | Conformity requirements:
Precondition: Instantiate Instantiate the SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results, and setOrder() has been called before.
Test method: Call the getOrder() method.
Conformity result: Get the alignment method. |
+| 159 | | setOrder() | Conformity requirement 1:
Precondition: Instantiate Instantiate the SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results.
Test method: Call the setOrder() method.
Conformity result: Get alignment elements.
Conformity requirement 2:
Precondition: Instantiate Instantiate the SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results.
Test method: The input parameter is not inside the type and the setOrder() method is called.
Conformity result: Throw an exception. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 160 | | getType() | Conformity requirements:
Precondition: Instantiate Instantiate the SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results, and setType() has been called before.
Test method: Call the getType() method.
Conformity result: Get the alignment element. |
+| 161 | | setType() | Conformity requirement 1:
Precondition: Instantiate Instantiate the SearchManager class object, the application needs a way to view the search results, there exists a list object of the search results.
Test method: Call the setType() method.
Conformity result: Set the alignment element.
Conformity requirement 2:
Precondition: The user calls the instantiated SearchManager class and the corresponding search callback is established.
Test method: Call the setType() method to set the parameter not to be in the constant field of the alignment element.
Conformity result: Throw an exception. |
+
+### A.9 Conformance test of multi-screen interactive unit interfaces
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | ImultiScreenService | START_MULTISCREEN SERVER | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.START_MULTISCREENSERVER.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 2 | | STOP_MULTISCREEN SERVER | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.STOP_MULTISCREENSERVER.
Conformity requirements: The corresponding value is consistent with the requirements. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 3 | ImultiScreenService | START_MULTISCREENCLIENT | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.START_MULTISCREENCLIENT.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 4 | | STOP_MULTISCREENCLIENT | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.STOP_MULTISCREENCLIENT.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 5 | | FIND_SPS | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.FIND_SPS.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 6 | | CONNECT | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.CONNECT.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 7 | | SET_CALLBACK | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.SET_CALLBACK.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 8 | | QUERY_INFO | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.QUERY_INFO.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 9 | | EXEC_CMD | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.EXEC_CMD.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 10 | | INPUT_KEYCODE | Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.INPUT_KEYCODE. |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 11 | ImultiScreenService | NOTIFY_ALL_REMOTE | Conformity requirements: The corresponding value is consistent with the requirements.
Conformity requirements:
Precondition: None.
Test method: The class name directly calls ImultiScreenService.NOTIFY_ALL_REMOTE.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 12 | | startMultiScreenServer() | Conformity requirement 1:
Precondition: The device and server are connected to the same local area network.
Test method: Call the startMultiScreenServer() method and input valid parameters to start the multi screen interactive component server.
The validity of the parameters is as follows:
a) SpName represents the server name, with sizes ranging from 1 to 20000 characters in length
b) SpVersion represents the server-side version, with sizes ranging from 1 to 20000 characters in length
c) SpDeviceType represents the type of server-side device, with sizes ranging from 1 to 20000 characters in length
d) Port represents the device port number, ranging from 0 to 65535
e) SpServiceInfo represents server-side service information, with a size ranging from 1 to 20000 characters in length
f) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
g) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The device and server are not connected to the same local area network.
Test method: Call the startMultiScreenServer() method and input valid parameters to start the multi screen interactive component server.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The device and server are connected to the same local area network.
Test method: Call the startMultiScreenServer() method and input invalid parameters.
Conformity result: The method returns a non OK error code. |
+| 13 | | stopMultiScreenServer() | Conformity requirement 1:
Precondition: Call the startMultiScreenServer() method to successfully start the multi screen |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | interactive component server.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The multi screen interactive component server has not been started.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The method returns a non OK error code.
|
+| 14 | | startMultiScreenClient() | Conformity requirement 1:
Precondition: The device and client have been already connected to the same local area network.
Test method: Call the startMultiScreenClient() method and enter valid parameters to start the multi screen interactive component client.
The validity of the parameters is as follows:
- 1. ClientName: indicates the client name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The device and client are not connected to the same local area network.
Test method: Call the startMultiScreenClient() method.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The device and client are already connected to the same local area network.
Test method: Call the startMultiScreenClient() method and input invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 15 | | stopMultiScreenClient() | Conformity requirement 1:
Precondition: Call the startMultiScreenServer() method to successfully start the multi screen interactive component server.
Test method: Call the stopMultiScreenClient() method.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The multi screen interactive component client has not been successfully started.
Test method: Call the stopMultiScreenClient() method.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 16 | ImultiScreenService | | Conformity result: The method returns a non OK error code. |
+| | | findSPs() | Conformity requirement 1:
Precondition: The service component device is connected to the same local area network as the server and client, and the service component device can be discovered.
Test method: Call the findSPs() method.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The service component device cannot be discovered.
Test method: Call the findSPs() method.
Conformity result: The method returns a non OK error code.
|
+| 17 | | connect() | Conformity requirement 1:
Precondition: local area network (LAN) server devices can be discovered.
Test method: Call the connect() method and input valid parameters.
The validity of the parameters is as follows:
- a) SpName represents the server name, with sizes ranging from 1 to 20000 characters in length
- b) SpVersion represents the server-side version, with sizes ranging from 1 to 20000 characters in length
- c) SpServiceInfo represents server-side service information, with a size ranging from 1 to 20000 characters in length
- d) SpDeviceType represents the type of server-side device, with sizes ranging from 1 to 20000 characters in length
- e) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
- f) Port represents the device port number, ranging from 0 to 65535
- g) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: LAN server devices cannot be discovered.
Test method: Call the connect() method and input valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: LAN server devices can be
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | ImultiScreenService | | discovered.
Test method: Call the connect() method and input invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| | | setCallBack(IBinder ibinder) | Conformity requirement 1:
Precondition: The local area network is connected to the remote interface.
Test method: Call the setCallBack() method and input valid parameters to set the remote call callback interface.
The validity of the parameters is as follows:
1. Ibinder org.tvos.os.Ibinder object type.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The local area network is not connected to the remote interface.
Test method: Call the setCallBack() method and input valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The local area network is connected to the remote interface.
Test method: Call the setCallBack() method and input invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 19 | | queryInfo() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the queryInfo() method and inputs valid parameters.
The validity of the parameters is as follows:
- a) CMDID represents the instruction ID for requesting information, with sizes ranging from 1 to 20000 characters in length
- b) Attribute represents the instruction name for requesting information, with a size of 1-20000 characters in length
- c) Params represents the instruction parameters for requesting information, with sizes ranging from 1 to 20000 characters in length
- d) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
- e) Port represents the device port number, ranging from 0 to 65535
- f) Hostname represents the device host name, with a size ranging from 1 to 20000
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|---------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 20 | ImultiScreenService | | characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client and server have not established a connection.
Test method: The client calls the queryInfo() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the queryInfo() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| | | execCmd() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the execCmd() method and inputs valid parameters.
The validity of the parameters is as follows:
- a) Cmd represents key commands, with a size of 1-20000 characters in length
- b) Param represents the parameter attached to the key command, with a size of 1-20000 characters in length
- c) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
- d) Port represents the device port number, ranging from 0 to 65535
- e) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client and server have not established a connection.
Test method: The client calls the execCmd() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: The client calls the execCmd() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 21 | | inputKeyCode() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client and server have established a connection through connect(), the multi screen interactive client successfully calls the execCmd() method, and the server successfully enters the command receiving state.
Test method: The client calls the inputKeyCode() method and inputs valid parameters.
The validity of the parameters is as follows:
a) Action represents a key command, with a size ranging from 1 to 20000 characters in length
b) Param represents the parameter attached to the key command, with a size of 1-20000 characters in length
c) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
d) Port represents the device port number, ranging from 0 to 65535
e) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The server fails to successfully enter the command receiving state.
Test method: The client calls the inputKeyCode() method and input valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The LAN multi screen interactive client and server have established a connection through connect(), the multi screen interactive client successfully calls the execCmd() method, and the server successfully enters the command receiving state.
Test method: The client calls the inputKeyCode() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 22 | | | Conformity requirement 1:
Precondition: The client and server of the local area network have successfully connected.
Test method: The multi screen interactive component server calls the boardCastAllDevice()
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | boardCastAllDevice() | method and inputs valid parameters.
The validity of the parameters is as follows:
a) Cmd represents a broadcast instruction, with a size of 1-20000 characters in length
b) Param represents the parameter attached to the broadcast command, with a size of 1-20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The client and server of the local area network have not established a connection.
Test method: The multi screen interactive component server calls the boardCastAllDevice() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The client and server of the local area network have successfully connected.
Test method: The multi screen interactive component server calls the boardCastAllDevice() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 23 | ImultiScreenCallBack | ON_SP_FOUNDED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_SP_FOUNDED.
Conformity requirements: The corresponding value is consistent with the requirements.
|
+| 24 | | ON_CONNECTED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_CONNECTED.
Conformity requirements: The corresponding value is consistent with the requirements.
|
+| 25 | | ON_CONNECTEDREFUSED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_CONNECTEDREFUSED.
Conformity requirements: The corresponding value is consistent with the requirements.
|
+| 26 | | ON_DISCONNECTED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_DISCONNECTED.
Conformity requirements: The corresponding value is consistent with the requirements.
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 27 | | ON_SERVICE_ACTIVATED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_SERVICE_ACTIVATED.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 28 | | ON_SERVICE_DEACTIVATED | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_SERVICE_DEACTIVATED.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 29 | | ON_QUERY_INFO | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_QUERY_INFO.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 30 | | ON_QUERY_RESPONSE | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_QUERY_RESPONSE.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 31 | | ON_EXECUTE | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_EXECUTE.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 32 | | ON_INPUT | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_INPUT.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 33 | | ON_NOTIFY | Conformity requirements:
Precondition: None.
Test method: The class name directly calls IMultiScreenCallBack.ON_NOTIFY.
Conformity requirements: The corresponding value is consistent with the requirements. |
+| 34 | | onSpFounded() | Conformity requirement 1:
Precondition: The LAN MultiScreen Interactive Component service can be discovered through the findSPs() method. The service starts and |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 35 | ImultiScreenCallback | | creates an instance of the IMultiScreenCallback object, and registers this callback instance through the setCallBack method.
Test method: Call the findSp() method.
Conformity result: The onSpFounded() method is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi-screen interactive component service cannot be connected. the service starts and creates an instance of the IMultiScreenCallback object and registers this callback instance through the setCallBack method.
Test method: Call the findSp() method.
Conformity result: The onSpFounded() method is not called in the instance.
|
+| | | onConnected() | Conformity requirement 1:
Precondition: The LAN MultiScreen Interactive Component service can be discovered through the findSPs() method. The service starts and creates an instance of the IMultiScreenCallback object, and registers this callback instance through the setCallBack method.
Test method: Call the connect() method.
Conformity result: The onConnected() method is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi-screen interactive component service cannot be connected. the service starts and creates an instance of the IMultiScreenCallback object and registers this callback instance through the setCallBack method.
Test method: Call the connect() method.
Conformity result: The onConnected() method is not called in the instance.
|
+| | | onConnectRefused() | Conformity requirement 1:
Precondition: The LAN multi screen interactive service component is currently in a rejected connection state. the service starts and creates an instance of the IMultiScreenCallback object and registers this callback instance through the setCallBack method.
Test method: Call the connect() method.
Conformity result:The onConnectRefused() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive Service component is able to connect and is currently in the unconnected state. the service starts and creates an instance of the
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 37 | ImultiScreenCallback | | IMultiScreenCallBack object and registers an instance of this callback through the setCallBack method.
Test method: Call the connect() method.
Conformity result: The onConnectRefused() is not called in the instance. |
+| | | onDisconnected() | Conformity requirement 1:
Precondition: The LAN MultiScreen Interactive Service component is able to disconnect and is currently in the connected state. the service starts and creates an instance of the IMultiScreenCallBack object and registers an instance of this callback through the setCallBack method.
Test method: The connect() method is called, onConnected() is called, and then stopMultiScreenServer is called to disconnect.
Conformity result: The onDisconected() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive Service component is currently in the unconnected state. the service starts and creates an instance of the IMultiScreenCallBack object and registers this callback instance through the setCallBack method.
Test method: Call the connect() method, onConnected() is called and then stopMultiScreenServer is called to disconnect the connection.
Conformity result: The onDisconected() is not called in the instance. |
+| 38 | | onServiceActivated() | Conformity requirement 1:
Precondition: The LAN MultiScreen Interactive Component service can be activated via the startMultiScreenServer() method and is currently in the inactive state. The service starts and creates an IMultiScreenCallBack object instance and registers this callback instance via the setCallBack method.
Test method: call startMultiScreenServer() method.
Conformity result: onServiceActivated() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive Component service cannot be activated by the startMultiScreenServer() method and is currently in the inactive state. the service starts and creates an instance of the IMultiScreenCallBack object and registers this callback instance with the |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ImultiScreenCallBack | | setCallBack method.
Test method: call startMultiScreenServer() method.
Conformity result: onServiceActivated() is not called in the instance.
|
+| 39 | | onServiceDeactivated() | Conformity requirement 1:
Precondition: LAN MultiScreen Interactive Service can be shut down and is currently in the startup state; create an instance of the IMultiScreenCallBack object and register this callback instance through the setCallBack method.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The onServiceDeactivated() is called in the instance.
Conformity requirement 2:
Precondition: LAN MultiScreen Interactive Service is currently in an unstarted state; create an instance of the IMultiScreenCallBack object and register the callback instance via the setCallBack method.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The onServiceDeactivated() is not called in the instance.
|
+| 40 | | onQueryInfo() | Conformity requirement 1:
Precondition: The LAN MultiScreen Interactive Component service and the client are connected, the service starts and creates an instance of the IMultiScreenCallBack object, and registers the callback instance via the setCallBack method.
Test method: Call the queryInfo() method.
Conformity result: onQueryInfo() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ImultiScreenCallBack | | Component service is not connected to the client, the service starts and creates an instance of the IMultiScreenCallBack object, and registers the callback instance via the setCallBack method.
Test method: Call the queryInfo() method.
Conformity result: onQueryInfo() is not called in the instance. |
+| 41 | | onQueryResponse() | Conformity requirement1:
Precondition: The LAN MultiScreen Interactive Server can respond to client data requests. the service starts and creates an instance of the IMultiScreenCallBack object and registers this callback instance through the setCallBack method.
Test method: Call the onQueryInfo() method.
Conformity result: onQueryResponse() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive Service cannot respond to client data requests, the service starts and creates an instance of the IMultiScreenCallBack object, and registers this callback instance through the setCallBack method.
Test method: Call the onQueryInfo() method.
Conformity result: onQueryResponse() is not called in the instance. |
+| 42 | | onExecute() | Conformity requirement1:
Precondition: Preconditions: The LAN multi-screen interactive client can send commands to the server to execute the request, currently in the connection state, the service starts and creates an IMultiScreenCallBack object instance, and registers the callback instance through the setCallBack method.
Test method: Call execCmd() method.
Conformity result: onExecute() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi-screen interactive client and the server are not connected, the server cannot receive the command to execute the request, the service starts and creates an instance of the IMultiScreenCallBack object, and registers this callback instance through the setCallBack method.
Test method: Call execCmd() method.
Conformity result: onExecute() is not called in the instance. |
+| 43 | | onInputKeyCode() | Conformity requirement1:
Precondition: The LAN multi-screen interactive |
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | client can send key injection execution request to the server, the service starts and creates an instance of IMultiScreenCallBack object, and registers the callback instance through setCallBack method.
Test method: call inputkeyCode() method.
Conformity result: onInputKeyCode() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi-screen interactive client and the server are not connected, the server cannot receive the key injection execution request, the service starts and creates an instance of IMultiScreenCallBack object, and registers this callback instance through the setCallBack method.
Test method: Call inputkeyCode() method.
Conformity result: onInputKeyCode() is not called in the instance.
|
+| 44 | | onNotify() | Conformity requirement1:
Precondition: The LAN MultiScreen Interactive Client can receive broadcast notifications sent by the server, start and create an instance of the IMultiScreenCallBack object, and register this callback instance through the setCallBack method.
Test method: call boardCastAllDevice() method.
Conformity result: onNotify() is called in the instance.
Conformity requirement 2:
Precondition: The LAN MultiScreen Interactive server is not connected to the client, the client is unable to receive broadcasts, the service starts and creates an instance of the IMultiScreenCallBack object, and registers this callback instance through the setCallBack method.
Test method: Call boardCastAllDevice() method.
Conformity result: onNotify() is not called in the instance.
|
+| 45 | | onTransact() | Conformity requirement1:
Precondition: The multi-screen interactive component service can be accessed across processes., the service starts and creates an instance of the IMultiScreenCallBack object, and registers the callback instance via the setCallBack method.
Test method: Call any of the methods.
Conformity result: onTransact() is called in the instance.
Conformity requirement 2:
|
+
+| Serial No. | Class/interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: Multi screen interactive component services do not experience cross process access. The service starts and creates an instance of the IMultiScreenCallBack object, and registers the callback instance via the setCallBack method. Test method: Call any of the methods. Conformity result: onTransact() is not called in the instance. |
+
+### A.10 Conformance test of DRM management unit interface
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | org.ngb.drm.services.ChinaDrmManager | setOnMessageListener() | Conformity requirements:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the setOnMessageListener() method and set valid parameters.
Conformity result: When playing a DRM programme protected by a DRM system identified as a registered drmId, the message notification callback function is called to get the notification message. |
+| 2 | | setOnLicenseListener() | Conformity requirements:
Precondition: After setting licensereq_commandId to 0 and calling registerApp(), the DRM APP is successfully registered.
Test method: Call the setOnLicenseListener() method and set valid parameters.
Conformance test result: When playing a DRM programme protected by a DRM system identified as a registered drmId, the Get License callback function is called to get a license request message. |
+| 3 | | setOnDecryptListener() | Conformity requirements:
Precondition: After setting licensereq_commandId to 0 and calling registerApp(), the DRM APP is successfully registered.
Test method: Call the setOnDecryptListener() method and set valid parameters.
Conformance test result: When playing a DRM programme protected by a DRM system identified as a registered drmId, the callback function for data decryption is called to get the decryption request message. |
+| 4 | | registerApp() | Conformity requirement 1:
Precondition: The DRM component is working properly.
Test method: Call the registerApp() method and |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 5 | org.ngb.drm.services.ChinaDrmManager | | input valid parameters.
Conformity result: Method returns 0.
Conformity requirement 2:
Precondition: The DRM component is working properly.
Test method: Call the registerApp() method and set invalid parameters.
Conformity result: Method returns non-zero. |
+| | | unRegisterApp() | Conformity requirement 1:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the unRegisterApp() method.
Conformity result: Method returns 0.
Conformity requirement 2:
Precondition: Do not call registerApp(), do not register DRM APP.
Test method: Call the unRegisterApp() method.
Conformity result: Method returns non-zero. |
+| 6 | | sendCommandToTEE() | Conformity requirement 1:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the sendCommandToTEE() method and set valid parameters.
Conformity result: The method returns the ChinaDrmTeeRetVal object and calls the getReturnCode() method of the ChinaDrmTeeRetVal object to get a return value of 0.
Conformity requirement 2:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the sendCommandToTEE() method and set invalid parameters.
Conformity result: The method returns the ChinaDrmTeeRetVal object and calls the getReturnCode() method of the ChinaDrmTeeRetVal object to get a return value of non-zero. |
+| 7 | | sendMessageToPlayer() | Conformity requirement 1:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the sendMessageToPlayer() method and set valid parameters.
Conformity result: Method returns 0.
Conformity requirement 2:
Precondition: After successfully calling registerApp(), register the DRM APP.
Test method: Call the sendMessageToPlayer() method and set invalid parameters. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Method returns non-zero. |
+| 8 | org.ngb.drm.services.ChinaDrmTeeRetVal | getData() | Conformity requirement 1:
Precondition: After calling sendCommandToTEE(), call the getDataLen() method of ChinaDrmTeeRetVal to return an integer greater than zero.
Test method: Call the getData() method.
Conformity result: The method returns the data returned by DRM Tapp.
Conformity requirement 2:
Precondition: After calling sendCommandToTEE(), call the getDataLen() method of ChinaDrmTeeRetVal to return zero.
Test method: Call the getData() method.
Conformity result: Method returns NULL.
|
+| 9 | | getDataLen() | Conformity requirement 1:
Precondition: After calling sendCommandToTEE(), call the getReturnCode() method of ChinaDrmTeeRetVal to return 0.
Test method: Call the getDataLen() method.
Conformity result: The method returns an integer greater than or equal to 0.
Conformity requirement 2:
Precondition: After calling sendCommandToTEE(), call the getReturnCode() method of ChinaDrmTeeRetVal to return non-zero.
Test method: Call the getDataLen() method.
Conformity result: Method returns 0.
|
+| 10 | | getOriginCode() | Conformity requirement 1:
Precondition: After calling sendCommandToTEE(), call the getReturnCode() method of ChinaDrmTeeRetVal to return 0.
Test method: Call the getOriginCode() method.
Conformity result: Method returns 0.
Conformity requirement 2:
Precondition: After calling sendCommandToTEE(), call the getReturnCode() method of ChinaDrmTeeRetVal to return non-zero.
Test method: Call the getOriginCode() method.
Conformity result: Method returns non-zero.
|
+| 11 | | getReturnCode() | Conformity requirement 1:
Precondition: Successfully call sendCommandToTEE() and return the ChinaDrmTeeRetVal object.
Test method: Call the getReturnCode() method.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Method returns 0.
Conformity requirement 2:
Precondition: Call sendCommandToTEE(), set invalid parameters, and return the ChinaDrmTeeRetVal object.
Test method: Call getReturnCode().
Conformity result: Method returns non-zero. |
+
+### A.11 Conformance test of DCAS unit interface
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | | startDescrambling() | Conformity requirements:
Precondition: Based on the testing environment conditions, the DCAS software successfully calls CASModuleManager.registerCASModule(). Pass the CASModule to the platform.
Test method: Platform calls startDescrambling().
Conformity result: Start descrambling the program. |
+| 2 | | updateDescrambling() | Conformity requirements:
Precondition: Based on the testing environment conditions, the DCAS software successfully calls CASModuleManager.registerCASModule(). Pass the CASModule to the platform.
Test method: Platform calls updateDescrambling().
Conformity result: Descramble program. |
+| 3 | | stopDescrambling() | Conformity requirements:
Precondition: Based on the testing environment conditions, the DCAS software successfully calls CASModuleManager.registerCASModule(). Pass the CASModule to the platform, after the platform successfully calls startDescrambling().
Test method: Call updateDescrambling().
Conformity result: Stop descrambling program. |
+| 4 | | getCAInfo() | Conformity requirements:
Precondition: Based on the testing environment conditions, the DCAS software successfully calls |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 5 | CASModule | | CASModuleManager.registerCASModule().Pass the CASModule to the platform, platform successfully calls setCAInfo().
Test method: Call getCAInfo().
Conformity result: Get CA information. |
+| | CASModule | setCAInfo() | Conformity requirement 1:
Precondition: DCAS software successfully calls CASModuleManager.registerCASModule(). Pass the CASModule to the platform.
Test method: Call setCAInfo() and input valid parameters.
Conformity result: Set successfully and return 0.
Conformity requirement 2:
Precondition: DCAS software successfully calls CASModuleManager.registerCASModule(). Pass the CASModule to the platform.
Test method: Call setCAInfo() and input invalid parameters.
Conformity result: Return an error value. |
+| 6 | | | Conformity requirements:
Precondition: Successfully call setCAInfo() based on the testing environment conditions.
Test method: Call getCAInfo().
Conformity result: Get CA information. |
+| | CASDataUtils | getCAInfo() | |
+| 7 | CASDataUtils | setCAInfo() | Conformity requirement 1:
Precondition: Based on the testing environment conditions, DCASAPP has been registered.
Test method: Call setCAInfo() and input valid parameters.
Conformity result: Set successfully and return 0.
Conformity requirement 2:
Precondition: Successfully call setCAInfo() based on the testing environment conditions.
Test method: Call setCAInfo() and input invalid parameters.
Conformity result: Return an error value. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | CADescriptor | getData() | Conformity requirements:
Precondition: Based on the testing environment conditions, successfully call setData().
Test method: Call getData().
Conformity result: Get the specified type of data. |
+| 9 | | setData() | Conformity requirement 1:
Precondition: Based on the testing environment conditions, DCASAPP has been registered.
Test method: Call setData() and input valid parameters.
Conformity result: Set successfully and return 0.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, DCASAPP has been registered.
Test method: Call setData() and input invalid parameters.
Conformity result: Return an error value. |
+| 10 | | getCASystemId() | Conformity requirements:
Precondition: Based on the testing environment conditions, successfully call getCADescriptor().
Test method: Call getCASystemId().
Conformity result: Get CASystemId. |
+| 11 | | getPid() | Conformity requirements:
Precondition: Based on the testing environment conditions, successfully call getCADescriptor().
Test method: Call getPid().
Conformity result: Get the PID in the CA description. |
+| 12 | | getPrivateData() | Conformity requirements:
Precondition: Based on the testing environment conditions, successfully call getCADescriptor().
Test method: Call getPrivateData().
Conformity result: Get the private data array in the CA description. |
+| 13 | | getDescramblerContext() | Conformity requirements:
Precondition: The platform successfully calls startDescrambling().
Test method: DCASAPP calls |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | CAServiceComponentInfo | | getDescramblerContext().
Conformity result: Get the DescramblerContext object for DCAS application loading CW. |
+| 14 | | getCAdescriptor() | Conformity requirements:
Precondition: The platform successfully calls startDescrambling().
Test method: DCASAPP calls getCAdescriptor().
Conformity result: Get CA description. |
+| 15 | | getComponentStreamPIDs() | Conformity requirements:
Precondition: The platform successfully calls startDescrambling().
Test method: DCASAPP calls getComponentStreamPIDs().
Conformity result: Get the private data array in the CA description. |
+| 16 | | getComponentStreamTypes() | Conformity requirements:
Precondition: The platform successfully calls startDescrambling().
Test method: DCASAPP calls getComponentStreamTypes().
Conformity result: Get the ES PID array. |
+| 17 | | getServiceIdentifiers() | Conformity requirements:
Precondition: The platform successfully calls startDescrambling().
Test method: DCASAPP calls getServiceIdentifiers().
Conformity result: Get an array of ES stream types. |
+| 18 | CASPacketListener | casPacketArrived() | Compliance requirements:
Precondition:
RegisterCASPacketListener() has been called.
Test method: Call casPacketArrived().
Compliance result: Obtain conditional access system (CAS) package. |
+| 19 | CASSession | getType() | Conformity requirements:
Precondition:
RegisterCASPacketListener() has been called. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | CASStatus | | Test method: Call casPacketArrived() .
Conformity result: Get CAS package.
Conformity requirements:
Precondition: Successfully call startDescrambling() based on the testing environment conditions.
Test method: Call getType() .
Conformity result: Return the type of operation. |
+| 20 | | getNetworkInterface() | Conformity requirements:
Precondition: The platform has called startDescrambling() .
Test method: Call getNetworkInterface() .
Conformity result: Return the NetworkInterface object. |
+| 21 | | getAssociatedService() | Conformity requirements:
Precondition: The platform has called startDescrambling() .
Test method: Call getAssociatedService() .
Conformity result: Return the Service object. |
+| 22 | | getServiceContext() | Conformity requirements:
Precondition: The platform has called startDescrambling() .
Test method: Call getServiceContext() .
Conformity result: Return the ServiceContext object. |
+| 23 | CASStatus | isSuccess() | Conformity requirements:
Precondition: StartDescrambling has been called and the result of the descrambling is known.
Test method: Call isSuccess() .
Conformity result: Set the descrambling result. |
+| 24 | | getCAToken() | Conformity requirements:
Precondition: The CATListener has been registered by calling registerCATListener .
Test method: Call getCAToken() .
Conformity result: Can receive update notifications. |
+| 25 | CATListener | catUpdate() | Conformity requirements:
Precondition: The CATListener has been registered by calling |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | registerCATListener.
Test method: Call catUpdate().
Conformity result: Can receive update notifications. |
+| 26 | CATNotifier | registerCATListener() | Conformity requirements:
Precondition: The CATNotify object has been obtained.
Test method: Call registerCATListener().
Conformity result: Register a CATListener. |
+| 27 | | unregisterCATListener() | Conformity requirements:
Precondition: The CATNotify object has been obtained and the registerCATListener() has been called.
Test method: Call unregisterCATListener().
Conformity result: Unregister CATListener. |
+| 28 | CASModuleManager | getInstance() | Conformity requirement 1:
Precondition: The security policy is activated and the DCASAPP has invocation privileges.
Test method: Call getInstance().
Conformity result: Get CASModuleManager instance.
Conformity requirement 2:
Precondition: The security policy is activated and the DCASAPP has no invocation privileges.
Test method: Call getInstance().
Conformity result: Throw an exception of java.lang.SecurityException. |
+| 29 | | registerCASModule() | Conformity requirement 1:
Precondition: Based on the testing environment conditions, successfully call getInstance().
Test method: Call registerCASModule().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, successfully call getInstance().
Test method: Call registerCASModule() again. |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 30 | CASModuleManager | | Conformity result: Throw an exception of java.lang.IllegalArgumentException. |
+| | | updateCASystemId() | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call updateCASystemId().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: RegisterCASModule() is not called.
Test method: Call updateCASystemId().
Conformity result: Throw an exception of java.lang.IllegalArgumentException .
|
+| 31 | | sendDescramblingEvent() | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call sendDescramblingEvent().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: RegisterCASModule() is not called.
Test method: Call sendDescramblingEvent().
Conformity result: Throw an exception of java.lang.IllegalArgumentException.
|
+| 32 | | unregisterCASModule() | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call unregisterCASModule().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: RegisterCASModule() is not called.
Test method: Call unregisterCASModule().
Conformity result: Throw an exception of java.lang.IllegalArgumentException.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 33 | CASModuleManager | getChipControllers() | Conformity requirements:
Precondition: DCASAPP runs normally.
Test method: Call getChipControllers().
Conformity result: Return an array of chip controllers. |
+| 34 | | setcurrentController() | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call setcurrentController().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: RegisterCASModule() is not called.
Test method: Call setcurrentController().
Conformity result: Throw an exception of java.lang.IllegalArgumentException. |
+| 35 | | setCCIBits() | Conformity requirements:
Precondition: Successfully call getInstance().
Test method: Call setCCIBits().
Conformity result: CCI bit information is set to the platform. |
+| 36 | | setServiceListFilter() | Conformity requirements:
Precondition: Successfully call getInstance().
Test method: Call setServiceListFilter().
Conformity result: Filter parameters are set to the platform. |
+| 37 | | registerCASPacketListener() | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call registerCASPacketListener().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: Call registerCASModule().
Test method: Call registerCASPacketListener() again.
Conformity result: Throw an exception of |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 38 | CASModuleManager | unregisterCASPacketListener() | java.lang.IllegalArgumentException.
Conformity requirement 1:
Precondition: Successfully call registerCASPacketListener().
Test method: Call unregisterCASPacketListener().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: RegisterCASPacketListener() is not called.
Test method: Call unregisterCASPacketListener().
Conformity result: Throw an exception of java.lang.IllegalArgumentException. |
+| 39 | | getDetachableSecurityDevices() | Conformity requirement:
Precondition: Successfully call getInstance().
Test method: Call getDetachableSecurityDevices().
Conformity result: Return an array of DetachableSecurityDevice object. |
+| 40 | | receiveOsdMsg() | Conformity requirement:
Precondition: Successfully call getInstance().
Test method: Call receiveOsdMsg().
Conformity result: Send on-screen display (OSD) to the platform. |
+| 41 | | showFingerMsg() | Conformity requirement:
Precondition: Successfully call getInstance().
Test method: Call showFingerMsg().
Conformity result: Send the fingerprint to the platform. |
+| 42 | | receiveTuningAlert() | Conformity requirement:
Precondition: Successfully call getInstance().
Test method: Call receiveTuningAlert().
Conformity result: Send emergency broadcast to the platform. |
+| 43 | | getCATNotifier() | Conformity Requirement 1:
Precondition: successfully call getInstance().
Test method: Call getCATNotifier().
Conformance result: Get the |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | CATNotifier object. |
+| 44 | CASPermission | CASPermission() | Conformity requirement 1:
Precondition: None.
Test method: Call CASPermission().
Conformity result: Create a CASPermission. |
+| 45 | | CASPermission(String name, String actions) | Conformity requirement:
Precondition: None.
Test method: Call CASPermission().
Conformity result: The java.security.Policy object instantiates a new Permission object. |
+| 46 | DescramblerContext | loadCW() | Conformity requirement 1:
Precondition: Successfully call getDescramblerContext().
Test method: Call loadCW() and input valid parameters.
Conformity result: loading succeeds, the programme can be watched.
Conformity requirement 2:
Precondition: Successfully call getDescramblerContext().
Test method: Call loadCW() and input invalid parameters.
Conformity result: Loading fails, throw this exception. |
+| 47 | | overrideChipController() | Conformity requirement 1:
Precondition: Successfully call getDescramblerContext().
Test method: Call overrideChipController() and input valid parameters.
Conformity result: loading succeeds, the programme can be watched.
Conformity requirement 2:
Precondition: Successfully call getDescramblerContext().
Test method: Call overrideChipController() and input invalid parameters.
Conformity result: Fail to load, exception is thrown. |
+| 48 | ChipController | SCHEME_TDES | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate() and input the parameters as SCHEME_TDES.
Conformity result: Return an array |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 49 | ChipController | | of handshake responses.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call loadCW() and input the parameters as SCHEME_TDES.
Conformity result: Loading succeeds. |
+| | | SCHEME_AES | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate() and input the parameters as SCHEME_AES.
Conformity result: Return an array of handshake responses.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call loadCW() and input the parameters as SCHEME_AES.
Conformity result: Loading succeeds. |
+| 50 | | PROCESSING_MODE_REGULAR | Conformity requirements:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate() with PROCESSING_MODE_REGULAR as the parameter.
Conformity result: Return an array of handshake responses. |
+| 51 | | PROCESSING_MODE_POST_PROCESSING | Conformity requirements:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate() with PROCESSING_MODE_POST_PROCESSING as the parameter.
Conformity result: Return an array of handshake responses. |
+| 52 | | getPublicId() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call getPublicId().
Conformity result: Return ChipID.
Conformity requirement 2: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ChipController | | Precondition: Successfully call getChipControllers().
Test method: Call getPublicId(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+| 53 | | getChipType() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call getChipType().
Conformity result: Return the chip type.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call getChipType(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+| 54 | | getChipControllerProperty() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call getChipControllerProperty().
Conformity result: Return the property value.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call getChipControllerProperty(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+| 55 | | authenticate() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate().
Conformity result: Return response data.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call authenticate(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 56 | | encryptData() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call encryptData().
Conformity result: Get encrypted data.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call encryptData(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+| 57 | | decryptData() | Conformity requirement 1:
Precondition: Successfully call getChipControllers().
Test method: Call decryptData().
Conformity result: Get decrypted data.
Conformity requirement 2:
Precondition: Successfully call getChipControllers().
Test method: Call decryptData(), and driver communication error occurs.
Conformity result: Throw an exception.
|
+| 58 | Key | Key() | Conformity requirements:
Precondition: None.
Test method: Call Key().
Conformity result: Construct Key.
|
+| 59 | | getKeyValue() | Conformity requirements:
Precondition: Successfully call key().
Test method: Call getKeyValue ().
Conformity result: Return the key value.
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 60 | | isEncrypted() | Conformity requirement 1:
Precondition: A successful call to key() with an unencrypted key value for the argument.
Test method: Call isEncrypted().
Conformity result: Return an unencrypted key.
Conformity requirement 2:
Precondition: A successful call to key() with an encrypted key value for the argument.
Test method: Call isEncrypted().
Conformity result: Return the encrypted key.
|
+| 61 | CWKey | PARITY_EVEN | Conformity requirements:
Precondition: Successfully call CWKey(), the control word (CW) value of the parameter is even.
Test method: Call getParity().
Conformity result: Return PARITY_EVEN.
|
+| 62 | | PARITY_ODD | Conformity requirements:
Precondition: Successfully call CWKey(), the CW value of the parameter is odd.
Test method: Call getParity().
Conformity result: Return PARITY_ODD.
|
+| 63 | | CWKey() | Conformity requirements:
Precondition: None.
Test method: Call CWKey().
Conformity result: Construct CWKey.
|
+| 64 | | getParity() | Conformity requirement 1:
Precondition: Successfully call CWKey(), the CW value of the parameter is odd.
Test method: Call getParity().
Conformity result: Return PARITY_ODD.
Conformity requirement 2:
Precondition: Successfully call CWKey(), the CW value of the parameter is even.
Test method: Call getParity().
Conformity result: Return PARITY_EVEN.
|
+| 65 | CASTEEManager | sendCommandToTEE() | Conformity requirement 1:
Precondition: DCASAPP registers
|
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successfully.
Test method: Call sendCommandToTEE().
Conformity result: Get the data returned by TEE
Conformity requirement 2:
Precondition: DCASAPP registers successfully.
Test method: Call sendCommandToTEE(), and driver communication error occurs.
Conformity result: Throw an exception. |
+| 66 | CASEventListener | receiveCASEvent() | Conformity requirements:
Precondition: DCASAPP implements this function.
Test method: The platform calls receiveCASEvent().
Conformity result: Get CAS events. |
+| 67 | | receiveCASOSDEvent() | Conformity requirements:
Precondition: DCASAPP implements this function.
Test method: The platform calls receiveCASOSDEvent().
Conformity result: Get OSD event. |
+| 68 | | receiveCASFingerEvent() | Conformity requirements:
Precondition: DCASAPP implements this function.
Test method: The platform calls receiveCASFingerEvent().
Conformity result: Get fingerprint events. |
+| 69 | CASAppInfo | getAID() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: Platform calls getAID().
Conformity result: Get DCASAPP ID. |
+| 70 | | getOID() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: Platform calls getOID().
Conformity result: Get the DCAS manufacturer ID. |
+| 71 | | TYPE_PRESENTATION | Conformity requirements: |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|-----------------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | CASEventInfo | | Precondition: The platform successfully calls receiveCASEvent(), and passes the DCASAPP parameter TYPE_PRESENTATION.
Test method: Platform calls getType().
Conformity result: Get the TYPE_PRESENTATION type. |
+| 72 | | TYPE_RECORDING | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent(), and passes the DCASAPP parameter TYPE_RECORDING.
Test method: Platform calls getType().
Conformity result: Get Type_Recording type. |
+| 73 | | TYPE_BUFFERING | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent(), and passes the DCASAPP parameter TYPE_BUFFERING.
Test method: Platform calls getType().
Conformity result: Get TYPE_BUFFERING type. |
+| 74 | | getType() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: Platform calls getType().
Conformity result: Get the event type. |
+| 75 | | getNetworkInterface() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: Platform calls getNetworkInterface().
Conformity result: Get NetworkInterface object. |
+| 76 | | getAssociatedService() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: The platform calls |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|----------------------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 77 | | | getAssociatedService().
Conformity result: Get the Service object. |
+| | | getServiceContext() | Conformity requirements:
Precondition: The platform successfully calls receiveCASEvent().
Test method: Platform calls getServiceContext().
Conformity result: Get the ServiceContext object. |
+| 78 | CASEventManager | getInstance() | Conformity requirements:
Precondition: DCASAPP implements this function.
Test method: Platform calls getInstance().
Conformity result: Get a CASEventManager instance. |
+| 79 | | addListener() | Conformity requirements:
Precondition: DCASAPP implements this function.
Test method: The platform calls addListener().
Conformity result: DCASAPP get a CASEventListener for transmitting data. |
+| 80 | | removeListener() | Conformity requirements:
Precondition: DCASAPP implements this function, and the platform successfully calls addListener.
Test method: Platform calls removeListener().
Conformity result: Unregister the listener. |
+| 81 | DetachabableSecurityDevice | open() | Conformity requirement 1:
Precondition: Smart card insertion.
Test method: Call open().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: Smart card is inserted, and driver error occurs.
Test method: Call open().
Conformity result: Throw an exception. |
+| 82 | | close() | Conformity requirement 1:
Precondition: Smart card is inserted.
Test method: Call close(). |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|------------|--------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DetachableSecurityDevice | | Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: Smart card is inserted, and driver error occurs.
Test method: Call close().
Conformity result: Throw an exception. |
+| | | | 83 |
+| 84 | | sendData() | Conformity requirement 1:
Pr condition: Smart card is inserted.
Test method: Call sendData().
Conformity result: No exception is thrown.
Conformity requirement 2:
Precondition: Smart card is inserted, and driver error occurs.
Test method: Call sendData().
Conformity result: Throw an exception. |
+| 85 | | registerListener() | Conformity requirements:
Precondition: None.
Test method: Call registerListener().
Conformity result: Register the listener. |
+| 86 | | removeListener() | Conformity requirements:
Precondition: None.
Test method: Call removeListener().
Conformity result: Remove the listener. |
+| 87 | | DEVICE_IN | Conformity requirements:
Precondition: Smart card is inserted.
Test method: Call receiveDeviceStatus().
Conformity result: Status is DEVICE_IN. |
+| 88 | | DEVICE_OUT | Conformity requirements:
Precondition: Remove the smart |
+
+| Serial No. | Class/Interface | Constant field/Attribute/Method | Process description |
+|-------------------|----------------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DetachableSecurityDeviceListener | | card.
Test method: Call receiveDeviceStatus().
Conformity result: Status is DEVICE_OUT. |
+| 89 | | DEVICE_ERROR | Conformity requirements:
Precondition: Insert Bad smart card.
Test method: Call receiveDeviceStatus().
Conformity result: Status is DEVICE_ERROR. |
+| 90 | | receiveDeviceStatus() | Conformity requirements:
Precondition: None.
Test method: Call receiveDeviceStatus().
Conformity result: Get the status of the device. |
+| 91 | | receiveData() | Conformity requirements:
Precondition: Call receiveDeviceStatus to get the DEVICE_IN status.
Test method: Call receiveData().
Conformity result: Get the data returned by the smart card. |
+
+# Annex B
+
+## Conformance test of TVOS WEB application programming interface
+
+(This annex forms an integral part of this Recommendation.)
+
+### B.1 Conformance test of one-way broadcast network access unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------------------|---------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | DvbcTuningParameters | frequency | Conformity requirement:
Precondition: Successfully create DvbcTuningParameters object based on testing environment conditions.
Test method: Read and write frequency.
Conformity result: Read/write frequency successfully in kHz. |
+| 2 | | symbol_rate | Conformity requirement:
Precondition: Successfully create DvbcTuningParameters object based on testing environment conditions.
Test method: Read and write symbol_rate.
Conformity result: Read/write symbol_rate successfully in KSymbol/s. |
+| 3 | | Modulation | Conformity requirement:
Precondition: Successfully create DvbcTuningParameters object based on testing environment conditions.
Test method: Read and write Modulation.
Conformity result: Read/write Modulation successfully with "QAM" suffix (with space), e.g., 64 QAM. |
+| 4 | | DvbcTuningParameters() | Conformity requirements:
Precondition: None.
Test method: Call newDvbcTuningParameters().
Conformity result: Return the DvbcTuningParameters object. |
+| 5 | | DvbcTuningParameters(frequency, symbolRate, modulation) | Conformity requirements:
Precondition: None.
Test method: Call DvbcTuningParameters (frequency, symbolRate, modulation).
Conformity result: Return the DvbcTuningParameters object, with frequency as the frequency, symbolRate as the symbol rate, and modulation as the modulation method. |
+| 6 | AbsssTuningParameters | frequency | Conformity requirement:
Precondition: Successfully create AbsssTuningParameters object based on testing environment conditions. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------------------|--------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AbsssTuningParameters | | Test method: Read and write frequency.
Conformity result: Read/write frequency successfully in kHz. |
+| 7 | | symbol_rate | Conformity requirement:
Precondition: Successfully create AbsssTuningParameters object based on testing environment conditions.
Test method: Read and write symbol_rate.
Conformity result: Read/write symbol_rate successfully in KSymbol/s. |
+| 8 | | polarization | Conformity requirement:
Precondition: Successfully create AbsssTuningParameters object based on testing environment conditions.
Test method: Read and write polarization.
Conformity result: Read/write polarization method successfully. |
+| 9 | | AbsssTuningParameters()
( ) | Conformity requirement 1:
Precondition: None.
Test method: Call new AbsssTuningParameters().
Conformity result: Return the AbsssTuningParameters object. |
+| 10 | | AbsssTuningParameters (frequency, symbol_rate, polarization) | Conformity requirement 1:
Precondition: None.
Test method: Call AbsssTuningParameters (frequency, symbolRate, modulation).
Conformity result: Return the specified AbsssTuningParameters object with frequency as frequency, symbol rate as symbolRate, and polarization method as polarization. |
+| | DtmbTuningParameters | | Conformity requirement:
Precondition: Successfully create DtmbTuningParameters object based on testing environment conditions.
Test method: Read and write frequency.
Conformity result: Read/write frequency successfully in kHz. |
+| 11 | | frequency | |
+| 12 | | modulation | Conformity requirement:
Precondition: Successfully create DtmbTuningParameters object based on testing environment conditions.
Test method: Read and write Modulation.
Conformity result: Read/write Modulation successfully with "QAM" suffix (with space), e.g., 64 QAM. |
+| 13 | | codingRatio | Conformity requirement:
Precondition: Successfully create |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DtmbTuningParameters | | DtmbTuningParameters object based on testing environment conditions.
Test method: Read and write codingRatio.
Conformity result: Read successfully, value is one of "0.4", "0.6", "0.8". |
+| 14 | | PNMode | Conformity requirement:
Precondition: Successfully create DtmbTuningParameters object based on testing environment conditions.
Test method: Read and write PNMode.
Conformity result: Read successfully, get frame header pattern. |
+| 15 | | DtmbTuningParameters() | Conformity requirement:
Precondition: None.
Test method: Call new DtmbTuningParameters().
Conformity result: Return the DtmbTuningParameters object. |
+| 16 | | DtmbTuningParameters(frequency) | Conformity requirement:
Precondition: None.
Test method: Call DtmbTuningParameters(frequency).
Conformity result: Return the specified AbsssTuningParameters object with frequency as frequency. |
+| 17 | DvbTune | tune(deliveryType, paramsObj) | Conformity requirement 1:
Precondition: DeliveryType, paramsObj parameters conform to the current environment.
Test method: Call tune(deliveryType, paramsObj).
Conformity result: Frequency lock successful, sending 10001 (MSG_DVB_TUNE_SUCCESS) message to the page. |
+| 18 | | getTunerSignalInfo() | Conformity requirement:
Precondition: Call tune(deliveryType, paramsObj) and return lock frequency successful.
Test method: Call getTunerSignalInfo().
Conformity result: The returned string is Tuner information containing signal quality, signal strength, BER, signal level, signal_to_noise ratio. The format is: {signalQuality:XXX,signalStrength:XXX,errorRate:XXX,signalLevel:XXX,signalNoiseRatio:XXX}. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 19 | | getAllTunerInfos() | Conformity requirement:
Precondition: None.
Test method: Call getAllTunerInfos().
Conformity result: Return an array of DvbTunerInfo objects containing all DvbTunerInfo. |
+| 20 | DvbTunerInfo | tunerId | Conformity requirement:
Precondition: Successfully create DvbTunerInfo object based on testing environment conditions.
Test method: Read and write tunerId.
Conformity result: Read/write is successful, and parameter type is integer. |
+| 21 | | tunerType | Conformity requirement:
Precondition: Successfully create DvbTunerInfo object based on testing environment conditions.
Test method: Read and write tunerType.
Conformity result: Read/write is successful, and parameter type is integer. |
+| 22 | DvbScan | startScan(scanType, deliveryType, objArray[]) | Conformity requirement 1:
Precondition: Successfully create DvbCTuningParameters() based on the testing environment conditions.
Test method: Call startScan(scanType, deliveryType, objArray []).
Conformity result: Send a message to the page;
The search will begin and a message MSG_DVB_SCAN_START will be sent to the page;
The current frequency search is complete, If any service is found, send the message MSG_DVB_SCAN_FIND_SERVICES to the page;
If all channels have been searched, send the message MSG_DVB_SCAN_FINISHED to the page;
If no channel is found, send the message MSG_DVB_SCAN_FAILED to the page. |
+| 23 | | startScan(pid, tableId, deliveryType, objArray[]) | Conformity requirement 1:
Precondition: Successfully create DvbCTuningParameters() based on the testing environment conditions.
Test method: Call startScan(pid, tableId, deliveryType, objArray []).
Conformity result: Send a message to the page;
The search will begin and a message |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbScan | | MSG_DVB_SCAN_START will be sent to the page;
If all channels have been searched, send the message MSG_DVB_SCAN_FINISHED to the page;
If no channel is found, send the message MSG_DVB_SCAN_FAILED to the page. |
+| 24 | | startScan(jsonSIInfo) | Conformity requirement 1:
Precondition: Based on the testing environment conditions, the jsonSIInfo data format is correct.
Test method: Call startScan(jsonSIInfo).
Conformity result: Return 0 and send a message.
The search will begin and a message MSG_DVB_SCAN_START will be sent to the page;
The current frequency search is complete, If any service is found. Send the message MSG_DVB_SCAN_FIND_SERVICES to the page;
If all channels have been searched, send the message MSG_DVB_SCAN_FINISHED to the page;
If no channel is found, send the message MSG_DVB_SCAN_FAILED to the page.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, the jsonSIInfo data format is incorrect.
Test method: Call startScan(jsonSIInfo).
Conformity result: Return -1. |
+| 25 | | stopScan() | Conformity requirement 1:
Precondition: Successfully call startScan() based on the testing environment conditions.
Test method: Call stopScan().
Conformity result: Send a message of 10029(MSG_DVB_SCAN_STOP_SUCCESS) to the page.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, startScan() was not successfully called.
Test method: Call stopScan().
Conformity result: Send a message of 10030(MSG_DVB_SCAN_STOP_FAILED) to the page. |
+| 26 | | update() | Conformity requirement 1:
Precondition: Receive a message of |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbScan | | 10028(MSG_DVB_SCAN_FIND_SERVICES).
Test method: Call update().
Conformity result: Update the channel list and return the Number type, where 1 indicates update successfully and 0 indicates failed update. |
+| 27 | | save() | Conformity requirement 1:
Precondition: Successfully call startScan() based on the testing environment conditions.
Test method: Call save().
Conformity result: Send message of 10101(MSG_DVB_SCAN_SAVE_SUCCESS) or 10102(MSG_DVB_SCAN_SAVE_FAILED) to the page.
Conformity requirement 2:
Precondition: Successfully call update() based on the testing environment conditions.
Test method: Call save().
Conformity result: Send message of 10101(MSG_DVB_SCAN_SAVE_SUCCESS) or 10102(MSG_DVB_SCAN_SAVE_FAILED) to the page. |
+| 28 | | revert() | Conformity requirement:
Precondition: None.
Test method: Call revert().
Conformity result: Send message of 10103(MSG_DVB_SCAN_REVERT_SUCCESS) or 10104(MSG_DVB_SCAN_REVERT_FAILED) to the page. |
+| 29 | | deleteAll() | Conformity requirement:
Precondition: None.
Test method: Call deleteAll().
Conformity result: Send message of 10105(MSG_DVB_SCAN_DELETE_SUCCESS) or 10106(MSG_DVB_SCAN_DELETE_FAILED) to the page. |
+
+### B.2 Conformance test of broadcast protocol processing unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | DvbBroadcast | currentDvbNetwork | Conformity requirement 1:
Precondition: A one-way live programme is currently playing.
Test method: Read the currentDvbNetwork property interface.
Conformity result: Return the DvbNetwork object corresponding to the current playback channel.
Conformity requirement 2:
Precondition: Have not called to play one-way channel or fail to play one-way channel.
Test method: Read the currentDvbNetwork property interface.
Conformity result: Return NULL.
|
+| 2 | | currentDvbBouquets | Conformity requirement 1:
Precondition: A one-way live programme is currently playing.
Test method: Read the currentDvbBouquets property interface.
Conformity result: Return an array of DvbBouquet objects corresponding to the current playback channel.
Conformity requirement 2:
Precondition: Have not called to play one-way channel or fail to play one-way channel.
Test method: Read the currentDvbBouquets property interface.
Conformity result: Return NULL.
|
+| 3 | | currentDvbTS | Conformity requirement 1:
Precondition: A one-way live programme is currently playing.
Test method: Read the currentDvbTS attribute interface.
Conformity result: Return the DvbTS object corresponding to the current playback channel.
Conformity requirement 2:
Precondition: Have not called to play one-way channel or fail to play one-way channel.
Test method: Read the currentDvbTS attribute interface.
Conformity result: Return NULL.
|
+| 4 | | currentDvbService | Conformity requirement 1:
Precondition: A one-way live programme is currently playing.
Test method: Read the currentDvbService property interface.
Conformity result: Return the DvbService object
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbBroadcast | | corresponding to the current playback channel.
Conformity requirement 2:
Precondition: Have not called to play one-way channel or fail to play one-way channel.
Test method: Read the currentDvbService property interface.
Conformity result: Return NULL. |
+| 5 | | currentDvbMosaic | Conformity requirement 1:
Precondition: A one-way live programme is currently playing.
Test method: Read the currentDvbMosaic property interface.
Conformity result: Return the DvbMosaic object corresponding to the current playback channel.
Conformity requirement 2:
Precondition: Have not called to play one-way channel or fail to play one-way channel.
Test method: Read the currentDvbMosaic property interface.
Conformity result: Return NULL. |
+| 6 | | getAllNetworks() | Conformity requirement 1:
Precondition: An automatic search has been performed and successful.
Test method: Call the getAllNetworks() method.
Conformity result: Return an array of DvbNetwork objects with a length greater than 0.
Conformity requirement 2:
Precondition: No automatic search has been performed, or automatic search has failed.
Test method: Call the getAllNetworks() method.
Conformity result: The length of the returned array is 0. |
+| 7 | | getAllNetworks(sortOrder) | Conformity requirement 1:
Precondition: An automatic search has been performed and successful.
Test method: Call the getAllNetworks(sortOrder) method to input the specified sorted sortOrder type.
Conformity result: Return an array of DvbNetwork objects of length greater than 0, sorted by the specified method.
Conformity requirement 2:
Precondition: No automatic search has been performed, or automatic search has failed.
Test method: Call the getAllNetworks(sortOrder) method to input the specified sorted sortOrder type.
Conformity result: The length of the returned array is 0. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | DvbBroadcast | getNetwork(network_id) | Conformity requirement 1:
Precondition: An automatic search has been performed and successful.
Test method: Call the getNetwork(network_id) method to input the specified sorted sortOrder type.
Conformity result: Return the DvbNetwork object with the specified network_id.
Conformity requirement 2:
Precondition: No automatic search has been performed.
Test method: Call the getNetwork(network_id) method to input the specified network_id.
Conformity result: Return NULL.
|
+| 9 | | getAllBouquets() | Conformity requirement 1:
Precondition: An automatic search has been performed and successful.
Test method: Call the getAllBouquets() method.
Conformity result: Return an array of DvbBouquet objects. If no service group object exists (e.g., no BAT table is found in the stream), the returned array has a length of zero.
Conformity requirement 2:
Precondition: No automatic search has been performed.
Test method: Call the getAllBouquets() method.
Conformity result: The length of the returned array is 0.
|
+| 10 | | getAllBouquets(sortTypeArray[], sortOrderArray[]) | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getAllBouquets(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and a specific value number type array.
Conformity result: Return an array of the specified sorted DvbBouquet objects. If no service group object exists (e.g., no BAT table is found in the stream), the returned array is of length zero.
Conformity requirement 2:
Precondition: No search has been performed, or the search has failed.
Test method: Call the getAllBouquets(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: The length of the returned array is 0.
|
+| 11 | | getBouquet(network_id, | Conformity requirement 1: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbBroadcast | bouquet_id) | Precondition: The live stream should contain Bouquet information, have perform search, and succeed.
Test method: Call the getBouquet(network_id, bouquet_id) method to input the specified value.
Conformity result: Return the DvbBouquet object.
Conformity requirement 2:
Precondition: No search has been performed.
Test method: Call the getBouquet(network_id, bouquet_id) method to input the specified value.
Conformity result: Return NULL.
|
+| 12 | | getAllTSs() | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getAllTSs() method.
Conformity result: Return an array of DvbTS objects with a length greater than 0.
Conformity requirement 2:
Precondition: No search has been performed.
Test method: Call the getAllTSs() method.
Conformity result: The length of the returned array is 0.
|
+| 13 | | getAllTSs(sortTypeArray[], sortOrderArray[]) | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getAllTSs(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: Return the specified sorted DvbTS object array.
Conformity requirement 2:
Precondition: No search has been performed, or search has failed.
Test method: Call the getAllTSs(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: The length of the returned array is 0.
|
+| 14 | | getTS(network_id, original_network_id, transport_stream_id) | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getTS(network_id, original_network_id, transport_stream_id) method to input the specified value.
Conformity result: Return a DvbTS object. If the specified transport stream object does not exist,
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbBroadcast | | NULL is returned.
Conformity requirement 2:
Precondition: No search has been performed.
Test method: Call the getTS(network_id, original_network_id, transport_stream_id) method to input the specified value.
Conformity result: Return NULL. |
+| 15 | | getAllServices() | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getAllServices() method.
Conformity result: Return an array of DvbService objects with a length greater than 0.
Conformity requirement 2:
Precondition: The search has not been executed, or it may have failed.
Test method: Call the getAllServices() method.
Conformity result: The length of the returned array is 0. |
+| 16 | | getAllServices(sortTypeArray[], sortOrderArray[]) | Conformity requirement 1:
Precondition: The search has been performed successfully.
Test method: Call the getAllServices(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: Return an array of DvbService objects that match the specified sort.
Conformity requirement 2:
Precondition: No search has been performed, or automatic search has failed.
Test method: Call the getAllServices(sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: The length of the returned array is 0. |
+| 17 | | getAllMosaics() | Conformity requirement:
Precondition: The search has been performed successfully.
Test method: Call the getAllMosaics() method.
Conformity result: Return all DvbMosaic objects. If there is no mosaic object, NULL is returned. |
+| 18 | | getService(network_id, original_network_id, transport_stream_id, service_id) | Conformity requirement:
Precondition: The search has been performed successfully.
Test method: Call the getService(network_id, original_network_id, transport_stream_id, service_id) |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbBroadcast | | service_id) method to input the specified values.
Conformity result: Return the DvbTS object. If the specified transport stream object does not exist, NULL is returned.
Conformity requirement 2:
Precondition: No search has been performed.
Test method: Call the getService (network_id, original_network_id, transport_stream_id, service_id) method to input the specified value.
Conformity result: Return NULL. |
+| 19 | | getEntryMosaic(network_id) | Conformity requirement:
Precondition: The search has been performed successfully.
Test method: Call the getEntryMosaic (network_id) method to input the specified value.
Conformity result: Return the DvbMosaic object. If there is no mosaic object, NULL is returned.
Conformity requirement 2:
Precondition: No search has been performed.
Test method: Call the getEntryMosaic (network_id) method to input the specified value.
Conformity result: Return NULL. |
+| 20 | DvbNetwork | network_id | Conformity requirement:
Precondition: Successfully get DvbNetwork object.
Test method: Read the network_id attribute.
Conformity result: Return the correct value which is the network identifier of a one-way broadcast network of type number. |
+| 21 | | network_name | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Read the network_name attribute.
Conformity result: Return the correct value which is the network name of a one-way broadcast network of type string. |
+| 22 | | network_type | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Read the network_type attribute.
Conformity result: Return the correct value which is the transmission type of a one-way broadcast network of type number. |
+| 23 | | getNetworkName() | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getNetworkName() method.
Conformity result: Return the correct value |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbNetwork | | which is the full name of the network name of type string. |
+| 24 | | getShortNetworkName() | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getShortNetworkName() method.
Conformity result: Return the correct value which is a string type, indicating the network name abbreviation. If there is no network name abbreviation, undefined is returned. |
+| 25 | | getAllTSs() | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getAllTSs() method.
Conformity result: Return an unsorted array of DvbTS objects with a length greater than 0. |
+| 26 | | getAllTSs(sortTypeArray[], sortOrderArray[]) | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getAllTSs (sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: Return an array of DvbTS objects that match the specified sorting. |
+| 27 | | getTS(original_network_id, transport_stream_id) | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getTS(original_network_id, transport_stream_id) method to input the specified value.
Conformity result: DvbTS object. If the specified transport stream object does not exist, NULL is returned. |
+| 28 | | getAllServices() | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getAllServices() method to input the specified value.
Conformity result: DvbService object array. |
+| 29 | | getAllServices(sortTypeArray[], sortOrderArray[]) | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getAllServices (sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: Return an array of |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | DvbService objects that match the specified sorting. |
+| 30 | | getService(original_network_id, transport_stream_id, service_id) | Conformity requirement:
Precondition: The DvbNetwork object is not undefined or NULL.
Test method: Call the getService(original_network_id, transport_stream_id, service_id) method to input the specified value.
Conformity result: DvbService object. If the specified transport stream object does not exist, NULL is returned. |
+| 31 | | network_id | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Read the network_id attribute.
Conformity result: Return the correct value and is a one-way broadcast network identifier of type number. |
+| 32 | | bouquet_id | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Read the bouquet_id attribute.
Conformity result: Return the correct value which is a one-way broadcast service group identifier of type number. |
+| 33 | | bouquet_name | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Read the bouquet_name attribute.
Conformity result: Return the correct value which is a one-way broadcast service group name of type number. |
+| 34 | DvbBouquet | getBouquetName() | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Call the getBouquetName() method.
Conformity result: Return the correct value which is the full name of the service group of type string. The full service group name is taken from the bouquet_name_descriptor descriptor or from the multilingual_bouquet_name_descriptor descriptor. If the language_encoded full name of the service group is not available from the bouquet_name_descriptor or multilingual_bouquet_name_descriptor descriptor, the full name of the service group carried in the bouquet_name_descriptor is returned by default. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 35 | DvbBouquet | getShortBouquetName() | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Call the getShortBouquetName() method.
Conformity result: Return the correct value which is a service group name abbreviation of type string. If the service group name abbreviation does not exist, undefined is returned. |
+| 36 | | getAllTSs() | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Call the getAllTSs() method.
Conformity result: Return all DvbTS objects in the current service group object, without sorting an array of DvbTS objects. |
+| 37 | | getAllTSs(sortTypeArray[], sortOrderArray[]) | Conformity requirement:
Precondition: DvbBouquet object is not undefined or NULL.
Test method: Call the getAllTSs (sortTypeArray[], sortOrderArray[]) method passes in the specified sort type and specific value number array.
Conformity result: Return an array of DvbTS objects that match the specified sorting. |
+| 38 | | getTS(original_network_id, transport_stream_id) | Conformity requirement:
Precondition: The DvbBouquet object is not undefined or NULL, and the passed parameters exist under the Bouquet.
Test method: Call getTS(original_network_id, transport_stream_id).
Conformity result: Return DvbTS objects that match the set value. |
+| 39 | | getAllServices() | Conformity requirement:
Precondition: The DvbBouquet object is not undefined or NULL, and there is a channel list described under this object.
Test method: Call the getAllServices() method.
Conformity result: Get an array of DvbService objects in the current service group that are not sorted. |
+| 40 | | getAllServices(sortTypeArray[], sortOrderArray[]) | Conformity requirement:
Precondition: The DvbBouquet object is not undefined or NULL, and there is a channel list described under this object.
Test method: Call getAllServices (sortTypeArray[], sortOrderArray[]).
Conformity result: Return DvbTS objects that |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | match the set value. |
+| 41 | DvbBouquet | getService(original_network_id, transport_stream_id, service_id) | Conformity requirement:
Precondition: The DvbBouquet object is not undefined or NULL, and this passed in parameter describes a channel under the object.
Test method: Call getService (original_network_id, transport_stream_id, service_id).
Conformity result: Return DvbTS objects that match the set value. |
+| 42 | | network_id | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the network_id attribute.
Conformity result: Return the network ID of the transport stream, which is of type number. |
+| 43 | DvbTS | original_network_id | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the original_network_id attribute.
Conformity result: Return the network ID of the transport stream, which is of type number. |
+| 44 | | transport_stream_id | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the transport_stream_id attribute.
Conformity result: Return the ID of the transport stream, which is of type number. |
+| 45 | | deliveryType | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the deliveryType attribute.
Conformity result: Return the type of transmission system, with values defined in the constant "DVB Transmission System Type", which is of type number. |
+| 46 | | dvbsTuningParams | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the dvbsTuningParams attribute.
Conformity result: Indicate the DVB_S tuning demodulation parameter. Note: This attribute is valid when deliveryType is DVB_DELIVERY_TYPE_DVB_S. which is of type dvbsTuningParams, and dvbsTuningParam object of return value. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 47 | DvbTS | dvbtTuningParams | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the dvbtTuningParams attribute.
Conformity results: Indicate the DVB_T tuning demodulation parameter. Note: This attribute is valid when deliveryType is DVB_DELIVERY_TYPE_DVB_T. which is of type dvbtTuningParams, and dvbtTuningParams object of return value.
|
+| 48 | | dvbcTuningParams | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the dvbcTuningParams attribute.
Conformity results: Indicate the DVB_C tuning demodulation parameter. Note: This attribute is valid when deliveryType is DVB_DELIVERY_TYPE_DVB_C. which is of type dvbcTuningParams, and dvbcTuningParams object of return value.
|
+| 49 | | absssTuningParams | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the absssTuningParams attribute.
Conformity results: Indicate the ABS_SS tuning demodulation parameter. Note: This attribute is valid when deliveryType is DVB_DELIVERY_TYPE_ABS_SS. which is of type absssTuningParams, and absssTuningParams object of return value.
|
+| 50 | | dtmbTuningParams | Conformity requirements:
Precondition: DvbTS object is not undefined or NULL.
Test method: Read the dtmbTuningParams attribute.
Conformity results: Indicate the DTMB tuning demodulation parameter. Note: This attribute is valid when deliveryType is DVB_DELIVERY_TYPE_DTMB. which is of type dtmbTuningParams, and dtmbTuningParams object of return value.
|
+| 51 | | signalQuality | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. The frequency of the current DvbTS has been locked.
Test method: Read the signalQuality attribute.
Conformity result: The value range of the signal
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbTS | | quality of the frequency where the transmission stream is located, is 0 to 100 and 0 means the worst signal, 100 means the best signal.
Conformity requirement 2:
Precondition: DvbTS object is not undefined or NULL. The current frequency of DvbTS is not locked.
Test method: Read the signalQuality attribute.
Conformity result: The return value is 0. |
+| 52 | | signalStrength | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. The frequency of the current DvbTS has been locked.
Test method: Read the signalStrength attribute.
Conformity result: Return the signal strength of the frequency where the transmission stream is located, the value range is 0 to 100 and 0 means the worst signal, 100 means the best signal.
Conformity requirement 2:
Precondition: DvbTS object is not undefined or NULL. The current frequency of DvbTS is not locked.
Test method: Read the signalStrength attribute.
Conformity result: The return value is 0. |
+| 53 | | errorRate | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. The frequency of the current DvbTS has been locked.
Test method: Read the errorRate attribute.
Conformity result: Return the error rate of the frequency where the transport stream is located.
Conformity requirement 2:
Precondition: DvbTS object is not undefined or NULL. The current frequency of DvbTS is not locked.
Test method: Read the errorRate attribute.
Conformity result: The return value is 0. |
+| 54 | DvbTS | signalLevel | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. The frequency of the current DvbTS has been locked.
Test method: Read the signalLevel attribute.
Conformity result: Return the signal level at the frequency where the transport stream is located.
Conformity requirement 2:
Precondition: DvbTS object is not undefined or NULL. The current frequency of DvbTS is not locked.
Test method: Read the signalLevel attribute. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 55 | | signalNoiseRatio | Conformity result: The return value is 0.
Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. The frequency of the current DvbTS has been locked.
Test method: Read the signalNoiseRatio attribute.
Conformity result: Return the signal_to_noise ratio of the frequency where the transport stream is located.
Conformity requirement 2:
Precondition: The DvbTS object is not undefined or NULL, and the frequency of the current DvbTS is not locked.
Test method: Read the signalNoiseRatio attribute.
Conformity result: The return value is 0.
|
+| 56 | | getAllServices() | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL.
Test method: Call the getAllServices() method.
Conformity result: Return an unsorted array of all DvbService objects in the current transport stream.
|
+| 57 | | getAllServices(sortTypeArray[], sortOrderArray[]) | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL.
Test method: Call getAllServices(sortTypeArray[], sortOrderArray[]).
Conformity result: Return an array of DvbTS objects that match the set sorting rules.
|
+| 58 | | getServiceByID(service_id) | Conformity requirement 1:
Precondition: The DvbTS object is not undefined or NULL. Fill in the correct service_id under that DvbTS.
Test method: Call getServiceByID (service_id).
Conformity result: Return the DvbService object.
Conformity requirement 2:
Precondition: DvbTS object is not undefined or NULL. Fill in a service_id that is not under the DvbTS.
Test method: Call getServiceByID (service_id).
Conformity result: The return value is null.
|
+| 59 | | getServicesByType(service_type) | Conformity requirement 1:
Precondition: DvbTS object is not undefined or NULL. Fill in the service_type that belongs to the channel under this DvbTS.
Test method: Call getServicesByType
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | (service_type).
Conformity result: Return an array of DvbService objects.
Conformity requirement 2:
Precondition: If the DvbTS object is not undefined or NULL, fill in the service_type that does not belong to the channel list under that DvbTS.
Test method: Call getServicesByType (service_type).
Conformity result: The returned array length is 0 |
+| 60 | DvbService | network_id | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the network_id attribute.
Conformity result: Return the network ID of the service which is of type: number. |
+| 61 | | original_network_id | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the original_network_id attribute.
Conformity result: Return the network ID of the service which is of type: number. |
+| 62 | | transport_stream_id | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the transport_stream_id attribute.
Conformity result: Return the transport stream ID of the service, which is of type number. |
+| 63 | | service_id | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the service_id attribute.
Conformity result: Return the service ID of type: number. |
+| 64 | | service_name | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the service_name attribute.
Conformity result: Return the service name which is of type: string. |
+| 65 | | service_type | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the service_type attribute
Conformity result: Return the value of the |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbService | | service type, see the definition of the "service type" constant, which is of type number. |
+| 66 | | service_provider_name | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the service_provider_name attribute.
Conformity result: The name of the service provider, which is of type string. |
+| 67 | | running_status | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the running_status attribute.
Conformity result: Return any of the following service operation status, with a value:
– 0 is undefined;
– 1 is not running;
– 2 Start after a few seconds (such as recording);
– 3. Pause;
– 4 Operation;
– 5.7 reserved for use.
Note– For NVOD service, running_status equal to 0. |
+| 68 | | EIT_present_following_flag | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the EIT_present_following_flag attribute.
Conformity result: Return whether the current/subsequent information of the service exists in the current transport stream, with a value of:
– True indicates that the current/subsequent information of the service's EIT exists in the current transport stream;
– False indicates that the current/subsequent information of the service's EIT is not in the current transport stream. The type is: boolean. |
+| 69 | | EIT_schedule_flag | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the EIT_schedule_flag attribute.
Conformity result: Return whether the EIT schedule information of the service exists in the current transport stream, with a value of:
– True indicates that the EIT schedule information of the service exists in the current |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbService | | transmission.
– False indicates that the EIT schedule information of the service is not in the current transport stream. The type is: boolean. |
+| 70 | | free_CA_mode | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the free_CA_mode attribute.
Conformity result: Return whether the service has been tampered with, with a value of:
– True indicates that the reception of one or more true code streams is controlled by the CA system;
– False indicates that the all components of the false service have not been scrambled. The type is: boolean. |
+| 71 | | bouquetIDs | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the bouquetIDs attribute.
Conformity result: Return an array of the IDs of all the service groups to which the service belongs, sorted in ascending order by bouquet_id. The type is number Array. |
+| 72 | | referServiceIDs | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the referServiceIDs attribute.
Conformity result: Return the service_id of the service reference service. if service_type equal to SERVICE_TYPE_NVOD_SHIFT, the service_id of the corresponding reference service can be obtained by using this attribute, otherwise this attribute returns undefined. The type is number |
+| 73 | | timeShiftServiceIDs | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the timeShiftServiceIDs attribute.
Conformity result: Return the service_id of all time_shifted services corresponding to the service. if service_type equal to SERVICE_TYPE_NVOD_REF, the service_id of all time_shifted services corresponding to the service can be obtained by this attribute; otherwise, this attribute returns undefined. The type is numberArray. |
+| 74 | | curVideoObj | Conformity requirements:
Precondition: The DvbService object is not |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbService | | undefined or NULL, and this channel is being played.
Test method: Read the curVideoObj attribute.
Conformity result: Return the video ES currently being played by the service. The type is DvbVideoES object. |
+| 75 | | curAudioObj | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL, and this channel is being played.
Test method: Read curAudioObj Properties.
Conformity result: Return the audio ES currently being played by the service. The type is DvbAudioES object. |
+| 76 | | PCRPID | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Read the PCRPID attribute.
Conformity result: Return the PCR PID of the service reference. The type is: number. |
+| 77 | | getServiceName() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL, and this channel is being played.
Test method: Call the getServiceName() method.
Sex result: Return the full name of the service. The type is: string type. |
+| 78 | | getShortServiceName() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Call the getShortServiceName() method.
Conformity result: Return the abbreviation of the service name, with a type of string. If the service name abbreviation does not exist, return undefined. |
+| 79 | | getLocation() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Call the getLocation() method.
Conformity result: Return the service location described by the three elements of original_network_id, transport_stream_id, and service_id. |
+| 80 | | getEvents(start, end) | Conformity requirements:
Precondition: DvbService object is not undefined or NULL, and the passed in start,end can cover the time period.
Test method: Call the getEvents(start, end) |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | method.
Conformity result: Return an array of DvbEvent objects. If the specified object does not exist, the returned array length is 0. |
+| 81 | | getVideoESs() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Call the getVideoESs() method.
Conformity result: Return an array of DvbVideoES objects for all video streams (of any video format type) contained in this service. If there is no such object, the length of the returned array is 0. |
+| 82 | | getAudioESs() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Call the getAudioESs() method.
Conformity result: Return an array of (with any audio format type) DvbAudioES objects for all audio streams contained in this service. If there is no such object, the returned array is of length 0. |
+| 83 | | getOtherESs() | Conformity requirements:
Precondition: The DvbService object is not undefined or NULL.
Test method: Call the getOtherESs() method.
Conformity result: Return an array of DvbOtherES objects for all non_audio/video streams contained in this service. If there is no such object, the length of the returned array is 0. |
+| 84 | | stream_type | Conformity requirements:
Precondition: DvbVideoES object is not undefined or NULL.
Test method: Read the stream_type attribute.
Conformity result: Return the type of the elementary stream of the video, with a value of:
– 0x01
– 0x02
The type is: number. |
+| 85 | DvbVideoES | elementary_PID | Conformity requirements:
Precondition: DvbVideoES object is not undefined or NULL.
Test method: Read the elementary_PID attribute.
Conformity result: Return the PID transport stream that carries the elementary stream of the video. The type is number. |
+| 86 | | component_tag | Conformity requirements:
Precondition: DvbVideoES object is not undefined or NULL.
Test method: Read the component_tag attribute. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Return the identification of the video stream component. The system shall obtain information from the stream_identifier_descriptor associated with this elementary stream, or set to -1 by default if there is no information available. The type is number. |
+| 87 | DvbAudioES | stream_type | Conformity requirements:
Precondition: DvbAudioES object is not undefined or NULL.
Test method: Read the stream_type attribute.
Conformity result: Return the type of the audio elementary stream, with a value of:
– 0x03
– 0x04
The type is number. |
+| 88 | | elementary_PID | Conformity requirements:
Precondition: DvbAudioES object is not undefined or NULL.
Test method: Read the elementary_PID attribute.
Conformity result: Return the PID transport stream that carries the audio elementary stream. The type is number. |
+| 89 | | component_tag | Conformity requirements:
Precondition: DvbAudioES object is not undefined or NULL.
Test method: Read the component_tag attribute.
Conformity result: Return the identification of the audio component.
The system shall obtain information from the stream_identifier_descriptor associated with this elementary stream, and if no information is available, the default is set to -1. The type is number. |
+| 90 | | lingual | Conformity requirements:
Precondition: DvbAudioES object is not undefined or NULL.
Test method: Read the lingual attribute.
Conformity result: Return the audio language, and the three_letter code for languages follows the [ISO 639]. The type is: string. |
+| 91 | DvbOtherES | stream_type | Conformity requirements:
Precondition: DvbOtherES object is not undefined or NULL.
Test method: Read the stream_type attribute.
Conformity result: Return the type of this elementary stream, with values other than 0x01, 0x02, 0x03, and 0x04 that are allowed. The type is number. |
+| 92 | | elementary_PID | Conformity requirements: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 93 | | | Precondition: DvbOtherES object is not undefined or NULL.
Test method: Read the elementary_PID attribute.
Conformity result: Return the PID transport stream carrying the elementary stream. The type is number. |
+| | | component_tag | Conformity requirements:
Precondition: DvbOtherES object is not undefined or NULL.
Test method: Read the component_tag attribute.
Conformity result: Return the component identification. The system should obtain information from the stream_identifier_descriptor associated with the elementary stream. If there is no available information, it is set to -1 by default. The type is number. |
+| 94 | DvbEvent | network_id | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the network_id attribute.
Conformity result: Return the network ID to which the programme event belongs. The type is number. |
+| 95 | | original_network_id | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the original_network_id attribute.
Conformity result: Return the original network ID to which the programme event belongs. The type is number. |
+| 96 | | transport_stream_id | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the transport_stream_id attribute.
Conformity result: Return the transport stream ID to which the programme event belongs. The type is: number. |
+| 97 | | service_id | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the service_id attribute.
Conformity result: Return the business ID to which the programme event belongs. The type is number. |
+| 98 | | event_id | Conformity requirements:
Precondition: The DvbEvent object is not |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbEvent | | undefined or NULL.
Test method: Read the event_id attribute.
Conformity result: Return the business ID to which the programme event belongs. The type is number. |
+| 99 | | event_name | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the event_name attribute.
Conformity result: Return the name of the programme event. The type is string. |
+| 100 | | event_description | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the event_description attribute.
Conformity result: Programme event description, which is of type string. |
+| 101 | | running_status | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the running_status attribute.
Conformity result: Return the running status of the programme event, with a value of:
– 0 is undefined;
– 1 is not running;
– 2 Start after a few seconds (such as recording);
– 3. Pause;
– 4 Operation;
– 5_7 reserved for use.
Note – For NVOD reference programme events, running_status equal to 0. The type is number. |
+| 102 | | startDate | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the startDate attribute.
Conformity result: Return the start date of the event playback in the format "YYYY_MM_DD". The type is string. |
+| 103 | | startTime | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the startTime property.
Conformity result: Return the start time of the event playback in the format "hh: mm: ss". The type is string. |
+| 104 | | duration | Conformity requirements: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DvbEvent | | Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the duration attribute.
Conformity result: Return the duration of the event playback in seconds. The type is number. |
+| 105 | | endDate | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the endDate attribute.
Conformity result: Return the end date of the event playback in the format of "YYYY_MM_DD". The type is string. |
+| 106 | | endTime | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the endTime attribute.
Conformity result: Return the end time of the event playback in the format "hh: mm: ss". The type is string. |
+| 107 | | content_nibble | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the content_nibble attribute.
Conformity result: Return the event classification value (8 bits), of which the upper 4 bits are the primary programme content classification value (content_nibble_level_1) and the lower 4 bits are the secondary programme content classification value (content_nibble_level_2). The type is number. |
+| 108 | | user_nibble | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the content_nibble attribute.
Conformity result: Return the classification value (8 bits), of which the upper 4 bits are the first_level programme content classification value (content_nibble_level_1) and the lower 4 bits are the second_level programme content classification value (content_nibble_level_2). The type is number.
Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the user_nibble attribute.
Conformity result: Return the classification value (8 bits) defined by the operator of the event, of which the upper 4 bits are the first_level programme content classification value (content_nibble_level_1) and the lower 4 bits are |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | the second_level programme content classification value (content_nibble_level_2). The type is number. |
+| 109 | | minAge | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the minAge attribute.
Conformity result: Return the minimum age at which the event can be watched. The type is number. |
+| 110 | | free_CA_mode | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Read the free_CA_mode attribute.
Conformity result: Return whether the event has been scrambled , with a value of:
– True scrambled;
– False not scrambled.
The type is number. |
+| 111 | | getEventName() | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Call the getEventName() method.
Conformity result: Return the full name of the programme event that represents the event. The type is string. |
+| 112 | | getShortEventName() | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Call the getShortEventName() method.
Conformity result: Return the abbreviated name of the event programme that represents the event. The type is string. If the event name abbreviation does not exist, return undefined. |
+| 113 | | getEventDescription() | Conformity requirements:
Precondition: The DvbEvent object is not undefined or NULL.
Test method: Call the getEventDescription() method.
Conformity result: Return the description information indicating the event of the program. The programme event description information is obtained from the short_event_descriptor description, and this method shall return programme event description information that matches the user's preferred language. The type is string. |
+| 114 | | getLocation() | Conformity Requirement. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: the DvbEvent object is not undefined or NULL.
Test method: call getLocation() method.
Conformance result: Return an event locator indicating that the programme is described by the four elements original_network_id, transport_stream_id, service_id, and event_id. The type is string. |
+
+### B.3 Conformance test of two-way broadband network access unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Broadband | getAllEthernets() | Conformity requirement 1:
Precondition: Receiving terminal access to two-way broadband network.
Test method: Call the getAllEthernets() interface
Conformity result: Return an array of Ethernet objects, where the receiving terminal successfully gets all Ethernet objects, and the number matches the actual number. |
+| 2 | | ping(address, parameter) | Conformity requirement 1:
Precondition: Receiving terminal access to two-way broadband network.
Test method: Call the ping(address, parameter) interface, where address is assigned to the correct IP address or domain name, and parameter is the ping parameter.
Conformity result: Every once in a while (without stopping), a response message can be received and a successful ping message description string can be obtained.
Conformity requirement 2:
Precondition: Receiving terminal access to two-way broadband network.
Test method: Call ping(address, parameter) interface, where address is assigned to the correct IP address or domain name, and parameter is the parameter of ping.
Every once in a while (without stopping), a response message can be received and a failed ping message description string can be obtained. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 3 | Broadband | cancelPing() | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network; The ping method has not been called yet.
Test method: Call the cancelPing() function.
Conformity result: CancelPing returns 0, indicating that the current ping operation has ended or there is currently no ping operation.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network; The ping method has been called.
Test method: Call the cancelPing() function.
Conformity result: CancelPing returns 1, indicating that the executing ping operation has been stopped.
|
+| 4 | | queryNetworkState(targetAddress) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Use the correct target network address (IPv4 or IPv6 type address) to call the queryNetworkState(targetAddress) function.
Conformity result: Be able to receive MSG_BROADBAND_GET_NETWORK_STATE message, and get the message description string through Utility.getEventInfo(id) which describes the connection status between the current network and the target network.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Call the queryNetworkState(targetAddress) function with the wrong target network address (IPv4 or IPv6 type address).
Conformity result: Be able to receive the MSG_BROADBAND_GET_NETWORK_STATE message, and get the message description string through Utility.getEventInfo(id), which describes the current network disconnection status.
|
+| 5 | | getDeviceState(device) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Select the correct device type and call the getDeviceState(device) function.
Conformity result: getDeviceState returns a status value that matches the actual state of the current device.
Conformity requirement 2:
Precondition: The receiving terminal is
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Broadband | | connected to a two-way broadband network.
Test method: Select a device type that does not exist and call the getDeviceState(device) function.
Conformity result: getDeviceState returns a status value that matches the actual state of the current device.
|
+| 6 | | NTPUpdate() | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Modify the system display time forward and call the NTPUpdate() function.
Conformity result: NTPUpdate returns success, and application receives a message that synchronization of network time is successful, and the system time is displayed as the correct time.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Modify the display time backwards and call the NTPUpdate() function.
Conformity result: NTPUpdate returns success, and the application receives a message that synchronization network time is successful, and the system time is displayed as the correct time.
|
+| 7 | | save() | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Modify the IP settings parameters and call the save() function.
Conformity result: The application receives the SAVE success message, and after restarting, the modified parameters match the actual modified values.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Modify other related settings and parameters, and call the save() function.
Conformity result: The application receives the SAVE success message, and after restarting, the modified parameters match the actual modified values.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | Broadband | portalIP | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a portal server in the network environment.
Test method: Get the IP address of the portal server Broadband.portalIP variable.
Conformity result: Be able to get the portal server address portalIP successfully which matches the actual value.
|
+| 9 | | portalPort | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a portal server in the network environment.
Test method: Get the service port number of the portal server Broadband.portalPort variable.
Conformity result: Be able to get portal server service port portalPort property successfully which matches the actual value
|
+| 10 | | appServerIP | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is an application download server in the network environment.
Test method: Obtain the IP address Broadband.appServerIP variable of the application download server.
Conformity result: Be able to get the application server IP address appServerIP property successfully which matches the actual value.
|
+| 11 | | appServerPort | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is an application download server in the network environment.
Test method: Obtain the Broadband.appServerPort variable from the application download server service port.
Conformity result: Be able to get the appServerPort property of the application download server service port successfully which matches the actual value.
|
+| 12 | | host | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the terminal device identification hostname Broadband.host variable.
Conformity result: The terminal device
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successfully identifies the host attribute of the host name which matches the actual value |
+| 13 | | workGroup | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Obtain the Boradband.workGroup variable that the network belongs to.
Conformity result: The workGroup attribute to which the network belongs can be successfully obtained and matches the actual value.
|
+| 14 | | enableFlag | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.enableFlag variable for whether the network card is available or not.
Conformity result: The network card status variable enableFlag is successfully obtained and matches the actual value.
|
+| 15 | | DHCPflag | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.DHCPflag variable for the DHCP status of the network card.
Conformity result: The DHCP status variable DHCPflag of the network card is successfully obtained and matches the actual value.
|
+| 16 | | DHCPAutoGetDNS | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.DHCPAutoGetDNS variable for network card to automatically get the status of the DNS.
Conformity result: The variable DHCPAutoGetDNS for the network card to automatically get domain name system (DNS) status is obtained successfully and matches the actual value.
|
+| 17 | Ethernet | description | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.description variable for the network card description information.
Conformity result: The description attribute of the network card description information is successfully obtained, and its attribute value matches the actual network card information.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | Ethernet | MACAddress | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the physical address of the network card Ethernet.MACAddress variable.
Conformity result: The MACAddress attribute of the physical address of the network card is successfully read, and the attribute value matches the actual physical address of the network card. |
+| 19 | | IPs | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.Ips variable for the network IP address group.
Conformity result: The IPs attribute of the network card address group is successfully read, and its attribute value matches the actual IP address group. |
+| 20 | | DNSs | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.DNSs variable for the DNS server address group of the network card.
Conformity result: The DNSs attribute of the DNS server address group is obtained successfully, and both the number of DNS server IP address arrays are obtained and their IP addresses match the actual ones. |
+| 21 | | DHCPip | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.DHCPip variable of the IP object to which the network card is dynamically assigned.
Conformity result: The DHCPip attribute of the dynamically assigned to IP object is successfully read, and its attribute value matches the actual value. |
+| 22 | | communicateWay | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.communicateWay variable that indicates the network bandwidth and communication method.
Conformity result: The communicateWay attribute, which indicates the network bandwidth and communication method, is read successfully |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | and matches the actual value. |
+| 23 | | LANStatus | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.LANStatus variable for the status of the network connection.
Conformity result: When the network is connected normally, the value of LANStatus is 1; When the network is not connected, the value of LANStatus is 0. |
+| 24 | | sentPackages | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.sentPackages variable for the number of network packets sent by the network card.
Conformity result: The network card successfully read the sendPackets attribute when sending network packets, and its attribute value matches the actual number of packets sent. |
+| 25 | Ethernet | receivedPackages | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.receivedPackages variable for the number of network packets received by the network card.
Conformity result: The receivedPackages property of the network packets received by the NIC is read successfully, and its attribute value matches the actual number of received packets. |
+| 26 | | currentConnectionType | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.currentConnectionType variable for the current network card network connection type.
Conformity result: The currentConnectionType attribute of network connection type is successfully read, and its attribute value matches the actual value. |
+| 27 | | addIP(ip) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in the correct address, mask, and gateway, and call the addIP(ip) function.
Conformity result: addIP returns success, and the IP object is successfully added to the network card.
Conformity requirement 2: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in incorrect address, mask, gateway, and call the addIP (ip) function.
Conformity result: addIP returns failure, IP object fails to be added. |
+| 28 | Ethernet | setDNS(index, dns) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Select the DNS server index, fill in the correct DNS IP address dns, and call the setDNS(index, dns) function.
Conformity result: The DNS server address in the DNS IP array that corresponds to the one that was modified is the same as the one that is filled in.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Select the DNS server index, fill in the incorrect DNS IP address dns, and call the setDNS(index, dns) function.
Conformity result: The DNS server address in the DNS IP array that corresponds to the modified DNS server remains the same as it was before the modification. |
+| 29 | | deleteIPByIndex(index) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in the correct IP array index and call the deleteIPByIndex(index) function.
Conformity result: deleteIPByIndex returns success, and the IP object can be deleted successfully.
Conformity requirement 2:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in the wrong IP array index and call the deleteIPByIndex(index) function.
Conformity result: deleteIPByIndex returns failure, IP object fails to be deleted. |
+| 30 | | deleteIPByAddress(address) | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in the correct IP address and call the deleteIPByAddress(address) function.
Conformity result: deleteIPByAddress returns success, and the IP object can be deleted successfully.
Conformity requirement 2: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Ethernet | | Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Fill in the wrong IP address and call the deleteIPByAddress(address) function.
Conformity result: deleteIPByAddress returns a failure, the IP object fails to be deleted. |
+| 31 | | submitParameters() | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Modify the network settings parameters and call the submitParameters() function.
Conformity result: Be able to receive the message of successful submission of configuration parameters, and the network parameters read out are consistent with the parameters submitted for modification. |
+| 32 | | DHCPLeaseObtained | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a DHCP server in the network.
Test method: Enable DHCP mode on the network card and obtain the start time for renting IP addresses via Ethernet.DHCPLeaseObtained variable.
Conformity result: The DHCPLeaseObtained string for DHCP lease IP address start time is successfully read, and its attribute value matches the actual value. |
+| 33 | | DHCPLeaseExpires | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a DHCP server in the network.
Test method: Enable DHCP mode on the network card and obtain the end time of the leased IP address via Ethernet.DHCPLeaseExpires variable.
Conformity result: Successfully read the DHCPLeaseExpires attribute for the end time of the leased IP address, and its attribute value matches the actual one. |
+| 34 | | DHCPServer | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a DHCP server in the network.
Test method: Get the IP address or domain name Ethernet of the DHCP server from the Ethernet.DHCPServer variable.
Conformity result: The DHCPServer attribute of the DHCP server address in the network is read successfully and its attribute value matches the |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | actual. |
+| 35 | | DHCPPort | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and there is a DHCP server in the network.
Test method: Get the Ethernet.DHCPPort variable for the port number on the network where the DHCP server is providing service.
Conformity result: The DHCP attribute for the work net port number where the DHCP server is providing service is successfully read, and its attribute value matches the actual value.
|
+| 36 | | HTTPProxy | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.HTTPProxy variable of the web proxy service object.
Conformity result: The HTTPProxy property of the web proxy object is successfully read, and its property value matches the actual value.
|
+| 37 | | HTTPSProxy | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.HTTPSProxy variable of the web proxy service object.
Conformity result: The HTTPSProxy property of the web proxy object is successfully read, and its property value matches the actual value.
|
+| 38 | | FTPProxy | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the Ethernet.FTPProxy variable of the FTP proxy service object.
Conformity result: The FTPProxy attribute of the FTP proxy server object is successfully obtained, and its attribute value matches the actual value.
|
+| 39 | | getAPs() | Conformity requirements:
Precondition: The receiving terminal is in a wireless network environment.
Test method: Call the getAPs() function.
Conformity result: The getAPs returns an array of actual AP information that matches the actual one.
|
+| 40 | | scanAP(maxCount, timeOut) | Conformity requirements:
Precondition: The receiving terminal is in a wireless network environment.
Test method: Fill in the maximum scan count and scan timeout, call
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | scanAP(maxCount,timeOut) function.
Conformity result: Get the maximum number of surrounding AP information within the specified time, which is consistent with the actual situation. |
+| 41 | | connectAP(essId, keyType, key) | Conformity requirement 1:
Precondition: The receiving terminal is in a wireless network environment.
Test method: Use the AP information to be connected, call the connectAP(essId, keyType, key) function.
Conformity result: Receive a successful connection message, connect to the AP successfully, and be able to communicate in both directions.
Conformity requirement 2:
Precondition: The receiving terminal is in a wireless network environment.
Test method: Use incorrect information, call the connectAP(essId, keyType, key) function.
Conformity result: Receive connection failure message, fail to connect to AP, be unable to communicate in both directions. |
+| 42 | | disconnectAP() | Conformity requirements:
Precondition: The receiving terminal is connected to the wireless network environment.
Test method: Call the disconnectAP() function.
Conformity result: The disconnectAP returns success, network connection disconnects successfully. |
+| 43 | | getConnectedAP() | Conformity requirements:
Precondition: The receiving terminal is connected to the wireless network environment.
Test method: Call the getConnectedAP() function to obtain the connection AP information.
Conformity result: The getConnectedAP returns the AP object, and gets information about the connected APs that match the actual situation. |
+| 44 | AP | essId | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a wireless network.
Test method: Get the AP.essId variable of the connected hotspot.
Conformity result: The essID attribute of the AP is successfully obtained and matches the actual value. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 45 | | signalStrength | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a wireless network.
Test method: Get the AP.signalStrength variable for the hotspot signal strength.
Conformity result: The signalStrength variable for signal strength is successfully obtained and is consistent with the actual value. |
+| 46 | | linkQuality | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a wireless network.
Test method: Get the AP.linkQuality variable for hotspot connection quality.
Conformity result: The linkQuality variable for link quality is successfully obtained and matches the actual value. |
+| 47 | | encType | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a wireless network.
Test method: Get the AP.encType variable for the hotspot authentication encryption type.
Conformity result: The encType variable for hotspot authentication encryption type is successfully read and matches the actual situation. |
+| 48 | IP | address | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the IP.address variable and print it.
Conformity result: Be able to read the property address for the IP object, which is the same as the actual IP address of the system. |
+| 49 | | mask | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the IP.mask variable and print it.
Conformity result: Be able to read the attribute mask for the IP object, which is the same as the actual network mask value of the system. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 50 | IP | gateway | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Get the IP.gateway variable and print it.
Conformity result: The gateway attribute for the IP object can be read and retrieved, which is the same as the actual gateway address value of the system. |
+| 51 | | IP(address, mask, gateway) | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network.
Test method: Use address, mask, gateway values, and call the IP(address, mask, gateway) function to construct an IP object.
Conformity result: The IP object can be Successfully create and its properties match the values used. |
+| 52 | proxy | userName | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the proxy.userName username variable for the current proxy server access method and print it.
Conformity result: Be able to read the attribute userName for the proxy object, which is the same as the actual value of the current access proxy server username. |
+| 53 | | password | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the username proxy.password variable of the current proxy server access method and print it.
Conformity result: The attribute password for the proxy object can be read and retrieved, which is the same as the actual value of the current access proxy server password. |
+| 54 | | enable | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the proxy.enable variable for whether the current proxy server is active or not and print it.
Conformity result: Be able to read out the enable attribute of a Proxy with the same value as the actual value of whether the current proxy is in |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 55 | proxy | unusedProxyURLs | effect or not.
Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the proxy.unusedProxyURLs variable group for network connections that do not use a proxy and print it.
Conformity result: The string set of unused ProxyURLs that can read and retrieve the properties of the proxy object, is the same as the URL address group that the system actually does not need to proxy. |
+| 56 | | Server | Conformity requirements:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the proxy.server variable for the IP address or domain address of the proxy server and print it.
Conformity result: Be able to read and retrieve the proxy.server string, which is the same as the actual proxy server network address or domain name used. |
+| 57 | | port | Conformity requirement 1:
Precondition: The receiving terminal is connected to a two-way broadband network and a proxy server.
Test method: Get the proxy.port variable for the port number on which the proxy server is providing proxy services and print it.
Conformity result: Be able to read and retrieve the port string for the proxy service port, which is the same as the actual port of the proxy server proxy service. |
+
+### B.4 Conformance test of HCI unit interfaces
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | FrontPanel | displayText(str) | Conformity requirements:
Precondition: Display device with front panel.
Test method: Call the displayText(str) method with the string to be displayed as an input parameter.
Conformity result: The DisplayText returns success, and the front panel displays the input string in a horizontally centered manner. |
+| 2 | | displayText(str,align) | Conformity requirements: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | FrontPanel | | Precondition: Display device with front panel.
Test method: Fill in the string str to be displayed, select the align of specified alignment method, and call the displayText(str, align) method.
Conformity result: DisplayText returns success, and the front panel displays the input string in the specified alignment. If the terminal does not support the selected alignment, it defaults to being displayed horizontally centered.
|
+| 3 | | setStatus(type, status) | Conformity requirements:
Precondition: Indicator lights with front panel.
Test method: Select the indicator type and indicator status, and call the setStatus(type, status) method.
Conformity result: The setStatus returns success, and can be set to turn on and off normally, with indicator lights on and off accordingly.
|
+| 4 | | getStatus(type) | Conformity requirements:
Precondition: Indicator lights on the front panel.
Test method: Select the indicator type and call the getStatus(type) method.
Conformity result: The getStatus returns the correct indicator status (valid types return closed/open, invalid types return unknown).
|
+| 5 | | displayDate(date) | Conformity requirements:
Precondition: Display device with front panel.
Test method: Call the displayDate(date) method to display the current time.
Conformity result: If the terminal supports it, the displayDate returns success, and the front panel displays the corresponding time; If the terminal does not support it, the displayDate will return a failure and there will be no display on the front panel.
|
+| 6 | | clear() | Conformity requirements:
Precondition: Display device with front panel.
Test method: When the front panel is in an information display state, call the clear() method.
Conformity result: The clear returns success, all displayed content on the front panel is cleared.
|
+| 7 | | getMaxChars() | Conformity requirements:
Precondition: Display device with front panel.
Test method: Call the getMaxChars() method to obtain the number of strings displayed on the front panel.
Conformity result: The getMaxChars returns the maximum number of characters that the terminal can support for display.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 8 | Event | event.type | Conformity requirements:
Precondition: Input device triggers input event.
Test method: After capturing the input event, obtain the event.type variable.
Conformity result: The event.type matches the actual input event type. |
+| 9 | | event.source | Conformity requirements:
Precondition: Input device triggers input event.
Test method: After capturing the input event, obtain the event.source variable.
Conformity result: The event source for event.source matches the actual input event device type. |
+| 10 | | event.which | Conformity requirements:
Precondition: Input device triggers input event.
Test method: After capturing the input event, obtain the event key code value event.which variable.
Conformity result: The event.which event for key code value matches the actual input event device key code value. |
+| 11 | | event.modifiers | Conformity requirements:
Precondition: Input device triggers input event.
Test method: After capturing the input event, obtain event.modifiers variable for the event extension attribute.
Conformity result: If the event.modifiers for the extended attribute is 0, it means the extended attribute is empty; if the extended attribute is number, the variable is a numeric value; If the extended attribute is a string, the variable is an ID value, which is generated by the internal definition of the system and is used as the index value of the string, Call Utility.GetEventInfo(ID) to get the corresponding string. |
+
+### B.5 Conformance test of AV setting unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | | getOutputInterfaceList() | Conformity requirement:
Precondition: All AV ports are connected to the TV normally, and the system starts successfully
Test method: Call the getOutputInterfaceList method.
Conformity result: The method call is successful, and the system gets an available |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | audio output port name. |
+| 2 | | getOutputInterfaceStatus(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the getOutputInterfaceStatus method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method is called successfully, get the status of the system audio output port specified by the parameter.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the getOutputInterfaceStatus method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: The return value of the method call is false.
|
+| 3 | AudioSetting | disableOutputInterface(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the disableOutputInterface method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method call is successful, and the system audio output port specified by the parameter is successfully disabled.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the disableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, the state of the system audio output port remains unchanged.
|
+| 4 | | enableOutputInterface(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the enableOutputInterface
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AudioSetting | | method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method is called successfully, and the system audio output port specified by the parameter is enabled successfully.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV, the system boots up successfully, and the getOutputInterfaceList method is called successfully.
Test method: Call the enableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: The method call fails, and the status of the system audio output port remains unchanged.
|
+| 5 | | getOutputVolume() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the getOutputVolume method.
Conformity result: The method call is successful, and the obtained system volume value is within the range defined by the interface standard.
|
+| 6 | | setOutputVolume(volume) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the setOutputVolume method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, the system volume value is set according to the parameter values, and it actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the setOutputVolume method, with parameters outside the scope defined by the interface standard.
Conformity result: The method call is successful, and the system volume is set to the value closest to the set parameter within the
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | AudioSetting | getOutputChannelMode() | valid range.
Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the getOutputChannelMode method.
Conformity result: Method call is successful, obtaining system output channel type. |
+| 8 | | setOutputChannelMode(audio Channel) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the setOutputChannelMode method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, the system output channel type is set according to the parameter values, and it actually works.
Conformity requirement 2:
Precondition: All HDMI ports are properly connected to the TV, the system boots up successfully, and the audio output ports are turned on.
Test method: Call the setOutputChannelMode method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, system output channel type remains unchanged. |
+| 9 | | getOutputSPDIFMode() | Conformity requirement:
Precondition: All AV ports are normally connected to the TV, the system boots up successfully, the audio output ports are turned on, and the spdif connector is connected to the AV amplifier.
Test method: Call the getOutputSPDIFMode method.
Conformity result: Method call is successful, obtaining system SPDIF output interface data format. |
+| 10 | | setOutputSPDIFMode(mode) | Conformity requirement 1:
Precondition: All AV ports are normally connected to the TV, the system boots up successfully, the audio output ports are turned on, and the spdif connector is connected to the AV amplifier.
Test method: Call the setOutputChannelMode |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AudioSetting | | method with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system output sound format is set according to the parameter values, which is consistent with the sound format displayed by the AV amplifier.
Conformity requirement 2:
Precondition: All AV ports are normally connected to the TV, the system boots up successfully, the audio output ports are turned on, and the spdif connector is connected to the AV amplifier.
Test method: Call the setOutputChannelMode method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, system output sound format remains unchanged.
|
+| 11 | | isMute() | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, the audio output ports are turned on, call the mute interface to mute the sound.
Test method: Call the isMute method.
Conformity result: The method is called successfully, and returns the status of whether the system is muted as true, which corresponds to the actual effect.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, the audio output ports are turned on, call the unmute interface to unmute the TV.
Test method: Call the isMute method.
Conformity result: The method is called successfully, and returns the status of whether the system is muted as false, which corresponds to the actual effect.
|
+| 12 | | mute() | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, and the system boots up successfully.
Test method: Call the mute method.
Conformity result: Method call is successful, system is muted.
|
+| 13 | | unMute() | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, and the system boots up successfully.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 14 | | getOutputHDMIIFMode() | Test method: Call the unMute method.
Conformity result: The method is called successfully and the system is unmuted.
Conformity requirement:
Precondition: HDMI port connects to AV amplifier input, HDMI output of AV amplifier connects to TV, system startup is successful, HDMI audio output port is on.
Test method: Call the getOutputHDMIIFMode method.
Conformity result: Method call is successful, obtaining system HDMI output interface data format.
|
+| 15 | | setOutputHDMIIMode(mode) | Conformity requirement 1:
Precondition: HDMI port connects to AV amplifier input, HDMI output of AV amplifier connects to TV, system startup is successful, audio output port is on.
Test method: Call the setOutputHDMIIMode method, with parameters within the range defined by the interface standard.
Conformity result: The method is called successfully, and set the system HDMI output sound type according to the parameter value, which is consistent with the actual display value of the AV amplifier.
Conformity requirement 2:
Precondition: HDMI port connects to AV amplifier input, HDMI output of AV amplifier connects to TV, system startup is successful, audio output port is on.
Test method: Call the setOutputHDMIIMode method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, system HDMI output sound type remains unchanged.
|
+| 16 | | getOutputInterfaceList() | Conformity requirement:
Precondition: All AV ports are connected to the TV normally, and the system starts successfully.
Test method: Call the getOutputInterfaceList method.
Conformity result: The method is called successfully, get the name of the available video output port of the system.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 17 | | getOutputInterfaceStatus(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method is called successfully, and get the status of the system video output port specified by the parameter.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the getOutputInterfaceStatus method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: The return value of the method call is false.
|
+| 18 | VideoSetting | disableOutputInterface(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with the parameters returned by the getOutputInterfaceList method.
Conformity result: The method is called successfully, and the system video output port specified by the parameter is disabled successfully.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the disableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, system video output port status remains unchanged.
|
+| 19 | | enableOutputInterface(port) | Conformity requirement 1:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with the parameters returned by the getOutputInterfaceList method.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | Conformity result: The method call is successful, and the system video output port specified by the parameter is successfully enabled.
Conformity requirement 2:
Precondition: All AV ports are connected to the TV normally, the system boots up successfully, and the getOutputInterfaceList method is successfully called.
Test method: Call the enableOutputInterface method with parameters other than those returned by the getOutputInterfaceList method.
Conformity result: Method call fails, system video output port status remains unchanged.
|
+| 20 | | getOutputBrightness() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputBrightness method.
Conformity result: The method is called successfully, and the value of the system brightness is within the standard definition of the interface.
|
+| 21 | | getOutputContrast() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputContrast method.
Conformity result: The method is called successfully, and the value of the system contrast size is within the range defined by the interface standard.
|
+| 22 | | getOutputSaturation() | Compliance requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputSaturation method.
Conformity result: The method is called successfully, and the value of the system saturation is within the range defined by the interface standard.
|
+| 23 | | getOutputStandard(device) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | turned on.
Test method: For high_definition(HD) systems, call the getOutputStandard method with the VOUT_HD parameter defined by the interface standard.
Conformity result: The method is called successfully, and the value of the system model format is within the definition of the interface standard.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: For standard_definition(SD) systems, call the getOutputStandard method with the VOUT_SD parameter defined by the interface standard.
Conformity result: The method is called successfully, and the value of the system model format is within the definition of the interface standard.
|
+| 24 | | getOutputTransparency() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputTransparency method.
Conformity result: The method is called successfully, and the value of the system transparency size is within the standard definition of the interface.
|
+| 25 | VideoSetting | setOutputBrightness(value) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputBrightness method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system brightness value is set according to the parameter values, which actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputBrightness
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | method, with parameters other than the scope defined by the interface standard
Conformity result: The method is called successfully, and the system volume is set to the value closest to the set parameter within the valid range.
|
+| 26 | | setOutputContrast(value) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputContrast method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system contrast size value is set according to the parameter values, which actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputContrast method, with parameters other than the scope defined by the interface standard
Conformity result: The method call is successful, and the system contrast is set to the value closest to the set parameter within the valid range.
|
+| 27 | | setOutputSaturation(value) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputSaturation method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system contrast size value
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 28 | VideoSetting | | is set according to the parameter values, which actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputSaturation method, with parameters other than the scope defined by the interface standard.
Conformity result: The method call is successful, and the system contrast is set to the value closest to the set parameter within the valid range. |
+| | | setOutputStandard(device, standard) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: For HD systems, call the setOutputStandard method with the device parameter as VOUT_HD and the standard parameter as within the interface standard definition.
Conformity result: The method call is successful, the system video signal format value is set according to the parameter value, and it actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: For SD systems, call the setOutputStandard method with the device parameter as VOUT_SD and the standard parameter as within the interface standard definition.
Conformity result: The method call is successful, the system video signal format value is set according to the parameter value, and it actually works.
Conformity requirement 3:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: For HD systems, call the setOutputStandard method with the device parameter as VOUT_HD, and the standard parameter as other than the scope of the interface standard definition. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Method call fails, system video signal format value remains unchanged.
Conformity requirement 4:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: For SD system, call setOutputStandard method with device parameter as VOUT_SD, and standard parameter as other than the scope of interface standard definition.
Conformity result: Method call fails, system video signal format value remains unchanged.
|
+| 29 | | setOutputTransparency(value) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputTransparency method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, the system transparency value is set according to the parameter value, and it actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputTransparency method, with parameters other than the scope defined by the interface standard.
Conformity result: The method call is successful, and the system transparency is set to the value closest to the set parameter within the valid range.
|
+| 30 | | setOutputMatchMethod(mode) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputMatchMethod method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system video output aspect ratio adaptation mode value is set according to the parameter value, and it actually takes effect.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputMatchMethod method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, the aspect ratio adaptation mode of the set-top video output box remains unchanged.
|
+| 31 | | getOutputMatchMethod() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputMatchMethod method.
Conformity result: Successfully call the method, and get the aspect ratio fit mode value of the system video output, which is within the range defined by the interface standard.
|
+| 32 | | getOutputAspectRatio() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOutputAspectRatio method.
Conformity result: Successfully call the method, and get the aspect ratio of the system video output, which is within the range defined by the interface standard.
|
+| 33 | | setOutputAspectRatio(mode) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputAspectRatio method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system video output aspect ratio mode value is set according to the parameter values, and it actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOutputAspectRatio
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|--------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, and the aspect ratio mode of the set-top video output box remains unchanged. |
+| 34 | | GetColorSpaceMode() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetColorSpaceMode method.
Conformity result: The method is called successfully, and the value of the system video output color space mode is within the range defined by the interface standard. |
+| 35 | | GetDeepColorMode() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetDeepColorMode method.
Conformity result: The method is successfully called, and get the system video output color depth mode value which is within the interface standard definition. |
+| 36 | | SetColorSpaceAndDeepColor(colorSpace, deepColor) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetColorSpaceAndDeepColor method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the system video output color space and color depth mode values are set according to the parameter values, which actually take effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetColorSpaceAndDeepColor method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, video |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | output color space, color depth mode value remains unchanged. |
+| 37 | | GetHDRType() | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetHDRType method.
Conformity result: The method call is successful, and get the current correct HDR mode. |
+| 38 | | SetHDRType(type) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetHDRType method, with parameters within the range defined by the interface standard.
Conformity result: The method call is successful, the system video output HDR mode value is set according to the parameter values, and it actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetHDRType method, with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, the HDR mode value of the set-top video output remains unchanged. |
+| 39 | | GetStereoOutMode() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetStereoOutMode method.
Conformity result: Successfully call the method, and get the system video output stereo mode value which is within the interface standard definition. |
+| 40 | | SetStereoOutMode(mode, fps) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | VideoSetting | | Test method: Call the SetStereoOutMode method, with parameters within the range defined by the interface standard.
Conformity result: The method call is successful, and the system video output stereo R mode value is set according to the parameter values, and it actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetStereoOutMode method with parameters other than the scope defined by the interface standard
Conformity result: Method call fails, video output stereo mode value remains unchanged.
|
+| 41 | | GetRightEyeFirst() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetRightEyeFirst method.
Conformity result: The method call is successful, and get the right eye in the stereoscopic mode of the system video output. The value is within the interface standard definition range
|
+| 42 | | SetRightEyeFirst(Outpriority) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetRightEyeFirst method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and set the system video output stereo mode value to right eye in front according to the parameter values, which actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetRightEyeFirst method with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, and the
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | stereoscopic mode of video output is with the right eye in front, and its value remains unchanged. |
+| 43 | | GetStereoDepth() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the GetStereoDepth method.
Conformity result: The method call is successful, the stereo mode depth value of the system video output is within the range defined by the interface standard. |
+| 44 | | SetStereoDepth(depth) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetStereoDepth method, with parameters within the scope defined by the interface standard.
Conformity result: The method call is successful, and the depth value of the system video output stereo mode is set according to the parameter values, which actually takes effect.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SetStereoDepth method, with parameters other than the scope defined by the interface standard.
Conformity result: The method is called successfully, and the stereo mode depth value of the system video output is set to the value closest to the set parameter within the valid range. |
+| 45 | | getPictureMode() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getPictureMode method.
Conformity result: The method is called successfully, and the output image mode value of the system video is within the range defined by the interface standard. |
+| 46 | | setPictureMode(mode) | Conformity requirement 1:
Precondition: All AV ports are properly |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setPictureMode method, with parameters within the scope defined by the interface standard.
Conformity result: The method is called successfully, the system video output image mode value is set according to the parameter value, and it actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setPictureMode method with parameters other than the scope defined by the interface standard.
Conformity result: Method call fails, video output image value remains unchanged.
|
+| 47 | | getDisplayHue() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getDisplayHue method.
Conformity result: Successfully call the method, and get the output color tone value of the system video, which is within the definition of the interface standard.
|
+| 48 | | setDisplayHue(hue) | Conformity requirement 1:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setDisplayHue method, with parameters within the scope defined by the interface standard.
Conformity result: The method is called successfully, the color tone of the system video output is set according to the parameter value, and it actually works.
Conformity requirement 2:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setDisplayHue method, with parameters outside the scope defined by the interface standard.
Conformity result: The method is called
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successfully, and the output color tone value of the system video is set to the value closest to the set parameter within the valid range. |
+| 49 | | SaveDisplayFmt() | Conformity requirement:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the SaveDisplayFmt method.
Conformity result: The method is called successfully, the system saves the video output parameter configurations, the video output parameter configurations can be maintained without loss after the system is powered down and restarted.
|
+| 50 | | setOptimalFormatEnable() | Conformity requirements:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the setOptimalFormatEnable method.
Conformity result: The method call is successful and returns True.
|
+| 51 | | getOptimalFormatEnable() | Conformity requirements:
Precondition: All AV ports are properly connected to the TV, the system boots up successfully, and the video output ports are turned on.
Test method: Call the getOptimalFormatEnable method.
Conformity result: The method call is successful, and the current enable state of the correct output format of the automation video is obtained.
|
+
+### B.6 Conformance test of media processing unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | | MSG_MEDIA_URL_VALID | Conformity requirement:
Precondition: Call the setMediaSource() function with a valid url.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives the message MSG_MEDIA_URL_VALID.
|
+| 2 | | MSG_MEDIA_URL_INV | Conformity requirement: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | ALID | Precondition: Call setMediaSource() function with invalid URL.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_URL_INVALID. |
+| 3 | | MSG_MEDIA_PLAY_SUCCESS | Conformity requirement:
Precondition: The play() function is called, and the playback is successful.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_PLAY_SUCCESS. |
+| 4 | | MSG_MEDIA_PLAY_FAILED | Conformity requirement:
Precondition: Call play() function, playback fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_PLAY_FAILED. |
+| 5 | | MSG_MEDIA_SETPACE_SUCCESS | Conformity requirement:
Precondition: The setPace() function is called and the setup is successful.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_SETPACE_SUCCESS. |
+| 6 | | MSG_MEDIA_SETPACE_FAILED | Conformity requirement:
Precondition: The setPace() function is called and the setup fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_SETPACE_FAILED. |
+| 7 | | MSG_MEDIA_SEEK_SUCCESS | Conformity requirement:
Precondition: Call the seek() function successfully.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_SEEK_SUCCESS. |
+| 8 | | MSG_MEDIA_SEEK_FAILED | Conformity requirement:
Precondition: The seek() function is called, and the call fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_SEEK_FAILED. |
+| 9 | | MSG_MEDIA_PAUSE_SUCCESS | Conformity requirement:
Precondition: Call the pause() function, and pause |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | successfully.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_PAUSE_SUCCESS. |
+| 10 | | MSG_MEDIA_PAUSE_FAILED | Conformity requirement:
Precondition: Call pause() function, and pause fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_PAUSE_FAILED |
+| 11 | | MSG_MEDIA_RESUME_SUCCESS | Conformity requirement:
Precondition: The resume() function is called and playback is resumed successfully.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_RESUME_SUCCESS. |
+| 12 | | MSG_MEDIA_RESUME_FAILED | Conformity requirement:
Precondition: The resume() function is called and resuming playback fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_RESUME_FAILED. |
+| 13 | | MSG_MEDIA_STOP_SUCCESS | Conformity requirement:
Precondition: Call stop() function, and stop successfully
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_STOP_SUCCESS. |
+| 14 | | MSG_MEDIA_STOP_FAILED | Conformity requirement:
Precondition: The stop() function is called and stopping fails.
Test method: Get messages through document.onsystemevent.
Conformity result: The web page receives a message of MSG_MEDIA_STOP_FAILED. |
+| 15 | | MediaPlayer() | Conformity requirement:
Precondition: window MediaPlayer exists.
Test method: Call MediaPlayer().
Conformity result: Generate media player object. |
+| 16 | | getPlayerInstanceID() | Conformity requirement:
Precondition: There is already a media player object.
Test method: Call getPlayerInstanceID().
Conformity result: Get the locally available player |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | instance ID of the receiving terminal, which is automatically assigned by the system internally. |
+| 17 | MediaPlayer | bindPlayerInstance(playerInstanceID) | Conformity requirement 1:
Precondition: Call getPlayerInstanceID() to obtain the ID.
Test method: Call bindPlayerInstance().
Conformity result: The MediaPlayer object is bound to the player instance and returns 0.
Conformity requirement 2:
Precondition: No call to getPlayerInstanceID() to get the id.
Test method: Call bindPlayerInstance().
Conformity result: MediaPlayer object cannot be bound to a player instance and returns 1.
|
+| 18 | | unbindPlayerInstance(playerInstanceID) | Conformity requirement:
Precondition: Call bindPlayerInstance().
Test method: Call unbindPlayerInstance().
Conformity result: MediaPlayer object is unbound from the current player instance and returns 0.
|
+| 19 | | setMediaSource(mediaURL) | Conformity requirement 1:
Precondition: URL is valid.
Test method: Call setMediaSource().
Conformity result: Send MSG_MEDIA_URL_VALID message to the page.
Conformity requirement 2:
Precondition: URL is illegal.
Test method: Call setMediaSource().
Conformity result: Send MSG_MEDIA_URL_INVALID message to the page.
|
+| 20 | | location | Conformity requirement 1:
Precondition: URL has been set.
Test method: Read location.
Conformity result: Media file location.
Conformity requirement 2:
Precondition: URL has not been set.
Test method: Read location.
Conformity result: The value is null.
|
+| 21 | | playerInstanceID | Conformity requirement 1:
Precondition: Call bindPlayerInstance().
Test method: Read playerInstanceID.
Conformity result: The player instance ID is bound to the current MediaPlayer object.
Conformity requirement 2:
Precondition: Before calling the bindPlayerInstance() method, or after calling the unbindPlayerInstance() method.
Test method: Read playerInstanceID.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | Conformity result: The value is 1. |
+| 22 | | play() | Conformity requirement 1:
Precondition: After the page receives the MSG_MEDIA_URL_VALID message.
Test method: Call play().
Conformity result: Send MSG_MEDIA_PLAY_SUCCESS message to the page.
Conformity requirement 2:
Precondition: The page does not receive an MSG_MEDIA_URL_VALID message.
Test method: Call play().
Conformity result: Send MSG_MEDIA_PLAY_FAILED message to the page.
|
+| 23 | | pause() | Conformity requirement 1:
Precondition: Video is playing.
Test method: Call pause().
Conformity result: Send MSG_MEDIA_PAUSE_SUCCESS message to the page.
Conformity requirement 2:
Precondition: The video has not been played.
Test method: Call pause().
Conformity result: Send MSG_MEDIA_PAUSE_FAILED message to the page.
|
+| 24 | | resume() | Conformity requirement 1:
Precondition: Video pause playback.
Test method: Call resume().
Conformity result: Send MSG_MEDIA_RESUME_SUCCESS message to the page.
Conformity requirement 2:
Precondition: The video has not been paused.
Test method: Call resume().
Conformity result: Send MSG_MEDIA_RESUME_FAILED message to the page.
|
+| 25 | | stop() | Conformity requirement 1:
Precondition: Video is playing.
Test method: Call stop().
Conformity result: Send MSG_MEDIA_STOP_SUCCESS message to the page.
Conformity requirement 2:
Precondition: The video has not been played.
Test method: Call stop().
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | Conformity result: Send MSG_MEDIA_STOP_FAILED message to the page. |
+| 26 | | enableTrickMode(flag) | Conformity requirement 1:
Precondition: Media source supports trick mode.
Test method: Call enableTrickMode() and then call setPace().
Conformity result: There are trick effects.
Conformity requirement 2:
Precondition: Media source does not support trick mode.
Test method: Call enableTrickMode() and then call setPace().
Conformity result: No trick effects. |
+| 27 | | getTrickModeFlag() | Conformity requirement:
Precondition: Exist media player object.
Test method: Call getTrickModeFlag().
Conformity result: Get the set value for the trick, which is consistent with the setting. |
+| 28 | | setVideoDisplayMode(mode) | Conformity requirement 1:
Precondition: Exist media player object
Test method: Call setVideoDisplayMode(), then call refresh().
Conformity result: The video display mode is successfully set and takes effect after calling refresh().
Conformity requirement 2:
Precondition: Exist media player object.
Test method: Call setVideoDisplayMode() with invalid parameters.
Conformity result: Unable to change video display mode. |
+| 29 | | getVideoDisplayMode() | Conformity requirement:
Precondition: Exist media player object.
Test method: Call getVideoDisplayMode().
Conformity result: The obtained video display mode is consistent with the actual playback. |
+| 30 | | setVideoDisplayArea(rect) | Conformity requirement 1:
Precondition: Exist media player object
Test method: Call setVideoDisplayArea(), then call refresh().
Conformity result: Successfully set the video display area and take effect after calling refresh().
Conformity requirement 2:
Precondition: Exist media player object.
Test method: Call setVideoDisplayArea() with invalid parameters.
Conformity result: Unable to change the video |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | display area. |
+| 31 | | getVideoDisplayArea() | Conformity requirement:
Precondition: Exist media player object.
Test method: Call getVideoDisplayArea().
Conformity result: Get video display area. |
+| 32 | | setVolume(volume) | Conformity requirement 1:
Precondition: Exist media player object.
Test method: Call setVolume() with valid parameters.
Conformity result: Successfully set volume.
Conformity requirement 2:
Precondition: Exist media player object.
Test method: Call setVolume() with invalid parameters.
Conformity result: Fail to change volume. |
+| 33 | | getVolume() | Conformity requirement:
Precondition: Exist media player object.
Test method: Call getVolume().
Conformity result: Get volume. |
+| 34 | | getCurrentLanguage() | Conformity requirement:
Precondition: Media source is available.
Test method: Call getCurrentLanguage().
Conformity result: Get the current language, which corresponds to the one actually being played. |
+| 35 | | listAvailableLanguages() | Conformity requirement:
Precondition: Media source is available.
Test method: Call listAvailableLanguages().
Conformity result: Get all currently available audio languages. |
+| 36 | | getMediaDuration() | Conformity requirement:
Precondition: Media source is available.
Test method: Call getMediaDuration().
Conformity result: Get the total duration of the current playing media. |
+| 37 | | getCurrentPlayTime() | Conformity requirement:
Precondition: Media source is available.
Test method: Call getCurrentPlayTime().
Conformity result: Get the current time point of media playback. |
+| 38 | | getPlaybackMode() | Conformity requirement:
Precondition: Media source is available.
Test method: Call getPlaybackMode().
Conformity result: Get the current playback mode of the player. |
+| 39 | | getServiceLocation(flag) | Conformity requirement:
Precondition: Media source is available. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MediaPlayer | | Test method: Call getServiceLocation() .
Conformity result: Get the locator for the specified programme based on the programme logo object. |
+| 40 | | setPauseMode(mode) | Conformity requirement:
Precondition: The video is currently playing.
Test method: Call setPauseMode() and then Call the pause() method.
Conformity result: The output mode of the video in pause state is set successfully. When pause() is called, the video state is the corresponding setting mode. |
+| 41 | | getPauseMode() | Conformity requirement:
Precondition: Exist media player object; Call setPauseMode() to set the pause mode.
Test method: Call getPauseMode() .
Conformity result: Get the output mode of the video in pause state, which is consistent with the previous call to the setPauseMode method. |
+| 42 | | refresh() | Conformity requirement:
Precondition: Call setVideoDisplayMode() , setVideoDisplayArea() .
Test method: Call refresh() .
Conformity results: Video mode and region are effective. |
+| 43 | | seek(type,timestamp) | Conformity requirement 1:
Precondition: Media source is available.
Test method: Call seek() .
Conformity result: If the call is successful, send an MSG_MEDIA_SEEK_SUCCESS message.
Conformity requirement 2:
Precondition: Real time TV is broadcasting.
Test method: Call seek() .
Conformity result: If the call fails, an MSG_MEDIA_SEEK_FAILED message will be sent. |
+| 44 | | setPace(pace) | Conformity requirement 1:
Precondition: Play media sources that support fast playback.
Test method: Call setPace() .
Conformity result: If the setting is successful, send an MSG_MEDIA_SET_PACE_SUCCESS message to the page.
Conformity requirement 2:
Precondition: Real time TV is broadcasting.
Test method: Call setPace() .
Conformity result: If the setting fails, send an MSG_MEDIA_SET_PACE_FAILED message to the page. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 45 | MediaPlayer | selectDefaultLanguage() | Conformity requirement:
Precondition: Exist media player object.
Test method: Call selectDefaultLanguage().
Conformity result: Set the audio language as the default language. |
+| 46 | | selectLanguage(language) | Conformity requirement:
Precondition: Exist media player object
Test method: Call selectLanguage().
Conformity result: Set the language used for the current audio. |
+
+### B.7 Conformance test of application management unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | widget | author | Conformity requirements:
Precondition: The application has been installed.
Test method: Read the author.
Conformity result: Get the name of the application developer. |
+| 2 | | description | Conformity requirements:
Precondition: The application has been installed.
Test method: Read the description.
Conformity result: Get detailed information about the application. |
+| 3 | | name | Conformity requirements:
Precondition: The application has been installed.
Test method: Read name.
Conformity result: Get the application name. |
+| 4 | | shortName | Conformity requirements:
Precondition: The application has been installed.
Test method: Read shortName.
Conformity result: Get the application's short name. |
+| 5 | | version | Conformity requirements:
Precondition: The application has been installed.
Test method: Read version.
Conformity result: Get the application version number. |
+| 6 | | id | Conformity requirements:
Precondition: The application has been installed.
Test method: Read the ID.
Conformity result: Get the unique identification number of the application. |
+| 7 | | authorEmail | Conformity requirements:
Precondition: The application has been installed.
Test method: Read authorEmail. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | widget | | Conformity result: Get the application developer's email. |
+| 8 | | authorHref | Conformity requirements:
Precondition: The application has been installed.
Test method: Read authorHref.
Conformity result: Get the location of application developer information. |
+| 9 | | preferences | Conformity requirements:
Precondition: The application has been installed.
Test method: Read preferences.
Conformity result: Get application references. |
+| 10 | | height | Conformity requirements:
Precondition: The application has been installed.
Test method: Read height.
Conformity result: Get application height. |
+| 11 | | width | Conformity requirements:
Precondition: The application has been installed.
Test method: Read width.
Conformity result: Get application width. |
+| 12 | | launchWidget(DOMString widgetname, DOMString src, DOMString type) | Conformity requirements:
Precondition: The application has been installed.
Test method: Call launchWidget().
Conformity result: Launch to the specified application.
Conformity requirement 2:
Precondition: The application is not installed.
Test method: Call launchWidget().
Conformity result: The specified application cannot be launched. |
+| 13 | | installWidget(DOMString widgetname, DOMString id, DOMString url) | Conformity requirement 1:
Precondition: The app store server is ready for the application.
Test method: Call installWidget().
Conformity result: Trigger the page of ondownloadsize for download progress callback function, and the page of ondownloadsuccess for download success callback function.
Conformity requirement 2:
Precondition: The app store server is not ready for the application.
Test method: Call installWidget().
Conformity result: Trigger the page of ondownloadfail for download failure callback function. |
+| 14 | | updateWidget(DOMString widgetname, DOMString id, | Conformity requirement 1:
Precondition: The app store server is ready for the application, and the application needs to be |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | widget | DOMString url) | upgraded.
Test method: Call updateWidget().
Conformity result: The application upgrade is successful.
Conformity requirement 2:
Precondition: The app store server is not ready for the application.
Test method: Call updateWidget().
Conformity result: The application cannot be upgraded. |
+| 15 | | checkWidget(DOMString widgetname, DOMString id, DOMString url) | Conformity requirement 1:
Precondition: The application has been successfully installed.
Test method: Call checkWidget().
Conformity result: The page retrieves the installed application version number.
Conformity requirement 2:
Precondition: The application is not installed.
Test method: Call checkWidget().
Conformity result: The page cannot get the installed application version number. |
+| 16 | | uninstallWidget(DOMString widgetname, DOMString id) | Conformity requirement 1:
Precondition: The application has been successfully installed.
Test method: Call uninstallWidget().
Conformity result: Trigger the page of onuninstallsuccess for the unload success callback function.
Conformity requirement 2:
Precondition: The application is not installed.
Test method: Call uninstallWidget().
Conformity result: Trigger the page of onuninstallfail for Uninstall Failure Callback Functions. |
+| 17 | | deletePackage(DOMString widgetname, DOMString id) | Conformity requirement 1:
Precondition: The application has been successfully installed.
Test method: Call deletePackage().
Conformity result: Delete user cached data.
Conformity requirement 2:
Precondition: The application is not installed.
Test method: Call deletePackage().
Conformity result: User cached data is not deleted. |
+
+### B.8 Conformance test of message management unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | event | event.source | Conformity requirements:
Precondition: The event object is a built-in object.
Test method: Press any remote control button or front panel button.
Conformity result: Able to capture the message of a key press and event.source is 1002 if it is a remote control key press, 1003 if it is a front panel key press, and 1001 if it is a system message. |
+| 2 | | event.which | Conformity requirements:
Precondition: The event object is a built-in object.
Test method: Press any remote control button or front panel button, then call the event.which property.
Conformity result: Return the code value of the message. |
+| 3 | | event.modifiers | Conformity requirements:
Precondition: The event object is a built-in object.
Test method: Press the remote control button or the front panel button, and then call the read-only event.modifiers attribute.
Conformity result: Return the extended properties of the message. If the extension attribute of the message is null, modifiers return 0; If the extended attribute of the message is of type number, the modifiers return this value; If the extended property of the message is a string, the modifiers return an ID value, which is generated internally by the system. As a pointer to the contents of a specific string, the application can call the Utility.getEventInfo(ID) method to retrieve the contents of the string. |
+| 4 | | event.type | Conformity requirements:
Precondition: The event object is a built-in object.
Test method: Press the remote control button or the front panel button, and then call the event.type attribute.
Conformity result: Return the type of the event, i.e., the name of the event represented by the current event object, which is the same name as the registered event handle, such as "onclick"; or the event handle attribute with the prefix "on" is removed, such as "click", which is same as W3C definition. |
+
+### B.9 Conformance test of system management unit interface
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|---------------------------|---------------------------|
+| 1 | | createUserPropertyTable() | Conformity requirement 1: |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: No user data table has been created.
Test method: Call createUserPropertyTable().
Conformity result: The return value is greater than 0, indicating successful creation of the user data table.
Conformity requirement 2:
Precondition: Call createUserPropertyTable() to create a user data table.
Test method: Call createUserPropertyTable().
Conformity result: The return value is 1, indicating that the user data table to be created already exists.
Conformity requirement 3:
Precondition: No user data table has been created.
Test method: Call createUserPropertyTable() and pass in a string with null or empty parameters.
Conformity result: The return value is 2, indicating that the user data table name to be created is invalid.
|
+| 2 | DataConfig | getUserPropertyTable() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() to create a user data table.
Test method: Call getUserPropertyTable().
Conformity result: Return a value greater than 0 to indicate a globally unique data table identifier.
Conformity requirement 2:
Precondition: The deleteUserPropertyTable() method delete the data table.
Test method: Call getUserPropertyTable().
Conformity result: The return value is 1, indicating a failure to get the user data table.
Conformity requirement 3:
Precondition: No user data table has been created.
Test method: Call getUserPropertyTable() and pass in a string with null or empty parameters.
Conformity result: The return value is 2, indicating that the user data table name to be fetched is not valid.
|
+| 3 | | deleteUserPropertyTable() | Conformity requirement 1:
Precondition: Call getUserPropertyTable().
Test method: Call deleteUserPropertyTable().
Conformity result: The return value is greater than 0, indicating the user data table is deleted successfully.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call deleteUserPropertyTable() and pass in a non-existent data table identifier as the parameter.
Conformity result: The return value is 1, indicating
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|------------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DataConfig | | that the user data table to be deleted does not exist.
Conformity requirement 3:
Precondition: No user data table has been created.
Test method: Call deleteUserPropertyTable() and pass in a string with null or empty parameters.
Conformity result: The return value is 2, indicating that the name of the data table to be deleted is invalid. |
+| 4 | | getSystemPropertyTable() | Conformity requirement 1:
Precondition: /data/app/data_access_default.json file does not exist.
Test method: Call getSystemPropertyTable().
Conformity result: The return value is 1, indicating that the acquired system data table does not exist.
Conformity requirement 2:
Precondition: This file needs to exist as follows:/data/app/data_access_default.json.
Test method: Call getSystemPropertyTable().
Conformity result: The return value is greater than 0, indicating the success of getting the system data table. |
+| 5 | | createItem() | Conformity requirement 1:
Precondition: Call createUserPropertyTable().
Test method: Call createItem().
Conformity result: The return value is greater than 0, indicating successful creation of the data item.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call createItem().
Conformity result: The return value is 1, indicating a failure to create data table.
Conformity requirement 3:
Precondition: Call createUserPropertyTable() and createItem() in sequence.
Test method: Call createItem().
Conformity result: The return value is 2, indicating that the data item name already exists in the data table.
Conformity requirement 4:
Precondition: No user data table has been created.
Test method: Call createItem() to pass in a string with a parameter data item name of NULL or empty.
Conformity result: The return value is 3, indicating invalid data item name. |
+| 6 | | deleteItem() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() and createItem() in sequence.
Test method: Call deleteItem(). |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|------------|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DataConfig | | Conformity result: The return value is greater than 0, indicating successful deletion.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call the deleteItem() parameter to pass in a non-existent data table identifier.
Conformity result: The return value is 0, indicating that the deletion of the data item fails for unknown reasons.
Conformity requirement 3:
Precondition: No user data table has been created.
Test method: Call the deleteItem() parameter to pass in a non-existent data item name.
Conformity result: The return value is 1, indicating that data item does not exist.
|
+| 7 | | getProperty() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() and createItem() in sequence.
Test method: Call getProperty().
Conformity result: Return a string, the value of the data item is success.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call the getProperty() parameter to pass in a non-existent data item name.
Conformity result: Return NULL, indicating that the obtained data item does not exist.
|
+| 8 | | setProperty() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() and createItem() in sequence.
Test method: Call setProperty().
Conformity result: The return value is greater than 0, indicating successful modification.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call the setProperty() parameter to pass in a non-existent data item name.
Conformity result: The return value is 0, indicating the modification of the content fails due to unknown reasons.
Conformity requirement 3:
Precondition: No user data table has been created.
Test method: Call the setProperty() parameter to pass in a non-existent data item name.
Conformity result: The return value is 1, indicating that data item does not exist.
|
+| 9 | | saveToNvm() | Conformity requirement 1:
Precondition: Call createUserPropertyTable(), folder:/data/db exists.
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|------------|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DataConfig | | Test method: Call saveToNvm().
Conformity result: Return true to indicate the start of execution. If executed successfully, the message MSG_SAVE_DATA_SUCCESS can be captured, indicating successful data writing.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: The call to saveToNvm() passes in a parameter that is a non-existent data table identifier.
Conformity result: Return false to indicate that it has not been executed, and unsuccessful execution can capture an MSG_SAVE_DATA_FAILED message indicating that the data write has failed.
|
+| 10 | | removeFromNvm() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() and saveToNvm() in sequence.
Test method: Call removeFromNvm().
Conformity result: Return true to indicate the start of execution. If executed successfully, the message MSG_REMOVED_DATA_SUCCESS can be captured, indicating that the data table has been successfully deleted.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call removeFromNvm() and pass in a non-existent data table identifier as the parameter.
Conformity result: Return false to indicate that the data table is not executed. If the execution is unsuccessful, the MSG_REMOVE_DATA_FAILED message can be captured, indicating that the data table deletion has failed.
|
+| 11 | DataConfig | revertFromNvm() | Conformity requirement 1:
Precondition: Call createUserPropertyTable() and saveToNvm() in sequence.
Test method: Call revertFromNvm().
Conformity result: Return true to indicate the start of execution, and successful execution can capture the message MSG_REVERT_DATA_SUCCESS, indicating successful data coverage.
Conformity requirement 2:
Precondition: No user data table has been created.
Test method: Call revertFromNvm().
Conformity result: Return false to indicate that the execution is not successful. If the execution is unsuccessful, the MSG_REVERT_DATA_FAILED message can be captured, indicating that the data coverage has failed.
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|----------------------|------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 12 | | restoreDefault() | Conformity requirement 1:
Precondition: No user data table has been created.
Test method: Call restoreDefault().
Conformity result: Return true to indicate the start of execution. If the execution is successful, the MSG_RESTORE_TO_DEFAULT_SUCCESS message can be captured, indicating that the data recovery is successful.
Conformity requirement 2:
Precondition: The system has no default data.
Test method: Call restoreDefault().
Conformity result: Return false to indicate that the execution is not successful. If the execution is unsuccessful, the MSG_RESTORE_TO_DEFAULT_FAILED message can be captured, indicating that the data recovery has failed.
|
+| 13 | StorageDeviceManager | MSG_DEVICE_UNINSTALL_SUCCESS | Conformity requirement:
Precondition: Call uninstallDeviceByID function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DEVICE_UNINSTALL_SUCCESS.
|
+| 14 | | MSG_DEVICE_UNINSTALL_FAILED | Conformity requirement:
Precondition: Call uninstallDeviceByID function with invalid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DEVICE_UNINSTALL_FAILED.
|
+| 15 | | getAllStorageDevices() | Conformity requirements:
Precondition: None.
Test method: Call getAllStorageDevices().
Conformity result: Return an array of Storage Device objects.
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|---------------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 16 | | uninstallDeviceByID(id) | Conformity requirement 1:
Precondition: Call getAllStorageDevices().
Test method: Call uninstallDeviceByID().
Conformity result: Return true to indicate the start of execution. If the execution is successful, the MSG_UNINSTALL_DEVICE_SUCCESS message can be captured, indicating that the uninstallation is successful.
Conformity requirement 2:
Precondition: None.
Test method: Call uninstallDeviceByID().
Conformity result: Return false to indicate that it is not executed. If the execution is unsuccessful, the MSG_UNINSTALL_DEVICE_FAILED message can be captured, indicating that the uninstallation has failed.
|
+| 17 | StorageDevice | id | Conformity requirements:
Precondition: Call getAllStorageDevices().
Test method: Determine storageDevice.id.
Conformity result: The value is defined, and the storage device unique identifier is successfully obtained.
|
+| 18 | | name | Conformity requirements:
Precondition: Call getAllStorageDevices().
Test method: Determine storageDevice.name.
Conformity result: The value is not empty, and the storage device name is successfully obtained.
|
+| 19 | | status | Conformity requirements:
Precondition: Call getAllStorageDevices().
Test method: Determine storageDevice.status.
Conformity result: The value is defined, and the status information of the storage device is successfully obtained.
|
+| 20 | | serialNumber | Conformity requirements:
Precondition: Call getAllStorageDevices().
Test method: Determine the storageDevice.serialNumber.
Conformity result: The value is defined and the storage device serial number is successfully obtained.
|
+| 21 | | getAllPartitions() | Conformity requirements:
Precondition: None.
Test method: Call getAllPartitions().
Conformity result: Return an array of Storage Partition objects.
|
+| 22 | | getPartitionByID(id) | Conformity requirements:
Precondition: Call getAllStorageDevices().
Test method: Call getPartitionByID().
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|----------------------|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Return the StoragePartition object. |
+| 23 | StoragePart
ition | id | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.id.
Conformity result: If there is a value assigned, then the partition ID is obtained successfully. |
+| 24 | | name | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.name.
Conformity result: If there is a value assigned, the storage device partition name is obtained successfully. |
+| 25 | | totalSize | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.totalSize.
Conformity result: If there is a value assigned, the storage device partition space size is successfully obtained. |
+| 26 | | freeSize | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.freeSize.
Conformity result: If there is a value assigned, the free space size of the storage device partition is successfully obtained. |
+| 27 | | path | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.path.
Conformity result: If there is a value assigned, the access path to the storage device partition is successfully obtained. |
+| 28 | | fsType | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine the StoragePartition.fsType.
Conformity result: If there is a value assigned, the partition file system type is successfully obtained. |
+| 29 | | fsStatus | Conformity requirements:
Precondition: Call getAllPartitions().
Test method: Determine StoragePartition.fsStatus.
Conformity result: If there is a value assigned, the storage device partition status is successfully obtained. |
+| 30 | | MSG_COPYFILE_SUCC
ESS | Conformity requirement:
Precondition: Call the copyFile function with valid parameters. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 31 | FileManager | | Test method: Get event message events.
Conformity result: The web page receives a message of MSG_COPYFILE_SUCCESS. |
+| 32 | | MSG_FILE_NOT_EXIST | Conformity requirement:
Precondition: Call the copyFile function, source file does not exist.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_FILE_NOT_EXIST. |
+| 33 | | MSG_MOVEFILE_SUCCESS | Conformity requirement:
Precondition: Call the moveFile function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_MOVEFILE_SUCCESS. |
+| 34 | | MSG_DELETEFILE_SUCCESS | Conformity requirement:
Precondition: Call deleteFile function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DELETEFILE_SUCCESS. |
+| 35 | | MSG_COPYDIRECTORY_SUCCESS | Conformity requirement:
Precondition: Call the copyDirectory function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_COPYDIRECTORY_SUCCESS. |
+| 36 | | MSG_MOVEDIRECTORY_SUCCESS | Conformity requirement:
Precondition: Call the moveDirectory function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_MOVEDIRECTORY_SUCCESS. |
+| 37 | | MSG_DELETEDIRECTORY_SUCCESS | Conformity requirement:
Precondition: Call the deleteDirectory function with valid URL.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DELETEDIRECTORY_SUCCESS. |
+| | | MSG_COPYFILE_FAILED | Conformity requirement:
Precondition: Calling the copyFile function, the target path does not exist.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_COPYFILE_FAILED. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 38 | | MSG_SPACE_SHORTAGE | Conformity requirement:
Precondition: Call the copyFile function, the target file system is full of storage.
Test method: Get event message events.
Conformity result: The web page receives a message as MSG_SPACE_SHORTAGE. |
+| 39 | | MSG_MOVEFILE_FAILED | Conformity requirement:
Precondition: Call the moveFile function, source file is read-only.
Test method: Get event message events.
Conformity result: The web page receives a message as MSG_MOVEFILE_FAILED. |
+| 40 | | MSG_CANNOT_DELETE_FILE | Conformity requirement:
Precondition: Call deleteFile function, source file is read-only.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_CANNOT_DELETE_FILE. |
+| 41 | | MSG_DELETEFILE_FAILED | Conformity requirement:
Precondition: Call deleteFile function, source file is read-only.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DELETEFILE_FAILED. |
+| 42 | | MSG_COPYDIRECTORY_FAILED | Conformity requirement:
Precondition: Call the copyDirectory function, the target directory does not exist.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_COPYDIRECTORY_FAILED. |
+| 43 | | MSG_DIRECTORY_NOT_EXIST | Conformity requirement:
Precondition: Call the copyDirectory function, source directory does not exist.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_DIRECTORY_NOT_EXIST. |
+| 44 | | MSG_MOVEDIRECTORY_FAILED | Conformity requirement:
Precondition: Call the moveDirectory function, source directory does not exist.
Test method: Get event message events.
Conformity result: The web page receives a message of MSG_MOVEDIRECTORY_FAILED. |
+| 45 | | MSG_DELETEDIRECTORY_FAILED | Conformity requirement:
Precondition: Call deleteDirectory function, source directory does not exist.
Test method: Get event message events.
Conformity result: The web page receives a |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | message of
MSG_DELETEDIRECTORY_FAILED. |
+| 46 | | MSG_CANNOT_DELETE_DIRECTORY | Conformity requirement:
Precondition: Call deleteDirectory function, source directory is read-only.
Test method: Get event message events.
Conformity result: The web page receives a message of
MSG_CANNOT_DELETE_DIRECTORY. |
+| 47 | | copyFile(path1, path2) | Conformity requirement 1:
Precondition: None.
Test method: Call copyFile().
Conformity result: Return true to indicate the start of execution, and capture the message
MSG_COPYFILE_SUCCESS, indicating successful replication.
Conformity requirement 2:
Precondition: The source file does not exist.
Test method: Call copyFile().
Conformity result: Return true to indicate the start of execution, and capture message
MSG_FILE_NOT_EXIST, indicating that the source file does not exist.
Conformity requirement 3:
Precondition: The target file system storage is full.
Test method: Call copyFile().
Conformity result: Return true to indicate the start of execution, and capture the message
MSG_SPACESHORTAGE, indicating that the storage space of the target path is insufficient. |
+| 48 | | moveFile(path1, path2) | Conformity requirement 1:
Precondition: None.
Test method: Call moveFile().
Conformity result: Return true to indicate the start of execution, and capture the message
MSG_MOVEFILE_SUCCESS, indicating a successful move.
Conformity requirement 2:
Precondition: The source file does not exist.
Test method: Call moveFile().
Conformity result: Return false to indicate that it is not executed, and capture message
MSG_FILE_NOT_EXIST, indicating that the source file does not exist.
Conformity requirement 3:
Precondition: The target file system storage is full.
Test method: Call moveFile().
Conformity result: Return false to indicate that it is not executed, and capture message |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | MSG_SPACESHORTAGE, indicating that the storage space of the target path is insufficient. |
+| 49 | | deleteFile(path) | Conformity requirement 1:
Precondition: None.
Test method: Call deleteFile().
Conformity result: Return true to indicate the start of execution, and capture the message MSG_DELETEFILE_SUCCESS to indicate successful deletion.
Conformity requirement 2:
Precondition: The source file does not exist.
Test method: Call deleteFile().
Conformity result: Return false to indicate that it is not executed, and capture message MSG_DELETE_FAILED to indicate deletion failure.
|
+| 50 | | existLocalFile(path) | Conformity requirement 1:
Precondition: None.
Test method: Call existLocalFile().
Conformity result: Return true to indicate the existence of the file.
Conformity requirement 2:
Precondition: The source file does not exist.
Test method: Call existLocalFile().
Conformity result: Return false to indicate that the file does not exist.
|
+| 51 | | copyDirectory(path1, path2) | Conformity requirement 1:
Precondition: None.
Test method: Call copyDirectory().
Conformity result: Return true to indicate the start of execution, captures message MSG_COPYDIRECTORY_SUCCESS, indicating successful replication.
Conformity requirement 2:
Precondition: The source directory does not exist.
Test method: Call copyDirectory().
Conformity result: Return false to indicate that the file is not executed, and captures message MSG_DIRECTORY_NOT_EXIST, indicating that the source file does not exist.
Conformity requirement 3:
Precondition: The target file system storage is full.
Test method: Call copyDirectory().
Conformity result: Return false to indicate that it is not executed, capture message MSG_SPACESHORTAGE, indicating that the storage space of the target path is insufficient.
|
+| 52 | | | Conformity requirement 1:
Precondition: None.
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | moveDirectory(path1, path2) | Test method: Call moveDirectory().
Conformity result: Return true to indicate the start of execution, and capture message MSG_MOVEDIRECTORY_SUCCESS, indicating successful move.
Conformity requirement 2:
Precondition: The source directory does not exist
Test method: Call moveDirectory().
Conformity result: Return false to indicate that the file is not executed, and capture message MSG_DIRECTORY_NOT_EXIST to indicate that the source file does not exist.
Conformity requirement 3:
Precondition: The target file system storage is full.
Test method: Call moveDirectory().
Conformity result: Return false to indicate that it is not executed, and captures message MSG_SPACESHORTAGE, indicating that the storage space of the target path is insufficient.
Conformity requirement 4:
Precondition: Source directory is read-only.
Test method: Call moveDirectory().
Conformity result: Return false to indicate that it has not been executed, and capture message MSG_CANNOT_DELETE_DIRECTORY to indicate that the source file cannot be deleted.
|
+| 53 | | deleteDirectory(path) | Conformity requirement 1:
Precondition: None.
Test method: Call deleteDirectory().
Conformity result: Return true to indicate the start of execution, and capture the message MSG_DELETEDIRECTORY_SUCCESS to indicate successful deletion.
Conformity requirement 2:
Precondition: Source directory is read-only.
Test method: Call deleteDirectory().
Conformity result: Return false to indicate that the deletion is not executed, and capture message MSG_DELETEDIRECTORY_FAILED to indicate that the deletion has failed.
|
+| 54 | | existDirectory(path) | Conformity requirement 1:
Precondition: None.
Test method: Call existDirectory().
Conformity result: Return true to indicate that the directory exists.
Conformity requirement 2:
Precondition: The source directory does not exist.
Test method: Call existDirectory().
Conformity result: Return false to indicate that the
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | directory does not exist. |
+| 55 | | downloadRemoteFile(path ,endureTime) | Conformity requirement 1:
Precondition: None.
Test method: Call downloadremoteFile().
Conformity result: Capture message MSG_DOWNLOAD_REMOTE_FILE_SUCCESS to indicate successful download.
Conformity requirement 2:
Precondition: None.
Test method: Call downloadremoteFile() to pass in exception parameters.
Conformity result: Capture message MSG_DOWNLOAD_REMOTEFILE_NOT_EXISTS to indicate that there are no files to download on the front end.
Conformity requirement 3:
Precondition: None.
Test method: Call downloadremoteFile() to pass in exception parameters.
Conformity result: Capture message MSG_DOWNLOAD_REMOTE_FILEFAILED to indicate download failure.
Conformity requirement 4:
Precondition: None.
Test method: Call downloadremoteFile().
Conformity result: Capture message MSG_DOWNLOAD_FILE_TIMEOUT to indicate that the specified time for endureTime has passed and the file download has not yet been completed.
|
+| 56 | | getRemoteFile(maskId) | Conformity requirement:
Precondition: Call downloadRemoteFile() and receive message MSG_DOWNLOAD_REMOTE_FILE_SUCCESS.
Test method: Call getremoteFile().
Conformity result: Return a file object of type FileObj.
|
+| 57 | | killObject(obj) | Conformity requirement 1:
Precondition: Call downloadRemoteFile() to receive the message MSG_DOWNLOAD_REMOTE_FILE_SUCCESS and then call getRemoteFile().
Test method: Call killObject().
Conformity result: The return value of 1 indicates successful removal.
Conformity requirement 2:
Precondition: Call downloadRemoteFile() to receive the message MSG_DOWNLOAD_REMOTE_FILE_SUCCESS and then call getRemoteFile().
|
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call killObject () .
Conformity result: The return value of 0 indicates that removal has failed. |
+| 58 | Directory | name | Conformity requirements:
Precondition: Call Directory() and getDirList() in sequence.
Test method: Determine directory.name .
Conformity result: If there is a value assigned, the directory name is successfully obtained. |
+| 59 | | path | Conformity requirements:
Precondition: Call Directory() and getDirList() in sequence.
Test method: Determine directory.path .
Conformity result: If there is a value assigned, the directory is successfully obtained. |
+| 60 | | Directory(path) | Conformity requirements:
Precondition: None.
Test method: Call Directory() .
Conformity result: Return the Directory object. |
+| 61 | | getFileList() | Conformity requirements:
Precondition: Call Directory() .
Test method: Call getFileList() .
Conformity result: File object array. If the directory does not contain any files, the returned array length is 0. |
+| 62 | | getDirList() | Conformity requirements:
Precondition: Call Directory() sequentially.
Test method: Call getDirList() .
Conformity result: Return directory object array, if the directory does not contain any subdirectories, the returned array length is 0. |
+| 63 | | size | Conformity requirements:
Precondition: Call FileObj() to retrieve the object.
Test method: Determine fileobj.size .
Conformity result: If there is a value assigned, the file size is successfully obtained. |
+| 64 | FileObj | name | Conformity requirements:
Precondition: Call FileObj() to retrieve the object.
Test method: Determine fileobj.name .
Conformity result: If there is a value assigned, the file name is successfully obtained. |
+| 65 | | path | Conformity requirements:
Precondition: Call FileObj() to retrieve the object.
Test method: Determine fileobj.path .
Conformity result: If there is a value assigned, the absolute path where the file is located is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 66 | | FileObj(locator) | Conformity requirements:
Precondition: None.
Test method: Call FileObj().
Conformity result: Return the FileObj object. |
+| 67 | | open(mode) | Conformity requirement 1:
Precondition: Call FileObj().
Test method: Call open().
Conformity result: The return value of 1 indicates successful opening.
Conformity requirement 2:
Precondition: Call FileObj().
Test method: Call open() to pass in exception parameters.
Conformity result: The return value of 0 indicates an open failure. |
+| 68 | | close() | Conformity requirement 1:
Precondition: Call FileObj() and open() in sequence.
Test method: Call close().
Conformity result: The return value of 1 indicates successful closure.
Conformity requirement 2:
Precondition: Call FileObj().
Test method: Call close().
Conformity result: The return value of 0 indicates a failure to close. |
+| 69 | | readFile(len) | Conformity requirements:
Precondition: Call FileObj() and open() in sequence.
Test method: Call readFile().
Conformity result: Return string, which returns the readings as a string. |
+| 70 | | readAllFile() | Conformity requirements:
Precondition: Call FileObj() and open() in sequence.
Test method: Call readAllFile().
Conformity result: Return string, which returns the readings as a string. |
+| 71 | | type | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine the audioFile.type.
Conformity result: If there is a value assigned, the audio file type is successfully obtained. |
+| 72 | | fileName | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AudioFile | | Test method: Determine audioFile.fileName.
Conformity result: If there is a value assigned, the audio locator is successfully obtained. |
+| 73 | | location | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.location.
Conformity result: If there is a value assigned, the audio file name is successfully obtained. |
+| 74 | | fileSize | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine the audioFile.fileSize.
Conformity result: If there is a value assigned, the audio file is successfully obtained. |
+| 75 | | sampleRate | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine the audioFile.sampleRate.
Conformity result: If there is a value assigned, the sampling rate is successfully obtained. |
+| 76 | | numberOfChannels | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.numberOfChannels.
Conformity result: If there is a value assigned, the number of channels is successfully obtained. |
+| 77 | | Duration | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.duration.
Conformity result: If there is a value assigned, the playback time of the audio file is successfully obtained. |
+| 78 | | AudioFile(path) | Conformity requirements:
Precondition: None.
Test method: Call AudioFile().
Conformity result: Return the AudioFile object. |
+| 79 | | Date | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.date.
Conformity result: If there is a value assigned, the audio release date is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 80 | | title | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.title.
Conformity result: If there is a value assigned, the audio title is successfully obtained. |
+| 81 | | artist | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.artist.
Conformity result: If there is a value assigned, the artist/performer is successfully obtained. |
+| 82 | | album | Conformity requirements:
Precondition: Call AudioFile() to retrieve the object.
Test method: Determine audioFile.album.
Conformity result: If there is a value assigned, the album name is successfully obtained. |
+| 83 | VideoFile | VideoFile(path) | Conformity requirements:
Precondition: None.
Test method: Call VideoFile().
Conformity result: Return the VideoFile object. |
+| 84 | | typeContainer | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine the videoFile.typeContainer.
Conformity result: If there is a value assigned, the encapsulation format is successfully obtained. |
+| 85 | | typeVideo | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.typeVideo.
Conformity result: If there is a value assigned, the video type is successfully obtained. |
+| 86 | | typeAudio | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.typeAudio.
Conformity result: If there is a value assigned, the accompanying audio type is successfully obtained. |
+| 87 | | location | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.location.
Conformity result: If there is a value assigned, the video file locator is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 88 | VideoFile | fileName | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.fileName.
Conformity result: If there is a value assigned, the video file name is successfully obtained. |
+| 89 | | fileSize | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine the videoFile.fileSize.
Conformity result: If there is a value assigned, the video file size is successfully obtained. |
+| 90 | | bitRate | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine the videoFile.bitRate.
Conformity result: If there is a value assigned, the playback rate is successfully obtained. |
+| 91 | | duration | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.duration.
Conformity result: If there is a value assigned, the file playback time is successfully obtained. |
+| 92 | | width | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.width.
Conformity result: If there is a value assigned, the video width is successfully obtained. |
+| 93 | | height | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.height.
Conformity result: If there is a value assigned, the video heigth is successfully obtained. |
+| 94 | | aspectRatio | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine the videoFile.aspectRatio.
Conformity result: If there is a value assigned, the video aspect ratio is successfully obtained. |
+| 95 | | Fps | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.fps.
Conformity result: If there is a value assigned, the video frame rate is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 96 | | sampleRate | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine the videoFile.sampleRate.
Conformity result: If there is a value assigned, the sampling rate of the accompanying audio is successfully obtained. |
+| 97 | | numberOfChannels | Conformity requirements:
Precondition: Call VideoFile() to retrieve the object.
Test method: Determine videoFile.numberOfChannel.
Conformity result: If there is a value assigned, the number of channels is successfully obtained. |
+| 98 | ImageFile | ImageFile(path) | Conformity requirements:
Precondition: None.
Test method: Call ImageFile().
Conformity result: Return the ImageFile object. |
+| 99 | | type | Conformity requirements:
Precondition: Call ImageFile() to retrieve the object.
Test method: Determine imageFile.type.
Conformity result: If there is a value assigned, the type of the image file is successfully obtained. |
+| 100 | | Location | Conformity requirements:
Precondition: Call ImageFile() to retrieve the object.
Test method: Determine imageFile.location.
Conformity result: If there is a value assigned, the locator for the image file is successfully obtained. |
+| 101 | | filename | Conformity requirements:
Precondition: Call ImageFile() to retrieve the object.
Test method: Determine imageFile.fileName.
Conformity result: If there is a value assigned, the name of the image file is successfully obtained. |
+| 102 | | width | Conformity requirements:
Precondition: Call ImageFile() to retrieve the object.
Test method: Determine imageFile.width.
Conformity result: If there is a value assigned, the width of the image file is successfully obtained. |
+| 103 | | height | Conformity requirements:
Precondition: Call ImageFile() to retrieve the object.
Test method: Determine imageFile.height.
Conformity result: If there is a value assigned, the height of the image file is obtained successfully. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-------------------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 104 | Utility | getEventInfo(id) | Conformity requirements:
Precondition: None.
Test method: Call getEventInfo().
Conformity result: Return a string type, indicating detailed description information of the message. |
+| 105 | | println(str) | Conformity requirements:
Precondition: None.
Test method: Call println().
Conformity result: No return. |
+| 106 | GlobalVar Manager | setItemValue(key, value) | Conformity requirements:
Precondition: None.
Test method: Call setItemValue().
Conformity result: The return value of getItemValue() is compared with the value of the global variable parameter set by setItemValue(), if it is the same, then it succeeds. |
+| 107 | | getItemValue(key) | Conformity requirements:
Precondition: Call setItemValue().
Test method: Call getItemValue().
Conformity result: If the return value is the same as the global variable parameter value set by setItemValue(), the comparison is successful. |
+| 108 | | setItemStr(key, str) | Conformity requirements:
Precondition: None.
Test method: Call setItemStr().
Conformity result: If the return value of calling getItemStr() is compared with the global variable parameter value set by setItemStr(), if it is the same, then it succeeds. |
+| 109 | | getItemStr(key) | Conformity requirements:
Precondition: Call setItemStr().
Test method: Call getItemStr().
Conformity result: If the return value is the same as the global variable parameter value set by setItemStr(), then it succeeds. |
+| 110 | | removeItem(key) | Conformity requirements:
Precondition: Call setItemStr().
Test method: Call removeItem().
Conformity result: If the return value of calling getItemStr() is null, it is successful. |
+| 111 | | clearAll() | Conformity requirements:
Precondition: Call setItemStr().
Test method: Call clearAll().
Conformity result: If the return value of the call to getItemStr() is null, it is successful. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|-----------|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 112 | Rectangle | left | Conformity requirements:
Precondition: None.
Test method: Determine Rectangle.left.
Conformity result: If there is a value assigned, the X_axis coordinate of the upper left corner of the Rectangle object is successfully obtained. |
+| 113 | | top | Conformity requirements:
Precondition: None.
Test method: Determine Rectangle.top.
Conformity result: If there is a value assigned, the Y_axis coordinate of the upper left corner of the Rectangle object is successfully obtained. |
+| 114 | | width | Conformity requirements:
Precondition: None.
Test method: Determine Rectangle.width.
Conformity result: If there is a value assigned, the Rectangle object width is successfully obtained. |
+| 115 | | height | Conformity requirements:
Precondition: None.
Test method: Determine Rectangle.height.
Conformity result: If there is a value assigned, the height of the Rectangle object is obtained successfully. |
+| 116 | | Rectangle(left, top, width, height) | Conformity requirements:
Precondition: None.
Test method: Call Rectangle().
Conformity result: No return value. |
+| 117 | SysTool | standBy() | Conformity requirements:
Precondition: None.
Test method: Call standBy().
Conformity result: The device inputs standby mode. |
+| 118 | | sleep() | Conformity requirements:
Precondition: None.
Test method: Call sleep().
Conformity result: The device inputs sleep mode. |
+| 119 | | wakeUp() | Conformity requirements:
Precondition: sleep().
Test method: Call wakeUp().
Conformity result: Wake up the device. |
+| 120 | | getStandByState() | Conformity requirement 1:
Precondition: None.
Test method: Call getStandByState().
Conformity result: The return value of 3 indicates that the device is working properly.
Conformity requirement 2:
Precondition: Call sleep(). |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | HardwareInfo | | Test method: Call getStandByState().
Conformity result: The return value of 1 indicates that the device is truly on standby.
Conformity requirement 3:
Precondition: Call standBy().
Test method: Call getStandByState().
Conformity result: The return value of 2 indicates that the device is in false standby. |
+| 121 | | reboot() | Conformity requirements:
Precondition: None.
Test method: Call reboot().
Conformity result: Restart the device. |
+| 122 | | Flash.size | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.Flash.size.
Conformity result: If there is a value assigned, the size of the receiving terminal's flash memory is successfully obtained. |
+| 123 | | RAM.size | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.RAM.size.
Conformity result: If there is a value assigned, the size of the receiving terminal memory is successfully obtained. |
+| 124 | | RAM.type | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.RAM.type.
Conformity result: If there is a value assigned, the type of receiving terminal memory is successfully obtained. |
+| 125 | | SOC.model | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.SOC.model.
Conformity result: If there is a value assigned, the model of the receiving terminal's main chip is successfully obtained. |
+| 126 | | SOC.frequency | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.SOC.frequency.
Conformity result: If there is a value assigned, the working frequency of the receiving terminal's main chip is successfully obtained. |
+| 127 | | SOC.provider | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.SOC.provider.
Conformity result: If there is a value assigned, the |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | HardwareInfo | | provider name of the receiving terminal's main chip is successfully obtained. |
+| 128 | | HW.version | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.HW.version.
Conformity result: If there is a value assigned, obtaining the hardware version number of the receiving terminal is successful. |
+| 129 | | STB.TPtype | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.TPtype.
Conformity result: If there is a value assigned, the transmission mode type of the receiving terminal is successfully obtained. |
+| 130 | | STB.definition | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.definition.
Conformity result: If there is a value assigned, the clarity type of the receiving terminal is successfully obtained. |
+| 131 | | STB.provider | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.provider.
Conformity result: If there is a value assigned, the provider name of the receiving terminal is successfully obtained. |
+| 132 | | STB.brand | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.brand.
Conformity result: If there is a value assigned, the brand name of the receiving terminal is successfully obtained. |
+| 133 | | STB.model | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.model.
Conformity result: If there is a value assigned, the model of the receiving terminal is successfully obtained. |
+| 134 | | STB.serialnumber | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.serialnumber.
Conformity result: If there is a value assigned, the serial number of the receiving terminal is |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successfully obtained. |
+| 135 | HardwareInfo | STB.returnPath | Conformity requirements:
Precondition: None.
Test method: Determine HardwareInfo.STB.returnPath.
Conformity result: If there is a value assigned, the return channel attribute of the receiving terminal is successfully obtained. |
+| 136 | | OS.name | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.OS.name.
Conformity result: If there is a value assigned, the name of the operating system software is successfully obtained. |
+| 137 | | OS.version | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.OS.version.
Conformity result: If there is a value assigned, the version number of the operating system software is successfully obtained. |
+| 138 | SoftwareInfo | OS.provider | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.OS.provider.
Conformity result: If there is a value assigned, the provider name of the operating system software is successfully obtained. |
+| 139 | | middleware.name | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.name.
Conformity result: If there is a value assigned, the name of the system software is successfully obtained. |
+| 140 | | middleware.version | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.version.
Conformity result: If there is a value assigned, the version number of the system software is successfully obtained. |
+| 141 | | middleware.provider | Conformity requirements:
Precondition: None.
Test method:
DetermineSoftwareInfo.middleware.provider.
Conformity result: If there is a value assigned, the provider name of the system software is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 142 | | middleware.releaseDate | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.releaseDate.
Conformity result: If there is a value assigned, the release date of the system software is successfully obtained. |
+| 143 | | middleware.copyright | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.copyright.
Conformity result: If there is a value assigned, the copyright information of the system software is successfully obtained. |
+| 144 | | middleware.RAMSize | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.RAMSize.
Conformity result: If there is a value assigned, the memory size occupied by the system software is successfully obtained. |
+| 145 | | middleware.NVMSize | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.NVMSize.
Conformity result: If there is a value assigned, the non-volatile memory (NVM) size occupied by the system software is successfully obtained. |
+| 146 | | middleware.platform_profile | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.middleware.platform_profile.
Conformity result: If there is a value assigned, the platform level supported by the system software is successfully obtained. |
+| 147 | | loader.name | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.loader.name.
Conformity result: If there is a value assigned, the name of the software update loader is successfully obtained. |
+| 148 | | loader.version | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.loader.version.
Conformity result: If there is a value assigned, the version number of the software update loader is successfully obtained. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|---------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 149 | | loader.provider | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.loader.provider.
Conformity result: If there is a value assigned, the provider of the software update loader is successfully obtained. |
+| 150 | | loader.size | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.loader.size.
Conformity result: If there is a value assigned, the size of the software update loader is successfully obtained. |
+| 151 | | CA.name | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.CA.name.
Conformity result: If there is a value assigned, the name of the CA software is successfully obtained. |
+| 152 | | CA.version | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.CA.version.
Conformity result: If there is a value assigned, the version number of the CA software is successfully obtained. |
+| 153 | | CA.provider | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.CA.provider.
Conformity result: If there is a value assigned, the provider of CA software is successfully obtained. |
+| 154 | | Driver.vision | Conformity requirements:
Precondition: None.
Test method: Determine SoftwareInfo.Driver.vision.
Conformity result: If there is a value assigned, the driver version of the receiving terminal is successful. |
+| 155 | Upgrade | checkOTA() | Conformity requirement 1:
Precondition: Deploy new OTA upgrade packages for front-end upgrade services.
Test method: Call checkOTA().
Conformity result: Return true to indicate OTA upgrade.
Conformity requirement 2:
Precondition: The front-end upgrade service has not deployed a new OTA upgrade package.
Test method: Call checkOTA().
Conformity result: Return false to indicate no OTA upgrade. |
+
+| Serial No. | Object | Interface and Attribute | Process description |
+|------------|--------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 156 | | startOTA() | Conformity requirements:
Precondition: Deploy new OTA upgrade packages for front-end upgrade services.
Test method: Call startOTA().
Conformity result: Start OTA upgrade. |
+| 157 | | getOTAName() | Conformity requirements:
Precondition: None.
Test method: Call getOTAName().
Conformity result: Return string type, indicating the name of the OTA upgrade event. |
+
+### B.10 Conformance test of application engine unit interfaces
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | EPGManager | MSG_EPG_SEARCH_SUCCESS | Conformity requirements:
Precondition: The system is connected to a cable and there is EIT data at the network frequency.
Test method: Call searchProgramEvent(tsList, mask, endureTime) and search successfully.
Conformity result: The web page received a message of MSG_EPG_SEARCH_SUCCESS. |
+| 2 | | searchProgramEvent(tsList, mask, endureTime) | Conformity requirements:
Precondition: None.
Test method: Call searchProgramEvent(tsList, mask, endureTime).
Conformity result: The MSG_EPG_SEARCH_SUCCESS message is sent when the search is complete, the MSG_EPG_SEARCH_REFRESH message is sent when data is searched, and the search timeout message stops the search and sends the MSG_EPG_SEARCH_TIMEOUT message. Return an integer indicating the unique identifier (maskId) that is assigned by the system to the asynchronous process. |
+| 3 | | searchProgramEventByService(serviceLocator, mask, endureTime) | Conformity requirements:
Precondition: None.
Test method: Call searchProgramEventByService(serviceLocator, mask, endureTime).
Conformity result: The MSG_EPG_SEARCH_SUCCESS message is sent when the search is complete, the MSG_EPG_SEARCH_REFRESH message is sent when data is found, and the MSG_EPG_SEARCH_TIMEOUT message is sent when the search times out. Return an integer indicating the unique identifier (maskId) assigned by the system to the asynchronous process. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 4 | | getPresentProgram(serviceLocator) | Conformity requirement 1:
Precondition: Based on the testing environment conditions, the specified operations of serviceLocator can be obtained.
Test method: Call getPresentProgram (serviceLocator).
Conformity result: Return a ProgramEvent object that indicates the current ProgramEvent of the service described by serviceLocator.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, the specified operations of serviceLocator cannot be obtained.
Test method: Call getPresentProgram (serviceLocator).
Conformity result: Return null.
|
+| 5 | EPGManager | getPresentProgramsByContentType(contentType) | Conformity requirement 1:
Precondition: None.
Test method: Call getPresentProgramsByContentType (contentType).
Conformity result: Return a ProgramEvent array containing all current ProgramEvents with a classification type of contentType.
Conformity requirement 2:
Precondition: Based on the testing environment conditions, the specified business for contentType cannot be obtained.
Test method: Call getPresentProgramsByContentType (contentType).
Conformity result: Return an array with a length of 0.
|
+| 6 | | getPresentProgramsByName(str) | Conformity requirement 1:
Precondition: After calling the search interface of EPG and returning success, the str keyword is passed in and exists in the EIT list.
Test method: Call the getPresentProgramsByName (str) method.
Conformity result: Return the ProgramEvent array, which contains an array of all current ProgramEvent objects with the programme name str.
Conformity requirement 2:
Precondition: After calling the search interface of EPG and returning success, the str keyword passed in does not exist in the EIT list.
Test method: Call the getPresentProgramsByName (str) method.
Conformity result: Return an array of length 0.
|
+| 7 | | getFollowingProgram(serviceLocator) | Conformity requirement 1:
Precondition: After already calling the EPG's
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EPGManager | | search interface and returning success, pass in the correct address for serviceLocator.
Test method: Call getFollowingProgram(serviceLocator).
Conformity result: Return the subsequent programs to the array of ProgramEventd objects indicating the operations specified by serviceLocator.
Conformity requirement 2:
Precondition: After calling the search interface of EPG and returning success, the serviceLocator address passed in is incorrect.
Test method: Call getFollowingProgram(serviceLocator).
Conformity result: Return an array of length 0.
|
+| 8 | | getFollowingProgramsByContentType(contentType) | Conformity requirement 1:
Precondition: After calling the search interface of EPG and returning success, the contentType passed in exists in the EIT list.
Test method: Call getFollowingProgramsByContentType(contentType).
Conformity result: Return an array of ProgramEvents containing all subsequent ProgramEvents classified as contentType.
Conformity requirement 2:
Precondition: After calling the search interface of EPG and returning success, the contentType passed in does not exist in the EIT list.
Test method: Call getFollowingProgramsByContentType(contentType).
Conformity result: Return an array of length 0.
|
+| 9 | | getFollowingProgramsByName(str) | Conformity requirement 1:
Precondition: The str keyword passed in exists in the following programs of EIT.
Test method: Call getFollowingProgramsByName(str).
Conformity result: Return an array of ProgramEvents containing all subsequent ProgramEvents with the programme name str.
Conformity requirement 2:
Precondition: The str keyword passed in does not exist in the following programs of EIT.
Test method: Call getFollowingProgramsByName(str).
Conformity result: Return an array of length 0.
|
+| 10 | | getProgramsByService(serviceLocator) | Conformity requirement 1:
Precondition: The serviceLocator locator passed in exists in the EIT.
Test method: Call getProgramsByService
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EPGManager | | (serviceLocator).
Conformity result: Return the ProgramEvent array, indicating all programs of the service specified by serviceLocator.
Conformity requirement 2:
Precondition: The serviceLocator locator passed in does not exist in EIT.
Test method: Call getProgramsByService (serviceLocator).
Conformity result: Return an array of length 0. |
+| 11 | | getProgramsByDate(serviceLocator, beginDate, endDate) | Conformity requirement 1:
Precondition: The parameters passed in can be found in the EIT programme table.
Test method: Call getProgramsByDate (serviceLocator, beginDate, endDate).
Conformity result: Return the ProgramEvent array, indicating all programs in the serviceLocator's specified service that match the specified times.
Conformity requirement 2:
Precondition: The parameters passed in cannot be found in the EIT programme table.
Test method: Call getProgramsByDate (serviceLocator, beginDate, endDate).
Conformity result: Return an array of length 0. |
+| 12 | | getProgramsByDirection(serviceLocator, beginDate, count, isForward) | Conformity requirement 1:
Precondition: The parameters passed in can be found in the EIT programme table.
Test method: Call getProgramsByDirection (serviceLocator, beginDate, count, isForward).
Conformity result: Return a ProgramEvent array with a length of count, indicating the programme information specified by serviceLocator for the specified start date and retrieval direction in the service
Conformity requirement 2:
Precondition: The parameters passed in cannot be found in the EIT programme table.
Test method: Call getProgramsByDirection (serviceLocator, beginDate, count, isForward). |
+| 13 | | getProgramsByContentType(contentType) | Conformity requirement 1:
Precondition: The parameters passed in can be found in the EIT programme table.
Test method: Call getProgramsByContentType (contentType).
Conformity result: Return an array of ProgramEvents containing all ProgramEvents classified as contentType.
Conformity requirement 2:
Precondition: The parameters passed in cannot be |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EPGManager | | found in the EIT programme table.
Test method: Call getProgramsByContentType(contentType).
Conformity result: Return an array of length 0. |
+| 14 | | getProgramsByName(str) | Conformity requirement 1:
Precondition: The parameters passed in can find the programme in the EIT table.
Test method: Call getProgramsByName (str).
Conformity result: Return an array of ProgramEvents containing all ProgramEvents with programme name str.
Conformity requirement 2:
Precondition: The parameters passed in cannot be found in the EIT programme table.
Test method: Call getProgramsByName (str).
Conformity result: Return an array of length 0. |
+| 15 | | MSG_EPG_SEARCH_EXCEED_MAX_COUNT | Conformity requirements:
Precondition: System frequency lock is normal.
Test method: In the data management module EPGSetting.program_event_maxcount is specified. Call the EPG search interface.
Conformity result: When the search results reach the maximum value, the search stops automatically and the web page receives the message MSG_EPG_SEARCH_EXCEED_MAX_COUNT. |
+| 16 | | MSG_EPG_SEARCH_REFRESH | Conformity requirements:
Precondition: System frequency lock is normal.
Test method: Call the searchProgramEvent (tsList, mask, endureTime) interface to pass in the corresponding parameters for searching.
Conformity result: When EPG searches for partial data, the web page receives the message MSG_EPG_SEARCH_REFRESH. |
+| 17 | | MSG_EPG_SEARCH_TIMEOUT | Conformity requirements:
Precondition: System frequency lock is normal.
Test method: Call searchProgramEvent (tsList, mask, endureTime) and exceed the specified time.
Conformity result: When no programme information is searched within the time period specified by the interface, the web page receives the message MSG_EPG_SEARCH_TIMEOUT. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | | MSG_EPG_RECEIVE_N
VODREFERENCE_SUC
CESS | Conformity requirements:
Precondition: System frequency lock is normal.
Test method: Call searchProgramEvent (tsList, mask, endureTime) and receive NVOD data.
Conformity result: Send NVOD reference event success message to the page. The web page receives a message as MSG_EPG_RECEIVE_NVODREFERENCE_SU CCESS. |
+| 19 | | MSG_EPG_RECEIVE_A
LL_NVODREFERENCE
_SUCCESS | Conformity requirements:
Precondition: System frequency lock is normal.
Test method: Call searchProgramEvent (tsList, mask, endureTime) and collect NVOD data.
Conformity result: Send a message to the page that all NVOD frequency data has been received. The web page receives the message MSG_EPG_RECEIVE_ALL_NVODREFERENC E_SUCCESS. |
+| 20 | | MSG_EPG_RECEIVE_N
VODREFERENCE_TIM
EOUT | Conformity requirements:
Precondition: None.
Test method: Call searchProgramEvent(tsList, mask, endureTime) and NVOD reference data is received beyond the time limit.
Conformity result: Send a search timeout message to the page for NVOD reference events. The web page receives a message as MSG_EPG_RECEIVE_NVODREFERENCE_TIM EOUT. |
+| 21 | | MSG_EPG_RECEIVE_N
VODTIMESHIFT_SUCC
ESS | Conformity requirements:
Precondition: The system can successfully lock the frequency.
Test method: Call searchProgramEvent (tsList, mask, endureTime) and receive time shifted event data.
Conformity result: Send a successful message to the page to receive a time shift event under a certain reference event. The web page receives the message MSG_EPG_RECEIVE_NVODTIMESHIFT_SUC CESS. |
+| 22 | | MSG_EPG_RECEIVE_N
VODTIMESHIFT_TIME
OUT | Conformity requirements:
Precondition: None.
Test method: Call searchProgramEvent (tsList, mask, endureTime) and the data reception of time shift event exceeds the time limit.
Conformity result: Send the timeout message to the page for VOD time shift event. The web page receives a message as MSG_EPG_RECEIVE_NVODTIMESHIFT_TIM EOUT. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 23 | | searchNVODRefEvents(endureTime) | Conformity requirements:
Precondition: None.
Test method: Call searchNVODRefEvents(endureTime).
Conformity result: Return an integer indicating the unique identifier (maskId) assigned by the system for this asynchronous process and sends a message to the page, where
MSG_EPG_RECEIVE_NVODREFERENCE_SUCCESS message indicates that the search for NVOD data on a frequency is successful.
MSG_EPG_RECEIVE_ALL_NVODREFERENCE_SUCCESS message indicates that the data of all NVOD frequencies have been received, and the MSG_EPG_RECEIVE_NVODREFERENCE_TIMEOUT message indicates that the searching time has reached endureTime.
|
+| 24 | | searchNVODRefEvents(tsArray, endureTime) | Conformity requirements:
Precondition: None.
Test method: Call searchNVODRefEvents(tsArray, endureTime).
Conformity result: Return an integer indicating the unique identifier (maskId) assigned by the system to this asynchronous process and sends a message to the page, where
MSG_EPG_RECEIVE_NVODREFERENCE_SUCCESS message indicates that the search for NVOD data on a frequency is successful.
MSG_EPG_RECEIVE_ALL_NVODREFERENCE_SUCCESS message indicates that the data of all NVOD frequencies have been received, and the MSG_EPG_RECEIVE_NVODREFERENCE_TIMEOUT message indicates that the searching time has reached endureTime.
|
+| 25 | | getReferencePrograms(serviceLocator) | Conformity requirement 1:
Precondition: The serviceLocator passed in is correct and the corresponding channel has reference programs.
Test method: Call getReferencePrograms(serviceLocator).
Conformity result: Return an array of ReferenceEvent objects containing all the reference programs on the serviceLocator's specified service.
Conformity requirement 2:
Precondition: The serviceLocator passed in is incorrect, or the corresponding channel has reference programs.
Test method: Call getReferencePrograms(serviceLocator).
Conformity result: Return an array with a length of 0.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 26 | | getReferenceEvents(sortType, sortOrder) | Conformity requirement 1:
Precondition: The passed in parameters are normal and there is a reference event present.
Test method: Call getReferenceEvents(sortType, sortOrder).
Conformity result: Return an array of ReferenceEvent objects containing all the ReferenceEvent objects that have been searched after sorting in the specified way.
Conformity requirement 2:
Precondition: The passed in parameter is abnormal or there is no reference event present.
Test method: Call getReferenceEvents(sortType, sortOrder).
Conformity result: Return an array with a length of 0.
|
+| 27 | | exitNVODMode() | Conformity requirements:
Precondition:
SearchNVODRefEvents(endureTime) or searchNVODRefEvents(tsArray, endureTime) are called.
Test method: Call exitNVODMode().
Conformity result: None.
|
+| 28 | ProgramEvent | channelObj | Conformity requirement:
Precondition: Successfully create ProgramEvent object.
Test method: Read channelObj.
Conformity result: Successfully read, return the corresponding Channel object.
|
+| 29 | | eventObj | Conformity requirement:
Precondition: Successfully create ProgramEvent object.
Test method: Read eventObj.
Conformity result: Read successfully, return the corresponding DvbEvent object.
|
+| 30 | | isBooked | Conformity requirement:
Precondition: Successfully create ProgramEvent object.
Test method: Read and write eventObj.
Conformity result: Read and write successfully, 0 indicates unsubscribed, and 1 indicates subscribed.
|
+| 31 | | channelObj | Conformity requirement:
Precondition: Successfully create ReferenceEvent object.
Test method: Read channelObj.
Conformity result: Successfully read, return the corresponding Channel object.
|
+| 32 | | eventObj | Conformity requirement:
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ReferenceEvent | | Precondition: Successfully create ReferenceEvent object.
Test method: Read eventObj.
Conformity result: Read successfully, return the corresponding DvbEvent object.
|
+| 33 | | searchSchedules(endureTime) | Conformity requirements:
Precondition: Successfully create ReferenceEvent object.
Test method: Call searchSchedule(endureTime).
Conformity result: Return an integer where:
1 - Indicates that there is no data in the cache, the bottom layer will automatically go to lock the frequency, if receive data successfully, then issue a message MSG_EPG_RECEIVE_NVODTIMESHIFT_SUCCESS; when the search time reaches endureTime, the system automatically stops searching and sends out the message MSG_EPG_RECEIVE_NVODTIMESHIFT_TIMEOUT.
2 - Indicates that the NVOD time shift event information to be collected already exists in the cache and is complete, and can be directly obtained. At this point, no more messages will be returned to the page.
|
+| 34 | | getSchedules() | Conformity requirement 1:
Precondition: There is a time shift business under this reference service.
Test method: Call getSchedules().
Conformity result: An array of TimeShiftEvent objects containing a list of all time-shift events within a number of days from this point in time for this reference event.
Conformity requirement 2:
Precondition: There is no time shift service under this reference business.
Test method: Call getSchedules().
Conformity result: Return an array of length 0.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 35 | | getPresentSchedules() | Conformity requirement 1:
Precondition: There is a normal time shift service playing under the current reference service.
Test method: Call getPresentSchedules().
Conformity result: An array of TimeShiftEvent objects containing all the time-shift event objects that are currently being played to get the reference event, with the elements in the array sorted by playback start time.
Conformity requirement 2:
Precondition: There is no normal time shift service playing under the current reference service.
Test method: Call getPresentSchedules().
Conformity result: Return an array of length 0.
|
+| 36 | | getFollowingSchedules() | Conformity requirement 1:
Precondition: Exist time-shifted services to be played under the current reference service.
Test method: Call getFollowingSchedules().
Conformity result: An array of TimeShiftEvent objects containing all the time shift event objects carried by this reference event for the next playback, with the elements in the array sorted by playback start time.
Conformity requirement 2:
Precondition: There is no time-shift service to be played under the current reference service.
Test method: Call getFollowingSchedules().
Conformity result: Return an array of length 0.
|
+| 37 | | channelObj | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read channelObj.
Conformity result: Successfully read, return the corresponding Channel object.
|
+| 38 | TimeShiftEvent | refChannelObj | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read refChannelObj.
Conformity result: Successfully read and return the corresponding reference service Channel object.
|
+| 39 | | eventObj | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read eventObj.
Conformity result: Read successfully, return the corresponding DvbEvent object.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 40 | | refEventObj | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read refEventObj.
Conformity result: Successfully read and return the corresponding reference service DvbEvent object. |
+| 41 | | status | Conformity requirements:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read the status.
Conformity result: Return an integer, read successfully, where -1 means it is been played, 0 means it is being played, and 1 means it has not been played yet. |
+| 42 | | orderIndex | Conformity requirements:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read orderIndex.
Conformity result: Return an integer, read successfully, where 1 indicates that it has not been booked, and the remaining positive integers indicate the position in the rebooking list. |
+| 43 | | preEvent | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read preEvent.
Conformity result: TimeShiftEvent object is of read-only type and represents the previous time shift object for this time shift event |
+| 44 | | nextEvent | Conformity requirement:
Precondition: Successfully create TimeShiftEvent object.
Test method: Read nextEvent.
Conformity result: TimeShiftEvent object is of read-only type and represents the next time shift object for this time shift event. |
+| 45 | ChannelManager | MSG_CHANNEL_RAM_TO_NVM_SUCCESS | Conformity requirements:
Precondition: Call save() and write successfully.
Test method: Get through the page document.onsystemevent.
Conformity result: The web page receives a message of MSG_CHANNEL_RAM_TO_NVM_SUCCESS. |
+| 46 | | MSG_CHANNEL_NVM_TO_RAM_SUCCESS | Conformity requirements:
Precondition: Call restore() and successfully recover.
Test method: Get through the page document.onsystemevent.
Conformity result: The web page receives a |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ChannelManager | | message of MSG_CHANNEL_NVM_TO_RAM_SUCCESS. |
+| 47 | | getChannelByChannelID(channelId) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call getChannelByChannelID (channelId).
Conformity result: Return the Channel object with the specified channel number, and return NULL if it does not exist. |
+| 48 | | getChannelByServiceID(serviceId) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call getChannelByServiceID (serviceId).
Conformity result: Return the Channel object with the specified service number. If the channel cannot be found with the specified serviceid, return NULL. |
+| 49 | | getChannelByLogicalID(logicalId) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call getChannelByLogicalID (logicalId).
Conformity result: Return the Channel object with the specified logical channel number, or NULL if the channel corresponding to the specified logicalId does not exist. |
+| 50 | | getLastChannel() | Conformity requirements:
Precondition: Successfully search for channels that have been played in one way.
Test method: Call getLastChannel().
Conformity result: Return the Channel object, which is the previous channel opened for playback. |
+| 51 | | getLastChannel(serviceType) | Conformity requirements:
Precondition: Successfully search for channels that have been played in one way.
Test method: Call getLastChannel(serviceType).
Conformity result: Return the Channel object, which is the previous opened channel of the specified type. If the specified service_type cannot be found, return NULL. |
+| 52 | | getShutDownChannel() | Conformity requirements:
Precondition: Successfully search for channels that have been played in one way.
Test method: Call getShutDownChannel().
Conformity result: Return the Channel object, which is a shutdown channel. If there is no shutdown channel, return NULL. |
+| 53 | | getShutDownChannel(serviceType) | Conformity requirements:
Precondition: Successfully search for channels that have been played in one way.
Test method: Call getShutDownChannel |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------|-----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ChannelManager | | (serviceType).
Conformity result: Return the Channel object for the specified type of shutdown channel, or NULL if there is no shutdown channel of the specified type. |
+| 54 | | filter(filterTypeArray[], valueArray[]) | Conformity requirement 1:
Precondition: Successfully search for channel.
Test method: Call filter(filterTypeArray[], valueArray[]).
Conformity result: Return an array of Channel objects, which is a filtered list of channels. If there is an exception, return an empty array. |
+| 55 | | delChannel(obj) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call delChannel(obj).
Conformity result: Return an integer, where 1 indicates successful deletion and 0 indicates failed deletion (Note – This deletion action is specific to RAM operations). |
+| 56 | | deleteAll() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call deleteAll().
Conformity result: Return an integer, where 1 indicates successful deletion and 0 indicates failed deletion. All channels are deleted (Note – This deletion action is specific to RAM operations). |
+| 57 | | deleteAllDelMarked() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call deleteAllDelMarked().
Conformity result: Return an integer, where 1 indicates successful deletion and 0 indicates failed deletion. All marked channels are deleted (Note – This deletion action is specific to RAM operations). |
+| 58 | | deleteAllFavorites() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call deleteAllFavorites().
Conformity result: Return an integer, where 1 indicates successful deletion and 0 indicates failed deletion. All favorite channels are deleted (Note – This deletion action is specific to RAM operations). |
+| 59 | | resetProperties() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call resetProperties().
Conformity result: Return an integer with 1 indicating success and 0 indicating failure. Reset all channels to non favorite, non locked, and non hidden (Note – This deletion action is specific to RAM operations). |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 60 | | swap(obj1,obj2) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call swap(obj1, obj2).
Conformity result: No return value, check the position of swapping two channels in the channel list. |
+| 61 | | sort(sortTypeArray[], sortOrderArray[]) | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call sort(sortTypeArray[], sortOrderArray[]).
Conformity result: No return, sort the channel list according to the specified method. |
+| 62 | | save() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call save().
Conformity result: No return, save the number of channels of RAM to the NVM, and send the message MSG_CHANNEL_RAM_TO_NVM_SUCCESS if it succeeds; if it fails, send the message MSG_CHANNEL_RAM_TO_NVM_FAILED. |
+| 63 | | restore() | Conformity requirements:
Precondition: Successfully search for channel.
Test method: Call restore().
Conformity result: No return, import the number of channels of the NVM into RAM, and send the message MSG_CHANNEL_NVM_TO_RAM_SUCCESS if it succeeds; if it fails, send the message MSG_CHANNEL_NVM_TO_RAM_FAILED. |
+| 64 | | MSG_CHANNEL_RAM_TO_NVM_FAILED | Conformity requirements:
Precondition: Call save() and fail to write.
Test method: Get through the page document.onsystemevent.
Conformity result: The web page receives a message of MSG_CHANNEL_RAM_TO_NVM_FAILED. |
+| 65 | | MSG_CHANNEL_NVM_TO_RAM_FAILED | Conformity requirements:
Precondition: Call restore() and fail.
Test method: Get through the page document.onsystemevent.
Conformity result: The web page receives a message as MSG_CHANNEL_NVM_TO_RAM_FAILED. |
+| 66 | | logicalId | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write logicalId.
Conformity result: Return integer, read/write |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Channel | | successfully, indicating logical channel number. |
+| 67 | | supportPlayback | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write supportPlayback.
Conformity result: Return Boolean, read/write successfully, indicating whether retrospective is supported or not. True indicates support, false indicates not support. |
+| 68 | | channelId | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write channelId.
Conformity result: Return integer, read/write successfully, indicating channel number. |
+| 69 | | isDeleted | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write isDelete.
Conformity result: Return integer, read/write successfully, indicating the deletion mark of the channel where 0 indicates no settings, 1 indicates settings. |
+| 70 | | isFavorite | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write isFavorite.
Conformity result: Return an integer, read/write successfully, indicating the channel's favorite flag, where 0 means not set and 1 means set. |
+| 71 | | isLocked | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write isLocked.
Conformity result: Return integer, read/write successfully, indicating the channel's lock flag where 0 indicates no settings, 1 indicates settings. |
+| 72 | | isHidden | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write isHidden.
Conformity result: Return integer, read/write successfully, indicating the hidden marker of the channel where 0 indicates no settings, 1 indicates settings. |
+| 73 | | deltVolume | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write deltVolume.
Conformity result: Return integer, read/write successfully, indicating the volume offset of the channel relative to the global volume. |
+| 74 | | getService() | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Call getService(). |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Channel | | Conformity result: Return the DvbService object, indicating the DvbService corresponding to the channel. |
+| 75 | OrderManager | MSG_REMIND_RAM_TO_NVM_SUCCESS | Conformity requirements:
Precondition: Call save() and succeed.
Test method: Get through document.onsystemevent.
Conformity result: The web page receives a message of MSG_REMIND_RAM_TO_NVM_SUCCESS. |
+| 76 | | MSG_REMIND_RAM_TO_NVM_FAILED | Conformity requirements:
Precondition: Call save() and fail.
Test method: Get through document.onsystemevent.
Conformity result: The web page receives a message as MSG_REMIND_RAM_TO_NVM_FAILED. |
+| 77 | | MSG_REMIND_NVM_TO_RAM_SUCCESS | Conformity requirements:
Precondition: Call restore() and fail.
Test method: Get through document.onsystemevent.
Conformity result: The web page receives a message of MSG_REMIND_NVM_TO_RAM_SUCCESS. |
+| 78 | | MSG_REMIND_NVM_TO_RAM_FAILED | Conformity requirements:
Precondition: Call restore() and fail.
Test method: Get through document.onsystemevent.
Conformity result: The web page receives a message as MSG_REMIND_NVM_TO_RAM_FAILED. |
+| 79 | | advanceRemind | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write advanceRemind.
Conformity result: Integer, read and write successful, indicating the time of the popup reminder for the booking program. |
+| 80 | | conflictInterval | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write conflictInterval.
Conformity result: Return an integer, read/write successfully, indicating the threshold for booking programme conflicts. |
+| 81 | | remindType | Conformity requirements:
Precondition: Successfully create Channel object.
Test method: Read and write isLocked.
Conformity result: Return integer, read/write successfully, indicates the conflict mode, where 0 |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | OrderManager | | indicates conflictInterval as the conflict judgment condition; 1 indicates programme playback duration as the conflict judgment condition. |
+| 82 | | addEvent(type, eventObj) | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call addEvent(type, eventObj).
Conformity result: Return an integer where:
1: Indicates successful addition;
0: indicates that the programme has been broadcasted;
-1: Indicates adding conflicts;
-2: Indicates that there is no corresponding business;
-3: Indicates that the reserved space is full. |
+| 83 | | getPlayingList() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getPlayingList().
Conformity result: Return an array of Order objects, indicating all currently playing Order objects. |
+| 84 | | getRemindList() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getRemindList().
Conformity result: Return an array of Order objects, indicating all Order objects that will be played. |
+| 85 | | getOrders(type) | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getOrders(type).
Conformity result: Return an array of Order objects, indicating all Order objects of the specified type. |
+| 86 | | getOrderByID(orderID) | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getOrderByID(orderID).
Conformity result: Return the Order object with the specified identifier. |
+| 87 | | getOrderByEvent(type, eventObj) | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getOrderByEvent(type, eventObj).
Conformity result: Return the Order object, which |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | OrderManager | | corresponds to the specified event, or returns NULL. |
+| 88 | | getConflictOrders() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getConflictOrders().
Conformity result: Return an array of Order objects, which is a list of all orders with conflicts. |
+| 89 | | getDelMarkedList() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call getDelMarkedList().
Conformity result: Return an array of Order objects, which is a list of all Orders with deletion marks. |
+| 90 | | deleteOrder(orderObj) | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call deleteOrder(orderObj).
Conformity result: Return an integer, indicating to delete the specified Order object, where 1 indicates successful deletion and 0 indicates failed deletion. |
+| 91 | | deleteAll() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call deleteAll().
Conformity result: Return an integer, indicating to delete all Order objects, where 1 indicates successful deletion and 0 indicates failed deletion. |
+| 92 | | deleteAllDelMarked() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call deleteAllDelMarked().
Conformity result: Return an integer, indicating to delete all Order objects marked for deletion, where 1 indicates successful deletion and 0 indicates failed deletion. |
+| 93 | | delConflictOrders() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call delConflictOrders().
Conformity result: Return an integer, indicating to delete all conflicting Order objects, where 1 indicates successful deletion and 0 indicates failed deletion. |
+| 94 | | save() | Conformity requirements:
Precondition: Successfully create OrderManager object. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------|-------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | OrderManager | | Test method: Call save().
Conformity result: No return, save RAM data to NVM. |
+| 95 | | restore() | Conformity requirements:
Precondition: Successfully create OrderManager object.
Test method: Call restore().
Conformity result: Return an integer indicating that the data in NVM is recovered into RAM, where 1 indicates successful recovery and 0 indicates recovery failure. |
+| 96 | Order | orderID | Conformity requirements:
Precondition: Successfully create Order object.
Test method: Read the orderID.
Conformity result: Return integer, read successfully, indicating the identifier of the reserved program. |
+| 97 | | channelObj | Conformity requirements:
Precondition: Successfully create Order object.
Test method: Read channelObj.
Conformity result: Channel object, read successfully, indicating the channel corresponding to the current reserved program. |
+| 98 | | deleteFlag | Conformity requirements:
Precondition: Successfully create Order object.
Test method: Read and write deleteFlag.
Conformity result: Return an integer, read and write successfully, indicating the the deletion of a marker, where 0 indicates no marker and 1 indicates a marker. |
+| 99 | | type | Conformity requirements:
Precondition: Successfully create Order object.
Test method: Read type.
Conformity result: Return an integer, read successfully, indicating the eventObj object type, where 0 indicates ProgramEvent and 1 indicates TimeShiftEvent. |
+| 100 | | eventObj | Conformity requirements:
Precondition: Successfully create Order object.
Test method: Read eventObj.
Conformity result: Read successfully, the type is specified by type, indicating the event object corresponding to the reservation. |
+| 101 | SearchManager | getAutoCompleteSearchSession(autoCompleteFiter) | Conformity requirements:
Precondition: None.
Test method: Call getAutoCompleteSearchSession(autoCompleteFilter).
Conformity result: Return the |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------|---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | GlobalSearchSession | | AutoCompleteSearchSession object, matching the search filter with autoCompleteFilter. |
+| 102 | | getGlobalSearchSession(globalFilter,sortCriteria) | Conformity requirements:
Precondition: None.
Test method: Call GetGlobalSearchSession (globalFilter, sortCriteria).
Conformity result: Return the GlobalSearchSession object, indicating the global callback object, with filters and sorting criteria as globalFilter and sortCriteria respectively. |
+| 103 | | getSearchHistory() | Conformity requirements:
Precondition: None.
Test method: Call getSearchHistory()
Conformity result: Return an array of SearchHistoryItem objects, indicating the history of search records. |
+| 104 | | clearSearchHistory() | Conformity requirements:
Precondition: None.
Test method: Call clearSearchHistory().
Conformity result: No return, clear all history records. |
+| 105 | | pageSize | Conformity requirements:
Precondition: Successfully create GlobalSearchSession object.
Test method: Read and write pageSize.
Conformity result: Return integer, read/write successfully, return the number of results contained per page when searching for results. |
+| 106 | | onGlobalSearchStart | Conformity requirements:
Precondition: Call startSearch(searchStr) and start the search.
Test method: Read and write onGlobalSearchStart.
Conformity result: Return a function pointer, reads or writes successfully, indicating event handling at the beginning of global search session. |
+| 107 | | onGlobalSearchStop | Conformity requirements:
Precondition: Call stopSearch().
Test method: Read and write onGlobalSearchStop.
Conformity result: Return a function pointer, read or write successfully, indicating event handling when global search session stops. |
+| 108 | | onGlobalSearchDestroy | Conformity requirements:
Precondition: Call dispose().
Test method: Read and write onGlobalSearchDestroy.
Conformity result: Return a function pointer, read or write successfully, indicating event handling |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | when global search session is destroyed. |
+| 109 | GlobalSearchSession | onGlobalSearchRetrieval | Conformity requirements:
Precondition: Call startSearch(searchStr) and obtain the search results.
Test method: Read and write onGlobalSearchRetrieval.
Conformity result: Return function pointer, read and write successfully, indicating event handling when the global search session obtains the result. |
+| 110 | | onGlobalSearchError | Conformity requirements:
Precondition: Call startSearch(searchStr) and search for exceptions.
Test method: Read and write onGlobalSearchError.
Conformity results: Return a function pointer, reads or writes successfully, indicating the event handling in the event of an error in the global search session. |
+| 111 | | startSearch(searchStr) | Conformity requirements:
Precondition: None.
Test method: Call startSearch(searchStr).
Conformity result: No return, initiate global session search and trigger onGlobalSearchStart to notify the start. |
+| 112 | | stopSearch() | Conformity requirements:
Precondition: Call startSearch(searchStr).
Test method: Call stopSearch().
Conformity result: No return, terminate global session search, and trigger onGlobalSearchStop to notify the termination. |
+| 113 | | getSearchResultList() | Conformity requirements:
Precondition: Wait for the event to trigger.
Test method: Call getSearchResultList().
Conformity result: Return an array of GlobalSearchResultItem objects, indicating the global search results, or return a length of 0. |
+| 114 | | getResultCount() | Conformity requirements:
Precondition: Wait for the event to trigger.
Test method: Call getResultCount().
Conformity result: Return an integer indicating the length of the search result. |
+| 115 | | dispose() | Conformity requirements:
Precondition: Wait for the event to trigger.
Test method: Call dispose().
Conformity result: No return, destroy the global session object, and trigger the event onGlobalSearchDestroy. |
+| 116 | | retrievePage(retrieveDirection) | Conformity requirements:
Precondition: None.
Test method: retrievePage(retrieveDirection). |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------------|-------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: No return, retrieve data from search results and wait for event processing. |
+| 117 | | saveRecentSearchQuery() | Conformity requirements:
Precondition: None.
Test method: saveRecentSearchQuery().
Conformity result: No return, save the latest search result to the history record. |
+| 118 | | onAutoCompleteSearchStart | Conformity requirements:
Precondition: Call startSearch(searchStr) and start the search.
Test method: Read and write onAutoCompleteSearchStart.
Conformity result: Return function pointer, read/write successfully, matching event handling at the beginning of the search session. |
+| 119 | | onAutoCompleteSearchStop | Conformity requirements:
Precondition: Call stopSearch().
Test method: Read and write onAutoCompleteSearchStop.
Conformity result: Return function pointer, read/write successfully, matching event handling when the search session stops. |
+| 120 | | onAutoCompleteSearchDestroy | Conformity requirements:
Precondition: Call dispose().
Test method: Read and write onAutoCompleteSearchDestroy.
Conformity result: Return function pointer, read/write successfully, matching event handling when search session is destroyed. |
+| 121 | AutoCompleteSearchSession | onAutoCompleteSearchRetrieval | Conformity requirements:
Precondition: Call startSearch(searchStr) and obtain the search results.
Test method: Read and write onAutoCompleteSearchRetrieval.
Conformity result: Return function pointer, read/write successfully, matching event handling when the search session obtains the result. |
+| 122 | | onAutoCompleteSearchError | Conformity requirements:
Precondition: Call startSearch(searchStr) and search for exceptions.
Test method: Read and write onAutoCompleteSearchError.
Conformity result: Return a pointer to a function, read or write successfully, and match the event handling in case of an error in the search session. |
+| 123 | | startSearch(searchStr) | Conformity requirement:
Precondition: None.
Test method: Call startSearch(searchStr). |
+
+| Serial No. | Object | Message/Interface/
Attribute | Process description |
+|------------|---------------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | AutoCompleteSearchSession | | Conformity result: No return, start matching session search, and trigger onAutoCompleteSearchStart to notify the start. |
+| 124 | | stopSearch() | Conformity requirements:
Precondition: Call startSearch(searchStr).
Test method: Call stopSearch().
Conformity result: No return, terminate matching session search, and trigger onAutoCompleteSearchStop to notify the termination. |
+| 125 | | dispose() | Conformity requirements:
Precondition: Wait for the event to trigger.
Test method: Call dispose().
Conformity result: No return, destroy the matching session object, and triggers onAutoCompleteSearchStop to notify the termination. |
+| 126 | | getSearchResultList() | Conformity requirements:
Precondition: Wait for the event to trigger.
Test method: Call getSearchResultList().
Conformity result: Return a string array that indicates the search results that match the user's input string. |
+| 127 | GlobalSearchFilter | GlobalSearchFilter() | Conformity requirements:
Precondition: None.
Test method: Call GlobalSearchFilter().
Conformity result: Return the GlobalSearchFilter object as constructor. |
+| 128 | | source | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write source.
Conformity result: Return integer, read/write successfully, indicating search source, which defaults to Source Type ALL. |
+| 129 | | contentType | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write contentType.
Conformity result: Return integer, read/write successfully, indicating content type, which defaults to SearchContentType ALL. |
+| 130 | | contentNibble | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write contentNibble.
Conformity result: Return integer, read/write successfully, indicating the classification of filtered programs. |
+| 131 | | searchField | Conformity requirements:
Precondition: Call GlobalSearchFilter(). |
+
+| Serial No. | Object | Message/Interface/
Attribute | Process description |
+|------------|--------------------------|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | GlobalSearchFilter | | Test method: Read and write searchField.
Conformity result: Return integer, read/write successfully, indicating search field, which defaults to SearchFields.ALL_STRING_FIELDS. |
+| 132 | | searchLanauage | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write searchLanguage.
Conformity result: Return String type, read and write successfully, indicating the system language, which defaults to "zho". |
+| 133 | | criteriaFlags | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write criteriaFlags.
Conformity result: Return integer, read/write successfully, indicating filtering conditions. |
+| 134 | | maxResults | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write maxResults.
Conformity result: Return integer, read/write successfully, indicating the maximum number of results, which defaults to GlobalSearchFilter.DEFAULT_MAX_GLOBAL_SEARCH_RESULTS. |
+| 135 | | threshold | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read write threshold.
Conformity result: Return integer, read/write successfully, indicating the threshold for search query results, which defaults to 0. |
+| 136 | | timeLimit | Conformity requirements:
Precondition: Call GlobalSearchFilter().
Test method: Read and write timeLimit.
Conformity result: Return integer, read/write successfully, indicating timeout time, which defaults to 0 in seconds. |
+| 137 | AutoCompleteSearchFilter | AutoCompleteSearchFilter() | Conformity requirements:
Precondition: None.
Test method: Call AutoCompleteSearchFilter().
Conformity result: Return AutoCompleteSearchFilter object as constructor. |
+| 138 | | source | Conformity requirements:
Precondition: Call AutoCompleteSearchFilter().
Test method: Read and write source.
Conformity result: Return integer, read/write successfully, indicating search source, which defaults to Source Type ALL. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 139 | | searchField | Conformity requirements:
Precondition: Call AutoCompleteSearchFilter().
Test method: Read and write searchField.
Conformity result: Return integer, read/write successfully, indicating search field, which defaults to SearchFields.ALL_STRING_FIELDS. |
+| 140 | | searchLanauage | Conformity requirements:
Precondition: Call AutoCompleteSearchFilter().
Test method: Read and write searchLanguage.
Conformity result: Return string type, read and write successfully, indicating the system language which defaults to "zho". |
+| 141 | | maxResults | Conformity requirements:
Precondition: Call AutoCompleteSearchFilter().
Test method: Read and write maxResults.
Conformity result: Return an integer, read or write successfully, indicating the maximum number of results, which defaults to AutoCompleteSearchFilter.DEFAULT_MAX_AUTO_COMPLETE_SEARCH_RESULTS. |
+| 142 | | timeLimit | Conformity requirements:
Precondition: Call AutoCompleteSearchFilter().
Test method: Read and write timeLimit.
Conformity result: Return an integer, read or write successfully, indicating the timeout period, which defaults to 0 and is in seconds. |
+| 143 | SortCriteria | SortCriteria() | Conformity requirements:
Precondition: None.
Test method: Call SortCriteria().
Conformity result: Return SortCriteria object as constructor. |
+| 144 | | SortCriteria(field, order) | Conformity requirements:
Precondition: None.
Test method: Call SortCriteria(field, order).
Conformity result: Return SortCriteria object as constructor. |
+| 145 | | sortOrder | Conformity requirements:
Precondition: Successfully build SortCriteria.
Test method: Read and write sortOrder.
Conformity result: Return integer, read/write successful, indicating sorting method. |
+| 146 | | sortType | Conformity requirements:
Precondition: Successfully build SortCriteria.
Test method: Read and write sortType.
Conformity result: Return integer, read/write successful, indicating sorting basis. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 147 | GlobalSearchResultItem | getContent() | Conformity requirements:
Precondition: Successfully build GlobalSearchResultItem.
Test method: Call getContent().
Conformity result: Return an object with the object type specified by contentType, which can be a DvbEvent object or a PVRevent object. |
+| 148 | | contentType | Conformity requirements:
Precondition: Successfully build GlobalSearchResultItem.
Test method: Read contentType.
Conformity result: Return integer, read successfully, and can take the values of CONTENT_DVBEVENT or CONTENT_PVREVENT. |
+| 149 | SearchHistoryItem | getContentType() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem.
Test method: Call getContentType().
Conformity result: Return an integer that gets the content type of the history. |
+| 150 | | getCriteriaFlags() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem.
Test method: Call getCriteriaFlags().
Conformity result: Return an integer that gets the filter operator for the history record. |
+| 151 | | getSearchField() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem.
Test method: Call getSearchField().
Conformity result: Return an integer that gets the search field for the history record. |
+| 152 | | getSearchString() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem.
Test method: Call getSearchString().
Conformity result: Return an integer that gets the search keyword string for this history record. |
+| 153 | | getSortCriteria() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem.
Test method: Call getSortCriteria().
Conformity result: Return an integer that gets the sorting information of the history record. |
+| 154 | | getSource() | Conformity requirements:
Precondition: Successfully build SearchHistoryItem. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call getSource().
Conformity result: Return an integer that gets the search source for the history. |
+
+### B.11 Conformance test of the broadcast information service management unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | DthManager | startServer() | Conformity requirements:
Precondition: The test stream contains broadcast information service services, and the system is frequency-locked.
Test method: Call startServer().
Conformity result: The function return value is 0. |
+| 2 | | stopServer() | Conformity requirements:
Precondition: The test stream contains a broadcast information service service, the system is frequency locked and startServer() has been called.
Test method: Call stopServer().
Conformity result: The function return value is 0. |
+| 3 | | getADFinishStatus() | Conformity requirements:
Precondition: The test stream contains the power-on advertisement service, the system is frequency-locked, and startServer() is called for the first time at power-on.
Test method: Loop call getADFinishStatus().
Conformity result: The return value changes from 0 to 1. |
+| 4 | | getAllAds(epgInfoType,serviceid) | Conformity requirement 1:
Precondition: The test stream contains the power-on advertisement service, the system is frequency-locked, calls startServer(), and then calls getADFinishStatus() to wait for its return value to change from 0 to 1.
Test method: Call getAllAds(epgInfoType, serviceid) based on the advertising space and the service ID of the current program.
Conformity result: The return value returns the advertisement information of the current advertisement position in the code stream.
Conformity requirement 2:
Precondition: The test stream does not include power-on advertisements.
Test method: Call getAllAds(epgInfoType, serviceid) based on the advertising space |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DthManager | | and the service ID of the current program.
Conformity result: The return value does not contain advertising information. |
+| 5 | | getOsdXmlFile() | Conformity requirement 1:
Precondition: Test stream contains osd text prompt message service, the system is frequency-locked, call startServer().
Test method: Call getOsdXmlFile().
Conformity result: The return value returns the path where the OSD text is stored.
Conformity requirement 2:
Precondition: The test stream does not contain OSD text prompt information.
Test method: Call getOsdXmlFile().
Conformity result: The return value returns that the OSD text storage path is empty. |
+| 6 | | getOsdInfo(tag) | Conformity requirement 1:
Precondition: Test the code stream contains OSD text prompt information service, the system is frequency-locked, and call startServer().
Test method: Select different tag values and call getOsdInfo(tag).
Conformity result: The return value returns the OSD text prompt information corresponding to the tag broadcasted in the test stream.
Conformity requirement 2:
Precondition: The test stream does not include OSD text prompt information services.
Test method: Select different tag values and call getOsdInfo(tag).
Conformity result: The return value returns the default OSD text prompt information. |
+| 7 | | startAdPCT(transport_stream_id) | Conformity requirements:
Precondition: The test stream contains real-time advertising services and calls startServer().
Test method: Call startAdPCT(transport_stream_id) based on the current programm's tsid.
Conformity result: Return value returns 0. |
+| 8 | | stopEMBDAction() | Conformity requirement 1:
Precondition: The test stream contains the emergency broadcast trigger service, call startServer(), at which time the DTH_EVENT_EMBD_TRIG message should be continuously reported.
Test method: Call stopEMBDAction(). |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DthManager | | Conformity result: No more DTH_EVENT_EMBD_TRIG messages are received.
Conformity requirement 2:
Precondition: The test stream contains the emergency broadcast cancel service, call startServer(), at which time the DTH_EVENT_EMBD_CANCEL message should be continuously reported.
Test method: Call stopEMBDAction().
Conformity result: No more DTH_EVENT_EMBD_CANCEL messages are received. |
+| 9 | | recordAVBEvent(event_id, event_param) | Conformity requirements:
Precondition: The test stream includes ratings service and call startServer().
Test method: Call recordAVBEvent(event_id, event_param) based on the viewing type.
Conformity result: The function return value is 0. |
+| 10 | | dataBDStart(file_path) | Precondition: The test stream includes information service services and call startServer().
Test method: Call dataBDStart(file_path).
Conformity result: The return value is 0, and the download progress (0-100) can be obtained by calling getDATABDFinishPercent(). |
+| 11 | | dataBDStop() | Conformity requirements:
Precondition: The test stream includes information service services and call startServer().
Test method: Call dataBDStop().
Conformity result: Return value returns 0. |
+| 12 | | getDATABDFinishPercent() | Conformity requirement 1:
Precondition: The test stream includes information service services, call startServer(), and call dataBDStart(file_path).
Test method: Loop call getDATABDFinishPercent().
Conformity result: The return value ranges from 0 to 100.
Conformity requirement 2:
Precondition: The test stream does not include information services.
Test method: Loop call getDATABDFinishPercent().
Conformity result: The return value of the |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 13 | DthManager | getDataBDXmlFileData(file_name) | function remains constant at 0.
Conformity requirement 1:
Precondition: The test stream includes information service services, call startServer(), and call dataBDStart(file_path).
Test method: Call getDataBDXmlFileData (filename).
Conformity result: Return text information of the information service.
Conformity requirement 2:
Precondition: The test stream does not include information service services.
Test method: Call getDataBDXmlFileData (filename).
Conformity result: The return information service text information is null. |
+| 14 | | GPRSTransmit(conn_type, addr, port, data, timeout, retry_count) | Conformity requirement 1:
Precondition: USB is inserted into GPRS module, GPRS module is inserted into SIM card.
Test method: Select the correct IP address and port, call GPRSTransmit(conn_type, addr, port, data, timeout, retry_count) to send test data.
Conformity result: A DTH_EVENT_GPRS_SEND_STATUS message is received with a carry parameter of 1 to indicate successful transmission.
Conformity requirement 2:
Precondition: USB is inserted into GPRS module, GPRS module not be inserted into SIM card.
Test method: Select the wrong IP address and port, call GPRSTransmit(conn_type, addr, port, data, timeout, retry_count) to send test data.
Conformity result: A DTH_EVENT_GPRS_SEND_STATUS message is received with a carry parameter of 0 to indicate a transmission failure. |
+| 15 | | getGPRSStatus() | Conformity requirement 1:
Precondition: USB is inserted into GPRS module, GPRS module is inserted into SIM card.
Test method: Call getGPRSStatus().
Conformity result: Receive DTH_EVENT_GPRS STATUS message with parameter 0 to indicate that GPRS is working properly. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | DthManager | | Conformity requirement 2:
Precondition: USB is inserted into GPRS module, GPRS module not be inserted into SIM card.
Test method: Call getGPRSStatus().
Conformity result: Receive DTH_EVENT_GPRS STATUS message with parameter non-zero to indicate abnormal GPRS operation. |
+| 16 | | getGprsBaseStationInfo() | Conformity requirement 1:
Precondition: USB is inserted into GPRS module
Test method: Call getGprsBaseStationInfo().
Conformity result: A DTH_EVENT_GPRS_BASE_STATION message is received with a parameter carrying base station information whose value is not null.
Conformity requirement 2:
Precondition: USB is not inserted into GPRS module.
Test method: Call getGprsBaseStationInfo().
Conformity result: Receive DTH_EVENT_GPRS BASE_STATION message with parameter carrying base station information whose value is not null. |
+| 17 | | SaveNITServiceUpdateVersion() | Conformity requirements:
Precondition: The test stream contains programme update descriptors and call startServer().
Test method: Call SaveNITServiceUpdateVersion ().
Conformity result: The return value is 0. |
+| 18 | | GetBouquetId() | Conformity requirements:
Precondition: The test stream broadcast packet contains the code stream for the bouquet id service.
Test method: Call GetBouquetId().
Conformity result: Return the value of the bouquet id currently being broadcast by the system. |
+| 19 | | SaveNITServiceUpdateVersion() | Conformity requirements:
Precondition: The test stream contains programme update descriptors and calls startServer().
Test method: Call SaveNITServiceUpdateVersion ().
Conformity result: The return value is 0. |
+| 20 | | dataBDdeleteFiles() | Conformity requirements: |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: The test stream includes information services and can be downloaded normally.
Test method: Call dataBDdeleteFiles().
Conformity result: Delete the downloaded information service file.
|
+| 21 | Ad | adPath | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the adPath property.
Conformity result: Get the path where the advertisement is located.
|
+| 22 | | startDate | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the startDate property.
Conformity result: Get the start date required by the advertisement.
|
+| 23 | | startTime | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the startTime property.
Conformity result: Get the start time required by the advertisement.
|
+| 24 | | endDate | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the endDate property.
Conformity result: Get the end date required by the advertisement.
|
+| 25 | | endTime | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Ad | | getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the endTime property.
Conformity result: Get the end date required by the advertisement. |
+| 26 | | duration | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the duration attribute.
Conformity result: Get the duration of display required by the advertisement (in seconds). |
+| 27 | | tableExtId | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Get the tableExtId attribute.
Conformity result: Get the extension ID required by the advertisement (when multiple advertisements are received, display the advertisement images in order of size based on this ID). |
+| 28 | | getAllAdServices() | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object.
Test method: Call getAllAdServices().
Conformity result: Get the AdService array that currently contains the advertisement. |
+| 29 | AdService | onId | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceid) function based on the advertising location to obtain the advertising object, and call getAllAdServices() to obtain the AdService object.
Test method: Get the onId attribute. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 30 | AdService | tdId | Conformity result: Get the current tdId.
Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceId) function based on the advertising location to obtain the advertising object, and call getAllAdServices() to obtain the AdService object.
Test method: Get the tdId attribute.
Conformity result: Get the current tdId. |
+| 31 | | serviceId | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceId) function based on the advertising location to obtain the advertising object, and call getAllAdServices() to obtain the AdService object.
Test method: Get the serviceId attribute.
Conformity result: Get the current serviceId. |
+| 32 | | associateType | Conformity requirements:
Precondition: The test stream contains a power-on advertisement and can be downloaded normally. Call the getAllAds(epgInfoType, serviceId) function based on the advertising location to obtain the advertising object, and call getAllAdServices() to obtain the AdService object.
Test method: Get the associateType attribute.
Conformity result: Get the current associated type. |
+
+### B.12 Conformance test of multi-screen interactive unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | | startMultiScreenServer(String spName, String spDeviceType, String spServiceInfo, String spVersion, String ipAddress, int port, String hostname) | Conformity requirement 1:
Precondition: The device and server are connected to the same local area network.
Test method: Call the startMultiScreenServer() method and input valid parameters to start the multi screen interactive component server.
The validity of the parameters is as follows:
a) SpName represents the server name, with sizes ranging from 1 to 20000 characters in |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | startMultiScreenServer(String spName, String spDeviceType, String spServiceInfo, String spVersion, String ipAddress, int port, String hostname) | length
b) SpVersion represents the server_side version, with sizes ranging from 1 to 20000 characters in length
c) SpDeviceType represents the type of server_side device, with sizes ranging from 1 to 20000 characters in length
d) Port represents the device port number, ranging from 0 to 65535
e) SpServiceInfo represents server_side service information, with a size ranging from 1 to 20000 characters in length
f) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
g) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The device and server are connected to the same local area network.
Test method: Call the startMultiScreenServer() method and input invalid parameters.
Conformity result: The method returns a non OK error code. |
+| 2 | | stopMultiScreenServer() | Conformity requirement 1:
Precondition: Call the startMultiScreenServer() method to successfully start the multi screen interactive component server.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The multi screen interactive component server has not been started.
Test method: Call the stopMultiScreenServer() method.
Conformity result: The method returns a non OK error code. |
+| 3 | | startMultiScreenClient(String clientName) | Conformity requirement 1:
Precondition: The device and client are already connected to the same local area network.
Test method: Call the startMultiScreenClient() method and input valid parameters to start the multi screen interactive component client.
The validity of the parameters is as follows:
1) ClientName: indicates the client name, with a size ranging from 1 to 20000 characters in length.
Conformity result: The method returns OK. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | | Conformity requirement 2:
Precondition: The device and client are already connected to the same local area network.
Test method: Call the startMultiScreenClient() method and input invalid parameters.
Conformity result: The method returns a non OK error code. |
+| 4 | | stopMultiScreenClient() | Conformity requirement 1:
Precondition: Call the startMultiScreenClient() method to successfully start the multi screen interactive component client.
Test method: Call the stopMultiScreenClient() method.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The multi screen interactive component client is not ,successfully start.
Test method: Call the stopMultiScreenClient() method.
Conformity result: The method returns a non OK error code. |
+| 5 | | findSPs() | Conformity requirement:
Precondition: The service component device is connected to the same local area network as the server and client, and the service component device can be discovered.
Test method: Call the findSPs() method.
Conformity result: The method returns OK. |
+| 6 | | connect(String spName, String spDeviceType, String spServiceInfo, String spVersion, String ipAddress, int port, String hostname) | Conformity requirement 1:
Precondition: LAN server devices can be discovered.
Test method: Call the connect() method and input valid parameters.
The validity of the parameters is as follows:
a) SpName represents the server name, with sizes ranging from 1 to 20000 characters in length
b) SpVersion represents the server-side version, with sizes ranging from 1 to 20000 characters in length
c) SpServiceInfo represents server-side service information, with a size ranging from 1 to 20000 characters in length
d) SpDeviceType represents the type of server-side device, with sizes ranging from 1 to 20000 characters in length
e) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
f) Port represents the device port number, ranging from 0 to 65535 |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | | g) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: LAN server devices cannot be discovered.
Test method: Call the connect() method and input valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: LAN server devices can be discovered.
Test method: Call the connect() method and input invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 7 | | queryInfo(String ipAddress, int port, String hostname, String cmdid, String attribute, String params)
| Conformity requirement 1:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the queryInfo() method and inputs valid parameters.
The validity of the parameters is as follows:
- a) CMDID represents the instruction ID for requesting information, with sizes ranging from 1 to 20000 characters in length
- b) Attribute represents the instruction name for requesting information, with a size of 1-20000 characters in length
- c) Params represents the instruction parameters for requesting information, with sizes ranging from 1 to 20000 characters in length
- d) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
- e) Port represents the device port number, ranging from 0 to 65535
- f) Hostname: The device host name, with a size of 1-20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client and server have not established a connection.
Test method: The client calls the queryInfo() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | | Conformity requirement 3:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the queryInfo() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 8 | | execCmd(String ipAddress, int port, String hostname, String cmd, String param) | Conformity requirement 1:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the execCmd() method and inputs valid parameters.
The validity of the parameters is as follows:
a) Cmd represents key commands, with a size of 1-20000 characters in length
b) Param represents the parameter attached to the key command, with a size of 1-20000 characters in length
c) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address
d) Port represents the device port number, ranging from 0 to 65535
e) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client and server have not established a connection.
Test method: The client calls the execCmd() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The LAN multi screen interactive client and server have established a connection through connect().
Test method: The client calls the execCmd() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 9 | | inputKeyCode(String ipAddress, int port, String hostname, String action, String param) | Conformity requirement 1:
Precondition: The multi screen interactive client successfully calls the execCmd() method, and the server successfully inputs the instruction receiving state.
Test method: The client calls the
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | | inputKeyCode() method and inputs valid parameters.
The validity of the parameters is as follows:
a) Action represents a key command, with a size ranging from 1 to 20000 characters in length.
b) Param represents the parameter attached to the key command, with a size of 1-20000 characters in length.
c) IpAddress represents the device's IP address, with a size of 32-bit IPv4 address.
d) Port represents the device port number, ranging from 0 to 65535.
e) Hostname represents the device host name, with a size ranging from 1 to 20000 characters in length.
Conformity result: The method returns OK.
Conformity requirement 2:
Precondition: The server fails to successfully enter the instruction receiving state.
Test method: The client calls the inputKeyCode() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The multi screen interactive client successfully calls the execCmd() method, and the server successfully inputs the instruction receiving state.
Test method: The client calls the inputKeyCode() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 10 | | boardCastAllDevice(String cmd, String param) | Conformity requirement 1:
Precondition: The client and server of the local area network have successfully connected.
Test method: The multi screen interactive component server calls the boardCastAllDevice() method and inputs valid parameters. The validity of the parameters is as follows:
a) Cmd represents a broadcast instruction, with a size of 1-20000 characters in length
b) Param represents the parameter attached to the broadcast command, with a size of 1-20000 characters in length
Conformity result: The method returns OK.
Conformity requirement 2:
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | MultiScreen | | Precondition: The client and server of the local area network are not connected.
Test method: The multi screen interactive component server calls the boardCastAllDevice() method and inputs valid parameters.
Conformity result: The method returns a non OK error code.
Conformity requirement 3:
Precondition: The client and server of the local area network have successfully connected.
Test method: The multi screen interactive component server calls the boardCastAllDevice() method and inputs invalid parameters.
Conformity result: The method returns a non OK error code.
|
+| 11 | EventHandler | onSpFounded() | Conformity requirement 1:
Precondition: The LAN multi screen interactive component service can be discovered through the findSPs() method, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the findSp() method.
Conformity result: onSpFounded() is called in the instance.
Conformity requirement 2:
Precondition: If the local area network is unable to discover the multi screen interactive component service, the service will start and create an EventHandler object instance. Register the callback instance through Event.
Test method: Call the findSp() method.
Conformity result: The onSpFounded() method in the instance is not called.
|
+| 12 | | onConnected() | Conformity requirement 1:
Precondition: The LAN multi screen interactive component service can be connected through the connect() method, and currently is in an unconnected state. The service starts and creates an EventHandler object instance, which is registered through the Event callback instance.
Test method: Call the connect() method.
Conformity result: onConnected() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive component service cannot be connected, the service starts and creates an
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EventHandler | | EventHandler object instance, and registers the callback instance through Event.
Test method: Call the connect() method.
Conformity result: onConnected() in the instance is not called. |
+| 13 | | onConnectRefused() | Conformity requirement 1:
Precondition: The local area network multi screen interactive service component is currently in a rejected connection state. The service starts and creates an EventHandler object instance, which is registered through the Event callback instance.
Test method: Call the connect() method.
Conformity result: onConnectRefused() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive service component can connect and is currently in an unconnected state. The service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the connect() method.
Conformity result: onConnectRefused() is not called in the instance. |
+| 14 | | onDisconnected() | Conformity requirement 1:
Precondition: The LAN multi screen interactive service component can be disconnected, and currently is in a connected state, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the connect() method.
Conformity result: onDisconnected() is called in the instance.
Conformity requirement 2:
Precondition: The local area network multi screen interactive service component is currently in an unconnected state, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the connect() method.
Conformity result: onDisconnected() is not called in the instance. |
+| 15 | | onServiceActivated() | Conformity requirement 1:
Precondition: The LAN multi screen interactive component service can be connected through the connect() method, and currently is in an unconnected state. The |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EventHandler | | service starts and creates an EventHandler object instance, which is registered through the Event callback instance.
Test method: Call the connect() method.
Conformity result: onServiceActivated() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive component service cannot be connected, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the connect() method.
Conformity result: onServiceActivated() is not called in the instance.
|
+| 16 | | onServiceDeactivated() | Conformity requirement 1:
Precondition: The multi screen interactive service on the local area network can be turned off and is currently in a startup state; Create an EventHandler object instance and register the callback instance through Event.
Test method: Call the stopMultiScreenServer() method.
Conformity result: onServiceDeactivated() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive service is currently in an inactive state; Create an EventHandler object instance and register the callback instance through Event.
Test method: Call the stopMultiScreenServer() method.
Conformity result: onServiceDeactivated() is not called in the instance.
|
+| 17 | | onQueryInfo() | Conformity requirement 1:
Precondition: The LAN multi screen interactive component service is connected to the client, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the queryInfo() method.
Conformity result: onQueryInfo() is called in the instance.
Conformity requirement 2:
Precondition: If the LAN multi screen interactive component service is not connected to the client, the service will start and create an EventHandler object instance. Register the callback instance through Event.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|-------------------|------------------|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 18 | EventHandl
er | | Test method: Call the queryInfo() method.
Conformity result: onQueryInfo() is not called in the instance. |
+| | | onQueryResponse() | Conformity requirement 1:
Precondition: The LAN multi screen interactive server can respond to client data requests, start the service, create an EventHandler object instance, and register the callback instance through Event.
Test method: Call the queryResult() method.
Conformity result: onQueryResponse() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive server cannot respond to client data requests. The service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the queryResult() method.
Conformity result: onQueryResponse() is not called in the instance. |
+| 19 | | onExecute() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client can send instructions to the server to execute requests, and is currently in a connected state, the service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the execCmd() method.
Conformity result: onExecute() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client is not connected to the server, and the server cannot receive command execution requests. The service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the execCmd() method.
Conformity result: onExecute() is not called in the instance. |
+| 20 | | onInputKeyCode() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client can send button injection execution requests to the server, start the service and create an EventHandler object instance, and register the callback instance through Event.
Test method: Call the inputkeyCode() method.
Conformity result: onInputKeyCode() is called |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive client is not connected to the server, and the server cannot receive button injection execution requests. The service starts and creates an EventHandler object instance, which is registered through Event.
Test method: Call the inputkeyCode() method.
Conformity result: onInputKeyCode() is not called in the instance. |
+| 21 | | onNotify() | Conformity requirement 1:
Precondition: The LAN multi screen interactive client can receive broadcast notifications sent by the server, start and create an EventHandler object instance, and register the callback instance through Event.
Test method: Call the boardCastAllDevice() method.
Conformity result: onNotify() is called in the instance.
Conformity requirement 2:
Precondition: The LAN multi screen interactive server is not connected to the client, and the client cannot receive broadcasts. The service starts and creates an EventHandler object instance, and registers the callback instance through Event.
Test method: Call the boardCastAllDevice() method.
Conformity result: onNotify() is not called in the instance. |
+
+### B.13 Conformance test of DRM management unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | ChinaDrm Manager | ChinaDrm_RegisterApp (DrmSystemID, TAUUID register_commandId, register_pridata, enflag, licensereq_commandId, decrypt_commandId) | Conformity requirement 1:
Precondition: The DRM component is working properly.
Test method: Call the ChinaDrm_RegisterApp() method and input valid parameters.
Conformity result: The method call is successful and returns 0.
Conformity requirement 2:
Precondition: The DRM component is working properly.
Test method: Call the ChinaDrm_RegisterApp() method and input |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | ChinaDrm Manager | | invalid parameters.
Conformity result: Method returns non_0. |
+| 2 | | ChinaDrm_UnRegisterApp() | Conformity requirement 1:
Precondition: Successfully call the ChinaDrm_RegisterApp() method and register the DRM APP.
Test method: Call the ChinaDrm_UnRegisterApp() method.
Conformity result: The method call is successful and returns 0.
Conformity requirement 2:
Precondition: ChinaDrm_RegisterApp() method is not called successfully, DRM APP is not registered successfully.
Test method: Call the ChinaDrm_UnRegisterApp() method.
Conformity result: Method returns non-zero. |
+| 3 | | ChinaDrm_SendCommandToTA (commandId, sendData) | Conformity requirement 1:
Precondition: Successfully call the ChinaDrm_RegisterApp() method and register the DRM APP.
Test method: Call the ChinaDrm_SendCommandToTA() method and input valid parameters.
Conformity result: The method call succeeds, returning the TEE processing result in JSON format, describing the processing success.
Conformity requirement 2:
Precondition: Successfully call the ChinaDrm_RegisterApp() method and register the DRM APP.
Test method: Call the ChinaDrm_SendCommandToTA() method and input invalid parameters.
Conformity result: Return the TEE processing result in JSON format, describing the call failure. |
+| 4 | | ChinaDrm_SendMessageToPlayer(type,message) | Conformity requirement 1:
Precondition: Successfully call the ChinaDrm_RegisterApp() method and register the DRM APP.
Test method: Call the ChinaDrm_SendMessageToPlayer() method and input valid parameters.
Conformity result: The method call is successful and returns 0.
Conformity requirement 2:
Precondition: Successfully call the ChinaDrm_RegisterApp() method and register the DRM APP. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the ChinaDrm_SendMessageToPlayer() method and input invalid parameters.
Conformity result: Method call fails with a non zero return. |
+
+### B.14 Conformance test of DCAS management unit interface
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | EPG_DCAS | getActivationStatus() | Conformity requirement 1:
Precondition: The terminal has been activated.
Test method: Call getActivationStatus().
Conformity result: Return 0.
Conformity requirement 2:
Precondition: The terminal is not activated.
Test method: Call getActivationStatus().
Conformity result: Return non zero. |
+| 2 | | getBeidouInfo() | Conformity requirements:
Precondition: The terminal has been activated.
Test method: Call getBeidouInfo().
Conformity result: Return Beidou information. |
+| 3 | | getCASVersion() | Conformity requirements:
Precondition: CA is present.
Test method: Call getCASVersion().
Conformity result: Return the CAS version.
Conformity requirement 2:
Precondition: No CA.
Test method: Call getCASVersion().
Conformity result: Return null. |
+| 4 | | getCASVendorId() | Conformity requirement 1:
Precondition: CA is present.
Test method: Call getCASVendorId().
Conformity result: Return the CAS vendor ID.
Conformity requirement 2:
Precondition: No CA.
Test method: Call getCASVendorId().
Conformity result: Return 0. |
+| 5 | | getChipID() | Conformity requirement 1:
Precondition: Chipid is present in the chip.
Test method: Call getChipID().
Conformity result: Return CHIPID.
Conformity requirement 2:
Precondition: No chip present in the chip.
Test method: Call getChipID().
Conformity result: Return null. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 6 | EPG_DCAS | getHSMID() | Conformity requirement 1:
Precondition: HSM is present.
Test method: Call getHSMID().
Conformity result: Return HSMID.
Conformity requirement 2:
Precondition: No HSM.
Test method: Call getHSMID().
Conformity result: Return null. |
+| 7 | | getValidPosition() | Conformity requirement 1:
Precondition: Activation.
Test method: Call getValidPosition().
Conformity result: Return a valid location.
Conformity requirement 2:
Precondition: Not activated.
Test method: Call getValidPosition().
Conformity result: Return null. |
+| 8 | | getPersonalBits() | Conformity requirement 1:
Precondition: The terminal has PersonalBits.
Test method: Call getPersonalBits().
Conformity result: Return PersonalBits.
Conformity requirement 2:
Precondition: The terminal has no PersonalBits.
Test method: Call getPersonalBits().
Conformity result: Return 0. |
+| 9 | | getZipCode() | Conformity requirement 1:
Precondition: The terminal has set ZipCode.
Test method: Call getZipCode().
Conformity result: Return zipcode.
Conformity requirement 2:
Precondition: The terminal has not set ZipCode.
Test method: Call getZipCode().
Conformity result: Return null. |
+| 10 | JSDCAS.C
ASDescriptor | getCasId() | Conformity requirements:
Precondition: Successfully call CASSession.GetCasDescriptor.
Test method: Call getCasId().
Conformity result: Return CASID. |
+| 11 | | getPid() | Conformity requirements:
Precondition: Successfully call CASSession.GetCasDescriptor.
Test method: Call getPid().
Conformity result: Return PID. |
+| 12 | | getPrivateData() | Conformity requirements:
Precondition: Successfully call |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | CASSession.GetCasDescriptor.
Test method: Call getPrivateData().
Conformity result: Return CA private data. |
+| 13 | JSDCAS.C
ASEcmEvent | getEcmData() | Conformity requirement 1:
Precondition: The platform calls onEcmEvent, and DCAS obtains the ECM event object.
Test method: DCAS calls getEcmData().
Conformity result: Return ECM data.
Conformity requirement 2:
Precondition: The platform calls onEcmEvent and passes a null ECM event object.
Test method: DCAS calls getEcmData().
Conformity result: Return NULL. |
+| 14 | | getError() | Conformity requirements:
Precondition: The platform calls onEcmEvent, and DCAS obtains a null ECM event object.
Test method: DCAS calls getError().
Conformity result: Return the error value of the filter. |
+| 15 | | getTableId() | Conformity requirements:
Precondition: The platform calls onEcmEvent, and DCAS obtains the ECM event object.
Test method: DCAS calls getTableId().
Conformity result: Return tableID. |
+| 16 | | isTimeout() | Conformity requirement 1:
Precondition: DCAS calls enableDescramblingRequests with a set timeout duration, DCAS calls onEcmEvent, but no ECM data is obtained during the timeout.
Test method: DCAS calls isTimeout().
Conformity result: Return true.
Conformity requirement 2:
Preconditions: DCAS calls enableDescramblingRequests with a set timeout, DCAS calls onEcmEvent, and other errors do not receive ECM data.
Test method: DCAS calls isTimeout().
Conformity result: Return false. |
+| 17 | JSDCAS.C
ASEmmEvent | getEmmData() | Conformity requirement 1:
Precondition: The platform calls onInBandEmmEvent, and DCAS obtains the EMM event object.
Test method: DCAS calls getEmmData().
Conformity result: Return EMM data.
Conformity requirement 2:
Precondition: The platform calls onInBandEmmEvent and passes a null EMM |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | event object.
Test method: DCAS calls getEmmData().
Conformity result: Return NULL. |
+| 18 | | getError() | Conformity requirements:
Precondition: The platform calls onInBandEmmEvent, and DCAS obtains a null EMM event object.
Test method: DCAS calls getError().
Conformity result: Return the error value of the filter. |
+| 19 | JSDCAS.C
ASEmmEvent | getTableId() | Conformity requirements:
Precondition: The platform calls onInBandEmmEvent, and DCAS obtains the EMM event object.
Test method: DCAS calls getTableId().
Conformity result: Return tableID. |
+| 20 | | isCatUpdateNotification() | Conformity requirement 1:
Precondition: The platform calls onInBandEmmEvent, DCAS obtains a null EMM event object, and CAT updates result in null.
Test method: DCAS calls isCatUpdateNotification().
Conformity result: Return true.
Conformity requirement 2:
Precondition: The platform calls onInBandEmmEvent, DCAS obtains a null EMM event object, which is caused by an internal error.
Test method: DCAS calls isCatUpdateNotification().
Conformity result: Return false. |
+| 21 | JSDCAS.C
ASFilter | getBitmapMask() | Conformity requirement 1:
Precondition: DCAS calls startCasPacketLoading, and the platform obtains the CASFilter object.
Test method: Platform calls getBitmapMask().
Conformity result: Return the filter mask.
Conformity requirement 2:
Precondition: The platform calls startInbandLoading to obtain the CASFilter object.
Test method: Platform calls getBitmapMask().
Conformity result: Return the filter mask. |
+| 22 | | getBitmapValue() | Conformity requirement 1:
Precondition: The platform calls startCasPacketLoading to obtain the CASFilter object.
Test method: The platform calls |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------------|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | JSDCAS.C
ASFilter | | getBitmapValue().
Conformity result: Return the bitmap value.
Conformity requirement 2:
Precondition: The platform calls startInbandLoading to obtain the CASFilter object.
Test method: The platform calls getBitmapValue().
Conformity result: Return the bitmap value. |
+| 23 | | getOffset() | Conformity requirement 1:
Precondition: The platform calls startCasPacketLoading to obtain the CASFilter object.
Test method: Platform calls getOffset().
Conformity result: Return offset.
Conformity requirement 2:
Precondition: The platform calls startInbandLoading to obtain the CASFilter object.
Test method: Platform calls getOffset().
Conformity result: Return offset. |
+| 24 | JSDCAS.C
ASM | getCASModuleManager() | Conformity requirements:
Precondition: None.
Test method: Call getCASModuleManager().
Conformity result: Return the CASModuleManager object. |
+| 25 | | getTeeController() | Conformity requirements:
Precondition: None.
Test method: Call getTeeController().
Conformity result: Return the TeeController object. |
+| 26 | JSDCAS.C
ASModule | getCasId() | Conformity requirements:
Precondition: Successfully register RegisterCASModule(), the platform obtains CASModule.
Test method: Call getCasId().
Conformity result: Return CASID. |
+| 27 | | onCasPacketEvent(casPacketEvent) | Conformity requirements:
Precondition: DCAS successfully calls startCasPacketLoading(), and the platform receives the CAS packet.
Test method: Call onCasPacketEvent().
Conformity result: The platform provides the data to DCAS. |
+| 28 | | onEcmEvent(casSession,ecmEvent) | Conformity requirements:
Precondition: DCAS successfully calls startEcmLoading, and the platform receives a new ECM package. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------------|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 29 | JSDCAS.C ASModule | | Test method: Call onEcmEvent().
Conformity result: The platform provides ECM related information to DCAS. |
+| | | onInbandEmmEvent(casSessionForEMM,emmEvent) | Conformity requirements:
Precondition: DCAS successfully calls startInbandEmmLoading, and the platform receives a new EMM package.
Test method: Platform calls onInbandEmmEvent().
Conformity result: The platform provides EMM related information to DCAS. |
+| | | onStartDescrambling(casSession, firstEcmEvent) | Conformity requirements:
Precondition: After Successfully call enableDescramblingRequests(), the platform receives the ECM package.
Test method: Call onStartDescrambling().
Conformity result: The platform sends the received ECM to DCAS. |
+| | | onStopDescrambling(casSession) | Conformity requirements:
Precondition: Successfully call onStartDescrambling().
Test method: Call onStopDescrambling().
Conformity result: The platform notifies DCAS to stop descrambling. |
+| 32 | JSDCAS.C ASModule Manager | disableDescramblingRequests(casModule) | Conformity requirement 1:
Precondition: Successfully call enableDescramblingRequests.
Test method: Call disableDescramblingRequests() and input valid parameters.
Conformity result: Registration is successful, return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call enableDescramblingRequests.
Test method: Call disableDescramblingRequests() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call enableDescramblingRequests, underlying driver error.
Test method: Call disableDescramblingRequests() and input valid parameters.
Conformity result: Return |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------------------------|-----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | ACTION_ERROR_DRIVER. |
+| 33 | JSDCAS.CASModule Manager | enableDescramblingRequests(casModule,firstEcmTimeout,autoLoadFirstEcm,isFastMode,ecmTableIds) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call enableDescramblingRequests() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call enableDescramblingRequests() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule(), underlying driver error.
Test method: Call enableDescramblingRequests() and input valid parameters.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call enableDescramblingRequests(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
|
+| 34 | | fetchDataFromCasHeadend(casModule,inputData,casHeURI) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call fetchDataFromCasHeadend() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call fetchDataFromCasHeadend() and input invalid
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | JSDCAS.C
ASModule
Manager | | parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule(), underlying driver error.
Test method: Call fetchDataFromCasHeadend() and input valid parameters.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call fetchDataFromCasHeadend(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
Conformity requirement 5:
Precondition: Successfully call registerCASModule().
Test method: Call fetchDataFromCasHeadend(), with network error.
Conformity result: Return ACTION_ERROR_NETWORK. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|---------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 35 | | registerCASModule(vendorId,ca sModule,networkPriority,applicationContext) | Precondition: getCasId() has been implemented, and DCASAPP has permission.
Test method: Call registerCASModule() and input valid parameters.
Conformity result: Registration is successful, and return ACTION_OK.
Conformity requirement 2:
Precondition: getCasId() has been implemented, and DCASAPP has permission.
Test method: Call registerCASModule() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: getCasId() is implemented, DCASAPP has no permissions.
Test method: Call registerCASModule() and input valid parameters.
Conformity result: Return ACTION_ERROR_SECURITY.
|
+| 36 | | removeCASModule(vendorId,ca sModule,applicationContext) | Conformity requirement 1:
Precondition: DCASAPP has permission.
Test method: Call removeCASModule() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: DCASAPP has permission.
Test method: Call removeCASModule() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: DCASAPP has no permissions.
Test method: Call removeCASModule() and input valid parameters.
Conformity result: Return ACTION_ERROR_SECURITY.
Conformity requirement 4:
Precondition: DCASAPP has permission, underlying driver error.
Test method: Call removeCASModule() and input valid parameters.
Conformity result: Return ACTION_ERROR_DRIVER.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 37 | | sendCommandToSTB(casModule,inputData) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call sendCommandToSTB() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call sendCommandToSTB() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule(), underlying driver error.
Test method: Call sendCommandToSTB() and input valid parameters.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call sendCommandToSTB(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
Conformity requirement 5:
Precondition: Successfully call registerCASModule().
Test method: Call sendDataToHeadend(),with network error.
Conformity result: Return ACTION_ERROR_NETWORK.
|
+| 38 | | sendDataToHeadend(casModule, inputData) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call sendDataToHeadend() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call sendDataToHeadend() and input invalid parameters.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 39 | | | Conformity result:
Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule(), underlying driver error.
Test method: Call sendDataToHeadend() and input valid parameters.
Conformity result:
Return: ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call sendDataToHeadend(), and the input parameter command is not within the defined range.
Conformity result:
Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
Conformity requirement 5:
Precondition: Successfully call registerCASModule().
Test method: Call sendDataToHeadend(), with network error.
Conformity result:
Return ACTION_ERROR_NETWORK.
|
+| | | | Conformity requirement 1:
Precondition: Successfully call onStartDescrambling().
Test method: Call sendDescramblingEvent() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call onStartDescrambling().
Test method: Call sendDescramblingEvent() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call onStartDescrambling().
Test method: Call sendDescramblingEvent(), and the input parameter command is not within the defined range.
|
+
+sendDescramblingEvent(casModule, casSession, casStatus)
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED. |
+| 40 | | sendFreeTextOSD(casModule, inputData, flags) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call sendFreeTextOSD() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call sendFreeTextOSD() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule().
Test method: Call sendFreeTextOSD(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
|
+| 41 | | setCCIBits(casModule, casSession, cciBits) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call setCCIBits() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call setCCIBits() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule().
Test method: Call setCCIBits() resulted in underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | registerCASModule().
Test method: Call setCCIBits(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED. |
+| 42 | | setData(casModule, propertyId, propertyType, propertyValue) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call setData() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call setData() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule().
Test method: Call setData(), the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED. |
+| 43 | | setPinCode(casModule, pinCode) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call setPinCode() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call setPinCode() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule().
Test method: Call setPinCode(), underlying driver error.
Conformity result: Return |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|-----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 44 | | | ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call setPinCode(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED. |
+| | | setServiceListFilter(casModule,filterData) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call setServiceListFilter() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call setServiceListFilter() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule().
Test method: Call setServiceListFilter(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED. |
+| 45 | | startCasPacketLoading(casModule,cableModemFilter,sourceURL,casFilter) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call startCasPacketLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call startCasPacketLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call registerCASModule(). |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call startCasPacketLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call startCasPacketLoading(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
|
+| 46 | | startEcmLoading(casModule,cas Session) | Conformity requirement 1:
Precondition: Successfully call onStartDescrambling().
Test method: Call startEcmLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call onStartDescrambling().
Test method: Call startEcmLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call onStartDescrambling().
Test method: Call startEcmLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER.
|
+| 47 | | startInbandEmmLoading(casModule,emmTableIds,casFilter,includeCatNotifications) | Conformity requirement 1:
Precondition: Successfully call registerCASModule().
Test method: Call startInbandEmmLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call registerCASModule().
Test method: Call startInbandEmmLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|--------|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | registerCASModule().
Test method: Call startInbandEmmLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER.
Conformity requirement 4:
Precondition: Successfully call registerCASModule().
Test method: Call startInbandEmmLoading(), and the input parameter command is not within the defined range.
Conformity result: Return ACTION_ERROR_ACTION_NOT_SUPPORTED.
|
+| 48 | | stopCasPacketLoading(casModule,cableModemFilter,sourceURL) | Conformity requirement 1:
Precondition: Successfully call startCasPacketLoading().
Test method: Call stopCasPacketLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call startCasPacketLoading().
Test method: Call stopCasPacketLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call startCasPacketLoading().
Test method: Call stopCasPacketLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER.
|
+| 49 | | stopEcmLoading(casModule,casSession) | Conformity requirement 1:
Precondition: Successfully call startEcmLoading().
Test method: Call stopEcmLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call startEcmLoading().
Test method: Call stopEcmLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
|
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-----------------------|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity requirement 3:
Precondition: Successfully call startEcmLoading().
Test method: Call stopEcmLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER. |
+| 50 | | stopInbandEmmLoading(casModule) | Conformity requirement 1:
Precondition: Successfully call startInbandEmmLoading().
Test method: Call stopInbandEmmLoading() and input valid parameters.
Conformity result: Return ACTION_OK.
Conformity requirement 2:
Precondition: Successfully call startInbandEmmLoading().
Test method: Call stopInbandEmmLoading() and input invalid parameters.
Conformity result: Return ACTION_ERROR_INVALID_PARAMETERS.
Conformity requirement 3:
Precondition: Successfully call startInbandEmmLoading().
Test method: Call stopInbandEmmLoading(), underlying driver error.
Conformity result: Return ACTION_ERROR_DRIVER. |
+| 51 | JSDCAS.CASPacketEvent | getCableModemFilter() | Conformity requirement 1:
Precondition: The platform calls onCasPacketEvent without using Cable mode.
Test method: DCAS calls getCableModemFilter().
Conformity result: Return null.
Conformity requirement 2:
Precondition: The platform calls onCasPacketEvent and uses Cable mode.
Test method: DCAS calls getCableModemFilter().
Conformity result: Return TunnerID.
Conformity requirement 3:
Precondition: The platform calls onCasPacketEvent and uses BDSG mode.
Test method: DCAS calls getCableModemFilter().
Conformity result: Return the virtual MAC address. |
+| 52 | | getPacketData() | Conformity requirements:
Precondition: Platform calls |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|-------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | onCasPacketEvent.
Test method: DCAS calls getPacketData().
Conformity result: Return the data in the packet. |
+| 53 | | getPacketHeader() | Conformity requirements:
Precondition: Platform calls onCasPacketEvent.
Test method: DCAS calls getPacketHeader().
Conformity result: Return the header of the packet. |
+| 54 | | getSourceURL() | Conformity requirements:
Precondition: Platform calls onCasPacketEvent.
Test method: DCAS calls getSourceURL().
Conformity result: Return the source address of the packet. |
+| 55 | JSDCAS.CASSession | getCasDescriptor() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getCasDescriptor().
Conformity result: Return a CasDescriptor instance. |
+| 56 | | getChannelNumber() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getChannelNumber().
Conformity result: Return channel number. |
+| 57 | | getNetworkId() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getNetworkId().
Conformity result: Return NetworkId. |
+| 58 | | GetOperationType() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls GetOperationType().
Conformity result: Return the value of the operation type. |
+| 59 | JSDCAS.CASSession | getProgramNumber() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|----------------------|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | JSDCAS.C
ASession | | getProgramNumber().
Conformity result: Return the programme number. |
+| 60 | | getServiceIdentifier() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getServiceIdentifier().
Conformity result: Return the service identifier. |
+| 61 | | getSessionId() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getSessionId().
Conformity result: Return SessionId. |
+| 62 | | getStreamPath() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getStreamPath().
Conformity result: Return StreamPath. |
+| 63 | | getStreamPIDs() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getStreamPIDs().
Conformity result: Return a list of Stream PIDs. |
+| 64 | | getStreamTypes() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getStreamTypes().
Conformity result: Return a list of Stream Types. |
+| 65 | | getTransmitterScramblingMode() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object.
Test method: DCAS calls getTransmitterScramblingMode().
Conformity result: Return scrambling mode. |
+| 66 | | getTransportStreamId() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASSession object. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|---------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: DCAS calls getTransportStreamId().
Conformity result: Return TS ID. |
+| 67 | | getTunerId() | Conformity requirements:
Precondition: The platform calls onStartDescrambling, and DCAS obtains the CASession object.
Test method: DCAS calls getTunerId().
Conformity result: Return the current TunerID. |
+| 68 | | getCasToken() | Conformity requirements:
Precondition: DCAS calls sendDescramblingEvent, and the platform obtains the CASStatus object.
Test method: Platform calls getCasToken().
Conformity result: Return the CAS token. |
+| 69 | | getMajorContentProblem() | Conformity requirements:
Precondition: DCAS calls sendDescramblingEvent, and the platform obtains the CASStatus object.
Test method: The platform calls getMajorContentProblem().
Conformity result: Return the main error that cannot be viewed. |
+| 70 | JSDCAS.CASStatus | getStatusData() | Conformity requirements:
Precondition: DCAS calls sendDescramblingEvent, and the platform obtains the CASStatus object.
Test method: Platform calls getStatusData().
Conformity result: Return the extended data of the descrambling state. |
+| 71 | JSDCAS.CASStatus | isSuccess() | Conformity requirement 1:
Precondition: DCAS calls sendDescramblingEvent, the platform obtains the CASStatus object, and the programme descrambles normally.
Test method: Platform calls isSuccess().
Conformity result: Return true.
Conformity requirement 2:
Precondition: DCAS calls sendDescramblingEvent, platform obtains CASStatus object, programme descrambling fails.
Test method: Platform calls isSuccess().
Conformity result: Return false. |
+| 72 | JSDCAS.TeController | sendCommandToTEE(teeAppUID,commandId,inputData,applicationContext) | Conformity requirements:
Precondition: None.
Test method: DCAS calls sendCommandToTEE() with parameters. |
+
+| Serial No. | Object | Message/Interface/Attribute | Process description |
+|------------|------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: Return the TeeRetVal object. |
+| 73 | JSDCAS.TeeRetVal | getOriginCode() | Conformity requirements:
Precondition: DCAS successfully calls sendCommandToTEE and returns the TeeRetVal object.
Test method: DCAS calls getOriginCode().
Conformity result: Return Origin code. |
+| | | getResponseData() | Conformity requirements:
Precondition: DCAS successfully calls sendCommandToTEE and returns the TeeRetVal object.
Test method: DCAS calls getResponseData().
Conformity result: Get TA return data. |
+| | | getReturnCode() | Conformity requirements:
Precondition: DCAS successfully calls sendCommandToTEE and returns the TeeRetVal object.
Test method: DCAS calls getReturnCode().
Conformity result: Return the return code. |
+
+# Annex C
+
+## Conformance test of hardware abstraction interfaces
+
+(This annex forms an integral part of this Recommendation.)
+
+### C.1 Conformance test of specialized hardware abstraction interfaces for media processing
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 1 | Aout | aout_close() | Conformity requirement 1:
Precondition: Aout_open has been called to open the audio output module.
Test method: Call the aout_close function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: Aout_open is not called to open the audio output module.
Test method: Call the aout_close function and input invalid parameters.
Conformity result: The function returns non-zero.
|
+| 2 | | aout_open() | Conformity requirements:
Precondition: The system under test contains audio output hardware.
Test method: Call the aout_open function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the audio output hardware handle is obtained.
|
+| 3 | | *aout_close() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_close function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the audio output instance has been closed.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but no audio output instance has been opened.
Test method: Call the aout_close function and input invalid parameters.
Conformity result: The function returns non-zero.
|
+| 4 | | | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Aout | *aout_get_capability() | has been opened.
Test method: Call the aout_get_capability function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the audio output capability of the audio output instance.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_get_capability function and input invalid parameters.
Conformity result: The function returns non-zero. |
+| 5 | | *aout_get_channel_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_get_channel_mode function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the audio channel mode.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_get_channel_mode function and fill in invalid values for the device type input parameters.
Conformity result: The function returns non-zero. |
+| 6 | | *aout_get_digital_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_get_digital_mode function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns audio output mode.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_get_digital_mode function and input invalid parameters.
Conformity result: The function returns non-zero. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 7 | | *aout_get_mute() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_get_mute function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns whether the current tested device is muted.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_get_mute function and input invalid parameter values.
Conformity result: The function returned an invalid value.
|
+| 8 | | *aout_get_volume() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_get_volume function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the system volume of the current tested device.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_get_volume function and input invalid parameter values.
Conformity result: The function returns non-zero.
|
+| 9 | | *aout_init() | Conformity requirements:
Precondition: Get audio output hardware handle.
Test method: Call the aout_init function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the audio output module completes initialization.
|
+| 10 | | *aout_open() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained, and the initialization of the audio output module has been completed.
Test method: Call the aout_open function and input valid parameters.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function call is successful, returns 0, and the output parameter returns a handle to an audio output instance.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the initialization of the audio output module has not been completed.
Test method: Call the aout_open function and input valid parameters.
Conformity result: The function returns non-zero.
|
+| 11 | | *aout_set_channel_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_set_channel_mode function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the channel mode is correctly set.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_set_channel_mode function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 12 | | *aout_set_digital_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_set_digital_mode function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the digital output mode is correctly set.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_set_digital_mode function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 13 | | *aout_set_mute() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_set_mute function and input valid parameters.
Conformity result: The function call is successful and returns 0. Check if it has been muted based on the mute.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_set_mute function and input invalid parameters.
Conformity result: The function returns non-zero.
|
+| 14 | | *aout_set_volume() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_set_volume function and input valid parameters.
Conformity result: The function call is successful and returns 0. Check if the system volume has changed.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio output instance has not been opened.
Test method: Call the aout_set_volume function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 15 | | *aout_term() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the aout_term function and input valid parameters.
Conformity result: The function call is successful, returns 0, and all audio output instances are closed.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Repeatedly call the aout_term function and input valid parameters.
Conformity result: The function call is
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successful, returns 0, and all audio output instances are closed. |
+| 16 | | *track_create() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the track_create function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter obtains a non empty track output handle.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained and an audio output instance has been opened.
Test method: Call the track_create function multiple times and input valid parameters.
Conformity result: The function call is successful, and returns 0. Multiple non empty track output handles are obtained, and multiple tracks are mixed before being output.
|
+| 17 | | *track_destroy() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_destroy function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the corresponding audio track output handle is destroyed.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_destroy function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 18 | | *track_get_buf_avail() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_buf_avail function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the remaining available cache space size.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | handle has not been created.
Test method: Call the track_get_buf_avail function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 19 | | *track_get_latency() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_latency function and input valid parameters.
Conformity result: The function call is successful, returns 0, and outputs the duration for which the cached audio data can be played.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_latency function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 20 | | *track_get_mix_params() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_mix_params function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the track mixing parameter.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_mix_params function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 21 | | *track_get_params() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_params function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | returns the properties of the current audio track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_params function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 22 | | *track_set_mix_params() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_set_mix_params function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_set_mix_params function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 23 | | *track_set_params() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_set_params function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_set_params function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 24 | | *track_start() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_start function and input valid parameters.
Conformity result: The function call is |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successful, returns 0, and the audio starts outputting hardware output from the audio.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_start function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 25 | | *track_stop() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_stop function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the audio stops outputting from the audio hardware.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_stop function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 26 | | *track_flush() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained, and a track output handle has been created, and the output of that track has started.
Test method: Call the track_flush function and input valid parameters.
Conformity result: The function call is successful, and returns 0, the audio output is resumed after clearing the cache.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_flush function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 27 | | *track_set_mute() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_set_mute function |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | and input valid parameters.
Conformity result: The function call is successful, returns 0, and complete the setting of whether or not to mute the track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_set_mute function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 28 | | *track_get_mute() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_mute function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns whether the track is muted. This value needs to be consistent with the setting in the track_set_mute() interface.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_mute function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 29 | | *track_set_channel_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_set_channel_mode function and input valid parameters.
Conformity result: The function call is successful and returns 0, completes the setting of the channel output mode for the track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_set_channel_mode function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 30 | | *track_get_channel_mode() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_channel_mode function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the channel output mode of the track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_channel_mode function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 31 | | *track_set_weight() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_set_weight function and input valid parameters.
Conformity result: The function call is successful and returns 0, indicating the weight of the completed output of the track in the total output.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_set_weight function and take invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 32 | | *track_get_weight() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_weight function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the weight of the output of the track in the total output.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the track_get_weight function and take invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 33 | | *track_get_render_position() | Conformity requirement 1:
Precondition:
Test method: Call the track_get_render_position function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the the number of frames that have been output for the current track..
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_render_position function and take invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 34 | | *track_get_pts() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_pts function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the current PTS of the track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_pts function and take invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 35 | | *track_adjust_speed() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_adjust_speed function and input valid parameters.
Conformity result: The function call is successful, returns 0, and adjusts the playback speed of the current track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | handle has not been created.
Test method: Call the track_adjust_speed function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 36 | | *track_write() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_write function and input valid parameters.
Conformity result: The function call is successful, returns 0, and writes audio data to the current track output handle.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_write function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 37 | | *track_pause() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_pause function and input valid parameters.
Conformity result: The function call is successful, returns 0, and pauses the output of the current track.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_pause function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 38 | | *track_resume() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_resume function and input valid parameters.
Conformity result: The function call is successful, returns 0, and resumes the output of the current audio track.
Conformity requirement 2:
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_resume function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 39 | | *track_get_default_attr() | Conformity requirement 1:
Precondition: The audio output hardware handle has been obtained and a track output handle has been created.
Test method: Call the track_get_default_attr function and input valid parameters.
Conformity result: The function call is successful, returns 0, and gets the default properties of the current track output handle.
Conformity requirement 2:
Precondition: The audio output hardware handle has been obtained, but the audio track output handle has not been created.
Test method: Call the track_get_default_attr function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 40 | | av_close() | Conformity requirement 1:
Precondition: av_open has been called to open the audio and video module.
Test method: Call the av_close function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: No Precondition is set or av_open is not called to open the audio and video module.
Test method: Call the av_close function and input invalid parameters.
Conformity result: The function returns non-zero. |
+| 41 | Av | av_open() | Conformity requirements:
Precondition: The tested system contains audio and video hardware.
Test method: Call the av_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and gets the hardware handle of the audio and video hardware. |
+| 42 | | *av_clear_video() | Conformity requirement 1:
Precondition: The audio and video hardware |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Av | | handle has been obtained, and an audio and video playback instance has been created.
Test method: Call the av_clear_video function and input valid parameters.
Conformity result: The function call is successful, returns 0, and clears the cached data in the audio and video player.
Conformity requirement 2:
Precondition: The audio and video hardware handle has been obtained, and no audio and video playback instance has been created.
Test method: Call the av_clear_video function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 43 | | *av_create() | Conformity requirement 1:
Precondition: Get audio and video hardware handle.
Test method: Call the av_create function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the audio and video player instance.
Conformity requirement 2:
Precondition: Get audio and video hardware handle.
Test method: Call the av_create function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 44 | | *av_decode_iframe() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_decode_iframe function and input valid parameters.
Conformity result: The function call is successful, returns 0, and decodes one frame of I-frame video data.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_decode_iframe function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 45 | | *av_destroy() | Conformity requirement 1:
Precondition: The audio and video hardware
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Av | | handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_destroy function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the player instance is destroyed.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_destroy function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 46 | | *av_evt_config() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_evt_config function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the player's event notification callback function.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_evt_config function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 47 | | *av_freeze_video() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_freeze_video function and input valid parameters.
Conformity result: The function call succeeds and returns 0. The audio and video continue to be decoded, but the output is frozen.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_freeze_video function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 48 | | *av_get_capability() | Conformity requirement 1:
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Av | | Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_get_capability function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns the ability of the audio and video player as an argument.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_get_capability function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 49 | | *av_get_config() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_get_config function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns the configuration of the audio and video player.
Conformity requirement 2:
Precondition: No audio and video hardware handle is obtained, no audio and video player instance is created.
Test method: Call the av_get_config function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 50 | | *av_get_evt_config() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_get_evt_config function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns the configuration of the event callback function for the audio and video player.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_get_evt_config function and take invalid values for the input
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Av | | parameters.
Conformity result: The function returns non-zero. |
+| 51 | | *av_get_status() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_get_status function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns the status of the audio and video player with parameters.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_get_status function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 52 | | *av_init() | Conformity requirement 1:
Precondition: Get audio and video hardware handle.
Test method: Call the av_init function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the audio and video player is initialized.
Conformity requirement 2:
Precondition: Get audio and video hardware handle.
Test method: Call the av_init function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 53 | | *av_inject_abort() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_abort function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the injection of data into the player is terminated.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_abort function and take invalid values for the input parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 54 | Av | | Conformity result: The function returns non-zero. |
+| 55 | | *av_inject_data() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_data function and input valid parameters.
Conformity result: The function call is successful and returns 0, injecting audio and video data into the player.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_data function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 56 | | *av_inject_es_data() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_es_data function and input valid parameters.
Conformity result: The function call is successful and returns 0, injecting ES audio and video data into the player.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_es_data function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 57 | Av | | Test method: Call the av_inject_get_buf_status function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| | | *av_inject_get_freebuf() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_get_freebuf function and input valid parameters.
Conformity result: The function call is successful, returns 0, and gets the remaining cache space of the player.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_get_freebuf function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 58 | | *av_inject_reset_buf() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_reset_buf function and input valid parameters.
Conformity result: The function call is successful, returns 0, and resets the player's current cache space.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_reset_buf function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 59 | | *av_inject_set_es_params() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_set_es_params function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and ES player parameters are set. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 60 | Av | | Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_set_es_params function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| | | *av_inject_set_pcm_params() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_set_pcm_params function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and PCM parameters are set.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_set_pcm_params function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 61 | | *av_inject_write_complete() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_write_complete function and input valid parameters.
Conformity result: The function call is successful, returns 0, the data writing is completed, and the player decodes and plays the cached audio and video data.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_write_complete function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 62 | | *av_injecter_attach() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_injecter_attach function and input valid parameters.
Conformity result: The function call is successful and returns 0, completes the association between the audio and video player and the audio and video injector.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_injecter_attach function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 63 | | *av_injecter_close() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_injecter_close function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the audio and video injector is closed.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_injecter_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 64 | | *av_injecter_detach() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_injecter_detach function and input valid parameters.
Conformity result: The function call succeeds and returns 0, completing the unassociation of the audio/video player and the audio/video injector.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the av_injecter_detach function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 65 | | *av_injecter_open() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_injecter_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns a handle to the audio and video injector.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_injecter_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 66 | | *av_pause_audio() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_pause_audio function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the player's audio playback is paused.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_pause_audio function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 67 | | *av_pause_video() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_pause_video function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the player's video playback is paused.
Conformity requirement 2:
Precondition: Get audio and video hardware |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | handle, do not create an audio and video player instance.
Test method: Call the av_pause_video function and take invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 68 | | *av_resume_audio() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_resume_audio function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the player's audio playback is resumed.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_resume_audio function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 69 | | *av_resume_video() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_resume_video function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the player's video playback is resumed.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_resume_video function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 70 | | *av_set_config() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_set_config function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the player's |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | playback parameters.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_set_config function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 71 | | *av_start() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_start function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and playback began.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_start function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 72 | | *av_start_audio() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_start_audio function and input valid parameters.
Conformity result: The function call is successful, returns 0, and audio playback begins.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_start_audio function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 73 | | *av_start_video() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_start_video function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the video playback |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | begins.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_start_video function and take invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 74 | | *av_stop() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_stop function and input valid parameters.
Conformity result: The function call is successful, returns 0, and stops playing audio and video.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_stop function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 75 | | *av_stop_audio() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_stop_audio function and input valid parameters.
Conformity result: The function call is successful, returns 0, and stops audio playback.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_stop_audio function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 76 | | *av_stop_video() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_stop_video function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the video
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | playback stopped.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_stop_video function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 77 | | *av_term() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_term function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the audio and video player is destroyed.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_term function and take invalid values for input parameters.
Conformity result: The function returns non-zero. |
+| 78 | | *av_pause() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_pause function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and audio and video playback is paused.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_pause function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 79 | | *av_resume() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_resume function and input valid parameters.
Conformity result: The function call is |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successful and returns 0, resumed audio and video playback.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_resume function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 80 | | *av_reset() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_reset function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the audio and video playback is reset.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_reset function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 81 | | *av_release_iframe() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_release_iframe function and input valid parameters.
Conformity result: The function call is successful, returns 0, and releases an I frame.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_release_iframe function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 82 | | *av_inject_get_setting() | Conformity requirement 1:
Precondition: The audio and video hardware handle has been obtained, and an audio and video player instance has been created.
Test method: Call the av_inject_get_setting function and input valid parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function call is successful, returns 0, and the output parameter returns the set parameter of the audio and video injector.
Conformity requirement 2:
Precondition: Get audio and video hardware handle, do not create an audio and video player instance.
Test method: Call the av_inject_get_setting function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 83 | Demux | demux_close() | Conformity requirement 1:
Precondition: The tested system has called demux_close to obtain the demux hardware handle.
Test method: Call the demux_close function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the demux_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 84 | | demux_open() | Conformity requirement 1:
Precondition: The tested system contains demux hardware.
Test method: Call the demux_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the demux hardware handle.
Conformity requirement 2:
Precondition: None.
Test method: Call the demux_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 85 | | *dmx_avfilter_close() | Conformity requirement 1:
Precondition: A demux hardware handle has been obtained and a filter has been created.
Test method: Call the dmx_avfilter_close function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the filter is closed.
Conformity requirement 2:
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Demux | | Precondition: Get Demux hardware handle, no filter is created.
Test method: Call the dmx_avfilter_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 86 | | *dmx_avfilter_disable() | Conformity requirement 1:
Precondition: Get Demux hardware handle , filter is created.
Test method: Call the dmx_avfilter_disable function and input valid parameters.
Conformity result: The function call is successful, returns 0 to enable the filter.
Conformity requirement 2:
Precondition: Get Demux hardware handle , no filter is created.
Test method: Call the dmx_avfilter_disable function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 87 | | *dmx_avfilter_enable() | Conformity requirement 1:
Precondition: Get Demux hardware handle, filter is created.
Test method: Call the dmx_avfilter_enable function and input valid parameters.
Conformity result: The function call is successful, and return 0 to enable the filter.
Conformity requirement 2:
Precondition: Get Demux hardware handle , no filter is created.
Test method: Call the dmx_avfilter_enable function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 88 | | *dmx_avfilter_get_esframe() | Conformity requirement 1:
Precondition: Get Demux hardware handle , filter is created.
Test method: Call the dmx_avfilter_get_esframe function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter carries ES data.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no filter is created.
Test method: Call the dmx_avfilter_get_esframe function, and take invalid values for the input |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | parameters.
Conformity result: The function returns non-zero. |
+| 89 | Demux | *dmx_avfilter_open() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_avfilter_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter carries the filtered handle.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_avfilter_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 90 | | *dmx_avfilter_release_esframe() | Conformity requirement 1:
Precondition: Get Demux hardware handle , filter is created.
Test method: Call the dmx_avfilter_release_esframe function and input valid parameters.
Conformity result: The function call is successful, returns 0, and releases one frame of ES data.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no filter is created.
Test method: Call the dmx_avfilter_release_esframe function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 91 | | *dmx_channel_add_filter() | Conformity requirement 1:
Preconditions: Get Demux hardware handle, filter is created, data channel is created.
Test method: Call the dmx_channel_add_filter function and input valid parameters.
Conformity result: The function call is successful and returns 0, adds a filter to the data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no filter is created, no data channel is created.
Test method: Call the dmx_channel_add_filter function, and take invalid values for the input parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 92 | Demux | | Conformity result: The function returns non-zero. |
+| 93 | | *dmx_channel_close() | Conformity requirement 1:
Precondition: Get Demux hardware handle , data channel is created.
Test method: Call the dmx_channel_close function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the specified data channel is closed.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 94 | | *dmx_channel_config_callback() | Conformity requirement 1:
Precondition: Get Demux hardware handle, data channel is created.
Test method: Call the dmx_channel_config_callback function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the callback function for the data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_config_callback function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 95 | Demux | *dmx_channel_destroy_filter() | zero.
Conformity requirement 1:
Precondition: Get Demux hardware handle, data channel is created.
Test method: Call the dmx_channel_destroy_filter function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the filter specific to the data channel is destroyed.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_destroy_filter function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 96 | | *dmx_channel_disable() | Conformity requirement 1:
Precondition: Get Demux hardware handle , data channel is created.
Test method: Call the dmx_channel_disable function and input valid parameters.
Conformity result: The function call is successful and returns 0 to enable the data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_disable function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 97 | | *dmx_channel_disable_filter() | Conformity requirement 1:
Precondition: Get Demux hardware handle, data channel is created.
Test method: Call the dmx_channel_disable_filter function and input valid parameters.
Conformity result: The function call is successful and returns 0 to enable a certain filter of the data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_disable_filter function, and take invalid values for the input parameters.
Conformity result: The function returns non- |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 98 | Demux | | zero. |
+| 99 | | *dmx_channel_enable() | Conformity requirement 1:
Precondition: Get Demux hardware handle , data channel is created.
Test method: Call the dmx_channel_enable function and input valid parameters.
Conformity result: The function call is successful and returns 0, enables the data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_enable function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 100 | | *dmx_channel_enable_filter() | Conformity requirement 1:
Precondition: Get Demux hardware handle, data channel is created.
Test method: Call the dmx_channel_enable_filter function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure a filter for this data channel.
Conformity requirement 2:
Precondition: Get Demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_enable_filter function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 101 | | *dmx_channel_get_buf() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_get_buf function and input valid parameters.
Conformity result: The function call is successful, returns 0, and gets the data of the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_get_buf function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 102 | | *dmx_channel_get_filter() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_get_filter function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the filtering condition of the filter.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_get_filter function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 103 | | *dmx_channel_get_info() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_get_info function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the configuration information of the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_get_info function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 104 | | *dmx_channel_open() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_channel_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the handle of the data channel.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_channel_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 105 | | *dmx_channel_query() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_query function and input valid parameters.
Conformity result: The function call is successful, returns 0, and queries whether a certain PID has a data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_query function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 106 | | *dmx_channel_query_filter_by_filter_data() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_query_filter_by_filter_data function and input valid parameters.
Conformity result: The function call is successful and returns 0. Query whether the filter exists based on the filtering criteria.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_query_filter_by_filter_data function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 107 | | *dmx_channel_query_filter_by_table_id() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_query_filter_by_table_id function and input valid parameters.
Conformity result: The function call is successful and returns 0. Check if there is a matching filter based on the table ID.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_query_filter_by_table_id function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 108 | | *dmx_channel_register_callback() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_register_callback function and input valid parameters.
Conformity result: The function call is successful and returns 0. Register a callback function for the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_register_callback function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 109 | | *dmx_channel_release_buf() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_release_buf function and input valid parameters.
Conformity result: The function call is successful and returns 0, releases the cache space occupied by the data packet.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_release_buf function, and take invalid values for the input parameters.
Conformity result: The function returns non-
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | zero. |
+| 110 | | *dmx_channel_reset() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_reset function and input valid parameters.
Conformity result: The function call is successful and returns 0, completes the reset of the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_reset_function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 111 | | *dmx_channel_set() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_set function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the parameters of the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_set function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 112 | | *dmx_channel_set_filter() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_set_filter function and input valid parameters.
Conformity result: The function call is successful, returns 0, and sets the filtering conditions for the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_set_filter function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 113 | | *dmx_channel_set_pid() | Conformity requirement 1:
Precondition: Get demux hardware handle, data channel is created.
Test method: Call the dmx_channel_set_pid function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the PID of the data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no data channel is created.
Test method: Call the dmx_channel_set_pid function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 114 | | *dmx_dcas_get_nonce() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_dcas_get_nonce function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the NONCE value.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_dcas_get_nonce function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 115 | | *dmx_dcas_keyladder_config() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_dcas_keyladder_config function and input valid parameters.
Conformity result: The function call succeeds, returns 0, and configures the descrambling parameters.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_dcas_keyladder_config function, and take invalid values for the input parameters.
Conformity result: The function returns non-
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | zero. |
+| 116 | | *dmx_descrambler_associate() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_associate function and input valid parameters.
Conformity result: The function call is successful, returns 0, and is associated with a certain PID or data channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_associate function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 117 | | *dmx_descrambler_close() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_close function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the specified descrambling channel is closed.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_close function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 118 | | *dmx_descrambler_disable() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_disable function and input valid parameters.
Conformity result: The function call is successful and returns 0 to enable the specified descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_disable function, and take invalid values for the input
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | parameters.
Conformity result: The function returns non-zero. |
+| 119 | | *dmx_descrambler_enable() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_enable function and input valid parameters.
Conformity result: The function call is successful and returns 0, enables the specified descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_enable function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 120 | | *dmx_descrambler_get_associate_info() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_get_associate_info function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the channel information associated with the descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_get_associate_info function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 121 | | *dmx_descrambler_open() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_descrambler_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the descrambling channel handle.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the dmx_descrambler_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 122 | | *dmx_descrambler_open_ex() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_descrambler_open_ex function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the descrambling channel handle.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_open_ex function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 123 | | *dmx_descrambler_set_even_iv() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_set_even_iv function and input valid parameters.
Conformity result: The function call is successful, returns 0, and sets the initial vector corresponding to the even key to the descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_set_even_iv function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 124 | | *dmx_descrambler_set_even_key()
( | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_set_even_key function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the even key is |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | set.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_set_even_key function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 125 | | *dmx_descrambler_set_odd_iv() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_set_odd_iv function and input valid parameters.
Conformity result: The function call is successful, returns 0, and sets the initial vector corresponding to the odd key to the descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_set_odd_iv function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 126 | | *dmx_descrambler_set_odd_key()
) | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and a descrambling channel has been created.
Test method: Call the dmx_descrambler_set_odd_key function and input valid parameters.
Conformity result: The function call is successful, returns 0, and sets an odd key to the descrambling channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, no descrambling channel is created.
Test method: Call the dmx_descrambler_set_odd_key function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 127 | | *dmx_disconnect() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_disconnect function |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the connection between the demux hardware and the data source is disconnected.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_disconnect function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 128 | | *dmx_get_capability() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_capability function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the hardware capability of demux.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_capability function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 129 | | *dmx_get_descrambler_attribute(
) | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained, and the descrambling channel has been created.
Test method: Call the dmx_get_descrambler_attribute function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the properties of the descrambler.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_descrambler_attribute function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 130 | | *dmx_get_source_params() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_source_params function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the data source type of the demux hardware handle.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_source_params function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 131 | | *dmx_get_status() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_status function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the resource status of demux.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_status function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 132 | | *dmx_init() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_init function and input valid parameters.
Conformity result: The function call is successful and returns 0, completes the demux hardware initialization.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_init function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 133 | | *dmx_pcr_close() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and the PCR channel has been created.
Test method: Call the dmx_pcr_close function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the PCR channel is closed.
Conformity requirement 2:
Precondition: Get demux hardware handle, PCR channel is not created.
Test method: Call the dmx_pcr_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 134 | | *dmx_pcr_get() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained and the PCR channel has been created.
Test method: Call the dmx_pcr_get function and input valid parameters.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: Get demux hardware handle, PCR channel is not created.
Test method: Call the dmx_pcr_get function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 135 | | *dmx_pcr_open() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_pcr_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the value of PCR.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_pcr_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 136 | | *dmx_reconnect() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_reconnect function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the connection between demux and the data source is resumed.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_reconnect function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 137 | | *dmx_set_descrambler_attribute() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained, and the descrambling channel has been created.
Test method: Call the dmx_set_descrambler_attribute function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the properties of the descrambling channel.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained, and the descrambling channel has not been created.
Test method: Call the dmx_set_descrambler_attribute function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 138 | | *dmx_set_source_params() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_set_source_params function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the data source for demux.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_set_source_params function, and take invalid values for the input parameters.
Conformity result: The function returns non-
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | zero. |
+| 139 | | *dmx_term() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_term function and input valid parameters.
Conformity result: The function call is successful, and returns 0, terminates the demux module, and dmx_init() needs to be called again before it can be resumed to use.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_term function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 140 | | *dmx_tsbuff_create() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_tsbuff_create function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output channel returns a handle to a TS channel.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_tsbuff_create function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 141 | | *dmx_tsbuff_destroy() | Conformity requirement 1:
Precondition: Get demux hardware handle, TS channel is created.
Test method: Call the dmx_tsbuff_destroy function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and a TS channel handle is destroyed.
Conformity requirement 2:
Precondition: Get demux hardware handle, TS channel is not created.
Test method: Call the dmx_tsbuff_destroy function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 142 | | *dmx_tsbuff_get() | Conformity requirement 1:
Precondition: Get demux hardware handle, TS channel is created.
Test method: Call the dmx_tsbuff_get function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns a TS data.
Conformity requirement 2:
Precondition: Get demux hardware handle, TS channel not created.
Test method: Call the dmx_tsbuff_get function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 143 | | *dmx_tsbuff_put() | Conformity requirement 1:
Precondition: Get demux hardware handle, TS channel is created.
Test method: Call the dmx_tsbuff_put function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns a TS data to the TS channel.
Conformity requirement 2:
Precondition: Get demux hardware handle, TS channel not created.
Test method: Call the dmx_tsbuff_put function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 144 | | *dmx_get_streampath_param() | Conformity requirement 1:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_streampath_param function and input valid parameters.
Conformity result: The function call is successful, returns 0, and returns the channel information corresponding to the stream.
Conformity requirement 2:
Precondition: The demux hardware handle has been obtained.
Test method: Call the dmx_get_streampath_param function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|----------|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 145 | Frontend | frontend_close() | Conformity requirements:
Precondition: The tested system has Front hardware and has obtained the Front hardware handle.
Test method: Call the frontend_close function and input valid parameters.
Conformity result: Function call succeeds, and returns 0 |
+| 146 | | frontend_open() | Conformity requirement 1:
Precondition: The tested system has Front hardware.
Test method: Call the frontend_open function and input valid parameters.
Conformity result: The function call is successful, returns 0 and the hardware handle of the Front.
Conformity requirement 2:
Precondition: None.
Test method: Call the frontend_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 147 | | *frontend_abort() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_abort function and input valid parameters.
Conformity result: The function call is successful, returns 0, and terminates a series of operations on the Front hardware, such as Tuner frequency locking.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_abort function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 148 | | *frontend_atv_fineTune() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_atv_fineTune function and input valid parameters.
Conformity result: The function call is successful, returns 0, and adjusts the frequency of the Tuner.
Conformity requirement 2: |
+
+| Serial No. | Module | API | Process description |
+|------------|----------|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Frontend | | Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_atv_fineTune function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 149 | | *frontend_atv_get_lock_status() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_atv_get_lock_status function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the frequency locking situation of the Tuner.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_atv_get_lock_status function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 150 | | *frontend_close() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_close function and input valid parameters.
Conformity result: The function call is successful, returns 0, and closes an instance of Front.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_close function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 151 | | *frontend_config_callback() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_config_callback
|
+
+| Serial No. | Module | API | Process description |
+|------------|----------|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Frontend | | function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the callback function for the Front instance.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_config_callback function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 152 | | *frontend_config_channel() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_config_channel function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure the properties of the Front.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_config_channel function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 153 | | *frontend_get_atvsignalinfo() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_atvsignalinfo function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns signal information.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_atvsignalinfo function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+
+| Serial No. | Module | API | Process description |
+|------------|----------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 154 | Frontend | *frontend_get_bert() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_bert function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the error rate.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_bert function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 155 | | *frontend_get_capability() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_capability function and input valid parameters.
Conformity result: The function call succeeds, returns 0, and the output parameter returns Frontend's capabilities.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_capability function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 156 | | *frontend_get_channel_info() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_channel_info function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the channel capability of Front.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
|
+
+| Serial No. | Module | API | Process description |
+|------------|----------|---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Frontend | | Test method: Call the frontend_get_channel_info function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 157 | | *frontend_get_channel_num() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_channel_num function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the number of channels supported by the Front.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_channel_num function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 158 | | *frontend_get_connect_status() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_connect_status function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the frequency lock information.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_connect_status function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 159 | | *frontend_get_info() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_info function and input valid parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|----------|---------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Frontend | | Conformity result: The function call is successful, returns 0, and the output parameter returns information from Front.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_info function and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 160 | | *frontend_get_lnb_pwr_status() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_lnb_pwr_status function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the power supply status of the high-frequency head.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_lnb_pwr_status function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 161 | | *frontend_get_scan_info() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_scan_info function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the current scanned state.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_scan_info function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|----------|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 162 | Frontend | *frontend_get_signal_quality() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_signal_quality function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the current signal quality.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_signal_quality function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 163 | | *frontend_get_signal_strength() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_get_signal_strength function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the current signal strength.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_get_signal_strength function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero.
|
+| 164 | | *frontend_init() | Conformity requirement 1:
Precondition: Get Front hardware handle.
Test method: Call the frontend_init function and input valid parameters.
Conformity result: The function call is successful and returns 0, completes the initialization of the Front hardware.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_init function and
|
+
+| Serial No. | Module | API | Process description |
+|------------|----------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 165 | Frontend | | take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 166 | | *frontend_lock() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_lock function and input valid parameters.
Conformity result: The function call is successful, returns 0, and frequency locking is completed.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_lock function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 167 | | *frontend_open() | Conformity requirement 1:
Precondition: Get Front hardware handle.
Test method: Call the frontend_open function and input valid parameters.
Conformity result: The function call is successful, returns 0, and the output parameter returns the created Front instance.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_open function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | frontend_register_callback function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 168 | | *frontend_sat_config_lnb() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_sat_config_lnb function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and the high-frequency header is set.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_sat_config_lnb function, and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 169 | | *frontend_start_scan() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_start_scan function and input valid parameters.
Conformity result: The function call is successful, and returns 0, and scanning begins.
Conformity requirement 2:
Precondition: The Front hardware handle has been obtained, but no Front instance has been created.
Test method: Call the frontend_start_scan function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 170 | | *frontend_term() | Conformity requirement 1:
Precondition: The Front hardware handle has been obtained and a Front instance has been created.
Test method: Call the frontend_term function and input valid parameters.
Conformity result: The function call is successful, returns 0, and an instance of Front is destroyed.
Conformity requirement 2:
Precondition: The Front hardware handle has |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | been obtained, but no Front instance has been created.
Test method: Call the frontend_term function and take invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 171 | System | system_close() | Conformity requirements:
Precondition: System_open has been called to open the system module.
Test method: Call the system_close function, and transfer the pstDevice parameter effectively.
Conformity result: The function returns a success of 0. |
+| 172 | | system_open() | Conformity requirements:
Precondition: The system module is not opened by calling system open.
Test method: Call the system_open function, and both the pstModule and ppstDevice parameters are valid.
Conformity result: The function call is successful and returns 0. The output module handle is valid. |
+| 173 | | *system_get_chip_id() | Conformity requirement 1:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_get_chip_id function, and the parameters pstDev/pstChipId are all valid.
Conformity result: The function call is successful and returns 0. The content of pstChipId is correct.
Conformity requirement 2:
Precondition: System_open has been called to open the system module. The system init function is not called to initialize the module.
Test method: Call the system_get_chip_id function, and the parameters pstDev/pstChipId are all valid.
Conformity result: The function call fails and returns ERROR_NOT_INITED. |
+| 174 | | *system_init() | Compliance requirement 1:
Precondition: System_open has been called to open the system module.
Test method: Call the system_init function, and the parameters pstDev/pstInitParams are valid.
Compliance result: The function call is successful and returns 0.
Compliance requirement 2: |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | System | | Prerequisite: System_open has been called to open the system module.
Test method: Call the system_init function twice, and the parameters pstDev/pstInitParams are both valid.
Compliance result: Both function calls are successful and return 0.
|
+| 175 | | *system_switch_standby() | Conformity requirement 1:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_switch_standby function, and the parameters pstDev/pstPara/pstWakeupInfo are all valid.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: System_open has been called to open the system module. The system init function is not called to initialize the module.
Test method: Call the system_switch_standby function, and the parameters pstDev/pstPara/pstWakeupInfo are all valid.
Conformity result: The function call fails and returns ERROR_NOT_INITED.
Conformity requirement 3:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_switch_standby function, with valid parameters pstDev/pstWakeupInfo and a null parameter pstPara.
Conformity result: The Function call fails, and returns ERROR_INVALID_PARAM.
Conformity requirement 4:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_switch_standby function, with valid parameters pstDev/pstPara and a null parameter pstWakeupInfo.
Conformity result: The Function call fails, and returns ERROR_INVALID_PARAM.
|
+| 176 | | *system_sys_halt() | Conformity requirement 1:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_sys_halt function, the parameter pstDev is valid, and the parameter
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | System | | u32TimeMs is 3000.
Conformity result: The function call is successful and returns 0. The system will automatically shut down after 3 seconds.
Conformity requirement 2:
Precondition: System_open has been called to open the system module. The system init function is not called to initialize the module.
Test method: Call the system_sys_halt function, the parameter pstDev is valid, and the parameter u32TimeMs is 3000.
Conformity result: The function call fails and returns ERROR_NOT_INITED.
|
+| 177 | | *system_sys_reboot() | Conformity requirement 1:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_sys_reboot function, with valid parameter pstDev and parameter u32TimeMs of 3000.
Conformity result: The function call is successful and returns 0. The system will automatically restart after 3 seconds.
Conformity requirement 2:
Precondition: System_open has been called to open the system module. The system init function is not called to initialize the module.
Test method: Call the system_sys_reboot function, with valid parameter pstDev and parameter u32TimeMs of 3000.
Conformity result: The function call failed and returned ERROR_NOT_INITED.
|
+| 178 | | *system_term() | Conformity requirement 1:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_term function, and the parameters pstDev/pstTermParams are both valid.
Conformity result: The function call is successful and returns 0.
Conformity requirement 2:
Precondition: System_open has been called to open the system module. The system init function has been called to initialize the module.
Test method: Call the system_term function, the parameter pstDev is valid, and the parameter pstTermParams is NULL.
Conformity result: The function call is successful and returns 0.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 179 | Vout | vout_close() | Conformity requirement 1:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_close function and input valid parameters.
Conformity result: The function call is successful and returns 0. Close the video output hardware handle.
Conformity requirement 2:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_close function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 180 | | vout_open() | Conformity requirement 1:
Precondition: The tested system has video output hardware.
Test method: Call the vout_open function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters return the hardware handle for video output.
Conformity requirement 2:
Precondition: None.
Test method: Call the vout_open function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 181 | | *vout_autodetect3dformat() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_autodetect3dformat function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set automatic video output to automatically detect 3D mode.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_autodetect3dformat function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 182 | | *vout_close_channel() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_close_channel function and input valid parameters.
Conformity result: The function call is successful and returns 0. Close the specified video output channel.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_close_channel function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 183 | | *vout_display_get() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_display_get function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters to return video display parameters.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_display_get function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 184 | | *vout_display_set() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_display_set function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set video display parameters.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_display_set function and select invalid values as input parameters.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function returns non-zero. |
+| 185 | | *vout_evt_config() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_evt_config function and input valid parameters.
Conformity result: The function call is successful and returns 0. Configure parameters for video output events.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_evt_config function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 186 | | *vout_get_3dmode() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_3dmode function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters to return the 3D mode of video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_get_3dmode function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 187 | | *vout_get_bg_color() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_bg_color function and input valid parameters.
Conformity result: The function call is successful and returns 0. The output parameter returns the background color of the video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | has been created.
Test method: Call the vout_get_bg_color function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 188 | | *vout_get_capability() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_capability function and input valid parameters.
Conformity result: The function call is successful and returns 0. The ability to output parameters and return video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_get_capability function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 189 | | *vout_get_edid() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_edid function and input valid parameters.
Conformity result: The function call is successful and returns 0. The ability to output parameters and return Extended Display Identification Data (EDID).
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_get_edid function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 190 | | *vout_get_evt_config() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_evt_config function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters to |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | return configuration information for event callbacks.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_get_evt_config function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 191 | | *vout_get_hdcp_status() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_get_hdcp_status function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters returns the status of HDCP.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_get_hdcp_status function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 192 | | *vout_init() | Conformity requirement 1:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_init function and input valid parameters.
Conformity result: The function call is successful and returns 0. Complete the initialization of video output hardware.
Conformity requirement 2:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_init function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 193 | | *vout_open_channel() | Conformity requirement 1:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_open_channel function and input valid parameters.
Conformity result: The function call is
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | successful and returns 0. The output parameter returns the handle of the video output window instance.
Conformity requirement 2:
Precondition: A video output hardware handle has been created.
Test method: Call the vout_open_channel function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 194 | | *vout_outputchannel_mute() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_outputchannel_mute function and input valid parameters.
Conformity result: The function call is successful and returns 0. Close the corresponding window output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_outputchannel_mute function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 195 | | *vout_outputchannel_unmute() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_outputchannel_unmute function and input valid parameters.
Conformity result: The function call is successful and returns 0. Resume the video output of the corresponding video window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_outputchannel_unmute function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 196 | | *vout_set_3d_lr_switch() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_set_3d_lr_switch function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set 3D to swap left and right.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_set_3d_lr_switch function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 197 | | *vout_set_3dmode() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_set_3dmode function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the output mode for 3D.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_set_3dmode function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 198 | | *vout_set_bg_color() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_set_bg_color function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the background color of the output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_set_bg_color
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 199 | | *vout_set_hdcp_params() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_set_hdcp_params function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the parameters of HDCP.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_set_hdcp_params function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 200 | | *vout_term() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_term function and input valid parameters.
Conformity result: The function call is successful and returns 0. Destroy the corresponding video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_term function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 201 | | *vout_vbi_cgms_start() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_vbi_cgms_start function and input valid parameters.
Conformity result: The function call is successful and returns 0. Start window copying.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | has been created.
Test method: Call the vout_vbi_cgms_start function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 202 | | *vout_vbi_cgms_stop() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_vbi_cgms_stop function and input valid parameters.
Conformity result: The function call is successful and returns 0. Stop window copying.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_vbi_cgms_stop function and select invalid values for the input parameters.
Conformity result: The function returns non-zero. |
+| 203 | | *vout_vbi_microvision_enable() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_vbi_microvision_enable function and input valid parameters.
Conformity result: The function call is successful and returns 0. Enable macrovision.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_vbi_microvision_enable function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 204 | | *vout_vbi_microvision_setup() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_vbi_microvision_setup function and input valid parameters.
Conformity result: The function call is successful and returns 0. Create macrovision. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 205 | | | Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_vbi_microvision_setup function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| | | *vout_window_attach_input() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_attach_input function and input valid parameters.
Conformity result: The function call is successful and returns 0. Associate the video output window with the data source.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_attach_input function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 206 | | *vout_window_create() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_create function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters to return a handle to a real window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_create function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 207 | | *vout_window_dequeue_frame() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_dequeue_frame function and input valid parameters.
Conformity result: The function call is successful and returns 0. Retrieve one frame of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_dequeue_frame function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 208 | | *vout_window_destroy() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_destroy function and input valid parameters.
Conformity result: The function call is successful and returns 0. Destroy the corresponding video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_destroy function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 209 | | *vout_window_detach_input() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_detach_input function and input valid parameters.
Conformity result: The function call is successful and returns 0. The video output window is unbound from the input source.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | has been created.
Test method: Call the vout_window_detach_input function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 210 | | *vout_window_enable_filmmode(
) | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_enable_filmmode function and input valid parameters.
Conformity result: The function call is successful and returns 0. Turn movie mode on or off.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_enable_filmmode function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 211 | | *vout_window_enable_panorama()
() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_enable_panorama function and input valid parameters.
Conformity result: The function call is successful and returns 0. Enable or disable panoramic mode.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_enable_panorama function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 212 | | *vout_window_freeze() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_freeze function and input valid parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function call is successful and returns 0. Pause the video output of this window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_freeze function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 213 | | *vout_window_get() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters to return the configuration parameters of the video window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_get function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 214 | | *vout_window_get_input_rect() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_input_rect function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters return the size of the video input window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_get_input_rect function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 215 | | *vout_window_get_output_rect() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_output_rect function and input valid parameters.
Conformity result: The function call is successful and returns 0. The output parameter returns the size of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_get_output_rect function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 216 | | *vout_window_get_playinfo() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_playinfo function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters return the delay information of video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_get_playinfo function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 217 | | *vout_window_get_status() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_status function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters return the status of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | has been created.
Test method: Call the vout_window_get_status function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 218 | | *vout_window_get_virtual_size() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_virtual_size function and input valid parameters.
Conformity result: The function call is successful and returns 0. Output parameters return the size of the virtual output window for the video.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_get_virtual_size function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 219 | | *vout_window_mute() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_mute function and input valid parameters.
Conformity result: The function call is successful and returns 0. Pause video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_mute function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 220 | | *vout_window_queue_frame() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_queue_frame function and input valid parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function call is successful and returns 0. Send a frame to the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_queue_frame function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 221 | | *vout_window_reset() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_reset function and input valid parameters.
Conformity result: The function call is successful and returns 0. Reset the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_reset function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 222 | | *vout_window_set() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the output parameters of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 223 | | *vout_window_set_colortemperature() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set_colortemperature function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the color temperature of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set_colortemperature function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 224 | | *vout_window_set_input_rect() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set_input_rect function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the input size for this video window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set_input_rect function and select invalid values as input parameters.
Conformity result: The function returns non-zero.
|
+| 225 | | *vout_window_set_mute_color() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set_mute_color function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the background color after the output window is closed.
Conformity requirement 2:
Precondition: A video output hardware handle
|
+
+| Serial No. | Module | API | Process description |
+|------------|--------|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | has been created, but no video output instance has been created.
Test method: Call the vout_window_set_mute_color function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 226 | | *vout_window_set_output_rect() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set_output_rect function and input valid parameters.
Conformity result: The function call is successful and returns 0. Set the output size of the video window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set_output_rect function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 227 | | *vout_window_set_zorder() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_set_zorder function and input valid parameters.
Conformity result: The function call is successful and returns 0. Complete the Z-order setting of the video output window.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set_zorder function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 228 | | *vout_window_unfreeze() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_unfreeze function and input valid parameters. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Conformity result: The function call is successful and returns 0. Resume video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_unfreeze function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 229 | | *vout_window_unmute() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_unmute function and input valid parameters.
Conformity result: The function call successfully returns 0. Open video output.
Conformity requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_unmute function and select invalid values as input parameters.
Conformity result: The function returns non-zero. |
+| 230 | Vout | *vout_window_set_video_rect() | Compliance requirement 1:
Precondition: Video output hardware handle has been created, video output instance has been created.
Test method: Call the vout_window_set_video_rect function and input valid parameters.
Compliance result: The function call is successful and returns 0.
Compliance requirement 2:
Precondition: A video output hardware handle has been created, but no video output instance has been created.
Test method: Call the vout_window_set_video_rect function and select an invalid value as the input parameter.
Compliance result: The function returns non-zero. |
+| 231 | | *vout_window_get_video_rect() | Conformity requirement 1:
Precondition: A video output hardware handle has been created, and a video output instance has been created. |
+
+| Serial No. | Module | API | Process description |
+|------------|--------|-----|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | | Test method: Call the vout_window_get_video_rect function and input valid parameters.
Conformity result: The function call is successful and returns 0. Get the current correct video output rectangle parameters.
fuConformity requirement 2:
Precondition: A video output hardware handle has been created, and a video output instance has been created.
Test method: Call the vout_window_get_video_rect function and input invalid parameters.
Conformity result: The function call fails with a non-zero error code.
|
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1210-201907-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1210-201907-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..529e4f72f14cdf7f41f56cfbfb26655bf8181c59
--- /dev/null
+++ b/marked/J/T-REC-J.1210-201907-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:abb9e3ec6dfc8364cedc39a68cf796e9d3ff5529c79a1811eedeb12c6d6e7583
+size 3787
diff --git a/marked/J/T-REC-J.1210-201907-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg b/marked/J/T-REC-J.1210-201907-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7526fae17caec7a9cf4b40d98662006a13be67c7
--- /dev/null
+++ b/marked/J/T-REC-J.1210-201907-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbfe482a3705f3d3113b17ee484758e1a3ba606af91c1f1af093b96fe224bd23
+size 51308
diff --git a/marked/J/T-REC-J.1210-201907-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/J/T-REC-J.1210-201907-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a4228ff5a1185cb1cc15e8f13f9b6d90eed30ccb
--- /dev/null
+++ b/marked/J/T-REC-J.1210-201907-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:23d4046b37a7198ce1d9ea0edccedf49c6c9749ce25811cae53a05b2291ec1f4
+size 60759
diff --git a/marked/J/T-REC-J.1210-201907-I_PDF-E/raw.md b/marked/J/T-REC-J.1210-201907-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..bb77647359680d513593e244e5b1006db19b75ea
--- /dev/null
+++ b/marked/J/T-REC-J.1210-201907-I_PDF-E/raw.md
@@ -0,0 +1,297 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.1210**
+
+(07/2019)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+IP Video Broadcast
+
+---
+
+**Requirements of IP video broadcast (IPVB) for
+cable TV networks**
+
+Recommendation ITU-T J.1210
+
+
+
+# Recommendation ITU-T J.1210
+
+# Requirements of IP video broadcast (IPVB) for cable TV networks
+
+## Summary
+
+In recent years, IP-based video services have been developed rapidly in cable television (CATV) networks, especially the highly asymmetric IP-based services with large bandwidth, such as 4K, 8K and virtual reality (VR), whose single programme bandwidth might easily exceed 35 Mbps or even go up to 100 Mbps. This requires huge downlink bandwidth of transmission channels and poses challenges to the existing CATV technologies. For this scenario, it is necessary to propose a solution with lower cost and less complexity for meeting the bandwidth requirements of the current asymmetric IP-based video service.
+
+Recommendation ITU-T J.1210 specifies an IP video broadcast (IPVB) technology, which simply adds a one-way IP-based video broadcast system to the existing low-cost bidirectional CATV networks, including both hybrid fibre coax (HFC) and optical networks. The IPVB can greatly increase the bandwidth of downlink programs when using an optical network and at the same time, have the characteristics of low cost and low complexity. The IPVB in downlink transmits IP-based video streams through broadcast channels which are identified by multicast IP addresses and user datagram protocol (UDP) port numbers and broadcasts all the IP-based video streams through the CATV networks to all subscribers. By cooperating with the uplink channel provided by the existing bidirectional access networks, it is capable of providing varieties of IP-based high bitrate video services in CATV networks.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T J.1210 | 2019-07-29 | 9 | 11.1002/1000/13976 |
+
+## Keywords
+
+Broadcast, CATV, IP video broadcast, IPVB.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 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 .
+
+© ITU 2019
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|--------------------------------------------------------------|------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Conventions ..... | 2 |
+| 6 Overview..... | 2 |
+| 7 Requirements ..... | 4 |
+| 7.1 Functional requirements ..... | 4 |
+| 7.2 Performance requirements ..... | 5 |
+| Appendix I – Scenario for IPVB multi-screen interaction..... | 6 |
+
+
+
+# Recommendation ITU-T J.1210
+
+## Requirements of IP video broadcast (IPVB) for cable TV networks
+
+# 1 Scope
+
+This Recommendation describes the functional and performance requirements of the IP video broadcast (IPVB) for cable television (CATV) networks. The IPVB is a delivery scheme to support IP-based video services for CATV networks. The purpose of the IPVB system is to transmit IP-based video streams through broadcast channels identified by multicast IP addresses and user datagram protocol (UDP) port numbers over CATV networks.
+
+## 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 indicated 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-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.
+
+[ETSI TR 101 290] ETSI TR 101 290 V1.3.1 (2014), *Digital Video Broadcasting (DVB) – Measurement guidelines for DVB systems*.
+
+## 3 Definitions
+
+### 3.1 Terms defined elsewhere
+
+None.
+
+### 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 area code table (ACT):** The basic table in an IP video broadcast (IPVB) headend that is used to describe the regional identification of centre offices.
+
+**3.2.2 multicast information table (MIT):** The basic table in an IP video broadcast (IPVB) headend that is used to describe the information of multicast IP addresses and UDP destination port numbers of each service in the broadcast transmission network.
+
+**3.2.3 service name list table (SNLT):** The basic table in an IP video broadcast (IPVB) headend that is used to describe the name information and other information (such as programme provider information, etc.) of each video programme.
+
+## 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|--------------------|
+| CATV | Cable Television |
+| HFC | Hybrid Fibre Coax |
+| IP | Internet Protocol |
+| IPVB | IP Video Broadcast |
+| LAN | Local Area Network |
+
+| | |
+|-----|------------------------|
+| OTT | Over The Top |
+| STB | Set-Top Box |
+| TS | Transport Stream |
+| TV | Television |
+| UDP | User Datagram Protocol |
+| VOD | Video On Demand |
+| VR | Virtual Reality |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus this requirement need not be present to claim conformance.
+
+The keywords "is prohibited from" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed.
+
+The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+In the body of this Recommendation, the words shall, shall not, should, and may sometimes appear, in which case they are to be interpreted, respectively, as is required to, is prohibited from, is recommended, and can optionally. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+## 6 Overview
+
+Combined with the characteristics of the broadcast network and IP technology, the IPVB system realizes the end-to-end full IP carrying of video streams, data and other services. The logical architecture model of IPVB is shown in Figure 1. The IPVB system mainly consists of two parts: The IPVB headend and the IPVB terminal.
+
+
+
+The diagram illustrates the IPVB architecture. On the left, a 'Service platform' box contains three sub-components: 'DVB platform', 'OTT/VOD SP', and 'Internet SP'. These are connected to an 'IPVB headend' box. The 'IPVB headend' is connected to a 'CATV network' cloud, which contains a 'Video stream and control stream' box. This box is connected to a 'User end' box, which contains an 'IPVB terminal' and a 'Network unit'. The 'Network unit' is connected to a 'Home gateway' cloud. The 'Home gateway' is connected to three user devices: 'Smart-phone', 'STB', and 'Smart TV'. A legend at the bottom indicates three types of data flows: 'DVB data' (solid line), 'OTT/VOD/etc. video data' (dashed line), and 'Internet data' (dotted line). The reference 'J.1210(19)\_F1' is shown in the bottom right corner.
+
+Figure 1 – IPVB architecture diagram showing the flow of data from service platforms through an IPVB headend, CATV network, IPVB terminal, and home gateway to various user devices.
+
+**Figure 1 – IPVB architecture**
+
+The IPVB headend is located at the entry edge of a CATV distribution network. It has the functions of convergence, distribution and delivery of various video streams. First, it receives IP packets such as video streams from the service platform in the IPVB system, converts unicast to multicast if needed and identifies the different programs of the video streams according to the multicast IP addresses and UDP port numbers. Then, it broadcasts the converged IP data through the infrastructure of CATV networks to IPVB terminals.
+
+The IPVB terminal is located at the user ends of the CATV networks. It receives the UDP multicast packets from the broadcast transmission network and implements data transfer between the CATV access network and the home local area network (LAN). It filters the locally requested programs according to the multicast IP addresses and UDP port numbers and forwards them to one or more requesting service clients, such as IP STB, smart phone, computer, smart TV, etc., through Ethernet within the home LAN.
+
+The IPVB system consists of two subsystems, namely the IPVB headend and the IPVB terminal.
+
+The functions of the IPVB headend subsystem are as follows:
+
+- Services information generator is used to send fundamental tables including multicast information table (MIT), service name list table (SNLT) and area code table (ACT);
+- The MIT describes the information of multicast IP addresses and UDP destination port numbers of each service in the broadcast transmission network. These items of information are used for the service clients to search programs;
+- The SNLT describes the name information and other information (such as program provider information, etc.) of each video program;
+- The ACT describes the regional identification of centre offices;
+- Encapsulating the MIT, SNLT and ACT into TS packets and transferring them over IP packets;
+- In the IP layer, converging various video streams, and converting unicast addresses into multicast addresses when the streams (including VOD, OTT and other on-demand streams) have unicast addresses;
+- Identifying different video streams by multicast IP addresses and UDP port numbers;
+- Transmission of the converged IP data over CATV networks.
+
+The functions of the IPVB terminal subsystem are as follows:
+
+- Receiving IP broadcast data;
+
+- Supporting requests and video services from multiple service clients (such as STB, PAD, etc.) at the same time.
+- According to the request information of service clients, selecting and filtering UDP packets by identifying multicast IP addresses and UDP port numbers according to the MIT;
+- According to the IP addresses of service clients, converting the multicast IP addresses of the selected IP data into the IP addresses of the service clients;
+- Forwarding the selected UDP packets to the requesting service clients through Ethernet within the home LAN.
+
+## 7 Requirements
+
+### 7.1 Functional requirements
+
+#### 7.1.1 IPVB headend
+
+**IPVB-Headend-FR-01:** The IPVB headend subsystem is required to use the MIT to describe the multicast IP addresses and UDP destination port numbers information of each program or service in CATV networks. The MIT is used for the terminals to select programs.
+
+**IPVB-Headend-FR-02:** The IPVB headend subsystem is required to use the SNLT to describe the name information and program provider information of each video program.
+
+**IPVB-Headend-FR-03:** The IPVB headend subsystem is required to use the ACT to describe the regional identification of centre office.
+
+**IPVB-Headend-FR-04:** The IPVB headend subsystem is required to encapsulate the MIT, SNLT and ACT into TS packets.
+
+**IPVB-Headend-FR-05:** The IPVB headend subsystem is required to transfer TS over IP for IP network.
+
+**IPVB-Headend-FR-06:** The IPVB headend subsystem is required to converge various video streams in the IP layer.
+
+**IPVB-Headend-FR-07:** The IPVB headend subsystem is required to convert unicast IP addresses into multicast IP addresses when the received streams (including VOD, OTT and other on-demand streams) have unicast IP addresses.
+
+**IPVB-Headend-FR-08:** The IPVB headend subsystem is required to identify different video streams by multicast IP addresses and UDP port numbers.
+
+**IPVB-Headend-FR-09:** The IPVB headend subsystem is required to have packet filtering capabilities for specific protocols (including TCP, UDP protocols).
+
+**IPVB-Headend-FR-10:** The IPVB headend subsystem is required to have packet filtering capabilities for specific services (some specific destination IP addresses or destination port numbers).
+
+**IPVB-Headend-FR-11:** The IPVB headend subsystem is required to send the converged IP data into the CATV networks.
+
+**IPVB-Headend-FR-12:** The IPVB headend subsystem is required to support IPv4 and IPv6.
+
+#### 7.1.2 IPVB Terminal
+
+**IPVB-Terminal-FR-01:** The IPVB terminal subsystem is required to receive the broadcast signals.
+
+**IPVB-Terminal-FR-02:** The IPVB terminal subsystem is required to filter UDP packets according to multicast IP addresses and UDP destination port numbers.
+
+**IPVB-Terminal-FR-03:** The IPVB terminal subsystem is required to convert the multicast IP addresses of the selected IP data into the IP addresses of the service clients.
+
+**IPVB-Terminal-FR-04:** The IPVB terminal subsystem is required to forward UDP packets selected from the IP network through Ethernet within the home LAN.
+
+### **7.2 Performance requirements**
+
+#### **7.2.1 IPVB headend**
+
+**IPVB-Headend-PR-01:** The IPVB headend subsystem is required to broadcast the MIT, SNLT, ACT periodically at intervals no greater than 500 ms [ETSI TR 101 290].
+
+#### **7.2.2 IPVB terminal**
+
+**IPVB-Terminal-PR-01:** The IPVB terminal subsystem is required to support multi-screen interaction for more than 2 service clients.
+
+## Appendix I
+
+## Scenario for IPVB multi-screen interaction
+
+(This appendix does not form an integral part of this Recommendation.)
+
+In recent years mobile terminals have rapidly become popular, and can be found everywhere. In CATV networks, a typical scenario would be a TV set that can only play one program at a time, which cannot meet the different viewing needs of more than one person. At this time, if the mobile terminal and TV can realize multi-screen interaction, the viewing needs of more people can be satisfied.
+
+The IPVB terminal subsystem supports multi-screen interaction for more than two service clients, and the multi-screen application interaction scenario is shown in Figure I.1.
+
+
+
+The diagram illustrates the IPVB system multi-screen interactive application scenario. It is divided into two main areas: a 'Living room' (left) and a 'Room' (right). A central 'IPVB terminal' (represented by a white router icon) is connected to a 'Smart TV SET' (bottom left) and a 'Smartphone' (middle right) in the living room. The IPVB terminal is also connected to a 'PAD' (top right) and a 'Computer' (middle right) in the room. A dashed line separates the living room and the room. A 'Video stream and control stream' is indicated by a horizontal line entering the IPVB terminal from the left. The IPVB terminal is connected to the PAD and the Computer via dashed lines. The IPVB terminal is also connected to the Smart TV SET and the Smartphone via dashed lines. The IPVB terminal is also connected to the IP STB (bottom right) via a dashed line. The IP STB is connected to a TV (bottom right) via a solid line. The TV displays a group of people. The diagram is labeled 'J.1210(19)\_Fl.1' in the bottom right corner.
+
+Diagram of IPVB system multi-screen interactive application scenario
+
+Figure I.1 – IPVB system multi-screen interactive application scenario
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg b/marked/J/T-REC-J.1211-202005-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9002ee68e2b9ebf63d27d39ba8c73bdafb0e6be6
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8df701536c25ab8246d2868de3c20c8a4e25168bb52c5eb9078278ab1b5b4fd8
+size 6859
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/J/T-REC-J.1211-202005-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..82e7e843859af5134814569fcc8f49899ae35eef
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4850f589a18d04ee9ee4548ff6036132d935220d1f6a9de208d17b3255cf26cb
+size 62339
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/99bae07626f60f9ede10e2e387ef7051_img.jpg b/marked/J/T-REC-J.1211-202005-I_PDF-E/99bae07626f60f9ede10e2e387ef7051_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0d4b00ad6fd50fa563bb0850439f1f11c5004d43
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/99bae07626f60f9ede10e2e387ef7051_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:13148c818914a0de23536f7117a5764df1eb4d8c899c3465228aed229ba4aa67
+size 43379
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/J/T-REC-J.1211-202005-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..155dd1548a023a5acd52341897dcd87ba832a1bd
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8851f486b59ca477e2b8be209eab3909863d8cf8812a16834538ba91bc5906f0
+size 39198
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg b/marked/J/T-REC-J.1211-202005-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f412794cc6225ef1aee07c7b6af26e15931de5aa
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c62152755b5cbf4143fc3b019bfc88c801c38f1bc351afc6a72233e14da9088
+size 67120
diff --git a/marked/J/T-REC-J.1211-202005-I_PDF-E/raw.md b/marked/J/T-REC-J.1211-202005-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..82cf63d6294978024d37f7d4f292076de4053c47
--- /dev/null
+++ b/marked/J/T-REC-J.1211-202005-I_PDF-E/raw.md
@@ -0,0 +1,733 @@
+
+
+International Telecommunication Union
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.1211**
+
+(05/2020)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+IP Video Broadcast
+
+---
+
+**Specifications of IP video broadcast (IPVB) for
+cable TV networks**
+
+Recommendation ITU-T J.1211
+
+ITU-T
+
+
+
+The logo of the International Telecommunication Union (ITU) features a globe with a red lightning bolt striking across it. To the right of the globe, the text "International Telecommunication Union" is written in a blue, sans-serif font, with "ITU" in a larger, bold font above it.
+
+ITU logo
+
+International
+Telecommunication
+Union
+
+
+
+# Recommendation ITU-T J.1211
+
+## Specifications of IP video broadcast (IPVB) for cable TV networks
+
+## Summary
+
+In recent years, IP-based video services have developed rapidly in cable (CATV) networks, especially the highly asymmetric IP-based services with large bandwidth, such as 4K, 8K and VR, whose single program bandwidth might easily exceed 35Mbps or even up to 100Mbps. This requires a large downlink bandwidth of transmission channels and poses challenges to existing CATV technologies. For this scenario, it is necessary to propose a low cost and low complexity solution to meet the bandwidth requirements of the current asymmetric IP-based video services.
+
+Recommendation ITU-T J.1211 specifies an IPVB technology, which simply adds a one-way IP-based video broadcast system to the existing low-cost bidirectional CATV networks. The IPVB can greatly increase the bandwidth of downlink programs, and at the same time, have the characteristics of being low cost and low complexity. The IPVB in downlink transmits IP-based video streams through broadcast channels which are identified by multicast IP addresses and UDP port numbers, and broadcasts all the IP-based video streams through the CATV networks to all subscribers. By cooperating with the uplink channel provided by the existing bidirectional access networks, it is capable of providing varieties of IP-based high bit rate video services in CATV networks.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T J.1211 | 2020-05-29 | 9 | 11.1002/1000/14282 |
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 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 .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|---------------------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 IPVB system ..... | 3 |
+| 6.1 Introduction ..... | 3 |
+| 6.2 IPVB headend..... | 3 |
+| 6.3 IPVB terminal..... | 4 |
+| 6.4 Physical layer..... | 5 |
+| 7 Planning of broadcast channel and format of encapsulation in IPVB system..... | 5 |
+| 7.1 Broadcast channel planning..... | 5 |
+| 7.2 Encapsulation of DTV Audio/Video programmes ..... | 6 |
+| 8 Broadcast service information in IPVB system..... | 8 |
+| 8.1 Introduction ..... | 8 |
+| 8.2 BSI tables..... | 8 |
+| 8.3 Multicast information table (MIT) ..... | 9 |
+| 8.4 Service name list table (SNLT) ..... | 10 |
+| 8.5 Area code table (ACT) ..... | 11 |
+| 8.6 Descriptors of BSI tables..... | 12 |
+
+
+
+# Recommendation ITU-T J.1211
+
+## Specifications of IP video broadcast (IPVB) for cable TV networks
+
+## 1 Scope
+
+This Recommendation describes the technique specifications of IPVB systems, including the system architecture of IPVB, broadcast channel planning of services, coding schemes and the encapsulation formation of audio and video data, broadcast service information (BSI) tables and functional modules of IPVB systems. The Recommendation is applicable to the network construction of IPVB systems, the development of equipment, and the operation and management of IPVB systems.
+
+## 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 indicated 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-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.222.0] Recommendation ITU-T H.222.0 (2018) | ISO/IEC 13818-1:2019, *Information technology – Generic coding of moving pictures and associated audio information: Systems*.
+- [ITU-T J.83] Recommendation ITU-T J.83 (2007), *Digital multi-programme systems for television, sound and data services for cable distribution*.
+- [IEEE 802.3ae] IEEE 802.3ae-2002, *IEEE Standard for Information Technology- Local and Metropolitan Area Networks – Specific Requirements Part 3: Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications Amendment: Media Access Control (MAC) Parameters, Physical Layers, and Management Parameters for 10 Gb/S Operation*.
+
+# 3 Definitions
+
+### 3.1 Terms defined elsewhere
+
+None.
+
+### 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 broadcast channel:** The broadcast channels in this Recommendation refer to the logical channels labelled with D-class IP addresses and UDP destination port numbers. Usually one channel corresponds to a digital TV transmission stream or service stream.
+
+**3.2.2 IP broadcast:** IP broadcast in this Recommendation refers to the implementation of the broadcast transmission of the baseband stream of IP on the CATV distribution network.
+
+**3.2.3 main channel:** The main channel in this Recommendation refers to the broadcast channels delivering the digital TV service index data of IPVB.
+
+**3.2.4 section:** A section is a syntactic structure used for mapping all service information defined in this Recommendation into ITU-T H.222.0 | ISO/IEC 13818-1 TS packets.
+
+**3.2.5 service:** A service is a series of programmes which is broadcast in stages according to a time schedule under the control of the broadcaster.
+
+**3.2.6 service information:** Service information in this Recommendation describes the data information such as delivery systems, contents and plans/schedules of broadcast data streams, etc., including PSI information of MPEG-2 and independently defined extensions.
+
+## 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|--------|------------------------------------------------------|
+| ACT | Area Code Table |
+| BSI | Broadcast Service Information |
+| bslbf | bit string, left bit first |
+| CPE | Customer Premises Equipment |
+| DTV | Digital TV |
+| EPG | Electronic Programme Guide |
+| HTML | Hyper Text Markup Language |
+| IPVB | IP Video Broadcast |
+| MIT | Multicast Information Table |
+| MPTS | Multi-Program Transport Stream |
+| OTT | Over The Top |
+| PID | Packet Identifier |
+| rpchof | remainder polynomial coefficient, higher order first |
+| SDT | Service Description Table |
+| SI | Service Information |
+| SNLT | Service Name List Table |
+| SPTS | Single Program Transport Stream |
+| STB | Set-Top Box |
+| TS | Transport Stream |
+| UDP | User Datagram Protocol |
+| unisbf | undersigned integer, most significant bit first |
+| VOD | Video On Demand |
+| XML | Extensible Markup Language |
+
+## 5 Conventions
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "is prohibited from" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed.
+
+The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the Recommendation.
+
+In the body of this Recommendation, the words shall, shall not, should and may sometimes appear, in which case they are to be interpreted, respectively, as is required to, is prohibited from, is recommended and can optionally. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+# 6 IPVB system
+
+### 6.1 Introduction
+
+An IPVB system mainly consists of an IPVB headend and IPVB terminal. The IPVB headend is used to broadcast the streams and data in the format of UDP multicast packets to all the subscribers through CATV networks, where multicast IP addresses and UDP destination port numbers in UDP multicast packets are used to distinguish different programs. The IPVB terminal is generally embedded in the user terminals. It receives the UDP multicast packets, and selects the required programs according to the multicast IP addresses and port numbers.
+
+IPVB can either work as a unidirectional system independently to broadcast IP television services or realize a broadband access by working in combination with a bidirectional transmission system, to support high quality digital broadcasting service and interactive video and data services, such as VOD, OTT TV and VR.
+
+In this Recommendation, the broadcast services are transmitted in assigned broadcast channels. Each broadcast channel is identified by the IP address and UDP destination port number of packets. All data, including audio and video data of different programmes and service information are packetized into UDP packets, and broadcast to all subscribers over CATV networks through different broadcast channels.
+
+### 6.2 IPVB headend
+
+The IPVB headend is responsible for broadcasting UDP multicast packets to all subscribers over CATV network systems. It is located at the entry edge of the CATV distribution network. It implements the functions of convergence, processing, distribution and transmission of IP-based services data. It distributes various IP service streams to the IP broadcast channels according to the service control strategies. It is the last data processing stage before the data enters the distribution network. The functional diagram of an IPVB headend is illustrated in Figure 1.
+
+
+
+The diagram illustrates the functional architecture of an IPVB headend. On the left, multiple 'IP stream' inputs enter an 'IP convergence' block. This block feeds into a 'Processing module' (indicated by a dashed box). Inside the module, the data flows through 'Packets parsing' and 'Packets schedule' blocks. From 'Packets schedule', three paths emerge: 'UDP packets of VOD' go to a 'Packet header process' block (dashed), 'UDP packets of broadcast' go directly to a 'Convergence' block, and 'TCP packets' go to a 'UDP re-encapsulation' block (dashed). Both the 'Packet header process' and 'UDP re-encapsulation' blocks feed into the 'Convergence' block. The 'Convergence' block then connects to a 'Medium adapter', which finally outputs to the 'CATV network'. A label 'J.1211(20)\_F01' is present in the bottom right corner of the diagram area.
+
+Functional diagram of IPVB headend showing data flow from IP streams through convergence, parsing, scheduling, and re-encapsulation to a CATV network.
+
+Figure 1 – The functional diagram of IPVB headend
+
+The logical modules of an IPVB headend are defined as follows:
+
+- The IP convergence module: this module receives the service IP streams from several GE ports, and sends them to the processing module through an internal data bus at no less than 10 Gbit/s.
+- The processing module: This module implements the parsing, filtering and re-encapsulating of packets complying with different protocols, converting unicast address into multicast address if the stream has a unicast address (including VOD, OTT and other on-demand streams). And then, the processing module converges these packets and sends them to the medium adapter module.
+ - 1) The packet header process module: If VOD adopts the VOD system based on IPQAM, but the down streams need to be transmitted in the IPVB downlink broadcast channel, the packet header process module in the IPVB headend will replace the unicast address of the received UDP packets header with the assigned multicast IP address and port number as the destination IP address and port number. Then it sends the revise packet to the convergence module: if the VOD systems are like OTT systems, the process of VOD stream packets will be processed by UDP re-encapsulation module of the IPVB headend.
+ - 2) The UDP re-encapsulation module: This module will replace the destination IP and MAC addresses in the downstream TCP packets with the source IP and MAC addresses of the first original request packet, add the UDP header on it, and adopt the assigned multicast IP address and port number as the destination IP address and port number, then it sends the reconstructed packet to the convergence module.
+- The medium adapter module: This module translates the UDP packets into the right format of packets to the network medium in use, and transmits them to the CATV network.
+
+The parameter configuration for IPVB headend:
+
+- On-demand services enable or disable.
+- Select one physical port as "the interactive port" which is used for communication with the on-demand server and IPVB terminal.
+- Configure the IP address, subnet mask and gateway of the interactive port.
+- Configure the multicast IP address and port number for the main channel to broadcast the interactive port information to the IPVB terminal.
+- For general on-demand services, configure the server IP address range that are used for the IPVB terminal to judge which packets and sessions are needed to be processed by the IPVB headend.
+- For VOD services that are based on IPQAM, they need to configure the ACT, Frequency-To-Address conversion table and forwarding rules.
+
+### 6.3 IPVB terminal
+
+The IPVB terminal is generally embedded in the user terminal. It receives the broadcast IP-based stream from CATV networks, selects the program or service data requested by one or more user CPEs, such as IP STB, smart phone, PAD, PC and intelligent TV, by means of recognizing the IP addresses and UDP port numbers of the corresponding UDP packets. It forwards the selected data to the final user CPEs within the home network through FE/GE interface. The functional diagram of the IPVB terminal is illustrated in Figure 2.
+
+
+
+```
+
+graph LR
+ MDS[Medium dependent signal] --> MA[Medium adapter]
+ MA --> EPA[Ethernet packet analyzer]
+ EPA --> UPF[UDP packet filter]
+ UPF --> PFC[Packet format conversion]
+ PFC --> IGI[100 Mbps/ 1 Gbps Ethernet interface]
+ IGI --> HN[Home network]
+ IGI --> CPA[Control packet analyzer]
+ CPA --> CL[Control logic]
+ CL <--> I2C[I2C]
+ CL <--> PFC
+
+```
+
+Functional diagram of IPVB terminal showing signal flow from Medium dependent signal through various modules including Medium adapter, Ethernet packet analyzer, UDP packet filter, Packet format conversion, Control logic, Control packet analyzer, and 100 Mbps/ 1 Gbps Ethernet interface to the Home network. An I2C interface is also shown connected to Control logic.
+
+**Figure 2 – The functional diagram of IPVB terminal**
+
+The major logical modules of an IPVB terminal are defined as follows:
+
+- The UDP packet filter module: This module supports parallel-selection operation of more than 15 broadcast channels. The IPVB terminal supports as many as five user CPEs in the home network to select data from the same or different broadcast channels simultaneously, and allows each CPE to select the data from at least three broadcast channels.
+- The packet format conversion module: This module supports the conversion from multicast packet to unicast packet for keeping from bandwidth waste in the home LAN. The conversion module obtains the IP addresses of the user CPE from the control logic module before implementing the conversion.
+
+The parameter configuration for IPVB terminal:
+
+The IPVB terminal is configured according to the configuration of the IPVB headend, which needs to receive interactive port information, server IP address range, ACT, Frequency-To-Address conversion table, etc.
+
+### 6.4 Physical layer
+
+Since the IPVB system is typically used in CATV networks, the transport medium is mainly optical fibre or coaxial cable. The physical layer coding method is not mandatory in this Recommendation. When the transport medium is optical fibre, the physical layer may comply with 10G Base-R in [IEEE802.3ae]. When the transport medium is coaxial, the physical layer may comply with [ITU-T J.83].
+
+## 7 Planning of broadcast channel and format of encapsulation in IPVB system
+
+### 7.1 Broadcast channel planning
+
+Based on the carried service contents, the broadcast channels of IPVB are classified into four types: main channel, authorization channel, DTV SI Channel and program channel, as specified in Table 1.
+
+**Table 1 – Broadcast channel planning**
+
+| Channel name | Description | Requirement | Service contents |
+|-----------------------|---------------------------------------|--------------------|------------------------------------------|
+| Main Channel | For the essential tables | Mandatory | MIT, SNLT, and ACT |
+| Authorization Channel | For CAT/EMM authorization information | Optional | CAT/EMM |
+| DTV SI Channel | For DTV EPG, etc. | Optional | TS-based EPG information |
+| Program Channel | Audio/Video programmes and data | Mandatory | Broadcasting programs, VOD, OTT TV, etc. |
+
+#### **7.1.1 Main channel**
+
+The main channel is an IP stream channel with specific multicast IP address and UDP destination port number. The UDP packets transmitted in the main channel describes the broadcast channel information, service version number, date and other key information of digital TV programmes and other services in the IPVB system. After the user end (including IP STB, smart phone, smart TV, PAD, PC, etc) starting up, it first obtains and analyzes the data of the main channel, and then obtains the data of other service channels based on the main channel information.
+
+The content carried in the main channel shall include the multicast information table (MIT), optionally the service name list table (SNLT), and the area code table (ACT).
+
+#### **7.1.2 Multicast information table (MIT)**
+
+The MIT mainly describes the multicast IP addresses, UDP port numbers and encapsulation format of all services in the IPVB system.
+
+#### **7.1.3 Service name list table (SNLT)**
+
+The SNLT mainly describes the program names, program providers and other program information.
+
+#### **7.1.4 Area code table (ACT)**
+
+The ACT describes the area codes of the access location of user terminals.
+
+These tables are periodically broadcast to IPVB terminals through the main channel. The recommended repeating period is less than 500 ms.
+
+As soon as user terminals are powered on, they will first receive the MIT, SNLT and ACT. Then, they will obtain the multicast addresses, UDP port numbers and encapsulation formats of the services by parsing the MIT, obtain service names from the SNLT, and they can select corresponding services according to the local area code in the ACT.
+
+### **7.2 Encapsulation of DTV Audio/Video programmes**
+
+This part describes the specifications of the encapsulation of DTV audio/video programme data in IPVB systems.
+
+#### **7.2.1 Introduction**
+
+In IPVB systems, audio and video data of digital video broadcast shall be encapsulated into UDP packets first, and then into IPv4 or IPv6 packets, where the IP destination addresses assigned shall be assigned with multicast IP addresses. Different broadcast channels are identified with different IP destination addresses or different UDP destination port numbers. Above the UDP layer, the audio and video data could be encapsulated into MPEG transport stream (TS) packets in accordance with [ITU-T H.222.0]. Other formats are allowed too.
+
+#### 7.2.2 Encapsulation of TS packets into IP packets
+
+In this Recommendation, the maximum length of Ethernet payload is 1500 bytes, and the mapping of TS packets shall start from the first byte of the field of UDP payload, so a single UDP payload accommodates at least one but at most seven complete 188-byte TS packets, and the largest payload length of a UDP packet is $188 \times 7 = 1316$ bytes.
+
+The format for encapsulating TS packets into IP packets is shown in Figure 3.
+
+
+
+The diagram illustrates the encapsulation process from top to bottom:
+
+- TS frame:** Consists of a 4-byte Header and 184-byte Audio/video data. This is shown being mapped into a UDP packet.
+- UDP packet:** Consists of an 8-byte UDP header followed by a payload containing seven TS packets (TS1 through TS7).
+- IP packet:** Consists of an IP header (20-byte for IPv4 or 40-byte for IPv6) followed by the UDP packet as the payload.
+- Ethernet frame:** Consists of a 14-byte Ethernet header, the IP packet as the payload, and a 4-byte Ethernet tail. The total Ethernet payload (IP packet) is 46 ~ 1500 bytes.
+
+On the right side, a vertical sequence of labels (TS, UDP, IP, Ethernet) with dashed horizontal lines indicates the protocol layers.
+
+Diagram illustrating the encapsulation of TS packets into UDP/IP packets. The diagram shows four layers of encapsulation: TS frame, UDP packet, IP packet, and Ethernet frame. The TS frame (Header: 4-byte, Audio/video data: 184-byte) is encapsulated into a UDP packet (UDP header: 8-byte, TS1-TS7). The UDP packet is encapsulated into an IP packet (IP header: 20-byte IPv4 / 40-byte IPv6, UDP payload). The IP packet is encapsulated into an Ethernet frame (Ethernet header: 14-byte, IP header, UDP header, UDP payload, Ethernet tail: 4-byte). The Ethernet payload is 46 ~ 1500 bytes. The diagram also shows the mapping of TS packets (TS1-TS7) into the UDP payload.
+
+**Figure 3 – The format of encapsulating TS packets into UDP/IP packets**
+
+#### 7.2.3 Encapsulation of non-TS into IP packets
+
+In addition to TS packets, the audio and videos data in non-TS packets (such as MP4, AVI, MOV, and other flow media containers) are also allowed to be encapsulated into the UDP/IP packets according to the encapsulation format shown in Figure 4. The maximum length of UDP payloads is 1472 bytes in the situation of IPv4, whereas it is 1452 bytes in the situation of IPv6.
+
+
+
+Diagram showing the encapsulation of non-Transport Stream (non-TS) packets into UDP/IP packets and then into Ethernet frames. The diagram illustrates the layers: Flow media data is encapsulated into a UDP frame (UDP header + UDP payload). This is then encapsulated into an IP packet (IP header + UDP frame). Finally, the IP packet is encapsulated into an Ethernet frame (Ethernet header + IP packet + Ethernet tail). The right side of the diagram shows the protocol stack: non-TS, UDP, IP, and Ethernet. The Ethernet frame has a 14-byte header and a 4-byte tail, with a payload of 46-1500 bytes. The IP header is 20-byte (IPv4) or 40-byte (IPv6). The UDP header is 8-byte.
+
+**Figure 4 – The format of encapsulating non-TS packets into UDP/IP packets**
+
+## 8 Broadcast service information in IPVB system
+
+### 8.1 Introduction
+
+The IPVB defines three BSI tables to describe the broadcast channel information and supplement information. These three BSI tables are encapsulated into TS packets in accordance with [ITU-T H.222.0] and then broadcast in the main channel in the format of UDP.
+
+### 8.2 BSI tables
+
+BSI tables include the multicast information table (MIT), service name list table (SNLT), and the area code table (ACT). The three tables are all delivered through the main channel. The PID allocations of the BSI tables are given in Table 2.
+
+**Table 2 – PID allocation of BSI tables**
+
+| Table | PID value |
+|-----------------------------------|-----------|
+| MIT (multicast information table) | 0x000A |
+| SNLT (service name list table) | 0x000D |
+| ACT (area code table) | 0x000C |
+
+The allocations of table\_id of BSI tables are presented in Table 3.
+
+**Table 3 – Allocation of table\_id**
+
+| Table_id | Table | Maximum section length (byte) |
+|----------|-------|-------------------------------|
+| 0xAE | MIT | 1024 |
+| 0xAF | SNLT | 1024 |
+| 0xED | ACT | 1024 |
+
+### 8.3 Multicast information table (MIT)
+
+The MIT describes the IP destination addresses and UDP destination port numbers of each program or service in broadcast channels, which are used for the user terminals to search for programs. The MIT shall be segmented into sections in the syntax structure as given in Table 4, and encapsulated into TS packet(s). The PID value of MIT TS packets shall be 0x000A and the table\_id value of MIT sections shall be 0xAE. The maximum length of MIT section is 1024 bytes.
+
+Sub-table of MIT: A sub-table of MIT is a collection of sections with the same table\_id and version\_number.
+
+The syntax of MIT section is given in Table 4.
+
+**Table 4 – MIT section**
+
+| Syntax | bit (s) | Mnemonic symbol |
+|-------------------------------|---------|-----------------|
+| multicast_information_section | | |
+| { | | |
+| table_id | 8 | uimsbf |
+| section_syntax_indicator | 1 | bslbf |
+| reserved | 1 | bslbf |
+| reserved | 2 | bslbf |
+| section_length | 12 | uimsbf |
+| reserved | 2 | bslbf |
+| version_number | 5 | uimsbf |
+| current_next_indicator | 1 | bslbf |
+| section_number | 8 | uimsbf |
+| last_section_number | 8 | uimsbf |
+| reserved | 4 | bslbf |
+| descriptors_length | 12 | uimsbf |
+| for(int i=0;i128(IPv6) | uimsbf
uimsbf |
+| udp_port | 16 | uimsbf |
+| } | | |
+| } | | |
+
+The semantics of the fields in the udp\_service\_list\_descriptor are defined as follows:
+
+**descriptor\_tag:** The descriptor\_tag of udp\_service\_list\_descriptor shall be set to 0xAE.
+
+**descriptor\_length:** This is an 8-bit field, indicating the number of bytes from the byte immediately after the descriptor\_length field to the last byte of the descriptor.
+
+**transport\_stream\_id:** This 16-bit field uniquely identifies the TS stream where the announcement resides.
+
+**service\_id:** This 16-bit field uniquely identifies the service where the announcement resides.
+
+**udp\_ipaddress:** In IPv4, it is a 32-bit field that indicates the multicast IP destination address allocated to the current service; In IPv6, it is a 128-bit field that indicates the multicast IP destination address allocated to the current service.
+
+**udp\_port:** This 16-bit field indicates the UDP port number allocated to the current service.
+
+#### 8.6.3 udp\_specific\_list\_descriptor
+
+This is used for describing the IP address and UDP port number of specific TS packets, such as the main channels, the upgrading streams, global EPG, etc., as shown in Table 11.
+
+**Table 11 – udp\_specific\_list\_descriptor**
+
+| Syntax | bit(s) | Mnemonic symbol |
+|---------------------------------|-----------------------|------------------|
+| udp_specific_list_descriptor () | | |
+| { | | |
+| descriptor_tag | 8 | uimsbf |
+| descriptor_length | 8 | uimsbf |
+| for (i=0;i128(IPv6) | uimsbf
uimsbf |
+| udp_port | 16 | uimsbf |
+| } | | |
+| } | | |
+
+The semantics of the fields in the udp\_specific\_list\_descriptor are defined as follows:
+
+**descriptor\_tag:** This 8-bit field of udp\_specific\_list\_descriptor shall be set to 0xAF.
+
+**descriptor\_length:** This 8-bit field, indicates the length of udp\_specific\_list\_descriptor from the byte immediately after the descriptor\_length field to the end of the descriptor.
+
+**info\_type:** This is an 8-bit field. The values of info\_type are listed in Table 12.
+
+**data\_format:** This 8-bit field indicates the data format of the service type currently indicated in the info\_type field. The values are listed in Table 13.
+
+**udp\_ipaddress:** In IPv4, it is a 32-bit field that indicates the multicast IP destination address allocated to the current service; In IPv6, it is a 128-bit field that indicates the multicast IP destination address allocated to the current service.
+
+**udp\_port:** This 16-bit field indicates the UDP port number allocated to the current service.
+
+**Table 12 – Values of info\_type of different services**
+
+| Service | Value of info_type | Description |
+|------------------------|--------------------|--------------------------------------------------------------------------------------------------|
+| | 0x00~0x0F | Reserved |
+| EPG | 0x10 | Unique identification of EPG |
+| Advertisement | 0x11 | Unified identification of all picture advertising, including power on, handover, main menu, etc. |
+| Government information | 0x12 | Unique identification of the government information service. |
+| Stock | 0x13 | Unique identification of stock service |
+| CAT/EMM | 0x14 | The EMM information of CA. |
+| Upgrading stream | 0x15 | Upgrading stream channel |
+| | 0x16~0xFE | Defined by users |
+| | 0xFF | Reserved |
+
+**Table 13 – Values of data\_format**
+
+| Data format | Value | Description |
+|--------------------|--------------|----------------------------|
+| | 0x0 | Reserved |
+| XML | 0x1 | The data is in XML format |
+| HTML | 0x2 | The data is in HTML format |
+| TS | 0x3 | The data is in TS format |
+
+#### 8.6.4 udp\_ts\_list\_descriptor
+
+The udp\_ts\_list\_descriptor describes the multicast IP addresses and port numbers of the audio/video (such as MPTS or SPTS) broadcast channels, as shown in Table 14.
+
+**Table 14 – udp\_ts\_list descriptor**
+
+| Syntax | Bit(s) | Mnemonic symbol |
+|---------------------------|-----------------------|------------------------|
+| udp_ts_list_descriptor () | | |
+| { | | |
+| descriptor_tag | 8 | uimsbf |
+| descriptor_length | 8 | uimsbf |
+| for (i=0;i128(IPv6) | uimsbf
uimsbf |
+| udp_port | 16 | uimsbf |
+| } | | |
+| } | | |
+
+The semantics of the fields in the udp\_ts\_list\_descriptor are defined as follows:
+
+**descriptor\_tag:** This 8-bit descriptor-tag of udp\_ts\_list\_descriptor shall be set to 0xAC.
+
+**descriptor\_length:** This 8-bit field, indicates the length of udp\_ts\_list\_descriptor from the byte immediately after the descriptor\_length field to the end of the descriptor.
+
+**transport\_stream\_id:** This 16-bit field uniquely identifies the TS stream where the announcement resides.
+
+**udp\_ipaddress:** In IPv4, it is a 32-bit field that indicates the multicast IP destination address allocated to the current service; in IPv6, it is a 128-bit field that indicates the multicast IP destination address allocated to the current service.
+
+**udp\_port:** This 16-bit field indicates the UDP port number allocated to the current service.
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a0b0d482bad1b14bc65912c1484b83fe7921ecd9
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7957ed24964979aebf993525862dab4b3c279faeb420b5807fb1ecb7469b20fd
+size 62108
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c9d6473731268d02c9b737f896a69f7edbb28088
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/18442e4e239480f0c3c95b547aa8fde2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c66ecfe086cf1f00260f991b1b6c51d6739e382f733214ea83ff4f430a88c54c
+size 5326
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..939eb6a57fac47a375526475ba6c31bf67e08b30
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:52a289bbb49d106b16f646b5050f62e5c7cbe1bb201f8c767547c3039abbf359
+size 8245
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/55136bc716146672fc680fa05989f1d2_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/55136bc716146672fc680fa05989f1d2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7833f9b1cb088a396909ec31f5098cb91c14d5b3
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/55136bc716146672fc680fa05989f1d2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:799afd0abe9cf87d4e941724430d354c0d507a40845965c1d97f29b7ec43bbc1
+size 79994
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..76401bf310e8fdbebabcdc6b07cec81c510d8815
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7249ea1ffbac21f857f9891540f4d6195474802ac868440dea4ca31f785d2612
+size 5234
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/805c475f0859e607af0530ba43194bf1_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/805c475f0859e607af0530ba43194bf1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..19b213bb723d1a47990a9a4a6b4aa3d4ebf426af
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/805c475f0859e607af0530ba43194bf1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1b34dd066f1c3115994ccaf1998ffc1d7c327967ee5f1e1288596e5a5ad3765c
+size 71454
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/dbe553cf16dd14073b89a8263a428664_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/dbe553cf16dd14073b89a8263a428664_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9c879afa49afb8c8decb04579155259a53d68e79
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/dbe553cf16dd14073b89a8263a428664_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7fac17488c3ac5238fdd4f7b3713c13d857a6865206a0be82aa0c93ed3010d9
+size 106384
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3a9fe5e58fa9faae652570573ef79effac9cf59d
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c722c3cc23ec103657d49db2f3b8c74b4d041a7c540df595fa11d43b619f8dea
+size 68241
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/f14e75bd1c6e2f234db4775dbf0dbf1a_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/f14e75bd1c6e2f234db4775dbf0dbf1a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..01b666e14cc671dbd4fe8bedcb7746d8c4dc908a
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/f14e75bd1c6e2f234db4775dbf0dbf1a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:89a54cd7aad8ef60e20d7f56f7524327c1ad64be8b6bade654c924644c6d0b7a
+size 4631
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg b/marked/J/T-REC-J.124-200403-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..902126ceb827bee2c71a012cf92f44cf2218d676
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef85d52f9964c9b39289331305b3d2742215d174d45701533f9f437896fe05af
+size 165690
diff --git a/marked/J/T-REC-J.124-200403-I_PDF-E/raw.md b/marked/J/T-REC-J.124-200403-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..2c5a73ff5fc9b1ff45c2a05f26eeb0b3222267ef
--- /dev/null
+++ b/marked/J/T-REC-J.124-200403-I_PDF-E/raw.md
@@ -0,0 +1,1091 @@
+
+
+
+
+The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines.
+
+ITU logo
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.124**
+
+(03/2004)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+Interactive systems for digital television distribution
+
+---
+
+**Multiplexing format for multimedia webcasting
+over TCP/IP networks**
+
+ITU-T Recommendation J.124
+
+---
+
+
+
+# **ITU-T Recommendation J.124**
+
+# **Multiplexing format for multimedia webcasting over TCP/IP networks**
+
+# **Summary**
+
+This Recommendation provides an extended multiplexing format based on ITU-T Rec. J.123, which is appropriate for audio and video transmission by download-based protocol over TCP/IP without any session control protocols between server and client, a.k.a. "Progressive Download". Fragmented structure is newly introduced into this Recommendation. In the fragment structure, media data is divided into media fragments, and a movie header is also divided into movie fragment headers according to the fragmented media data. Each movie fragment header corresponds to each media fragment, and these elements constitute a movie fragment. By adapting the fragment structure to long duration content, a huge header, which causes initial delay of the progressive streaming, can be avoided. In addition, formatted text information is stored in the media data so that these can be interleaved with one another in a file. This format also carries metadata, digital rights management (DRM) information as well as audio, video and text bitstreams.
+
+Examples of use of this Recommendation are given in Appendices I, II and III.
+
+## **Source**
+
+ITU-T Recommendation J.124 was approved on 15 March 2004 by ITU-T Study Group 9 (2001-2004) under the ITU-T Recommendation A.8 procedure.
+
+# FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2004
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+# CONTENTS
+
+###### Page
+
+| | | |
+|------|------------------------------------------------|----|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 2.1 | Normative references..... | 1 |
+| 2.2 | Informative references..... | 1 |
+| 2.3 | Bibliography ..... | 1 |
+| 3 | Terms and definitions ..... | 2 |
+| 4 | Abbreviations..... | 2 |
+| 5 | Reference architecture ..... | 2 |
+| 6 | Multiplexing format..... | 3 |
+| 6.1 | Basic structure ..... | 3 |
+| 6.2 | Object structure ..... | 3 |
+| 6.3 | Box order ..... | 5 |
+| 6.4 | Track structure..... | 6 |
+| 6.5 | Media data structure ..... | 6 |
+| 6.6 | Other descriptions..... | 6 |
+| 7 | Box definitions ..... | 6 |
+| 7.1 | File type box..... | 6 |
+| 7.2 | Other boxes..... | 7 |
+| 8 | Digital Rights Management (DRM) box ..... | 7 |
+| 8.1 | Syntax ..... | 8 |
+| 8.2 | Semantics..... | 8 |
+| 9 | Timed text format ..... | 8 |
+| 9.1 | Unicode support..... | 8 |
+| 9.2 | Bytes, characters, and glyphs ..... | 9 |
+| 9.3 | Character set support ..... | 9 |
+| 9.4 | Font support..... | 9 |
+| 9.5 | Fonts and metrics..... | 10 |
+| 9.6 | Colour support ..... | 10 |
+| 9.7 | Text rendering position and composition ..... | 10 |
+| 9.8 | Marquee scrolling..... | 12 |
+| 9.9 | Language ..... | 13 |
+| 9.10 | Writing direction ..... | 13 |
+| 9.11 | Text wrap..... | 14 |
+| 9.12 | Highlighting, Closed Caption, and Karaoke..... | 14 |
+| 9.13 | Media handler ..... | 14 |
+| 9.14 | Media handler header ..... | 14 |
+| 9.15 | Style record..... | 14 |
+| 9.16 | Sample description format..... | 15 |
+
+| | Page |
+|--------------------------------------------------------------------|-------------|
+| 9.17 Sample format ..... | 16 |
+| 9.18 Combinations of features..... | 20 |
+| Appendix I – Application example: Typical VOD transmission..... | 21 |
+| Appendix II – Application example: Random access transmission..... | 22 |
+| Appendix III – Application example: Live video transmission..... | 23 |
+
+# Multiplexing format for multimedia webcasting over TCP/IP networks
+
+# 1 Scope
+
+This Recommendation defines a multiplexing format appropriate for progressive download, audio and video transmission by download-based protocol over TCP/IP. In contrast to ITU-T Rec. J.123, this Recommendation supports fragmented structure for long duration content. In addition, formatted text information is stored in the media data so that these can be interleaved with one another in a file. Using this format, webcasting of long duration content and live programs is realized.
+
+# 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 indicated 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-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.
+
+## 2.1 Normative references
+
+- [1] ITU-T Recommendation J.123 (2002), *Multiplexing format for webcasting on TCP/IP network*.
+- [2] ISO/IEC 14496-12:2004, *Information technology – Coding of audio-visual objects – Part 12: ISO base media file format*.
+- [3] ISO/IEC 14496-14:2003, *Information technology – Coding of audio-visual objects – Part 14: MP4 file format*.
+
+## 2.2 Informative references
+
+- [4] ITU-T Recommendation J.120 (2000), *Distribution of sound and television programs over the IP network*.
+- [5] ISO/IEC 14496-2:2001, *Information technology – Coding of audio-visual objects – Part 2: Visual*.
+- [6] ISO/IEC 14496-3:2001, *Information technology – Coding of audio-visual objects – Part 3: Audio*.
+- [7] IETF RFC 2068 (1997), *Hypertext Transfer Protocol – HTTP/1.1*.
+
+## 2.3 Bibliography
+
+- [8] 3GPP TS 26.245:2003, *Transparent end-to-end streaming service; Timed text format*.
+
+# 3 Terms and definitions
+
+This Recommendation defines the following terms:
+
+- 3.1 **box:** An object-oriented building block defined by a unique type identifier and length [2].
+- 3.2 **chunk:** A contiguous set of samples for one track.
+- 3.3 **container box:** A box whose sole purpose is to contain and group a set of related boxes.
+- 3.4 **movie box:** A container box whose sub-boxes define the metadata for a presentation ('moov').
+- 3.5 **media data box:** A container box which can hold the actual media data for a presentation ('mdat').
+- 3.6 **presentation:** One or more motion sequences, possibly combined with audio.
+- 3.7 **progressive download:** Streaming by download-based protocol over TCP/IP without any session control protocols. Client can start playing the media before the full file is downloaded.
+- 3.8 **sample:** An individual frame of video, or a time-contiguous compressed section of audio.
+- 3.9 **sample description:** A structure which defines and describes the format of some number of samples in a track.
+- 3.10 **sample table:** A packed directory for the timing and physical layout of the samples in a track.
+- 3.11 **track:** A collection of related samples, which corresponds to a sequence of images or sampled audio.
+- 3.12 **webcasting:** Webcasting is defined in ITU-T Rec. J.120, "*Distribution of sound and television programs over the IP network*".
+
+# 4 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|--------|-------------------------------------------------|
+| DRM | Digital Rights Management |
+| HTTP | HyperText Transport Protocol |
+| IP | Internet Protocol |
+| MP4 | MPEG-4 File Format |
+| SMIL | Synchronized Multimedia Integration Language |
+| TCP | Transmission Control Protocol |
+| UTF-8 | Unicode Transformation Format (the 8-bit form) |
+| UTF-16 | Unicode Transformation Format (the 16-bit form) |
+| UUID | Universal Unique Identifier |
+
+# 5 Reference architecture
+
+This Recommendation assumes that download-based protocol (e.g., HTTP) should be used for multimedia webcasting because it does not require any complex server-client protocols.
+
+The reference architecture for multimedia webcasting on TCP/IP is shown in Figure 5-1.
+
+
+
+Architecture of multimedia webcasting on TCP/IP networks. A Webcasting server (HTTP server) sends a 'Contents flow' over 'HTTP/TCP/IP' to the 'Internet'. From the Internet, the flow branches to a 'Mobile IP network' (serving two 'Mobile terminal' devices) and an 'IP network (ISP, CATV)'. The IP network connects to a 'Home network' containing a 'PDA', 'STB', and 'PC'.
+
+J.124\_F5-1
+
+Figure 5-1/J.124 – Architecture of multimedia webcasting on TCP/IP networks
+
+# 6 Multiplexing format
+
+## 6.1 Basic structure
+
+The format is structurally based on the ISO base media file format defined in [2]. Basic structure of the format is shown in Figure 6-1, which consists of extension data, contents header and media data.
+
+
+
+One file or one sequence
+
+1st fragment
+
+2nd fragment
+
+Chunk: consists of several frames
+
+'mdat' Box (media data)
+
+'moov' Box (movie information)
+
+'uuid' Box (private data: DRM)
+
+'ftyp' Box
+
+V Video track
+A Audio track
+T Timed text track
+
+J.124\_F6-2
+
+Basic structure of a file format. The diagram shows a sequence of 'fragments' (1st and 2nd) within 'One file or one sequence'. Each fragment contains alternating 'V' (Video track), 'A' (Audio track), and 'T' (Timed text track) units. Below the fragments, 'Boxes' are identified: 'ftyp' Box, 'uuid' Box (private data: DRM), 'moov' Box (movie information), 'mdat' Box (media data), and 'moof' Box (movie fragments). A 'Chunk' is defined as consisting of several frames.
+
+Figure 6-1/J.124 – Basic structure of a file format
+
+## 6.2 Object structure
+
+The file is structured as a sequence of objects called "Box"; some of these objects may contain other objects. The sequence of objects in the file shall contain exactly one presentation metadata wrapper
+
+(the movie box 'moov'). It should be close to the beginning of the file. The other objects found at this level may be file type box 'ftyp', 'uuid' box, movie fragments 'moof', and media data boxes 'mdat'.
+
+All boxes defined in this Recommendation are listed in Table 6-1, and are indicated by grey shading.
+
+**Table 6-1/J.124 – Box types and structure**
+
+| | | | | | | |
+|------|------|------|------|------|------|---------------------------------------------------------------|
+| ftyp | | | | | | file type and compatibility |
+| uuid | | | | | | uuid box for DRM (see clause 8) |
+| moov | | | | | | container for all the information |
+| | mvhd | | | | | movie header, overall declarations |
+| | trak | | | | | container for an individual track or stream |
+| | | tkhd | | | | track header, overall information about the track |
+| | | tref | | | | track reference container |
+| | | edts | | | | edit list container |
+| | | | elst | | | an edit list |
+| | | mdia | | | | container for the media information in a track |
+| | | | mdhd | | | media header, overall information about the media |
+| | | | hdlr | | | handler, declares the media (handler) type |
+| | | | minf | | | media information container |
+| | | | | vmhd | | video media header, overall information |
+| | | | | smhd | | sound media header, overall information |
+| | | | | hmhd | | hint media header, overall information |
+| | | | | nmhd | | null media header, overall information |
+| | | | | dinf | | data information box, container |
+| | | | | | dref | data reference box, declares source(s) of media data in track |
+| | | | | stbl | | sample table box, container for the time/space map |
+| | | | | | stsd | sample descriptions (codec types, initialization etc.) |
+| | | | | | stts | (decoding) time-to-sample |
+| | | | | | ctts | (composition) time to sample |
+| | | | | | stsc | sample-to-chunk, partial data-offset information |
+| | | | | | stsz | sample sizes (framing) |
+| | | | | | stz2 | compact sample sizes (framing) |
+| | | | | | stco | chunk offset, partial data-offset information |
+| | | | | | co64 | 64-bit chunk offset |
+| | | | | | stss | sync sample table (random access points) |
+| | | | | | stsh | shadow sync sample table |
+| | | | | | padb | sample padding bits |
+| | | | | | stdp | sample degradation priority |
+| | mvex | | | | | movie extends box |
+| | | mehd | | | | movie extends header box |
+| | | trex | | | | track extends defaults |
+
+**Table 6-1/J.124 – Box types and structure**
+
+| | | | | |
+|------|------|------|--|-----------------------------------------|
+| moof | | | | movie fragment |
+| | mfhd | | | movie fragment header |
+| | traf | | | track fragment |
+| | | tfhd | | track fragment header |
+| | | trun | | track fragment run |
+| mfra | | | | movie fragment random access (optional) |
+| | tfra | | | track fragment random access |
+| | mfro | | | movie fragment random access offset |
+| mdat | | | | media data container |
+| free | | | | free space |
+| skip | | | | free space |
+| | udta | | | user-data |
+| | | cprt | | copyright, etc. |
+
+## 6.3 Box order
+
+This Recommendation defines box order as follows. Only the top-level boxes are indicated.
+
+### 6.3.1 Non-fragmented structure
+
+As shown in Figure 6-2, the boxes are transmitted or stored from left to right order. Exactly one file type box ('ftyp'), exactly one DRM UUID box ('uuid'), exactly one movie box ('moov') and exactly one media data box ('mdat') shall exist in the format. Other boxes not defined in this Recommendation may occur and decoders shall skip and ignore any unrecognized box.
+
+
+
+| | | | |
+|------|-----------|------|------|
+| ftyp | DRM(uuid) | moov | mdat |
+|------|-----------|------|------|
+
+**Figure 6-2/J.124 – Non-fragmented structure**
+
+### 6.3.2 Fragmented structure
+
+Fragmented structure should be used for long duration content. The first fragment is the same as that of non-fragmented structure as shown in Figure 6-3.
+
+
+
+| | | | |
+|------|-----------|------|------|
+| ftyp | DRM(uuid) | moov | mdat |
+|------|-----------|------|------|
+
+**Figure 6-3/J.124 – The first fragment**
+
+For the second and subsequent fragments, each fragment shall consist of exactly one movie fragment box ('moof') and exactly one media data box ('mdat'). The fragments shall be in sequence order as shown in Figure 6-4.
+
+
+
+| | | | | |
+|------|------|-------|------|------|
+| moof | mdat | ..... | moof | mdat |
+|------|------|-------|------|------|
+
+**Figure 6-4/J.124 – The second fragment and subsequent fragments**
+
+## 6.4 Track structure
+
+This Recommendation defines the following track structure.
+
+- One video track;
+- One audio track;
+- One video track and one audio track;
+- One video track and one text track;
+- One audio track and one text track;
+- One video track, one audio track and one text track.
+
+The maximum number of tracks shall be one for video, one for audio and one for text. Moreover, at least one video or one audio track shall exist.
+
+The maximum number of sample entries shall be one per track for video and audio, but unrestricted for text.
+
+## 6.5 Media data structure
+
+If the media data contains multiple tracks, it shall be interleaved inside the format as chunks.
+
+- The interleaving order shall correspond to the track storing order.
+- Chunks corresponding to the track shall be in time order.
+- One second interleaving length is recommended, and it shall be less than five seconds.
+
+## 6.6 Other descriptions
+
+This Recommendation applies the following descriptions to ISO base media file format [2].
+
+- The fields in the objects are stored with the most significant byte first, commonly known as network byte order or big-endian format.
+- There shall be no references to external media outside the format, i.e., a data shall be self-contained.
+- Hint tracks are a mechanism that a server implementation may choose to use in preparation for the streaming of media content. However, it should be noted that the usage of hint tracks is an internal implementation matter for the server, and it falls outside the scope of this Recommendation.
+- All index numbers used in the format start with the value one rather than zero, in particular, "first-chunk" in sample-to-chunk box, "sample-number" in sync sample box and "shadowed-sample-number", "sync-sample-number" in shadow sync sample box.
+- For the storage of ISO/IEC MPEG-4 media-specific information, this Recommendation refers to MP4 file format [3], which is also based on the ISO base media file format [2]. However, tracks relative to MPEG-4 system architectural elements (e.g., BIFS, OD) are optional in this Recommendation and shall be ignored. The inclusion of MPEG-4 media does not imply the usage of MPEG-4 systems architecture. The decoder is not required to implement any of the specific MPEG-4 system architectural elements.
+
+# 7 Box definitions
+
+## 7.1 File type box
+
+### 7.1.1 Definition
+
+Box type: 'ftyp'
+
+Container: File
+
+Mandatory: Yes
+
+Quantity: Exactly one
+
+A media-file structured to this part of this specification may be compatible with more than one detailed specification, and it is, therefore, not always possible to speak of a single 'type' or 'brand' for the file. This means that the utility of the file name extension and mime type are somewhat reduced.
+
+This box must be placed as early as possible in the file (e.g., after any obligatory signature, but before any significant variable-size boxes such as the UUID box, movie box or media data box). It identifies which specification is the 'best use' of the file, and a minor version of that specification, and also a set of other specifications to which the file complies. Readers implementing this format should attempt to read files which are marked as compatible with any of the specifications which the reader implements. Any incompatible change in a specification should, therefore, register a new 'brand' identifier to identify files conformant to the new specification.
+
+The type 'sg92' is defined in this clause as identifying files which conform to the format in this Recommendation. More specific identifiers can be used to identify precise versions of specifications providing more detail.
+
+Files would normally be externally identified (e.g., with a file extension or mime type) that identifies the 'best use' (major brand), or the brand that the author believes will provide the greatest compatibility.
+
+### 7.1.2 Syntax
+
+```
+aligned(8) class FileTypeBox
+ extends Box('ftyp') {
+ unsigned int(32) major-brand;
+ unsigned int(32) minor-version;
+ unsigned int(32) compatible-brands[]; // to end of the box
+ }
+```
+
+### 7.1.3 Semantics
+
+This box identifies the specifications to which this file complies.
+
+Each brand is a printable four-character code that identifies a precise specification. Only one brand is defined here: 'sg92', identifies files structurally conformant to this media-independent part of this specification.
+
+major-brand – is a brand identifier;
+
+minor-version – is an informative integer for the minor version of the major brand;
+
+compatible-brands – is a list, to the end of the box, of brands.
+
+## 7.2 Other boxes
+
+Definitions of all other boxes are found in the reference [2].
+
+# 8 Digital Rights Management (DRM) box
+
+DRM information is formatted in 'uuid' box. Functions for DRM are described as follows:
+
+- Copy prohibition;
+- Expiration date;
+- Validation period after downloading;
+- Number of times play.
+
+Rights management information controls play and/or retransmission of the downloaded file. It is contained in 'uuid' box of this format.
+
+## 8.1 Syntax
+
+```
+aligned(8) class CopyGuardBox extends FullBox ('uuid', version = 0, flags){
+ bit(32) copy-guard;
+ unsigned int(32) limit-date;
+ unsigned int(32) limit-period;
+ unsigned int(32) limit-count;
+}
+```
+
+## 8.2 Semantics
+
+| Field | Type | Description | Parameters |
+|--------------|-----------|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| type | uint32 | Type of box | 'uuid' is set |
+| usertype | uint8[16] | ID | "cpgd"-A88C-11d4-8197-09027087703 |
+| version | uint8 | Version | 0 is set |
+| flags | bit24 | Management flags | 0: No limitation
1: Limitation by expiration date
2: Limitation by validated period
4: Limitation by playing number of times
Except in the case of No limitation, the following "never copy" flag shall be set to '1' |
+| copy-guard | uint32 | Copy prohibition | 0: copy permitted
otherwise: copy prohibited |
+| limit-date | uint32 | Expiration date | Specify the expiration date in seconds from 1904/1/1 0:00 GMT |
+| limit-period | uint32 | Validated period | Specify the validated period in days after the file is downloaded |
+| limit-count | uint32 | Playing number of times | '1' means that the file can be played only once |
+
+# 9 Timed text format
+
+This clause defines the format of timed text. All the text in this clause is incorporated from 3GPP Technical Specification, 3GPP TS 26.245 V0.1.7 (2003-11-25) Clause 5, Timed text format [8].
+
+Operators may specify additional rules and restrictions when deploying terminals, in addition to this specification, and behaviour that is optional here may be mandatory for particular deployments. In particular, the required character set is almost certainly dependent on the geography of the deployment.
+
+## 9.1 Unicode support
+
+Text in this specification uses the Unicode 3.0 standard. Terminals shall correctly decode both UTF-8 and UTF-16 into the required characters. If a terminal receives a Unicode code, which it cannot display, it shall display a predictable result. It shall not treat multi-byte UTF-8 characters as a series of ASCII characters, for example.
+
+Authors should create fully-composed Unicode; terminals are not required to handle decomposed sequences for which there is a fully-composed equivalent.
+
+Terminals shall conform to the conformance statement in Unicode 3.0 section 3.1.
+
+Text strings for display and font names are uniformly coded in UTF-8, or start with a UTF-16 byte-order mark (`\uFEFF`) and by that, indicate that the string which starts with the byte-order mark is in UTF-16. Terminals shall recognize the byte-order mark in this byte order; they are not required to recognize byte-reversed UTF-16, indicated by a byte-reversed byte-order mark.
+
+## 9.2 Bytes, characters, and glyphs
+
+This clause uses these terms judiciously. Since multi-byte characters are permitted (i.e., 16-bit Unicode characters), the number of characters in a string may not be the number of bytes. Also, a byte-order-mark is not a character at all, though it occupies two bytes. So, for example, storage lengths are specified as byte-counts, whereas highlighting is specified using character offsets.
+
+It should also be noted that in some writing systems, the number of glyphs rendered might be different again. For example, in English, the characters 'fi' are sometimes rendered as a single ligature glyph.
+
+In this specification, the first character is at offset 0 in the string. In records specifying both a start and end offset, the end offset shall be greater than or equal to the start offset. In cases where several offset specifications occur in sequence, the start offset of an element shall be greater than or equal to the end offset of the preceding element.
+
+## 9.3 Character set support
+
+All terminals shall be able to render Unicode characters in these ranges:
+
+- a) basic ASCII and Latin-1 (`\u0000` to `\u00FF`), though not all the control characters in this range are needed;
+- b) the Euro currency symbol (`\u20AC`);
+- c) telephone and ballot symbols (`\u260E` through `\u2612`).
+
+Support for the following characters is recommended but not required:
+
+- a) miscellaneous technical symbols (`\u2300` through `\u2335`);
+- b) 'Zapf Dingbats': locations `\u2700` through `\u27AF`, and the locations where some symbols have been relocated (e.g., `\u2605`, Black star).
+
+The private use characters `\u0091` and `\u0092`, and the initial range of the private use area `\uE000` through `\uE0FF` are reserved in this specification. For these Unicode values, and for control characters for which there is no defined graphical behaviour, the terminal shall not display any result: neither a glyph is shown nor is the current rendering position changed.
+
+## 9.4 Font support
+
+Fonts are specified in this specification by name, size, and style. There are three special names which shall be recognized by the terminal: Serif, Sans-Serif, and Monospace. It is strongly recommended that these be different fonts for the required characters from ASCII and Latin-1. For many other characters, the terminal may have a limited set or only a single font. Terminals requested to render a character where the selected font does not support that character should substitute a suitable font. This ensures that languages with only one font (e.g., Asian languages), or symbols for which there is only one form, are rendered.
+
+Fonts are requested by name, in an ordered list. Authors should normally specify one of the special names last in the list.
+
+Terminals shall support a pixel size of 12 (on a 72 dpi display, this would be a point size of 12). If a size is requested other than the size(s) supported by the terminal, the next smaller supported size
+
+should be used. If the requested size is smaller than the smallest supported size, the terminal should use the smallest supported size.
+
+Terminals shall support unstyled text for those characters it supports. It may also support bold, italic (oblique) and bold-italic. If a style is requested which the terminal does not support, it should substitute a supported style; a character shall be rendered if the terminal has that character in any style of any font.
+
+## 9.5 Fonts and metrics
+
+Within the sample description, a complete list of the fonts used in the samples is found. This enables the terminal to preload them, or to decide on font substitution.
+
+Terminals may use varying versions of the same font. For example, here is the same text rendered on two systems; it was authored on the first, where it just fitted into the text box.
+
+### Example:
+
+| |
+|-----------------------------------------------------|
+| This is a string which is rendered to the terminal. |
+| This is a string which is rendered to the termin |
+
+Authors should be aware of this possible variation, and provide text box areas with some 'slack' to allow for rendering variations.
+
+## 9.6 Colour support
+
+The colour of both text and background are indicated in this specification using RGB values. Terminals are not required to be able to display all colours in the RGB space. Terminals with a limited colour display, with only gray-scale display, and with only black-and-white are permissible. If a terminal has a limited colour capability it should substitute a suitable colour; dithering of text may be used but is not usually appropriate as it results in "fuzzy" display. If colour substitution is performed, the substitution shall be consistent: the same RGB colour shall result consistently in the same displayed colour. If the same colour is chosen for background and text, then the text shall be invisible (unless a style, such as highlight, changes its colour). If different colours are specified for the background and text, the terminal shall map these to different colours so that the text is visible.
+
+Colours in this specification also have an alpha or transparency value. In this specification, a transparency value of 0 indicates a fully transparent colour, and a value of 255 indicates fully opaque. Support for partial or full transparency is optional. 'Keying' text (text rendered on a transparent background) is done by using a background colour which is fully transparent. 'Keying' text over video or pictures, and support for transparency in general, can be complex and may require double-buffering, and its support is optional in the terminal. Content authors should beware that if they specify a colour which is not fully opaque, and the content is played on a terminal not supporting it, the affected area (the entire text box for a background colour) will be fully opaque and will obscure visual material behind it. Visual material with transparency is layered closer to the viewer than the material which it partially obscures.
+
+## 9.7 Text rendering position and composition
+
+Text is rendered within a region (a concept derived from SMIL). There is a text box set within that region. This permits the terminal to position the text within the overall presentation, and also to render the text appropriately given the writing direction. For text written left to right, for example, the first character would be rendered at, or near, the left edge of the box, and with its baseline down from the top of the box by one baseline height (a value derived from the font and font size chosen). Similar considerations apply to the other writing directions.
+
+Within the region, text is rendered within a text box. There is a default text box set, which can be overridden by a sample.
+
+Either the text box or text region is filled with the background colour; after that, the text is painted in the text colour. If highlighting is requested, one or both of these colours may vary.
+
+Terminals may choose to anti-alias their text, or not.
+
+The text region and layering are defined using structures from the ISO base media file format.
+
+This track header box is used for text track:
+
+```
+aligned(8) class TrackHeaderBox
+ extends FullBox('tkhd', version, flags){
+ if (version==1) {
+ unsigned int(64) creation_time;
+ unsigned int(64) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(64) duration;
+ } else { // version==0
+ unsigned int(32) creation_time;
+ unsigned int(32) modification_time;
+ unsigned int(32) track_ID;
+ const unsigned int(32) reserved = 0;
+ unsigned int(32) duration;
+ }
+ const unsigned int(32) [2] reserved = 0;
+ int(16) layer;
+ template int(16) alternate_group = 0;
+ template int(16) volume = 0;
+ const unsigned int(16) reserved = 0;
+ template int(32) [9] matrix=
+ { 0x00010000,0,0,0,0x00010000,0,tx,ty,0x40000000 };
+ // unity matrix
+ unsigned int(32) width;
+ unsigned int(32) height;
+ }
+}
+```
+
+Visually composed tracks, including video and text, are layered using the 'layer' value. This compares, for example, to z-index in SMIL. More negative layer values are towards the viewer. (This definition is compatible with that in ISO/MJ2.)
+
+The region is defined by the track width and height, and translation offset. This corresponds to the SMIL region. The width and height are stored in the track header fields above. The sample description sets a text box within the region, which can be overridden by the samples.
+
+The translation values are stored in the track header matrix in the following positions:
+
+```
+{ 0x00010000,0,0,0,0x00010000,0, tx, ty, 0x40000000 }
+```
+
+These values are fixed-point 16.16 values, here restricted to be integers (the lower 16 bits of each value shall be zero). The X axis increases from left to right; the Y axis from top to bottom. (This use of the matrix is conformant with ISO/MJ2.)
+
+So, for example, a centred region of size $200 \times 20$ , positioned below a video of size $320 \times 240$ , would have track\_width set to 200 (width = 0x00c80000), track\_height set to 20 (height = 0x00140000), and tx = $(320 - 200)/2 = 60$ , and ty = 240.
+
+Since matrices are not used on the video tracks, all video tracks are set at the coordinate origin. Figure 9-1 provides an overview:
+
+
+
+Figure 9-1/J.124 – Illustration of text rendering position and composition. The diagram shows a 'Display area' (yellow hatched rectangle) containing a 'Video track' (blue rectangle) and a 'Text track' (green dashed rectangle). The 'Text track' contains a 'Text box' (blue hatched rectangle). The 'Text track' is positioned at (tx, ty) relative to the origin. The 'Text box' is defined by its top-left corner at (left, top) and its bottom-right corner at (right, bottom). The 'width' of the text box is indicated by a double-headed arrow at the bottom. The 'height' of the text box is indicated by a double-headed arrow on the left. The 'Display area' is labeled 'J.124\_F9-1'.
+
+**Figure 9-1/J.124 – Illustration of text rendering position and composition**
+
+The top and left positions of the text track is determined by the tx and ty, which are the translation values from the coordinate origin (since the video track is at the origin, this is also the offset from the video track). The default text box set in the sample description sets the rendering area unless overridden by a 'tbox' in the text sample. The box values are defined as the relative values from the top and left positions of the text track.
+
+It should be noted that this only specifies the relationship of the tracks within a single 3GP file. If a SMIL presentation lays up multiple files, their relative position is set by the SMIL regions. Each file is assigned to a region, and then, within those regions, the spatial relationship of the tracks is defined.
+
+## 9.8 Marquee scrolling
+
+Text can be 'marquee' scrolled in this specification (compare this to Internet Explorer's marquee construction). When scrolling is performed, the terminal first calculates the position in which the text would be displayed with no scrolling requested. Then:
+
+- If scroll-in is requested, the text is initially invisible, just outside the text box, and enters the box in the indicated direction, scrolling until it is in the normal position;
+- If scroll-out is requested, the text scrolls from the normal position, in the indicated direction, until it is completely outside the text box.
+
+The rendered text is clipped to the text box in each display position, as always. This means that it is possible to scroll a string which is longer than can fit into the text box, progressively disclosing it (for example, like a ticker-tape). Note that both scroll in and scroll out may be specified; the text scrolls continuously from its invisible initial position, through the normal position, and out to its final position.
+
+If a scroll-delay is specified, the text stays steady in its normal position (not initial position) for the duration of the delay; so the delay is after a scroll-in, but before a scroll-out. This means that the scrolling is not continuous if both are specified. So, without a delay, the text is in motion for the duration of the sample. For a scroll in, it reaches its normal position at the end of the sample duration; with a delay, it reaches its normal position before the end of the sample duration, and
+
+remains in its normal position for the delay duration which ends at the end of the sample duration. Similarly, for a scroll out, the delay happens in its normal position before scrolling starts. If both scroll in, and scroll out are specified, with a delay, the text scrolls in, stays stationary at the normal position for the delay period, and then scrolls out – all within the sample duration.
+
+The speed of scrolling is calculated so that the complete operation takes place within the duration of the sample. Therefore, the scrolling has to occur within the time left after scroll-delay has been subtracted from the sample duration. Note that the time it takes to scroll a string may depend on the rendered length of the actual text string. Authors should consider whether the scrolling speed that results will be exceeded by that at which text on a wireless terminal could be readable.
+
+Terminals may use simple algorithms to determine the actual scroll speed. For example, the speed may be determined by moving the text an integer number of pixels in every update cycle. Terminals should choose a scroll speed which is as fast, or faster, than needed so that the scroll operation completes within the sample duration.
+
+Terminals are not required to handle dynamic or stylistic effects such as highlight, dynamic highlight, or href links on scrolled text.
+
+The scrolling direction is set by a two-bit field, with the following possible values:
+
+- 00b – text is vertically scrolled up ('credits style'), entering from the bottom and leaving towards the top.
+- 01b – text is horizontally scrolled ('marquee style'), entering from the right and leaving towards the left.
+- 10b – text is vertically scrolled down, entering from the top and leaving towards the bottom.
+- 11b – text is horizontally scrolled, entering from the left and leaving towards the right.
+
+## 9.9 Language
+
+The human language used in this stream is declared by the language field of the media-header box in this track. It is an ISO 639/T 3-letter code. The knowledge of the language used might assist searching, or speaking the text. Rendering is language neutral. Note that the values 'und' (undetermined) and 'mul' (multiple languages) might occur.
+
+## 9.10 Writing direction
+
+Writing direction specifies the way in which the character position changes after each character is rendered. It also will imply a start-point for the rendering within the box.
+
+Terminals shall support the determination of writing direction, for those characters they support, according to the Unicode 3.0 specification. Note that the only required characters can all be rendered using left-right behaviour. A terminal which supports characters with right-left writing direction shall support the right-left composition rules specified in Unicode.
+
+Terminals may also set, or allow the user to set, an overall writing direction, either explicitly or implicitly (e.g., by the language selection). This affects layout. For example, if upper-case letters are left-right, and lower-case right-left, and the Unicode string ABCdefGHI shall be rendered, it would appear as ABCfedGHI on a terminal with overall left-right writing (English, for example) and GHIfedABC on a system with overall right-left (Hebrew, for example).
+
+Terminals are not required to support the bidirectional ordering codes (\u200E, \u200F and \u202A through \u202E).
+
+If vertical text is requested by the content author, characters are laid out vertically from top to bottom. The terminal may choose to render different glyphs for this writing direction (e.g., a horizontal parenthesis), but, in general, the glyphs should not be rotated. The direction in which lines advance (left-right, as used for European languages, or right-left, as used for Asian languages)
+
+is set by the terminal, possibly by a direct or indirect user preference (e.g., a language setting). Terminals shall support vertical writing of the required character set. It is recommended that terminals support vertical writing of text in those languages commonly written vertically (e.g., Asian languages). If vertical text is requested for characters which the terminal cannot render vertically, the terminal may behave as if the characters were not available.
+
+## 9.11 Text wrap
+
+Automatic wrapping of text from line to line is complex and can require hyphenation rules and other complex language-specific criteria. For these reasons, soft text wrap is optional in this specification. Text wrap behaviour may be specified using a TextWrapBox, and a terminal that does not support this feature shall not perform soft text wrapping. When text wrap is not used and a string is too long to be drawn within the box, it is clipped. The terminal may choose whether to clip at the pixel boundary, or to render only whole glyphs.
+
+There may be multiple lines of text in a sample (hard wrap). Terminals shall start a new line for the Unicode characters line separator (\u2028), paragraph separator (\u2029) and line feed (\u000A). It is recommended that terminals follow Unicode Technical Report 13. Terminals should treat carriage return (\u000D), next line (\u0085) and CR+LF (\u000D\u000A) as new line.
+
+## 9.12 Highlighting, Closed Caption, and Karaoke
+
+Text may be highlighted for emphasis. Since this is a non-interactive system, solely for text display, the utility of this function may be limited.
+
+Dynamic highlighting used for Closed Caption and Karaoke highlighting, is an extension of highlighting. Successive contiguous sub-strings of the text sample are highlighted at the specified times.
+
+## 9.13 Media handler
+
+A text stream is its own unique stream type. For the 3GPP file format, the handler-type within the 'hdlr' box shall be 'text'.
+
+## 9.14 Media handler header
+
+The 3G text track uses an empty null media header ('nmhd'), called Mpeg4MediaHeaderBox in the MP4 specification [3], in common with other MPEG streams.
+
+```
+aligned(8) class Mpeg4MediaHeaderBox
+ extends FullBox('nmhd', version = 0, flags) {
+}
+```
+
+## 9.15 Style record
+
+Both the sample format and the sample description contain style records, and so it is defined once here for compactness.
+
+```
+aligned(8) class StyleRecord {
+ unsigned int(16) startChar;
+ unsigned int(16) endChar;
+ unsigned int(16) font-ID;
+ unsigned int(8) face-style-flags;
+ unsigned int(8) font-size;
+ unsigned int(8) text-color-rgba;
+}
+```
+
+startChar: character offset of the beginning of this style run (always 0 in a sample description).
+
+endChar: first character offset to which this style does not apply (always 0 in a sample description); shall be greater than or equal to startChar. All characters, including line-break characters and any other non-printing characters, are included in the character counts.
+
+font-ID: font identifier from the font table; in a sample description, this is the default font.
+
+face-style-flags: in the absence of any bits set, the text is plain:
+
+- 1 bold;
+- 2 italic;
+- 4 underline.
+
+font-size: font size (nominal pixel size, in essentially the same units as the width and height).
+
+text-color-rgba: rgb colour, 8 bits each of red, green, blue, and an alpha (transparency) value.
+
+Terminals shall support plain text, and underlined horizontal text, and may support bold, italic and bold-italic depending on their capabilities and the font selected. If a style is not supported, the text shall still be rendered in the closest style available.
+
+## 9.16 Sample description format
+
+The sample table box ('stbl') contains sample descriptions for the text track. Each entry is a sample entry box of type 'tx3g'. This name defines the format both of the sample description and the samples associated with that sample description. Terminals shall not attempt to decode or display sample descriptions with unrecognized names, nor the samples attached to those sample descriptions.
+
+It starts with the standard fields (the reserved bytes and the data reference index), and then some text-specific fields. Some fields can be overridden or supplemented by additional boxes within the text sample itself. These are discussed below.
+
+There can be multiple text sample descriptions in the sample table. If the overall text characteristics do not change from one sample to the next, the same sample description is used. Otherwise, a new sample description is added to the table. Not all changes to text characteristics require a new sample description, however. Some characteristics, such as font size, can be overridden on a character-by-character basis. Some, such as dynamic highlighting, are not part of the text sample description and can be changed dynamically.
+
+The TextDescription extends the regular sample entry with the following fields.
+
+```
+class FontRecord {
+ unsigned int(16) font-ID;
+ unsigned int(8) font-name-length;
+ unsigned int(8) font[font-name-length];
+}
+
+class FontTableBox() extends Box('ftab') {
+ unsigned int(16) entry-count;
+ FontRecord font-entry[entry-count];
+}
+
+class BoxRecord {
+ signed int(16) top;
+ signed int(16) left;
+ signed int(16) bottom;
+ signed int(16) right;
+}
+```
+
+```
+
+class TextSampleEntry() extends SampleEntry ('tx3g') {
+ unsigned int(32) displayFlags;
+ signed int(8) horizontal-justification;
+ signed int(8) vertical-justification;
+ unsigned int(8) background-color-rgba;
+ BoxRecord default-text-box;
+ StyleRecord default-style;
+ FontTableBox font-table;
+}
+
+```
+
+displayFlags:
+
+| | | |
+|-----------------------|------------|------------------------|
+| scroll In | 0x00000020 | |
+| scroll Out | 0x00000040 | |
+| scroll direction | 0x00000180 | / see above for values |
+| continuous karaoke | 0x00000800 | |
+| write text vertically | 0x00020000 | |
+| fill text region | 0x00040000 | |
+
+horizontal and vertical justification: / two eight-bit values from the following list:
+
+| | |
+|---------------|----|
+| left, top | 0 |
+| centred | 1 |
+| bottom, right | -1 |
+
+background-color-rgba: rgb color, 8 bits each of red, green, blue, and an alpha (transparency) value;
+default text box: the default text box is set by four values, relative to the text region; it may be overridden in samples;
+
+style record of default style: startChar and endChar shall be zero in a sample description.
+
+The text box is inset within the region defined by the track translation offset, width, and height. The values in the box are relative to the track region, and are uniformly coded with respect to the pixel grid. So, for example, the default text box for a track at the top left of the track region and 50 pixels high and 100 pixels wide is {0, 0, 50, 100}.
+
+If the 'fill text region' flag is 0 (the default value, and the value from previous releases), then the background fill is applied to the text box only. If this flag is 1, then the author is requesting that the background fill be applied to the entire text region, if possible. Note that this flag was not defined in previous releases and will not, therefore, always be interpreted. Implementation of this flag is recommended but not required for compliance.
+
+A font table shall follow these fields to define the complete set of fonts used. The font table is a box of type 'ftab'. Every font used in the samples is defined here by name. Each entry consists of a 16-bit local font identifier, and a font name, expressed as a string, preceded by an 8-bit field giving the length of the string in bytes. The name is expressed in UTF-8 characters, unless preceded by a UTF-16 byte-order-mark, whereupon the rest of the string is in 16-bit Unicode characters. The string should be a comma-separated list of font names to be used as alternative fonts, in preference order. The special names "Serif", "Sans-serif" and "Monospace" may be used. The terminal should use the first font in the list which it can support; if it cannot support any for a given character, but it has a font which can, it should use that font. Note that this substitution is technically character-by-character, but terminals are encouraged to keep runs of characters in a consistent font where possible.
+
+## 9.17 Sample format
+
+Each sample in the media data consists of a string of text, optionally followed by sample modifier boxes.
+
+For example, if one word in the sample has a different size than the others, a 'styl' box is appended to that sample, specifying a new text style for those characters, and for the remaining characters in the sample. This overrides the style in the sample description. These boxes are present only if they are needed. If all text conforms to the sample description, and no characteristics are applied that the sample description does not cover, no boxes are inserted into the sample data.
+
+```
+class TextSampleModifierBox(type) extends Box(type) {
+}
+
+class TextSample {
+ unsigned int(16) text-length;
+ unsigned int(8) text[text-length];
+ TextSampleModifierBox text-modifier[]; // to end of the sample
+}
+```
+
+The initial string is preceded by a 16-bit count of the number of bytes in the string. There is no need for null termination of the text string. The sample size table provides the complete byte-count of each sample, including the trailing modifier boxes; by comparing the string length and the sample size, you can determine how much space, if any, is left for modifier boxes.
+
+Authors should limit the string in each text sample to not more than 2048 bytes, for maximum terminal interoperability.
+
+Any unrecognized box found in the text sample should be skipped and ignored, and processing continue as if it were not there.
+
+### 9.17.1 Sample modifier boxes
+
+#### 9.17.1.1 Text style
+
+'styl'
+
+This specifies the style of the text. It consists of a series of style records as defined above, preceded by a 16-bit count of the number of style records. Each record specifies the starting and ending character positions of the text to which it applies. The styles shall be ordered by starting character offset, and the starting offset of one style record shall be greater than or equal to the ending character offset of the preceding record; styles records shall not overlap their character ranges.
+
+```
+class TextStyleBox() extends TextSampleModifierBox ('styl') {
+ unsigned int(16) entry-count;
+ StyleRecord text-styles[entry-count];
+}
+```
+
+#### 9.17.1.2 Highlight
+
+'hlit'
+
+This specifies highlighted text: the box contains two 16-bit integers, the starting character to highlight, and the first character with no highlighting (e.g., values 4, 6 would highlight the two characters 4 and 5). The second value may be the number of characters in the text plus one, to indicate that the last character is highlighted.
+
+```
+class TextHighlightBox() extends TextSampleModifierBox ('hlit') {
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+}
+class TextHilightColorBox() extends TextSampleModifierBox ('hclr') {
+ unsigned int(8) highlight_color_rgba;
+}
+```
+
+highlight\_color\_rgb: rgb color, 8 bits each of red, green, blue, and an alpha (transparency) value.
+
+The TextHilightColor Box may be present when the TextHighlightBox or TextKaraokeBox is present in a text sample. It is recommended that terminals use the following rules to determine the displayed effect when highlight is requested:
+
+- a) if a highlight colour is not specified, then the text is highlighted using a suitable technique such as inverse video: both the text colour and the background colour change.
+- b) if a highlight colour is specified, the background colour is set to the highlight colour for the highlighted characters; the text colour does not change.
+
+Terminals do not need to handle text that is both scrolled and either statically or dynamically highlighted. Content authors should avoid specifying both scroll and highlight for the same sample.
+
+#### 9.17.1.3 Dynamic highlight
+
+'krok'
+
+Karaoke, closed caption, or dynamic highlighting. The number of highlight events is specified, and each event is specified by a starting and ending character offset and an end-time for the event. The start-time is either the sample start-time or the end-time of the previous event. The specified characters are highlighted from the previous end-time (initially the beginning of this sample's time), to the end-time. The times are all specified relative to the sample's time; that is, a time of 0 represents the beginning of the sample time. The times are measured in the time-scale of the track.
+
+The box starts with the start-time offset of the first highlight event, a 16-bit count of the event count, and then that number of 8-byte records. Each record contains the end-time offset as a 32-bit number, and the text start and end values, each as a 16-bit number. These values are specified as in the highlight record: the offset of the first character to highlight, and the offset of the first character not highlighted. The special case, where the startcharoffset equals to the endcharoffset, can be used to pause during, or at the beginning of, dynamic highlighting. The records shall be ordered and not overlap, as in the highlight record. The time in each record is the end-time of this highlight event; the first highlight event starts at the indicated start-time offset from the start-time of the sample. The time values are in the units expressed by the time-scale of the track. The time values shall not exceed the duration of the sample.
+
+The continuouskaraoke flag controls whether to highlight only those characters (continuouskaraoke = 0) selected by a karaoke entry, or the entire string from the beginning up to the characters highlighted (continuouskaraoke = 1) at any given time. In other words, the flag specifies whether karaoke should ignore the starting offset and highlight all text from the beginning of the sample to the ending offset.
+
+Karaoke highlighting is usually achieved by using the highlight colour as the text colour, without changing the background.
+
+At most one dynamic highlight ('krok') box may occur in a sample.
+
+```
+class TextKaraokeBox() extends TextSampleModifierBox ('krok') {
+ unsigned int(32) highlight-start-time;
+ unsigned int(16) entry-count;
+ for (i=1; i<=entry-count; i++) {
+ unsigned int(32) highlight-end-time;
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+ }
+}
+```
+
+#### 9.17.1.4 Scroll delay
+
+'dlay'
+
+This specifies a delay after a Scroll In and/or before Scroll Out. A 32-bit integer specifying the delay, in the units of the time-scale of the track. The default delay, in the absence of this box, is 0.
+
+```
+class TextScrollDelayBox() extends TextSampleModifierBox ('dlay') {
+ unsigned int(32) scroll-delay;
+}
+```
+
+#### 9.17.1.5 HyperText
+
+'href'
+
+HyperText link. The existence of the hypertext link is visually indicated in a suitable style (e.g., underlined blue text).
+
+This box contains these values:
+
+startCharOffset: the start offset of the text to be linked;
+
+endCharOffset: the end offset of the text (start offset + number of characters);
+
+URLLength: the number of bytes in the following URL;
+
+URL: UTF-8 characters – the linked-to URL;
+
+altLength: the number of bytes in the following "alt" string;
+
+altstring: UTF-8 characters – an "alt" string for user display.
+
+The URL should be an absolute URL, as the context for a relative URL may not always be clear.
+
+The "alt" string may be used as a tool-tip or other visual clue, as a substitute for the URL, if desired by the terminal, to display to the user as a hint on where the link refers.
+
+Hypertext-linked text should not be scrolled; not all terminals can display this or manage the user interaction to determine whether the user has interacted with moving text. It is also hard for the user to interact with scrolling text.
+
+```
+class TextHyperTextBox() extends TextSampleModifierBox ('href') {
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+ unsigned int(8) URLLength;
+ unsigned int(8) URL[URLLength];
+ unsigned int(8) altLength;
+ unsigned int(8) altstring[altLength];
+}
+```
+
+#### 9.17.1.6 Textbox
+
+'tbox'
+
+Text box override. This overrides the default text box set in the sample description.
+
+```
+class TextboxBox() extends TextSampleModifierBox ('tbox') {
+ BoxRecord text-box;
+}
+```
+
+#### 9.17.1.7 Blink
+
+'blink'
+
+Blinking text. This requests blinking text for the indicated character range. Terminals are not required to support blinking text, and the precise way in which blinking is achieved, and its rate, is terminal-dependent.
+
+```
+
+class BlinkBox() extends TextSampleModifierBox ('blnk') {
+ unsigned int(16) startcharoffset;
+ unsigned int(16) endcharoffset;
+}
+
+```
+
+#### 9.17.1.8 Text wrap indication
+
+'twrp'
+
+This specifies text wrap behaviour: the box contains one 8-bit integer as a wrap mode flag.
+
+```
+
+class TextWrapBox() extends TextSampleModifierBox ('twrp') {
+ unsigned int(8) wrap_flag;
+}
+
+```
+
+wrap\_flag: a value from Table 9-1.
+
+**Table 9-1/J.124 – Wrap flag values**
+
+| Value | Description |
+|-----------|-------------------------------|
+| 0x00 | No wrap |
+| 0x01 | Automatic 'soft' wrap enabled |
+| 0x02-0xFF | Reserved |
+
+## 9.18 Combinations of features
+
+Two modifier boxes of the same type shall not be applied to the same character (e.g., it is not permitted to have two href links from the same text). As the 'hclr', 'dlay' and 'tbox' are globally applied to the whole text in a sample, each sample shall contain at most one 'hclr', at most one 'dlay', and at most one 'tbox' modifier.
+
+Table 9-2 details the effects of multiple options:
+
+**Table 9-2/J.124 – Combinations of features**
+
+| | | Sample description style record | First sample modifier box | | | | |
+|---------------------------------------|-------------|---------------------------------|---------------------------|------|------|------|------|
+| | | | styl | hlit | krok | href | blnk |
+| Second sample
modifier box | styl | 1 | 3 | | | | |
+| | hlit | | | 3 | | | |
+| | krok | | | 4 | 3 | | |
+| | href | 2 | 2 | | 5 | 3 | |
+| | blnk | | 6 | 6 | 6 | 6 | 6 |
+
+- 1) The sample description provides the default style; the style records override this for the selected characters.
+- 2) The terminal overrides the chosen style for href links.
+- 3) Two records of the same type cannot be applied to the same character.
+- 4) Dynamic and static highlighting must not be applied to the same text.
+- 5) Dynamic highlighting and linking must not be applied to the same text.
+- 6) Blinking text is optional, particularly when requested in combination with other features.
+
+# Appendix I
+
+## Application example: Typical VOD transmission
+
+A file transmission request to the server without any specific information starts the VOD transmission. The request syntax is, for example, as follows:
+
+
+
+or
+
+
+
+In this example, the requested file is "content.mp4". The latter uses the CGI program "transfer.cgi" for data transmission control for future extension. Note that the command syntax may be proprietary-defined between server and client, which is outside the scope of this Recommendation.
+
+When the server receives the request, it starts the file transmission. After the client receives the movie header ("moov"), it can start demultiplexing and decoding the bitstream and storing the decoded data in the buffer. With some initial buffering delay, the client starts playing the media.
+
+While playing the media, the next movie fragment header ("moof") is transmitted to the client. When the client receives the 'moof' header, it starts demultiplexing and decoding the bitstream of the next fragment. Thus, continuous playing of the media, as streaming, is achieved with this format.
+
+
+
+The diagram illustrates a typical VOD transmission setup. On the right, a **Server** (represented by a rack and monitor) is connected to a central router within an **IP Network** cloud. The server sends a **Data stream** consisting of alternating **moov** and **mdat** fragments (labeled J.124\_FAppl). On the left, two **Client** devices (represented by desktop computers) are connected to the IP network cloud via their own routers. One client sends a **Request** (labeled ) to the server. The data stream is shown being transmitted from the server, through the network cloud, to the clients.
+
+Diagram illustrating a typical VOD transmission over an IP network. A server sends a data stream (moov, mdat, moof, mdat, moof, mdat, ...) to two clients via an IP network cloud containing routers. A request is sent from one client to the server.
+
+# Appendix II
+
+## Application example: Random access transmission
+
+A file transmission request to the server with time information starts the random access transmission. The request syntax is, for example, as follows:
+
+
+
+In this example, the requested file is "content.mp4" and the requested position is 30 seconds from the beginning. Note that the command syntax may be proprietary-defined between server and client, which is outside the scope of this Recommendation.
+
+When the server receives the request, it starts the file transmission from the specified position. Since the client can start playing only with the movie header "moov", the file must be reorganized by the server in advance of transmission. In addition, the top of each fragment can become the start time.
+
+The "moof" header of the specified position is converted to the "moov" header, and the following "moof" headers are reorganized with fixing the offset pointers. Thus, the new stream is constructed, which is transmitted to the client.
+
+
+
+The diagram illustrates the process of random access transmission. On the left, a 'Client' icon is connected to a cloud representing the 'IP Network'. Inside the network cloud, there are two routers (circular icons with arrows) and another 'Client' icon. On the right, a 'Server' icon (tower and monitor) is connected to a third router in the network cloud. Below the network cloud, a sequence of boxes represents the file structure: 'moov', 'mdat', 'moof', 'mdat', 'moof', 'mdat', '....'. A vertical arrow labeled '30 s' points to the third box ('moof'). From this 'moof' box, two arrows point to a second sequence of boxes: one labeled 'convert' pointing to the first 'moov' box, and another labeled 'fix the offsets' pointing to the third 'moof' box. The second sequence of boxes is 'moov', 'mdat', 'moof', 'mdat', '....'. A large arrow labeled 'Data stream' points from the second sequence of boxes back to the 'Client' icon in the network cloud. A smaller arrow labeled 'Request' points from the 'Client' icon in the network cloud to the 'Server' icon, with the text 'http://server.com/transfer.cgi?file=content.mp4&begin=30s' below it. The label 'J.124\_Fappl' is located near the server.
+
+Diagram illustrating random access transmission of an MP4 file over an IP network.
+
+# Appendix III
+
+## Application example: Live video transmission
+
+This multiplexing format can be applied to a live video transmission. A file transmission request to the server with the live encoder information, starts the live video transmission. The request syntax is, for example, as follows:
+
+
+
+In this example, live video transmission named "source1" is requested. Note that the command syntax between server and client, and the protocol between live encoder and transmission server, may be proprietary-defined, which is outside the scope of this Recommendation.
+
+When the server receives the request, it selects the live bitstream specified from the client. It is assumed that the fragment data is transferred to the server from the live encoder, irrespective of a request from the client.
+
+In this case, the latest fragment, which should have started sending, has the "moof" header not the "moov" header. As with random access, header conversion from "moof" to "moov" of the latest fragment, on receiving the request and offset modification of trailing "moof", is performed.
+
+
+
+The diagram illustrates a live video transmission setup. At the top, a "Live encoder" (represented by a person with a camera) is connected to a "Server" (represented by a computer tower and monitor). The encoder sends a "Data stream" to the server. The server processes this stream, which consists of a sequence of fragments: "...mdat...", "moov", "mdat", "moof", "mdat", "moof", "mdat", .... The server performs two operations on this stream: "convert" and "fix the offsets". The resulting stream is then sent to a "Client" (represented by a computer monitor and keyboard). The client sends a "Request" to the server with the syntax: . The server responds with the processed data stream. The entire system is connected via an "IP Network" (represented by a cloud). The diagram also shows two other clients connected to the network, one on the left and one at the bottom left. The label "J.124\_FAppIII" is present in the bottom right corner of the diagram area.
+
+Diagram of live video transmission architecture showing a live encoder, server, and clients connected via an IP network.
+
+
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure, Internet protocol aspects and Next Generation Networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1292-202410-I_PDF-E/raw.md b/marked/J/T-REC-J.1292-202410-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..1cbdb149eaf7e36ecd1a4382b77bfb1fbbb5d99b
--- /dev/null
+++ b/marked/J/T-REC-J.1292-202410-I_PDF-E/raw.md
@@ -0,0 +1,735 @@
+
+
+# Recommendation**ITU-T J.1292 (10/2024)**
+
+SERIES J: Cable networks and transmission of television, sound programme and other multimedia signals
+
+Cable set-top box – part 2
+
+---
+
+### **Functional requirements for cable set-top box supporting ultra-high-definition video and virtual reality services**
+
+
+
+The logo of the International Telecommunication Union (ITU) is located in the bottom right corner. It features a blue globe with white lines representing latitude and longitude, and the letters 'ITU' in a bold, blue, sans-serif font overlaid on the globe.
+
+ITU logo
+
+## ITU-T J-SERIES RECOMMENDATIONS **Cable networks and transmission of television, sound programme and other multimedia signals**
+
+| | |
+|-------------------------------------------------------------------------------------------------|----------------------|
+| GENERAL RECOMMENDATIONS | J.1-J.9 |
+| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 |
+| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 |
+| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 |
+| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 |
+| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 |
+| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 |
+| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 |
+| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 |
+| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 |
+| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.150-J.159 |
+| IPCABLECOM (MGCP-BASED) - PART 1 | J.160-J.179 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.180-J.189 |
+| CABLE MODEMS AND HOME NETWORKING | J.190-J.199 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.200-J.209 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.210-J.229 |
+| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.230-J.239 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.240-J.249 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.250-J.259 |
+| IPCABLECOM (MGCP-BASED) - PART 2 | J.260-J.279 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.280-J.289 |
+| CABLE SET-TOP BOX | J.290-J.299 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.300-J.309 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.340-J.349 |
+| IPCABLECOM2 (SIP-BASED) - PART 1 | J.360-J.379 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.380-J.389 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.440-J.449 |
+| IPCABLECOM2 (SIP-BASED) - PART 2 | J.460-J.479 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.480-J.489 |
+| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.600-J.699 |
+| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.700-J.799 |
+| MULTIMEDIA OVER IP IN CABLE | J.800-J.899 |
+| TRANSMISSION OF 3-D TV SERVICES | J.900-J.999 |
+| CONDITIONAL ACCESS AND PROTECTION | J.1000-J.1099 |
+| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.1100-J.1119 |
+| SMART TV OPERATING SYSTEM | J.1200-J.1209 |
+| IP VIDEO BROADCAST | J.1210-J.1219 |
+| CABLE SET-TOP BOX - PART 2 | J.1290-J.1299 |
+| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.1300-J.1309 |
+| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.1310-J.1319 |
+| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.1400-J.1409 |
+| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T J.1292
+
+# Functional requirements for cable set-top box supporting ultra-high-definition video and virtual reality services
+
+## Summary
+
+A set-top box (STB) capable of decoding ultra-high definition (UHD) video i.e., 4K, 8K, or higher resolutions and supporting virtual reality (VR) is a crucial component in the ever-evolving landscape of home entertainment. With the rapid growth of UHD video content, such a device ensures that users can enjoy the highest quality video, offering stunning resolution and visual clarity. Moreover, as technology advances, UHD content is becoming more prevalent, making a set-top box that supports UHD essential for future-proofing home entertainment systems. In the realm of VR, high-quality visuals are paramount for creating immersive and realistic experiences. A set-top box that can decode UHD video enhances VR content by providing intricate detail and making the virtual world more engaging. Furthermore, it ensures the smooth performance of VR applications and UHD video, delivering lag-free experiences. Whether it is watching UHD movies or engaging in VR gaming, a set-top box equipped for both technologies, expands entertainment possibilities and offers a versatile and engaging media experience.
+
+Recommendation ITU-T J.1292 elaborates the functional requirements for a cable set-top box capable of supporting ultra-high-definition video and virtual reality services. It introduces the system architecture and specifies the minimum requirements for the STB to decode and output UHD video with resolutions of 4K, 8K, or higher. Additionally, the STB should be compatible with VR services, utilizing either cable or WLAN IEEE 802.11be technology.
+
+## History \*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T J.1292 | 2024-10-29 | 9 | 11.1002/1000/16194 |
+
+## Keywords
+
+4K, 8K, set-top box, STB, UHD, ultra-high definition video, virtual reality, VR.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2025
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|----------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 2 |
+| 3.1 Terms defined elsewhere ..... | 2 |
+| 3.2 Terms defined in this Recommendation..... | 3 |
+| 4 Abbreviations and acronyms ..... | 3 |
+| 5 Conventions ..... | 5 |
+| 6 Overview & broad system architecture ..... | 6 |
+| 6.1 Set-top box (STB)..... | 6 |
+| 6.2 Virtual reality..... | 6 |
+| 6.3 UHD Cable STB with VR service system..... | 7 |
+| 6.4 Hardware architecture of the UHD STB with VR service ..... | 7 |
+| 7 Requirements ..... | 8 |
+| 7.1 Minimum system..... | 8 |
+| 7.2 Hardware interface ..... | 11 |
+| 7.3 Basic software functions..... | 12 |
+| 7.4 Functional specifications ..... | 14 |
+| Bibliography..... | 15 |
+
+
+
+# Recommendation ITU-T J.1292
+
+# Functional requirements for cable set-top box supporting ultra-high-definition video and virtual reality services
+
+# 1 Scope
+
+This Recommendation aims to outline the functional requirements for a cable set-top box (STB) capable of supporting ultra-high definition (UHD) video and virtual reality (VR) services. It introduces the system architecture and specifies the minimum requirements for the STB to decode and output UHD video with resolutions of 4K, 8K, or higher. Additionally, the STB should be compatible with VR services, utilizing either cable or WLAN IEEE 802.11be technology.
+
+# 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 indicated 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-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.262] Recommendation ITU-T H.262 (2012), *Information technology – Generic coding of moving pictures and associated audio information: Video*.
+- [ITU-T H.264] Recommendation ITU-T H.264 (2024), *Advanced video coding for generic audiovisual services*.
+- [ITU-T H.265] Recommendation ITU-T H.265 (2024), *High efficiency video coding*.
+- [ITU-T H.266] Recommendation ITU-T H.266 (2023), *Versatile video coding*.
+- [ITU-T J.83] Recommendation ITU-T J.83 (2007), *Digital multi-programme systems for television, sound and data services for cable distribution*.
+- [ITU-T J.222.1] Recommendation ITU-T J.222.1 (2007), *Third-generation transmission systems for interactive cable television services – IP cable modems: Physical layer specification*.
+- [ITU-T J.222.2] Recommendation ITU-T J.222.2 (2007), *Third-generation transmission systems for interactive cable television services – IP cable modems: MAC and Upper Layer protocols Volume 1: Core Recommendation*.
+- [ISO/IEC 60958-1] ISO/IEC 60958-1:2021, *Digital audio interface – Part 1: General*.
+- [ISO/IEC 11172-3] ISO/IEC 11172-3:1993, *Information technology – Coding of moving pictures and associated audio for digital storage media at up to about 1,5 Mbit/s – Part 3: Audio*.
+- [ISO/IEC 13818-3] ISO/IEC 13818-3:1998, *Information technology – Generic coding of moving pictures and associated audio information – Part 3: Audio*.
+- [ISO/IEC 13818-7] ISO/IEC 13818-7:2006, *Information technology, Generic coding of moving pictures and associated audio information, Part 7: Advanced Audio Coding (AAC)*.
+- [ISO/IEC 14496-2] ISO/IEC 14496-2:2004, *Information technology – Coding of audio-visual objects – Part 2: Visual*.
+
+- [ISO/IEC 14496-3] ISO/IEC 14496-3:2009, *Information technology – Coding of audio-visual objects – Part 3: Audio*.
+- [ISO/IEC 23003-3] ISO/IEC 23003-3:2020, *Information technology – MPEG audio technologies – Part 3: Unified speech and audio coding*.
+- [ISO/IEC 23003-4] ISO/IEC 23003-4:2020, *Information technology – MPEG audio technologies – Part 4: Dynamic range control*.
+- [ISO/IEC 23008-3] ISO/IEC 23008-3:2019, *Information technology – High efficiency coding and media delivery in heterogeneous environments – Part 3: 3D audio*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 cable television** [b-ITU-T J.142]: Communications systems distributes broadcast and non-broadcast signals, as well as a multiplicity of satellite signals originating programming and other signals by means of coaxial cable and/or optical fibre.
+
+**3.1.2 transport stream (TS)** [b-ITU-T J.296]: The transport stream defined by the MPEG-2 system standard (in digital terrestrial television broadcasting, one TS is assigned to a master transmitter).
+
+**3.1.3 4K UHDTV** [b-ITU-T J.297]: Supports $3,840 \times 2,160$ resolution and 60p frame frequency specified in [b-ITU-R BT.2020].
+
+**3.1.4 4K video** [b-ITU-T J.482]: A video that supports $3\,840 \times 2\,160$ resolution and ~60p frame frequency.
+
+**3.1.5 8K UHD** [b-ITU-T F.780.1]: A video format in which the horizontal screen resolution is 7 680 and the vertical screen resolution is 4 320 pixels (4320p).
+
+**3.1.6 content** [b-ITU-R BT.1852-1]: This is any form of digital data that can be acquired and presented by a device.
+
+**3.1.7 immersion** [b-ITU-T G.1035]: A psychological state characterized by perceiving oneself to be enveloped by, included in, and interacting with an environment that provides a continuous stream of stimuli and experiences.
+
+**3.1.8 motion-to-photon latency** [b-ITU-T G.1035]: The time it takes between the user moving their head and this motion being reflected on the screen of the head-mounted display (HMD).
+
+NOTE – Definition based on [Brandenburg].
+
+**3.1.9 service** [b-ITU-R BT.1852-1]: This is one or more data flows intended to be presented together.
+
+**3.1.10 ultra-high definition** [b-ITU-T F.780.1]: A video format of digital display and camera in which the horizontal screen resolution is on the order of over 4 000 pixels.
+
+**3.1.11 virtual reality** [b-ITU-R BT.2420-6]: A technology that replicates an environment, real or imagined, and simulates a user's physical presence and environment to allow for user interaction. Virtual reality artificially creates a sensory experience, which in principle can include sight, touch, hearing, and smell. The current VR devices primarily present content to the visual and auditory systems. On occasion, haptics information is also included.
+
+**3.1.12 full-view transmission** [b-ITU-T J.1631]: Involves sending $360^\circ$ images to terminals. When users turn their heads and images they see, are switched according to their Field of View
+
+(FOV), and terminals perform just-in-time processing on images, such as bit stream parsing, video decoding and image rendering.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 degree of freedom (DOF):** The number of independent coordinates in a mechanical system. In addition to translational degrees of freedom, there are rotational and vibration degrees of freedom. In statistics, the degree of freedom refers to the number of independent or freely changing data in the sample, which is called the degree of freedom of the statistic, when the statistics of the sample are used to estimate the parameters of the population.
+
+**3.2.2 virtual reality (VR):** Virtual reality uses computer technology to create a realistic, immersive digital environment that integrates visual, auditory, tactile, olfactory, and gustatory sensations. Users interact with this environment through input and output devices, simulating natural interactions with virtual objects and resulting in a realistic sensory experience.
+
+**3.2.3 rendering:** The process of using software to generate images from a model. A model is a description of a three-dimensional object in a rigorously defined language or data structure, including geometry, viewpoint, texture, and lighting information. The process of 2D projection of 3D scene model into digital image according to the set environment, lighting, material and rendering parameters. Rendering is also used to describe "the process of calculating effects in a video edit file to produce the final video output."
+
+**3.2.4 inertial measurement unit (IMU):** A device that measures the three-axis attitude angle (or angular velocity) and acceleration of an object. Gyroscope and accelerometer are the main components of IMU, and their precision directly affects the precision of the inertial system.
+
+An innovative application utilizes three single-axis accelerometers and a single-axis gyroscope to detect objects within the vehicle coordinate system. It operates independently of the triaxial acceleration signal and can sense the angular velocity vector of the gyroscope relative to the navigation signal. This setup enables the measurement of angular velocity and acceleration of objects in three-dimensional space, facilitating precise calculations and tracking of these objects.
+
+**3.2.5 head tracking:** The process in which the virtual reality device adjusts the output of images and sounds according to the movement of the user's head.
+
+**3.2.6 position tracking:** The process in which the virtual reality device adjusts the output of images and sounds according to the user's position.
+
+**3.2.7 floating-point:** A method of representing real numbers (including integers and decimals) in a computer, as opposed to the fixed-point number representation. It allows the position of the decimal point to "float", enabling it to represent values within a wider range and with varying precision. It is widely used in fields such as scientific computing, engineering simulation, graphics processing, and financial calculations, where different requirements for numerical range and precision exist.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-----|-------------------------------|
+| AAC | Advanced Audio Coding |
+| AES | Advanced Encryption Standard |
+| API | Application Program Interface |
+| AVC | Advance Video Coding |
+| BGA | Ball Grid Array |
+
+| | |
+|------|-----------------------------------------|
+| CAS | Conditional Access System |
+| CPU | Central Processing Unit |
+| DC | Direct Current |
+| DDR | Double Data Rate |
+| DHCP | Dynamic Host Configuration Protocol |
+| DMA | Direct Memory Access |
+| DRM | Digital Rights Management |
+| DTCP | Digital Transmission Content Protection |
+| EIT | Event Information Table |
+| EPG | Electronic Programme Guide |
+| FCC | Fast Channel Change |
+| FEC | Forward Error Correction |
+| FHD | Full High Definition |
+| FoV | Field of View |
+| GPU | Graphics Processing Unit |
+| HD | High Definition |
+| HDCP | High-Definition Content Protection |
+| HDD | Hard Disk Drive |
+| HDMI | High-Definition Multimedia Interface |
+| HDR | High Dynamic Range |
+| HEVC | High Efficiency Video Coding |
+| HFC | Hybrid Fiber/Coax |
+| HLS | HTTP Live Streaming |
+| HMD | Head-mounted display |
+| HTML | Hypertext Mark-up Language |
+| HTTP | Hyper Text Transport Protocol |
+| IMU | Inertial Measurement Unit |
+| IP | Internet Protocol |
+| IPTV | Internet Protocol Television |
+| IPv4 | Internet Protocol Version 4 |
+| IPv6 | Internet Protocol Version 6 |
+| LAN | Local Area Network |
+| LCN | Logical Channel Number |
+| LNB | Low Noise Block |
+| NPU | Neural Processing Unit |
+| ONU | Optical Network Unit |
+| OS | Operating System |
+
+| | |
+|------|------------------------------------|
+| OSD | On-screen Display |
+| OTA | Over the Air |
+| OTT | Over-the-Top |
+| PID | Packet Identifier |
+| PIN | Personal Identification Number |
+| PIP | Picture in Picture |
+| PPV | Pay Per View |
+| PSU | Power Supply Unit |
+| PVR | Personal Video Recorder |
+| QoS | Quality of Service |
+| RAM | Random Access Memory |
+| RCU | Remote Control Unit |
+| RF | Radio Frequency |
+| ROM | Read Only Memory |
+| SDK | Software Development Kit |
+| SDR | Standard Dynamic Range |
+| SNMP | Simple Network Management Protocol |
+| SNS | Social Network Service |
+| SOC | System on a Chip |
+| SSL | Secure Sockets Layer |
+| SSU | System Software Update |
+| STB | Set-Top Box |
+| TCP | Transmission Control Protocol |
+| TDES | Triple Data Encryption Standard |
+| TDT | Time Date Table |
+| TOT | Time of Transmission |
+| TP | Transponder |
+| UHD | Ultra High Definition |
+| UI | User Interface |
+| UPnP | Universal Plug and Play |
+| URI | User Right Information |
+| USB | Universal Serial Bus |
+| VOD | Video on Demand |
+| WAN | Wide Area Network |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The phrase "is required to" indicates a requirement which must be strictly followed and from which no deviation is permitted if conformity with this document is to be claimed.
+
+The phrase "is recommended" indicates a requirement which is recommended but which is not absolutely required. Thus, this requirement needs not be present to claim conformity.
+
+The phrase "is prohibited from" indicates a requirement which must be strictly followed and from which no deviation is permitted if conformity with this document is to be claimed.
+
+The phrase "can optionally" indicates an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformity with this Recommendation.
+
+In the body of this document and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent.
+
+# 6 Overview & broad system architecture
+
+## 6.1 Set-top box (STB)
+
+A set-top box (STB) capable of decoding ultra-high definition (UHD) video i.e., 4K, 8K, or higher resolutions and supporting virtual reality (VR) is a crucial component in the ever-evolving landscape of home entertainment. With the rapid growth of UHD video content, such a device ensures that users can enjoy the highest quality video, offering stunning resolution and visual clarity. Moreover, as technology advances, UHD content is becoming more prevalent, making a set-top box that supports UHD essential for future-proofing home entertainment systems. In the realm of VR, high-quality visuals are paramount for creating immersive and realistic experiences. A set-top box that can decode UHD video enhances VR content by providing intricate detail and making the virtual world more engaging. Furthermore, it ensures the smooth performance of VR applications and UHD video, delivering lag-free experiences. Whether it is watching UHD movies or engaging in VR gaming, a set-top box equipped for both technologies expands entertainment possibilities and offers a versatile and engaging media experience.
+
+Recent advancements in digital broadcasting have ushered in more efficient resource allocation and customized transmissions, catering to the specific needs and environments of subscribers. Simultaneously, the rapid expansion of the UHD video sector has propelled the swift evolution of the VR industry, introducing fresh demands and complexities for integrating and interconnecting STBs and VR equipment. Drawing from the extensive experience of the online gaming industry, which has long been dedicated to perfecting immersive virtual environments, the VR applications are primed to extend into various sectors such as education, healthcare, transportation and infrastructure, opening new avenues and challenges. The use of VR glasses unveils "holographic" light field TV solutions that offer immersive viewing experiences characterized by genuine depth and volume, further augmenting the potential of VR content.
+
+## 6.2 Virtual reality
+
+VR technology, exemplified by 360-degree videos, provides a computer-generated, three-dimensional, immersive environment that users can experience using VR headsets or head-mounted displays (HMD). VR offers unparalleled immersion into these simulated worlds, faithfully replicating both real and imagined environments. It creates an environment in which users feel present and engaged, allowing for interactive experiences. VR is engineered to artfully simulate sensory experiences. Within a VR environment, as users turn their heads, the images they observe
+
+seamlessly adjust to align with their field of view (FoV). Achieving this demands the transmission of high-quality images that precisely match the current FoV, ensuring a seamless and captivating VR experience.
+
+## 6.3 UHD Cable STB with VR service system
+
+Figure 1 illustrates the system overview for a cable network-based service system supporting VR with an integrated UHD STB. It consists of content, a service head-end, an optical fiber network, an optical node and a UHD cable STB device.
+
+
+
+The diagram illustrates the system architecture for a cable network-based VR service. It is divided into two main parts: the Head-end (enclosed in a dashed blue box) and the external network components. Inside the Head-end, multiple content sources are processed: Satellite broadcast is received by a Demodulator and then a Decoder; CAS (Conditional Access System) is connected to a Mux; VR camera data is processed by a VR authoring system and then HEVC encoding; and VOD server data is connected to a Core switch. The Core switch is also connected to a Streaming media server and an OLT. The Mux combines signals from the Decoder, CAS, and Streaming media server, which are then transmitted via QAM. The OLT connects to an FTTH (Fiber to the Home) network. Both the QAM and the OLT connect to an optical node. From the optical node, the signal is transmitted via HFC (Hybrid Fiber-Coaxial) or FTTH to a VR STB (Set-Top Box), which is finally connected to a VR HMD (Head-Mounted Display).
+
+Figure 1 – UHD cable STB with VR service system overview. The diagram shows the flow of data from various sources through a head-end to a VR STB and VR HMD. Sources include Satellite broadcast, CAS, VR camera, and VOD server. The head-end contains a Demodulator, Decoder, HEVC encoding, Mux, Streaming media server, CMSTS, Core switch, and OLT. Data is transmitted via HFC and FTTH networks to the VR STB, which is connected to a VR HMD.
+
+J.1292(24)
+
+Figure 1 – UHD cable STB with VR service system overview
+
+## 6.4 Hardware architecture of the UHD STB with VR service
+
+As mentioned in clause 6.3, VR glasses or HMDs are connected to the UHD set-top box, which enables the set-top box to support VR services and bring better user experiences. This contribution attempts to propose the functional requirements of a UHD cable set-top box supporting VR business. Figure 2 shows the hardware architecture of the set-top box.
+
+
+
+Figure 2 – Hardware architecture of the UHD STB with VR service. The diagram shows the internal components of a Set-top box (STB) and its connection to a VR Head-Mounted Display (HMD). The STB receives input via Coaxial (Tuner) and RJ-45 (Ethernet I/F). The Tuner connects to a CAS (Conditional Access System) and a QAM DeMod. The Ethernet I/F connects to a Cable modem, which in turn connects to a DRM (Digital Rights Management) and a Wi-Fi AP. The QAM DeMod connects to a De-scrambler, which connects to a DeMux. The DeMux connects to a Video decoder and an Audio decoder. The Video decoder connects to a Render, which connects to an HDMI (HDCP) connector. The HDMI connector connects to the VR HMD. The STB also contains a CPU, which is connected to the HDMI connector via a USB interface. The CPU is also connected to a Bluetooth module. The VR HMD contains a DAC, which connects to a Speaker. The DAC also connects to an HDMI to DSI connector, which connects to an LCD/LED display. The HDMI to DSI connector is also connected to a Decoder, which is connected to a Wi-Fi AP. The VR HMD also contains an IMU (Inertial Measurement Unit) and an MCU (Microcontroller Unit), which are connected to the USB interface. The VR service reception is shown at the top, with QAM based and IP based options. The diagram is labeled J.1292(24) at the bottom right.
+
+**Figure 2 – Hardware architecture of the UHD STB with VR service**
+
+The hardware architecture consists of the following modules:
+
+- computing unit: CPU, GPU, RAM and FLASH;
+- media and peripherals: Tuner, DEMUX, HDMI, USB;
+- wireless interfaces: Wi-Fi, Bluetooth.
+
+The VR device can be connected to the STB via a type-C interface. The video will be transmitted via an HDMI interface (version 1.4 or above is preferred). The inertial measurement unit (IMU) data and control information in VR glasses is transmitted via USB protocol. Optionally, the video and VR interactive data can be transmitted via a high-speed 802.11ax network.
+
+# 7 Requirements
+
+This clause defines the technical specification for the implementation of the UHD STB with VR service. All the items in this specification are required to be included but not limited for the specific UHD STB with VR service implementation.
+
+## 7.1 Minimum system
+
+### 7.1.1 CPU
+
+The UHD STB with VR service is recommended to be independent of any specific type of central processing unit (CPU) architecture. The CPU performance of the UHD STB with VR service is required to be more than 8-core and 64 bits for execution of the applications, for sufficient computing power and a smooth user experience. The selection of CPU architecture is not limited and could be defined by the operators and the STB vendors.
+
+### 7.1.2 GPU
+
+The UHD STB with VR service is recommended to be independent of any specific type of graphics processing unit (GPU) architecture. The UHD STB with VR service is recommended to implement 3D graphic accelerator supporting OpenGL ES3.0 or above. The floating-point capability of the GPU should be greater than 500 Gflops.
+
+### 7.1.3 NPU
+
+The UHD STB with VR service is optionally required to support a neural processing unit (NPU) to provide edge computing capability. The NPU performance of the UHD STB with VR service is required to be more than 8 TOPS for execution of the applications.
+
+### 7.1.4 Memory
+
+For the supporting web browser and IP related features, the following memory capacity of the STB is required:
+
+- Flash: 16 GBytes as minimum;
+- DDR: 4 GBytes as minimum.
+
+### 7.1.5 Video decoders
+
+The UHD STB with VR is recommended to support following video coding technologies:
+
+- H.262/MPEG-2 [ITU-T H.262], MPEG-4 AVC [ITU-T H.264] and H.265/HEVC [ITU-T H.265];
+- VP9 [b-VP9], AV1 [b-AV1] and H.266/VVC [ITU-T H.266].
+
+The hybrid STB is recommended to support the following audio coding technologies:
+
+- MPEG-1 and MPEG-2 audio as specified in [ISO/IEC 13818-3] and [ISO/IEC 13818-7];
+- MPEG-4 AAC and high efficiency AAC as specified in [ISO/IEC 14496-3];
+- MPEG-H 3D audio as specified in [ISO/IEC 23008-3];
+- AC-3, E-AC-3 as specified in [b-ETSI TS 102 366];
+- AC-4 as specified in [b-ETSI TS 103 190-1] and [b-ETSI TS 103 190-2];
+- Supports maximum 8K@60 FPS decoding.
+
+The following video resolutions are required to be supported by the UHD STB with VR service:
+
+- 4320p;
+- 2160p;
+- 1080p;
+- 1080i;
+- 720p;
+- 576p;
+- 576i.
+
+The following aspect ratios are required to be supported:
+
+- 4:3 with centre cut (cropped) 16:9;
+- 4:3 with letterboxed 16:9;
+- 16:9 with pillar boxed 4:3;
+- 16:9 with zoomed 4:3;
+- Zoom.
+
+At least simultaneous dual video decoding is recommended for picture in picture (PIP) or fast channel change (FCC) application.
+
+### 7.1.6 Audio decoders
+
+The UHD STB with VR service is recommended to support the following mainstream audio codecs:
+
+- PCM audio;
+
+- MPEG-1 audio layer I/II as specified in [ISO/IEC 11172-3];
+- MPEG-2 audio as specified in [ISO/IEC 13818-3];
+- MPEG-4 high efficiency AAC v2 level 4 as specified in [ISO/IEC 14496-3].
+
+NOTE – An HE-AAC decoder will also decode an AAC bitstream.
+
+The VR STB is recommended to support the following mainstream audio codecs:
+
+- AC-3/E-AC-3 as specified in [b-ETSI TS 102 366];
+- AC-4 as specified in [ETSI TS 103 190-1] and [b-ETSI TS 103 190-2];
+- MPEG-D extended high efficiency AAC profile as specified in [ISO/IEC 23003-3], including loudness control profile and dynamic range control profile level 1 (or higher) as specified in [ISO/IEC 23003-4];
+- MPEG-H 3D audio as specified in [ISO/IEC 23008-3].
+
+Manual lip-sync delay up to 400 ms is recommended.
+
+Multichannel audio formats, before transferring to analogue audio output, is required to be converted to stereo format (down mix) and the hybrid STB is recommended to support down mix digital audio output as below for better compatibility:
+
+- AC-3 down mix to stereo for HDMI and S/PDIF as specified in [ISO/IEC 60958-1];
+- E-AC-3 down mix to stereo for HDMI and S/PDIF;
+- E-AC-3 conversion to AC-3 for pass through HDMI and S/PDIF;
+- AC-4 down mix to stereo for HDMI and S/PDIF;
+- MPEG-H 3D audio down mix to stereo for HDMI and S/PDIF.
+
+The VR STB is required to support the following output mode for digital audio:
+
+- PCM (should be switched on by default);
+- RAW bit-stream.
+
+STB is recommended to passthrough all audio formats to allow connectivity and decode with home theatre systems.
+
+The following audio output modes are required:
+
+- Mono;
+- Dual mono;
+- Stereo.
+
+### 7.1.7 Picture
+
+The UHD STB with VR service is recommended to support the following mainstream picture compression formats:
+
+- BMP;
+- GIF;
+- GIF with animation;
+- JPEG up to 128M pixels.
+
+The UHD STB with VR service is required to support the following graphics display processing performance:
+
+- 8K@60 FPS display output;
+- 4K UI;
+- A variety of HDR (HDR/HDR10/HLG);
+
+- HDR/SDR transfers.
+
+## 7.2 Hardware interface
+
+### 7.2.1 ITU-T J.83
+
+In case ITU-T J.83 front end is integrated, the UHD STB with VR service is required to integrate a cable front end in accordance with [ITU-T J.83] and apply the following specifications as well.
+
+- Integrate an input IEC female connector in accordance with [b-IEC 61169-2]. The characteristic impedance is 75 Ω;
+- The minimum frequency band on input from 50 MHz to 862 MHz;
+- Receive incoming RF signal whose level is in accordance with the defined bandwidth of signal level according to [b-IEC 60728-1].
+
+When a UHDVR stream does not fit into a single J.83 QAM channel, it is required to use channel bonding technology in accordance with Annex A of [ITU-T J.183].
+
+### 7.2.2 Modem
+
+The UHD STB with VR service is recommended to be equipped with a DOCSIS 3.0 modem [ITU-T J.222.1], [ITU-T J.222.2], or to connect to an external cable modem that supports DOCSIS 3.0 or later, or to connect to an external ONU, in order to receive IP signals over Ethernet.
+
+### 7.2.3 USB
+
+The UHD STB with VR service is required to install at least USB interfaces, for connecting external USB storage and VR HMD. It shall be compliant with the following specifications:
+
+- Type-A (female);
+- USB version 2.0 or above;
+- One USB supports 5V@1000 mA power supply as minimum.
+
+### 7.2.4 HDMI
+
+The UHD STB with VR service is recommended to have at least one high-definition multimedia interface (HDMI) for transmitting HD video output and digital audio output. The maximum resolution is 8K@60 fps.
+
+It shall be compliant with the following specifications:
+
+- Type-A (female);
+- HDMI version 2.1 or above;
+- HDCP version 2.2 or above.
+
+HDMI CEC feature can be optionally applied in the UHD STB with VR service.
+
+### 7.2.5 Ethernet
+
+The UHD STB with VR service is recommended to integrate an Ethernet network interface with the following specifications:
+
+- RJ 45 connector;
+- IEEE 802.3 10/100Mbase-T and IEEE 802.3 10/100/1000Mbase-T or above (recommended);
+- IPv4 (mandatory) and IPv6 (recommended).
+
+### 7.2.6 Wi-Fi
+
+The UHD STB with VR service is recommended to integrate Wi-Fi network interface with the following specifications:
+
+- Compliant with IEEE 802.11 a/b/g/n/ac/ax/be standard or above is recommended;
+- 2.4 GHz/5 GHz/6 GHz Wi-Fi module as client mode.
+
+### 7.2.7 Bluetooth
+
+A Bluetooth hardware module is recommended for connecting Bluetooth-based UHD STB with VR service. Bluetooth version 4.2 or above is recommended.
+
+### 7.2.8 Front panel
+
+The UHD STB with VR service is recommended to integrate a front panel with the following specifications:
+
+- Front panel buttons: Power on/off, up, down;
+- IR receiver;
+- LED light to indicate power status.
+
+### 7.2.9 Power supply
+
+The power supply can be an internal integrated module or an external power adaptor. The external power adaptor is recommended. With an external power adaptor, the DC power connector is required.
+
+### 7.2.10 IR/RCU
+
+The UHD STB with VR service is recommended to integrate an infrared receiver for STB operation via the remote control unit (RCU). The RCU is required to have buttons for selection of input source i.e., to select IP or cable. The RCU is recommended to have dedicated buttons to invoke closed captioning/teletext/subtitles, audio language selection & one button to enable voice guided menu. It is recommended the RCU has braille buttons.
+
+## 7.3 Basic software functions
+
+### 7.3.1 Channel list
+
+The capability of the channel list is recommended to support following specifications:
+
+- At least 3000 TV and radio services from cable and IP frontend;
+- At least 8 groups for favourite channel lists.
+
+### 7.3.2 Subtitles
+
+The UHD STB with VR service is recommended to support subtitles with the following specifications:
+
+- [ITU-T J.83] Annex A (DVB-C) subtitle in accordance with [b-ETSI EN 300 743], including characters from the ISO/IEC 8859-2 code table;
+- [ITU-T J.83] Annex C subtitles in accordance with [b-ARIB STD-B24];
+- Teletext in accordance with [b-ETSI EN 300 706];
+- Closed captions in accordance with CEA-608, CEA-708 and [b-ARIB STD-B24];
+- Selection of subtitle languages and turning on/off of subtitles.
+
+### 7.3.3 Multiple languages
+
+The UHD STB with VR service is recommended to support multiple languages as specified below:
+
+- Support multi-language for on-screen display (OSD) menu, audio track and subtitles;
+- The language setting shall be used to define the default audio track and subtitle language;
+- Support minimum 2 multi-language tracks.
+
+### 7.3.4 Media player
+
+The UHD STB with VR service is recommended to implement a media player for playing both local and cloud media content with the following specifications.
+
+In case the media player is applied in the UHD STB with VR service, the following features are required to be implemented:
+
+- Play content from USB external storage devices;
+- Play content from IP network interface.
+
+In case the media player is applied in the UHD STB with VR service, the following codecs are recommended to be implemented:
+
+- H.265/HEVC, H.266/VVC, AV1, VP9;
+- Media formats: AVI, MKV, MP4, TS20;
+- Video codecs: H.262/MPEG-2, MPEG-4 Part 2 (ASP) [ISO/IEC 14496-2], MPEG-4 AVC [ITU-T H.264];
+- Audio codecs at least: MP2, AAC;
+- Image formats at least: BMP, TIFF, PNG, JPEG.
+
+### 7.3.5 Network
+
+The UHD STB with VR service is recommended to integrate a LAN interface and a Wi-Fi interface.
+
+The UHD STB with VR service is required to support Internet protocols as specified below:
+
+- IPv4, IPv6 (optional);
+- IGMP v1, v2 and v3;
+- ICMP;
+- UDP, TCP, RTP, RTSP/RTCP, HTTP, SSL2.0/3.0;
+- DHCP.
+
+### 7.3.6 IP streaming and service
+
+The UHD STB with VR service is recommended to support IP streaming as specified below:
+
+- Unicast;
+- Multicast.
+
+The UHD STB with VR service is recommended to support at least one of the following dynamic adaptive streaming standards:
+
+- MPEG-DASH;
+- HLS;
+- Smooth streaming.
+
+### 7.3.7 VR runtime
+
+The UHD STB with VR service is recommended to support head tracking and position tracking as specified below:
+
+- 3DOF (6DOF) sensor fusion.
+
+The UHD STB with VR service is required to support image processing as specified below:
+
+- Asynchronous time warp;
+- Barrel distortion;
+- Chromatic aberration correction;
+
+- Display stabilization/reprojection;
+- Single buffered rendering;
+- Layering (masks/overlays).
+
+The UHD STB with VR service is required to support functions as specified below:
+
+- CPU/GPU power management;
+- OPENXR.
+
+### **7.3.8 Over the air programming and firmware upgrade**
+
+The UHD STB with VR service is required to support over the air (OTA) firmware upgrades for the STB and devices connected to the UHD STB with VR service.
+
+## **7.4 Functional specifications**
+
+### **7.4.1 For UHD STB with VR service**
+
+The following is recommended for experiencing full-view transmission for good viewing and interaction experience:
+
+- a) 360-degree 3D-Video;
+- b) Resolution: 4k, 8k;
+- c) Frame rate: 90 to 120 fps;
+- d) Colour depth: 10 to 12 b/pixel.
+
+### **7.4.2 Network performance**
+
+- a) Data rate $> 250$ Mbit/s;
+- b) Latency $< 50$ ms;
+- c) Packet loss rate $< 1e - 5$ .
+
+# Bibliography
+
+- [b-ITU-T F.780.1] Recommendation ITU-T F.780.1 (2023), *Framework for telemedicine systems using ultra-high definition imaging*.
+- [b-ITU-T G.1035] Recommendation ITU-T G.1035 (2021), *Influencing factors on quality of experience for virtual reality services*.
+- [b-ITU-T J.142] Recommendation ITU-T J.142 (2000), *Methods for the measurement of parameters in the transmission of digital cable television signals*.
+- [b-ITU-T J.296] Recommendation ITU-T J.296 (2012), *Specifications for a hybrid cable set-top box*.
+- [b-ITU-T J.297] Recommendation ITU-T J.297 (2018), *Requirements and functional specification of cable set-top boxes for 4K ultrahigh definition television*.
+- [b-ITU-T J.482] Recommendation ITU-T J.482 (2021), *Requirements of a radio frequency (RF)/Internet protocol (IP) video switching system*.
+- [b-ITU-T J.1631] Recommendation ITU-T J.1631(2021), *Functional requirements of E2E network platforms to enhance the delivery of cloud-VR services over integrated broadband cable networks*.
+- [b-ITU-R BT.1852-1] Recommendation ITU-R BT.1852-1 (2017), *Conditional-access systems for digital broadcasting*.
+- [b-ITU-R BT.2020] Recommendation ITU-R BT.2020 (2015), *Parameter values for ultra-high definition television systems for production and international programme exchange*.
+- [b-ITU-R BT.2420-6] Recommendation ITU-R BT.2420-6 (2024), *Collection of usage scenarios and current statuses of advanced immersive audio-visual (AIAV) systems*.
+- [b-ARIB STD-B24] Standard ARIB STD-B24 V6.5 (2022), *Data Coding and Transmission Specification for Digital Broadcasting*.
+- [b-ETSI EN 300 706] European Standard ETSI EN 300 706 V1.2.1 (2003), *Enhanced Teletext specification*.
+- [b-ETSI EN 300 743] European Standard ETSI EN 300 743 V1.61 (2018), *Digital Video Broadcasting (DVB); Subtitling Systems*.
+- [b-ETSI TS 102 366] Technical Specification ETSI TS 102 366 V1.4.1 (09/2017), *Digital Audio Compression (AC-3, Enhanced AC-3) Standard*.
+- [b-ETSI TS 103 190-1] Technical Specification ETSI TS 103 190-1 V1.3.1 (02/2018), *Digital Audio Compression (AC-4) Standard; Part 1: Channel based coding*.
+- [b-ETSI TS 103 190-2] Technical Specification ETSI TS 103 190-2 V1.2.1 (07/2018), *Digital Audio Compression (AC-4) Standard; Part 2: Immersive and personalized audio*.
+- [b-ISO/IEC 8859-2] International Standard ISO/IEC 8859-2:1999, *Information technology – 8-bit single-byte coded graphic character sets – Part 2: Latin alphabet No. 2*.
+- [b-IEC 60728-1] International Standard IEC 60728-1:2015, *Cable networks for television signals, sound signals and interactive services – Part 1: System performance of forward paths*.
+
+- [b-IEC 61169-2] International Standard IEC 61169-2:2007, *Radio-frequency and coaxial connectors – Part 2: Sectional specification for RF coaxial connectors of type 9,52*.
+- [b-AV1] AV1 Bitstream & Decoding Process Specification (2019), *Alliance for Open Media*. [Online]. Available:
+- [b-VP9] VP9 Bitstream & Decoding Process Specification (2016), Google. [Online]. Available:
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1303-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1d8deae6031c18707104a329a7eae044811bbb4b
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f418e2fcf77b057e807e60d0a0a741dd98ab9ee337764072def10cd9ce79d647
+size 5986
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg b/marked/J/T-REC-J.1303-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9b429a77ec9d72f22778054b1317be19428f9215
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aa9f0ec97ef680b6a18dd6a7c57249540bd776bd2f96eac821f4a41852f8d302
+size 82351
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/367926125450c2bc3f4bdca9d59a62ba_img.jpg b/marked/J/T-REC-J.1303-202201-I_PDF-E/367926125450c2bc3f4bdca9d59a62ba_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..94ef8d2e79cd3c4ab977388d4b95160d3f26047c
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/367926125450c2bc3f4bdca9d59a62ba_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e676ae4f6121819d9c15a8dfef297d7c5fd5eded33d9c9c6237bacb2e03e7e7c
+size 83833
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg b/marked/J/T-REC-J.1303-202201-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e002ec64791c5ed558e4b2717823ac98d0b94121
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3118cb513cebdb614ca6de8708e68190a97f55509c67654be9da476555534a5b
+size 87419
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg b/marked/J/T-REC-J.1303-202201-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cd80a172efd712dce23b7dc6281ac62633d0069f
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1ade93fd4267271fcda4595e338b0697684705ebfdc31aff0d16febf0ffacb3
+size 82206
diff --git a/marked/J/T-REC-J.1303-202201-I_PDF-E/raw.md b/marked/J/T-REC-J.1303-202201-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..7fda1e5da8fe4844fb88c551abb71b46595f869e
--- /dev/null
+++ b/marked/J/T-REC-J.1303-202201-I_PDF-E/raw.md
@@ -0,0 +1,457 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.1303**
+
+(01/2022)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+Cloud-based converged media services for IP and
+broadcast cable television
+
+---
+
+**Specification of a cloud-based converged media
+service to support Internet protocol and
+broadcast cable television – System
+specification on collaboration between
+production media cloud and cable service cloud**
+
+Recommendation ITU-T J.1303
+
+
+
+# Recommendation ITU-T J.1303
+
+# Specification of a cloud-based converged media service to support Internet protocol and broadcast cable television – System specification on collaboration between production media cloud and cable service cloud
+
+## Summary
+
+Recommendation ITU-T J.1303 is Part 3 of a multi-part deliverable covering the high-level system architecture for cloud-based converged media service to support IP and broadcast cable TV, as identified below:
+
+Part 1: Requirements (ITU-T J.1301);
+
+Part 2: System architecture (ITU-T J.1302);
+
+Part 3: **System specification on collaboration between production media cloud and cable service cloud.**
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T J.1303 | 2022-01-13 | 9 | 11.1002/1000/14842 |
+
+## Keywords
+
+Cable service cloud, CBCMS, cloud streaming service, edge cloud, production media cloud.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2022
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 System architecture..... | 3 |
+| 7 Edge cloud ..... | 4 |
+| 7.1 Infrastructure layer ..... | 4 |
+| 7.2 Platform layer ..... | 4 |
+| 7.3 Application layer ..... | 4 |
+| 7.4 Security requirements ..... | 4 |
+| 8 Central cloud..... | 5 |
+| 9 Service operation server ..... | 5 |
+| 9.1 Required functions..... | 5 |
+| 9.2 Optional functions ..... | 6 |
+| Appendix I – The examples of cloud streaming service procedures ..... | 7 |
+| I.1 Introduction ..... | 7 |
+| I.2 Process..... | 8 |
+| Bibliography..... | 10 |
+
+
+
+# Recommendation ITU-T J.1303
+
+## Specification of cloud-based converged media service to support Internet protocol and broadcast cable television – System specification on collaboration between production media cloud and cable service cloud
+
+# 1 Scope
+
+This Recommendation specifies the architecture and the functions of collaboration between the production media cloud and the cable service cloud, the functions of collaboration between the central cloud and the edge cloud(s) under the control of the cable service cloud, and the functions of these two types of clouds. This specification is intended to enable rapid deployment of new services and flexible expansion of online services for cable television operators and provide diverse programmes originating from the Internet to users.
+
+This system specification fulfils the requirements in [ITU-T J.1301] and complies with the system architecture in [ITU-T J.1302].
+
+# 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 indicated 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-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 J.1301] Recommendation ITU-T J.1301 (2021), *Specification of cloud-based converged media service to support Internet protocol and broadcast cable television – Requirements*.
+
+[ITU-T J.1302] Recommendation ITU-T J.1302 (2021), *Specification of a cloud-based converged media service to support Internet protocol and broadcast cable television – System architecture*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 cloud-based converged media service (CBCMS)** [ITU-T J.1301]: The cloud-based converged media service is intended to be deployed by cable television operators and to support the requirements of rapid service innovation and deployment, which enables media service to be developed by separate vendors according to standard application programming interfaces (APIs), where appropriate.
+
+**3.1.2 multi-access edge computing (MEC)** [b-ETSI GS MEC 001]: System which provides an IT service environment and cloud-computing capabilities at the edge of an access network that contains one or more types of access technology, and in close proximity to its users.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+- 3.2.1 cloud streaming service:** The service using streaming technology to transmit media content from the cloud and allowing IP and broadcast cable TV users access Internet media without replacing set-top boxes or upgrading the firmware.
+- 3.2.2 cable service cloud:** The cloud which provides converged media service.
+- 3.2.3 central cloud:** The cloud that has the full set of services provided by the cloud service provider.
+- 3.2.4 edge cloud:** The cloud that is deployed close to users' locations and has a limited set of services compared to the central cloud.
+- 3.2.5 production media cloud:** The cloud in which the media is produced and customized according to group user or individual user requests and/or the analysis of customers preferences.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-------|-------------------------------------|
+| AI | Artificial Intelligence |
+| API | Application Programming Interface |
+| AR | Augmented Reality |
+| CBCMS | Cloud-Based Converged Media Service |
+| CCTV | Closed-Circuit Television |
+| CDN | Content Distribution Network |
+| ID | Identification |
+| IDC | Internet Data Centre |
+| MEC | Multi-access Edge Computing |
+| VR | Virtual Reality |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "**is required to**" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement that is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**is prohibited from**" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**can optionally**" indicate an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+In the body of this document and its annexes, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as *is required to*, *is prohibited from*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as *informative* are to be interpreted as having no normative intent.
+
+# 6 System architecture
+
+The collaboration between the production media cloud and the cable service cloud is shown in Figure 1. The production media cloud provides the media content to the cable service cloud which further delivers the content to the users set-top boxes or mobile devices. The production media cloud is required to have the capabilities of media production, media operation and media resource management, and can optionally have the capability of user data analysis to recommend different programmes to different users according to the references deduced from the analysis result.
+
+In the cable service cloud, there is one central cloud and multiple edge clouds which collaborate to process users' requests. The edge cloud is mainly responsible for local and real-time data processing tasks while the central cloud is mainly responsible for the processing of non-real-time and large amounts of data.
+
+The central cloud is required to have the capabilities of operation, deployment, orchestration, and maintenance of edge clouds resources through a unified management and control module and can optionally have the capability of user data analysis.
+
+Edge clouds are required to be deployed by cable TV operators to guarantee the latency. An edge cloud is composed of multiple nodes. In an edge node, it is recommended to use containers to deploy the services required by the service operation server, such as media caching and cloud streaming service, which is illustrated in Appendix I, etc. The service operation server processes the user's request. It can run on a standalone physical device in the edge cloud or be deployed in an edge node.
+
+
+
+The diagram illustrates the system architecture for the collaboration between a production media cloud and a cable service cloud. On the left, the 'Production media cloud' contains four functional blocks: 'Media produce', 'Media operation', 'Data analysis', and 'Resource management'. Arrows indicate data flow: 'User data' from the 'Central cloud' to 'Media produce', 'User data user request' from 'Edge cloud' to 'Media operation', and 'Media delivery' from 'Resource management' to the 'Edge cloud'. The 'Cable service cloud' on the right contains a 'Central cloud' and multiple 'Edge cloud' nodes (labeled 'Edge node (1)' to 'Edge node (n)'). The 'Central cloud' is connected to the 'Edge cloud' via four management functions: 'Operation', 'Deployment', 'Orchestration', and 'Maintenance'. Each 'Edge cloud' node contains 'Service management', 'Streaming service', and multiple containers ('Container (1)' to 'Container (n)'). A 'Service operation server' is also shown within the edge cloud structure. External connections include 'Cable TV network' (via 'Broadcast VOD' to 'Set-top box') and 'Internet' (via 'Internet media' to 'Mobile device'). The diagram is labeled 'J.1303(22)' in the bottom right corner.
+
+Figure 1: Collaboration between production media cloud and a cable service cloud. The diagram shows the flow of data and media between the Production media cloud, Cable service cloud, and external users. The Production media cloud includes Media produce, Media operation, Data analysis, and Resource management. The Cable service cloud includes a Central cloud and multiple Edge clouds (Edge node 1 to Edge node n). The Central cloud is connected to the Production media cloud via User data and User data user request. The Central cloud is also connected to the Edge clouds via Operation, Deployment, Orchestration, and Maintenance. The Edge clouds include Service management, Streaming service, Container (1) to Container (n), and Service operation server. The Edge clouds are connected to external users (Cable TV network, Internet) via Broadcast VOD and Internet media. The Production media cloud also provides Media delivery to the Edge clouds. The diagram is labeled J.1303(22).
+
+**Figure 1 – Collaboration between production media cloud and a cable service cloud**
+
+The collaboration between the production media cloud and the cable service cloud is reflected in three ways.
+
+- The cable service cloud forwards users' requests to the production media cloud.
+- The production media cloud will find the proper media content in its storage or even produce new media programmes according to users' requests, then provide feedback to the cable service cloud which will then further make up the media programmes to fit the user devices.
+- The cable service cloud will collect all kinds of user data such as the time of order, location of the user, model of the user's device, etc., and send the data to the production media cloud for statistics and analysis. The data can be sent from the edge cloud node directly to the production media cloud after de-identification. Alternatively, the data can be sent first to the central cloud. The central cloud will then perform analysis and only send the statistics data to the production media cloud.
+
+# 7 Edge cloud
+
+The edge cloud is composed of multiple edge nodes. The architecture of the edge cloud node is shown in Figure 2.
+
+
+
+The diagram illustrates the architecture of an edge cloud node, organized into four horizontal layers and a vertical security column on the right. The layers are: **Application** (top), **Platform service**, **Infrastructure**, and **Physical entity** (bottom). The **Security capability** column on the right lists five levels: **Operation security**, **Platform security**, **Data security**, **Infra security**, and **Security capability** (top). The **Physical entity** layer includes **IDC**, **MEC**, **CDN node**, and **Edge gateway**. The **Infrastructure** layer includes **Virtualization**, **Computing**, **Storage**, and **Network**. The **Platform service** layer includes **Docker**, **Big data**, **AI**, and **Database**. The **Application** layer includes **Streaming service**, **Content distribution**, **Time sensitive applications**, and **User interaction**. Ellipses (...) indicate additional components in each layer.
+
+Figure 2 – The architecture of edge cloud. The diagram shows a layered architecture for an edge cloud node. The layers are: Application (top), Platform service, Infrastructure, and Physical entity (bottom). A vertical column on the right lists Security capability, Operation security, Platform security, Data security, and Infra security. The Physical entity layer includes IDC, MEC, CDN node, and Edge gateway. The Infrastructure layer includes Virtualization, Computing, Storage, and Network. The Platform service layer includes Docker, Big data, AI, and Database. The Application layer includes Streaming service, Content distribution, Time sensitive applications, and User interaction.
+
+J.1303(22)
+
+**Figure 2 – The architecture of edge cloud**
+
+## 7.1 Infrastructure layer
+
+Edge cloud can be deployed in the Internet data centre (IDC), multi-access edge computing (MEC), content distribution network (CDN) node, edge gateway, and other types of devices on which the resource can be virtualized.
+
+The computing, storage and network resources are required to be virtualized at the deployment of the node.
+
+## 7.2 Platform layer
+
+At the platform layer the edge cloud is required to provide docker service and can optionally provide services such as big data processing, artificial intelligence (AI) and cloud database, etc.
+
+## 7.3 Application layer
+
+At the platform layer the edge cloud is required to provide media content distribution service and can optionally provide time sensitive applications such as augmented reality (AR) / virtual reality (VR), user interaction and streaming service, etc.
+
+## 7.4 Security requirements
+
+The edge cloud is required to provide fundamental security measures from these aspects:
+
+- Infrastructure security: deploying access control system and closed-circuit television (CCTV) at the physical location;
+- Data security: encrypting the data stored at the edge node and the data transmitted to the central cloud or the production media cloud, etc.;
+- Platform security: providing secure isolation among instances, secure storage of cyphering keys, authentication and authorization of access request, etc.;
+- Operation security: providing intrusion detection, discovery of abnormal service requests, etc.
+
+# **8 Central cloud**
+
+The central cloud can work collaboratively with multiple edge clouds through a unified management and control module, including:
+
+- Unified scheduling: The edge cloud can run and deploy on edge infrastructure such as IDC, MEC nodes, CDN nodes, or edge gateways and perform resources management. The central cloud can schedule storage, computing, network and other infrastructure resources of the edge cloud according to users' service requirements and select the most appropriate resources in the edge cloud. The edge cloud can apply to the central cloud for resource requests according to the business needs;
+- Unified orchestration management: The central cloud can achieve unified resource orchestration and business orchestration, and can manage the life cycle of each edge cloud application in a unified way, including service start and stop, network status monitoring, etc., and can release an edge cloud node in the case of failure or other needs of migration of application instances;
+- Unified deployment: The central cloud and edge cloud coordinate the service deployment and conduct unified management to provide remote deployment of various edge cloud services;
+- Unified operation and maintenance: The edge cloud can carry out remote operation and maintenance work. The related operations can be carried out in the central cloud;
+- Security capabilities: The central cloud can provide security capabilities to the edge cloud to achieve capabilities including infrastructure security, cloud platform security, operation security and data security.
+
+# **9 Service operation server**
+
+## **9.1 Required functions**
+
+The service operation server is required to have the functions of event management, session management, authentication and authorization, media format adaption, media protocol adaption, streaming push and on-self management.
+
+### **9.1.1 Event management**
+
+Event management includes the following capabilities:
+
+- Preconfigure remote control key-value mapping. Mapping the keys of the remote controllers associated with the set-top boxes models to the values of the Internet media services in the launched menu.
+
+### **9.1.2 Session management**
+
+Session management includes the following capabilities:
+
+- Connect with the Internet media service deployed in the central cloud and request for edge cloud resource allocation;
+- Maintain the media service request information which is necessary for launching the correct streaming application in the docker instance in the edge cloud.
+
+### **9.1.3 Authentication and authorization**
+
+The authentication and authorization request is sent to the authentication server which is already deployed by the cable TV operator.
+
+### **9.1.4 Media format adaption**
+
+If the resolution of the set-top box is lower than the media streaming generated in the edge cloud, the service operation server is required to perform format adaption.
+
+### **9.1.5 Media protocol adaption**
+
+The service operation server is required to choose the proper communication protocol to transmit the media stream according to the model of the set-top box.
+
+### **9.1.6 Streaming push**
+
+The service operation server is required to push the media stream to the correct set-top box.
+
+### **9.1.7 On-self management**
+
+On-self management includes the following capabilities:
+
+- Manage different Internet media resources which can be launched in the service menu.
+
+## **9.2 Optional functions**
+
+The service operation server can optionally provide the capabilities of audit, data analysis, and other media processing capabilities listed in Part 2: System architecture clause 8.1. These capabilities are shown in the programme menu pushed from the service operation server to the set-top box.
+
+### **9.2.1 Audit**
+
+Audit includes the following capabilities:
+
+- Secure storage of the service log file;
+- Transmitting the information necessary for billing, to the cable TV operator's billing server.
+
+### **9.2.2 Data analysis**
+
+Data analysis includes the following capabilities:
+
+- Statistics of the media programmes ordered by users.
+
+# Appendix I
+
+## The examples of cloud streaming service procedures
+
+(This appendix does not form an integral part of this Recommendation.)
+
+## I.1 Introduction
+
+There is huge amount of non-intelligent set-top boxes in the stock market which cannot access Internet media services. The cost of replacing these boxes is unacceptable by the broadcast cable TV operators. It is also not applicable to remotely upgrade the firmware of the boxes as the manufacturers and the models are numerous.
+
+Cloud streaming service is a type of cloud-based converged media service which uses streaming technology to transmit Internet originated media content from cloud and allowing the IP and the broadcast cable TV users access Internet media without replacing their set-top box or upgrading the firmware. Cloud streaming service is deployed in the service cloud of the broadcast cable TV operators, and enables flexible expansion of online services, smart adaption of service origins or paths to meet the distribution needs for different terminal types and network status. With cloud streaming service broadcast cable TV operators can greatly reduce terminal investment, improve user experience and accelerate the deployment of new services.
+
+Figure I.1 shows the system architecture of a cloud streaming service.
+
+
+
+The diagram illustrates the system architecture of a cloud streaming service. It consists of three main components: Production media cloud, Cable service cloud, and Set-top box. The Production media cloud contains 'Media content'. The Cable service cloud is divided into 'Central cloud' (Application management, Edge resource management) and 'Edge cloud' (Service management, Streaming service, Edge node, Container). The Edge cloud also contains 'Authentication and authorization', 'Format adaption', 'Protocol adaption', 'Streaming push', 'On-shelf management', 'Audit', and 'Data analyse'. The Set-top box contains 'Streaming player' and 'Command interpreter'. Arrows show 'Video/audio streaming' from the Cable service cloud to the Streaming player, and 'Event message' from the Command interpreter to the Cable service cloud. A 'Cable TV network' cloud is shown between the Set-top box and the Cable service cloud. The label 'J.1303(22)' is at the bottom right.
+
+System architecture diagram of a cloud streaming service. The diagram shows three main components: Production media cloud, Cable service cloud, and Set-top box. The Production media cloud contains 'Media content'. The Cable service cloud is divided into 'Central cloud' (Application management, Edge resource management) and 'Edge cloud' (Service management, Streaming service, Edge node, Container). The Edge cloud also contains 'Authentication and authorization', 'Format adaption', 'Protocol adaption', 'Streaming push', 'On-shelf management', 'Audit', and 'Data analyse'. The Set-top box contains 'Streaming player' and 'Command interpreter'. Arrows show 'Video/audio streaming' from the Cable service cloud to the Streaming player, and 'Event message' from the Command interpreter to the Cable service cloud. A 'Cable TV network' cloud is shown between the Set-top box and the Cable service cloud. The label 'J.1303(22)' is at the bottom right.
+
+Figure I.1 – System architecture
+
+The edge node is required to provide management streaming service and streaming service in the containers.
+
+Service management includes the following capabilities:
+
+- Verify the session set-up request of the set-top box;
+- Manage the session with the set-top box;
+- Map the media request to correct the Internet media programme;
+- Send the media request to the correct the Internet media resource.
+
+Streaming service includes the following capabilities:
+
+- Decode the original media received from the Internet media resource;
+- Reformat the media to a stream;
+- Send the stream to the service operation server.
+
+The central cloud is required to provide application management which allocates the instance identification (ID) to each service request. The edge resource management in this scenario includes the following capabilities:
+
+- Monitor the quota of the available resource in each edge cloud node;
+- Schedule the edge cloud node closest to the set-top box to create a docker instance for the streaming service;
+- Migrate a streaming service to a new docker or another edge cloud node in case the status of the current docker or edge cloud node is abnormal.
+
+## **I.2 Process**
+
+The process of a cloud streaming service is as indicated in Figure I.2.
+
+- 1) When the set-top box is bootstrapping, an Internet media service menu is pushed to the set-top box from the service operation server;
+- 2) The user can choose a media programme from the menu using a remote controller and the service request will be sent to the service operation server as a command;
+- 3) The service operation server requests the authentication server to authenticate the user and verify if the user has registered for the Internet media service;
+- 4) The service operation server sends the service request to the central cloud;
+- 5) The central cloud schedules the edge cloud node resource for the service request;
+- 6) The central cloud sends the instance ID to the service operation server;
+- 7) The service operation server forwards the instance ID to the set-top box;
+- 8) The command is transferred to the edge cloud;
+- 9) The edge cloud creates a docker instance which is installed in the codec application of the media programme ordered by the user;
+- 10) The set-top box sets up a session with the docker instance in the edge cloud node using the instance ID and other parameters;
+- 11) The edge cloud sends the service request to the media server in which the original media resource is hosted;
+- 12) The media server sends the media back to the docker instance;
+- 13) The docker instance decodes the media programme and turns it into a media stream in a format which will be displayed by the set-top box directly;
+- 14) The media stream is sent to the service operation server;
+- 15) The service operation server does the format adaption and protocol adaption according to the model of the set-top box if needed;
+- 16) The service operation server sends the media stream to the set-top box;
+- 17) The set-top box displays the media stream.
+
+
+
+```
+
+sequenceDiagram
+ participant User
+ participant Set-top box
+ participant Service operation server
+ participant Authentication server
+ participant Edge cloud
+ participant Central cloud
+ participant Media resource
+
+ Note left of User: Bootstrapping
+ User->>Set-top box: Service request
+ Set-top box->>Service operation server: Service request
+ Service operation server->>Authentication server: Authentication
+ Authentication server->>Service operation server: Service request
+ Service operation server->>Central cloud: Service request
+ Central cloud->>Edge cloud: Resource schedule
+ Edge cloud->>Service operation server: Instance ID
+ Service operation server->>Set-top box: Instance ID
+ Service operation server->>Edge cloud: Command
+ Note right of Edge cloud: Create instance
+ Service operation server->>Set-top box: Session set-up
+ Edge cloud->>Media resource: Media request
+ Media resource->>Edge cloud: Original media
+ Note right of Edge cloud: Streaming
+ Edge cloud->>Service operation server: Media stream
+ Note left of Service operation server: Format/protocol adaption
+ Service operation server->>Set-top box: Media stream
+ Note left of Set-top box: Media display
+
+```
+
+Sequence diagram of cloud streaming service procedure. Lifelines: User, Set-top box, Service operation server, Authentication server, Edge cloud, Central cloud, Media resource. The process involves bootstrapping, service request, authentication, resource scheduling, instance creation, session setup, media streaming, and format adaptation.
+
+J.1303(22)
+
+**Figure I.2 – Cloud streaming service procedure**
+
+# Bibliography
+
+- [b-ETSI EN 301 192] ETSI EN 301 192 V1.6.1 (2015), *Digital Video Broadcasting (DVB); DVB specification for data broadcasting*.
+[https://www.etsi.org/deliver/etsi\\_en/301100\\_301199/301192/01.06.01\\_60/en\\_301192v010601p.pdf](https://www.etsi.org/deliver/etsi_en/301100_301199/301192/01.06.01_60/en_301192v010601p.pdf)
+- [b-ETSI GS MEC 001] ETSI GS MEC 001 (2019), *Multi-access Edge Computing (MEC); Terminology*.
+[https://www.etsi.org/deliver/etsi\\_gs/mec/001\\_099/001/02.01.01\\_60/gs\\_mec001v020101p.pdf](https://www.etsi.org/deliver/etsi_gs/mec/001_099/001/02.01.01_60/gs_mec001v020101p.pdf)
+- [b-ETSI TS 102 809] ETSI TS 102 809 V1.3.1 (2017), *Digital Video Broadcasting (DVB); Signalling and carriage of interactive applications and services in Hybrid broadcast/broadband environments*.
+[https://www.etsi.org/deliver/etsi\\_ts/102800\\_102899/102809/01.03.01\\_60/ts\\_102809v010301p.pdf](https://www.etsi.org/deliver/etsi_ts/102800_102899/102809/01.03.01_60/ts_102809v010301p.pdf)
+- [b-ISO/IEC 14496-12] ISO/IEC 14496-12:2015, *Information technology – Coding of audio-visual objects – Part 12: ISO base media file format*.
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4abb7ccf87de21d0eddbe7b3c14e95cd91d17199
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c471a45c7fbf82124a710b583b49b0dd951830299dbf3deab7b65d85ae0a9f1
+size 62360
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/08441fa90c5fd11994626f662ac13f19_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/08441fa90c5fd11994626f662ac13f19_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..35e0116a6a242548bb7525aeb2c0d42b663a1e93
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/08441fa90c5fd11994626f662ac13f19_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8df59ef2387ac928ad6ea224f3f63e9c52da7ddb73fef3c1c69fc54d308166ab
+size 53151
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1d8deae6031c18707104a329a7eae044811bbb4b
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f418e2fcf77b057e807e60d0a0a741dd98ab9ee337764072def10cd9ce79d647
+size 5986
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b357b32f4ecb0d34f89d70973eae1384eeb9d653
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:910c78d6d4f1f327e72ef276e489138e60b9f16638dedf860aa0d9e30c86be90
+size 58656
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/e6df2733626a85205c1db682e6259c46_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/e6df2733626a85205c1db682e6259c46_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4ce445774051c41024ad6c798764656a3beb7f56
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/e6df2733626a85205c1db682e6259c46_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:49edf66d51718c35fffb2b48ccd5a126fb438cc4477f04dc99ce8e03b7a71294
+size 42501
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d341550b4d71443177a895916ae30be2fc10989a
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:785c03e7e56ecf2e903e2276ee8e07ca0f4108f75f2720b090f0f708ee0d4876
+size 56654
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/eefe19c5e14dc4d6c316b7f7fbb7d7d7_img.jpg b/marked/J/T-REC-J.1304-202201-I_PDF-E/eefe19c5e14dc4d6c316b7f7fbb7d7d7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c8110120c274a81ec8de74f608ef6ec6a38efac0
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/eefe19c5e14dc4d6c316b7f7fbb7d7d7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad0c5ab60cc3d2fd4dfab327627faa01906116b6495d3405904fc26c2bd4ac62
+size 58589
diff --git a/marked/J/T-REC-J.1304-202201-I_PDF-E/raw.md b/marked/J/T-REC-J.1304-202201-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..0213c0ae789f4aaad4da03cd5f441abedfdc9595
--- /dev/null
+++ b/marked/J/T-REC-J.1304-202201-I_PDF-E/raw.md
@@ -0,0 +1,462 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.1304**
+
+(01/2022)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+Cloud-based converged media services for IP and
+broadcast cable television
+
+---
+
+**Functional requirements for service
+collaboration between cable television
+operators and OTT service providers**
+
+Recommendation ITU-T J.1304
+
+
+
+# Recommendation ITU-T J.1304
+
+# Functional requirements for service collaboration between cable television operators and OTT service providers
+
+## Summary
+
+Recommendation ITU-T J.1304 is intended to define functional requirements for a cable television operator to provide an over-the-top (OTT) service to cable television customers in conjunction with their cable television services, video on demand (VOD) service, high-speed cable internet and so on by collaboration with an OTT service provider. As a reference architecture, the system architecture and interfaces between a cable television operator and one or more OTT service provider(s) are specified. To exemplify the collaboration patterns of a cable television operator with an OTT provider, this Recommendation also describes the configuration patterns of relevant entities including a user, a cable television operator and one or more OTT service provider(s).
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T J.1304 | 2022-01-13 | 9 | 11.1002/1000/14843 |
+
+## Keywords
+
+Billing, ID, OTT, service, subscription.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2022
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Assumptions on cable and OTT services..... | 2 |
+| 6.1 Sales types ..... | 2 |
+| 6.2 Subscriber ID..... | 3 |
+| 7 Possible patterns of configurations..... | 3 |
+| 7.1 No. 1: Billing integration..... | 5 |
+| 7.2 No. 2: OTT bundling package by cable operator with billing integration .... | 5 |
+| 7.3 No. 3: Billing and service use ID integration ..... | 6 |
+| 7.4 No. 4: OTT bundling package by cable operator with billing and service use ID integration ..... | 6 |
+| 8 General architecture..... | 7 |
+| 9 Functional requirements ..... | 7 |
+| 9.1 Requirements for user identification by cable ID..... | 7 |
+| 9.2 Requirements for cable service interfaces ..... | 7 |
+| 9.3 Requirements for cable billing integration ..... | 8 |
+| 9.4 Requirements for service use integration ..... | 8 |
+| Bibliography..... | 9 |
+
+# **Introduction**
+
+A recent trend among cable television operators is to provide OTT services in conjunction with their own television channels, video on demand (VOD) service, high-speed cable Internet, etc. For the convenience of the users such OTT service is integrated into the set-top box (STB), including quality assurance and billing integration.
+
+This Recommendation defines functional requirements for cable television operators to enable them to provide such integrated OTT services. The system architecture and interfaces between a cable television operator and one or more OTT service provider(s) are also specified to serve as a reference architecture. This Recommendation also describes configuration patterns of the relevant entities, including a user, a cable television operator and one or more OTT service provider(s), to exemplify possible collaboration patterns of the cable television operator with OTT providers.
+
+# Recommendation ITU-T J.1304
+
+## Functional requirements for service collaboration between cable television operators and OTT service providers
+
+# 1 Scope
+
+This Recommendation defines functional requirements for a cable television operator to provide an OTT service to cable television customers in conjunction with their cable television services, video on demand (VOD) service, high-speed cable Internet, etc. through collaboration with an OTT service provider. The system architecture and interfaces between a cable television operator and one or more OTT service provider(s) are also specified to serve as a reference architecture. This Recommendation also describes the configuration patterns of relevant entities, including a user, a cable television operator and one or more OTT service provider(s), to exemplify possible collaboration patterns of cable television operators with OTT providers.
+
+This Recommendation focuses on service registration and control flow necessary for a cable television operator to collaborate with an OTT service provider. Configuration of the content distribution platform and the content delivery network are outside the scope of this Recommendation.
+
+# 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 indicated 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-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.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+None.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 cable billing:** A payment method provided by a cable operator. When cable billing is applied as a payment method for an OTT service, billing for the OTT service is processed through the cable operator.
+
+**3.2.2 cable log-in:** A logging-in process on a cable service entity with a cable subscriber identifier (ID) for the purpose of the request for cable billing and an OTT service use (if applicable).
+
+**3.2.3 cable operator service entity:** A service entity that provides interfaces for users such as applications or web pages and those for an OTT service entity in order to process service collaboration.
+
+**3.2.4 OTT log-in:** A logging-in process on an OTT service entity with an OTT subscriber ID for the purpose of an OTT subscription registration and service use.
+
+**3.2.5 OTT service entity:** A service entity that provides interfaces for users such as applications or web pages and/or those for a cable service entity in order to process service collaboration.
+
+**3.2.6 service entity:** An entity that provides interfaces for authorization, authentication, token exchange, etc. In this Recommendation, two types of service entities are defined: cable operator service entity and OTT service entity.
+
+**3.2.7 service interface:** An interface of cable and OTT service entities referenced during service collaboration processes.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|-------------------------------------|
+| CPE | Customer Premises Equipment |
+| ID | Identifier |
+| OTT | Over-The-Top |
+| PII | Personally Identifiable Information |
+| SAML | Security Assertion Markup Language |
+| STB | Set-Top-Box |
+| TLS | Transport Layer Security |
+| VOD | Video on Demand |
+
+# 5 Conventions
+
+The keywords "**is required to**" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement that is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**is prohibited from**" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**can optionally**" indicate an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+In the body of this document and its annexes, the words shall, shall not, should, and may sometimes appear, in which case they are to be interpreted, respectively, as is required to, is prohibited from, is recommended, and can optionally. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+# 6 Assumptions on cable and OTT services
+
+This clause describes the sales types and the use of ID assumed in this Recommendation.
+
+## 6.1 Sales types
+
+There are two sales types of cable television operator's services:
+
+- Sales type A: A cable television operator sells an OTT service which is typically a subscription-based service as a reseller of the OTT service.
+
+- Sales type B: A cable television operator sells a package of services including an OTT service, e.g., a bundling package consisting of multichannel pay-TV service, the cable television operator's VOD service and an OTT service.
+
+## 6.2 Subscriber ID
+
+There are various roles and purposes of subscriber ID according to different aspects:
+
+### 6.2.1 Subscriber ID from the management or issuer point of view
+
+There are two kinds of subscriber IDs, i.e., a) subscriber ID managed by an OTT service provider (hereinafter "OTT ID"), b) subscriber ID managed by a cable television operator (hereinafter "cable ID").
+
+### 6.2.2 Subscriber ID from the purpose point of view
+
+There are also two types of purposes for a subscriber ID, namely, a) subscriber ID for billing, b) subscriber ID for service use.
+
+# 7 Possible patterns of configurations
+
+Table 1 summarizes combinations of the configurations.
+
+**Table 1 – Combinations of the configurations**
+
+| No. | Sign up to | Subscriber ID for billing | Payment method | Subscriber ID for service use | Sales type | Remarks |
+|-----|------------|---------------------------|----------------------------------------------------------------|-------------------------------|------------|---------------------------------------------------------------------------------------|
+| 0 | OTT | OTT ID | Credit card, or other billing methods accepted by OTT provider | OTT ID | A | The most basic case where a cable operator sells an OTT service as a reseller. |
+| 1 | OTT | Cable ID | Cable billing | OTT ID | A | Typical billing integration by a cable operator. |
+| 2 | Cable | Cable ID | Cable billing | OTT ID | B | OTT bundling package by a cable operator with billing integration. |
+| 3 | OTT | Cable ID | Cable billing | Cable ID | A | Billing and service use ID integration. |
+| 4 | Cable | Cable ID | Cable billing | Cable ID | B | OTT bundling package by a cable operator with billing and service use ID integration. |
+
+The following provides an explanatory description the configurations (No. 0 to No. 4) listed in Table 1.
+
+- No. 0: This configuration is the most basic OTT service selling case where a cable operator sells an OTT service to a user as a reseller. The user will sign up to the OTT service with an ID determined by the user for such an OTT service (i.e., OTT ID in this Recommendation) with billing information such as a credit card, and the same OTT ID will be used to enjoy the OTT service. In this configuration, the cable operator plays a role of a reseller and will receive some sale incentives in the most typical case.
+
+- No. 1: A cable operator sells an OTT service to a user similar to No. 0, but billing integration to the cable operator applies in configuration No. 1. When the user signs up for the OTT service, they will sign up with an OTT ID through a special entrance or a URL for billing integration by the cable operator, where the billing will be associated with the user's cable ID. There might also be another sign-up method where the user will directly use a cable ID. In both cases, an OTT ID that is used to enjoy the OTT service needs to be associated with the cable ID through the sign-up process. After the sign-up completion, a similar manner with No. 0 will apply in order to enjoy the OTT service.
+- No. 2: A cable operator sells an OTT service to a user with billing integration to the cable operator similar to No. 1, but in this configuration, the OTT service will be sold to the user, not as a single independent service but will be included in some cable television related services as a bundled service. The user will sign up for the OTT service with an OTT ID through a special entrance or a URL for such bundling offer provided by the cable operator. There might also be another sign-up method where the user will use a special ID for the bundling offer (i.e., cable ID in this Recommendation). In the latter case, an OTT ID that is used to enjoy the OTT service needs to be associated with the cable ID through the sign-up process. After the sign-up completion, a similar manner with No. 1 will apply in order to enjoy the OTT service.
+- No. 3: Similar to No. 1, but the cable ID is used for the sign-up and service use. In configuration No. 3, the ID linkage mechanism is implemented between an OTT provider's platform and a cable operator's ID platform.
+- No. 4: Similar to No. 2, but the cable ID is used for the sign-up and service use. In configuration No. 4, an ID linkage mechanism is implemented between an OTT provider's platform and a cable operator's ID platform.
+
+The illustrative explanations of the patterns from No. 0 to No. 4 are provided as follows to identify the necessary actions, communications and interfaces between the entities.
+
+Figure 1 shows a procedure for pattern No. 0, which does not incorporate any use of the cable ID for billing or service integration. While the patterns from No. 1 to No. 4 illustrate integrated configurations with the cable ID.
+
+
+
+```
+
+sequenceDiagram
+ participant User
+ participant OTT provider
+ Note right of OTT provider: J.1304(22)
+ User->>OTT provider: Register to the OTT service with payment information (e.g., credit card) and request an ID for service use (Typically, the user's e-mail address)
+ OTT provider-->>User: If approved, billing is sent to the user (Recursive)
+ User->>OTT provider: Login with the ID for service use to enjoy the OTT service
+ OTT provider-->>User: The service is provided to the user
+
+```
+
+Sequence diagram for No. 0 – Normal OTT use without any relationship with the cable ID. The diagram shows interactions between a User and an OTT provider. The sequence is: 1. User sends a registration request with payment info and ID request to OTT provider. 2. OTT provider sends a recursive billing message back to the User. 3. User sends a login request with ID to OTT provider. 4. OTT provider sends the service provision message back to the User. The diagram is labeled J.1304(22) at the bottom right.
+
+**Figure 1 – No. 0 – Normal OTT use without any relationship with the cable ID**
+
+## 7.1 No. 1: Billing integration
+
+Figure 2 shows a procedure for an OTT service subscription which incorporates the cable television billing. In this flow, a user registers a subscription to the OTT service to obtain their OTT ID for service use, and then the OTT provider requests billing for their subscription from the cable television operator. Once the cable television operator approves the billing, the user can enjoy the OTT service by logging in with their OTT ID.
+
+
+
+```
+sequenceDiagram
+ participant User
+ participant Cable television operator
+ participant OTT provider
+ Note right of OTT provider: J.1304(22)
+ User->>OTT provider: Register to the OTT service with a selection of the cable television billing, and request an ID for service use (Typically, the user's e-mail address)
+ OTT provider->>Cable television operator: Verify the credential
+ Cable television operator->>OTT provider: Request the user's subscription if the credential is approved
+ OTT provider->>Cable television operator: If approved, credit is sent to the cable television operator
+ Cable television operator->>User: Billing is sent to the user (Recursive)
+ User->>OTT provider: Login with the ID for service use to enjoy the OTT service
+ OTT provider->>User: The service is provided to the user
+```
+
+Sequence diagram for Figure 2: Typical billing integration. Lifelines: User, Cable television operator, OTT provider. The process involves registration, credential verification, subscription request, billing approval, and service provision.
+
+Figure 2 – No. 1 – Typical billing integration
+
+## 7.2 No. 2: OTT bundling package by cable operator with billing integration
+
+Figure 3 shows a procedure for the cable television billing for OTT service subscriptions provided as a bundling package (sales type B). In this flow, a user who already has their own OTT ID registers a subscription to the cable service, and then the subscription request is forwarded to the OTT provider. If the OTT provider approves the subscription request, billing for the subscribed service is sent to the user. Then, the user can enjoy the OTT service by logging in with their OTT ID.
+
+
+
+```
+sequenceDiagram
+ participant User
+ participant Cable television operator
+ participant OTT provider
+ Note right of OTT provider: J.1304(22)
+ User->>Cable television operator: Subscribe to the OTT service with the existing Cable ID
+ Cable television operator->>OTT provider: Request the user's subscription
+ OTT provider->>Cable television operator: If approved, credit is sent to the cable television operator
+ Cable television operator->>User: Billing is sent to the user (Recursive)
+ User->>OTT provider: Request an ID for service use (Typically, the user's e-mail address)
+ OTT provider->>User: If succeeded, acknowledgement is sent to the user
+ User->>OTT provider: Login with the ID for service use to enjoy the OTT service
+ OTT provider->>User: The service is provided to the user
+```
+
+Sequence diagram for Figure 3: OTT package by a cable operator with billing integration. Lifelines: User, Cable television operator, OTT provider. The process involves subscription request via cable operator, OTT provider approval, billing, ID request, acknowledgement, login, and service provision.
+
+Figure 3 – No. 2 – OTT package by a cable operator with billing integration
+
+## 7.3 No. 3: Billing and service use ID integration
+
+Figure 4 shows a procedure for an OTT service subscription which incorporates the cable ID for both billing and service use. In this flow, a user who already has their own cable ID registers a subscription to the OTT service, and the OTT provider requests billing for their subscription from the cable television operator. Once the cable television operator approves the billing, the user can enjoy the OTT service by logging in with their cable ID.
+
+
+
+```
+sequenceDiagram
+ participant User
+ participant Cable television operator
+ participant OTT provider
+ Note right of OTT provider: J.1304(22)
+
+ User->>OTT provider: Register the existing Cable ID to the OTT service with a selection of the cable television billing
+ OTT provider->>Cable television operator: Verify the credential
+ Cable television operator->>OTT provider: Request the user's subscription if the credential is approved
+ OTT provider->>Cable television operator: If approved, credit is sent to the cable television operator
+ Cable television operator->>User: Billing is sent to the user (Recursive)
+ User->>OTT provider: Login with the Cable ID to enjoy the OTT service
+ OTT provider->>Cable television operator: Verify the credential
+ Cable television operator->>OTT provider: Request the service if the credential is approved
+ OTT provider->>User: If approved, the service is provided to the user
+```
+
+This sequence diagram illustrates the interaction for No. 3. It involves three participants: User, Cable television operator, and OTT provider. The process starts with the User sending a message to the OTT provider to register their existing Cable ID and select a billing option. The OTT provider then sends a 'Verify the credential' request to the Cable television operator. The operator responds with 'Request the user's subscription if the credential is approved', which the OTT provider translates to 'If approved, credit is sent to the cable television operator' for the operator. The operator then sends 'Billing is sent to the user (Recursive)' to the User. Next, the User sends 'Login with the Cable ID to enjoy the OTT service' to the OTT provider. The OTT provider again sends 'Verify the credential' to the operator, who responds with 'Request the service if the credential is approved'. Finally, the OTT provider sends 'If approved, the service is provided to the user' to the User. The diagram is labeled J.1304(22) in the bottom right corner.
+
+Sequence diagram for No. 3: Billing and service use ID integration
+
+Figure 4 – No. 3 – Billing and service use ID integration
+
+## 7.4 No. 4: OTT bundling package by cable operator with billing and service use ID integration
+
+Figure 5 shows a procedure for a cable ID integration for both billing and service use for the OTT service subscription as a bundling package (sales type B). In this flow, a user registers a subscription to the cable television operator's package/bundle of the OTT service, and then the subscription request is forwarded to the OTT provider. If the OTT provider approves the subscription request, billing for the subscribed service is sent to the user. Then, the user can enjoy the packaged/bundled OTT service by logging in with their cable ID.
+
+
+
+```
+sequenceDiagram
+ participant User
+ participant Cable television operator
+ participant OTT provider
+ Note right of OTT provider: J.1304(22)
+
+ User->>Cable television operator: Subscribe to the OTT service with the existing Cable ID
+ Cable television operator->>OTT provider: Request the user's subscription
+ OTT provider->>Cable television operator: If approved, credit is sent to the cable television operator
+ Cable television operator->>User: Billing is sent to the user (Recursive)
+ User->>OTT provider: Login with the Cable ID to enjoy the OTT service
+ OTT provider->>Cable television operator: Verify the credential
+ Cable television operator->>OTT provider: Request the service if the credential is approved
+ OTT provider->>User: If approved, the service is provided to the user
+```
+
+This sequence diagram illustrates the interaction for No. 4. It involves three participants: User, Cable television operator, and OTT provider. The process starts with the User sending a message to the Cable television operator to 'Subscribe to the OTT service with the existing Cable ID'. The operator then sends 'Request the user's subscription' to the OTT provider. The OTT provider responds with 'If approved, credit is sent to the cable television operator' to the operator, who in turn sends 'Billing is sent to the user (Recursive)' to the User. Next, the User sends 'Login with the Cable ID to enjoy the OTT service' to the OTT provider. The OTT provider sends 'Verify the credential' to the operator, who responds with 'Request the service if the credential is approved'. Finally, the OTT provider sends 'If approved, the service is provided to the user' to the User. The diagram is labeled J.1304(22) in the bottom right corner.
+
+Sequence diagram for No. 4: OTT package by a cable operator with billing and service use ID integration
+
+Figure 5 – No. 4 – OTT package by a cable operator with billing and service use ID integration
+
+# 8 General architecture
+
+This clause illustrates the components for cable and an OTT service collaboration. Figure 6 shows the general architecture, where a customer premises equipment (CPE) is a device managed by the cable operator (e.g., set-top box), connected to a cable broadband network and the user's device is an unmanaged device connected to the Internet through Wi-Fi, cellular network, etc.
+
+
+
+The diagram illustrates the general architecture of cable and OTT service collaboration. It shows the following components and flows:
+
+- User:** Contains **CPE** (Customer Premises Equipment) and **User's device**.
+- Cable operator:** Contains **Cable service entity** and **Cable content server**.
+- OTT service provider:** Contains **OTT service entity** and **OTT content server**.
+- Cable broadband:** Network connecting the User's CPE to the Cable operator.
+- Internet:** Network connecting the User's device to the OTT service provider.
+- Cable CDN:** Content delivery network for cable services.
+- OTT CDN:** Content delivery network for OTT services.
+
+**Flows:**
+
+- Service registration/control flow (blue arrows):** Connects the User's CPE to the Cable operator's Cable service entity, and the User's device to the OTT service provider's OTT service entity.
+- Content delivery flow (green arrows):** Connects the Cable operator's Cable content server to the Cable CDN, and the OTT service provider's OTT content server to the OTT CDN. Both CDNs then deliver content to the User's CPE and User's device.
+
+J.1304(22)
+
+Figure 6 – General architecture of cable and OTT service collaboration. The diagram shows the flow of service registration/control (blue arrows) and content delivery (green arrows) between the User (CPE and User's device), Cable operator (Cable service entity and Cable content server), OTT service provider (OTT service entity and OTT content server), and CDNs (Cable CDN and OTT CDN) via Cable broadband and Internet networks.
+
+**Figure 6 – General architecture of cable and OTT service collaboration**
+
+This architecture is intended to enable cable operators to incorporate an OTT provider's service subscription into the cable operator's service, specifically in the form of billing integration and/or packaging/bundling with cable television services.
+
+Cable operators can determine whether collaborated services are provided with their own cable broadband network or not. Also, the type of ID for service use, i.e., cable subscriber ID or OTT subscriber ID, will be chosen by consultation with an OTT provider.
+
+# 9 Functional requirements
+
+This clause defines the functional requirements for service collaboration between the cable operator and an OTT provider. Requirements for the cable operator's service entity and service flow are defined. Service interfaces of an OTT service provider including user interfaces on applications and/or web pages are outside the scope of this Recommendation.
+
+## 9.1 Requirements for user identification by cable ID
+
+[LOG-001]: A cable service entity is required to provide a user interface as an application or a web page for log-in with cable ID in order to identify a user.
+
+[LOG-002]: A cable service entity can optionally provide an identity federation scheme (e.g., security assertion markup language (SAML) [b-OASIS SAML], openID connect [b-OIDF OIDC], OAuth 2.0 [b-IETF RFC 6749]), so that OTT service entities can provide a scheme for log-in with a cable ID on their service application or web page in the form of embedding or redirection.
+
+## 9.2 Requirements for cable service interfaces
+
+[INF-001]: A cable service interface is required to be capable of connection between a cable service entity and an OTT service entity authorized by the cable operator.
+
+[INF-002]: A cable service interface is required to be capable of secure connections (e.g., transport layer security (TLS) 1.2 [b-IETF RFC 5246], TLS 1.3 [b-IETF RFC 8446]) to be connected with OTT service entities.
+
+[INF-003]: A service interface is required to anonymise personally identifiable information (PII) included in every message (e.g., by tokenising the user's cable subscriber ID, etc.).
+
+## **9.3 Requirements for cable billing integration**
+
+[BIL-001]: A cable service entity is required to process cable billing registration (sign-up) requests from the user for an OTT service subscription by communicating with the OTT service provider through the service interface connected to the OTT service entity.
+
+[BIL-002]: A cable service entity is required to validate a cable billing registration request by verifying whether the request is correctly associated with a valid cable subscriber ID (authentication) and can be authorized for the specified OTT service (authorization).
+
+[BIL-003]: A cable service entity can optionally provide some information related to the registered user to the OTT service entity based on a permission given by the user and prior consensus or an agreement with the OTT service provider.
+
+## **9.4 Requirements for service use integration**
+
+[SRV-001]: A cable service entity can optionally provide user authentication and authorization for the collaborated OTT service to the OTT service provider through the service interface connected to the OTT entity. This function may be used for the cases described in clauses 7.3 and 7.4. When the user tries to enjoy their subscribed OTT service with a cable ID already registered, the OTT service provider needs to verify the validity of the user's credentials by communicating with the cable operator through the service interface.
+
+# Bibliography
+
+- [b-IETF RFC 5246] IETF RFC 5246 (2008), *The Transport Layer Security (TLS) Protocol Version 1.2*.
+<>
+- [b-IETF RFC 6749] IETF RFC 6749 (2012), *The OAuth 2.0 Authorization Framework*.
+<>
+- [b-IETF RFC 8446] IETF RFC 8446 (2018), *The Transport Layer Security (TLS) Protocol Version 1.3*.
+<>
+- [b-OASIS SAML] OASIS (2006), *Assertions and Protocols for the OASIS Security Assertion Markup Language (SAML) V2. 0-Errata Composite*.
+<[https://www.researchgate.net/publication/228736509\\_Assertions\\_and\\_Protocols\\_for\\_the\\_OASIS\\_Security\\_Assertion\\_Markup\\_Language\\_SAML\\_V2\\_0-Errata\\_Composite](https://www.researchgate.net/publication/228736509_Assertions_and_Protocols_for_the_OASIS_Security_Assertion_Markup_Language_SAML_V2_0-Errata_Composite)>
+- [b-OIDF OIDC] OpenID Foundation (2014), *OpenID Connect Specifications*.
+<>
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7f76a85fd529dbf1c99b4d4d4c50b120600f6769
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/04f51626e2e10a16e3eb2c4b33cb2742_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3af851a8ea485d030293e9e982b8181ccc649b0971f4be35ea761724694e457e
+size 24346
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..795f3823991659cd2503b7d2795029be74674e72
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:db3e2bea9bbd0012e4fd4914f40177c17538f0f197150012340d56cfee392d66
+size 54750
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/09955ff8214ffb6947951fc0f60eb6ab_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/09955ff8214ffb6947951fc0f60eb6ab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0a4fc86486671551a20975bb0a5a48d10f127420
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/09955ff8214ffb6947951fc0f60eb6ab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8dc333faeac3053d831aaa61421cb7577aff51317e73a3fd28c1dce751ffe0bd
+size 91267
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/14515d82ffeec9475b9add3036ff26ab_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/14515d82ffeec9475b9add3036ff26ab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..16aab54b145c07ca9887ec9a9752da30afce9323
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/14515d82ffeec9475b9add3036ff26ab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e6a0ce676e57bfaefc5d49ae5327c9866b183ae405af0697add6a47e49bd9a4
+size 20852
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/2ae3eae1bd80a90f192f568ae246a9a6_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/2ae3eae1bd80a90f192f568ae246a9a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..42ff1a2219dba0656afb1a50a9b915f47ccba9ce
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/2ae3eae1bd80a90f192f568ae246a9a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7a28d5871e3de25519b1950b5fafc0987ddf2b81e823f91aeb7c556512cd6756
+size 27388
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..808a172e767145666d18916a681beb8edf7d5626
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:45c6dff9053d8a7e288da732dba26e17495b18ed53976902395111cbbc38e6cb
+size 8288
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..152ac45d06938ad5390e3df41ce3d525c9e863bc
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aa84ad59b8e3dbf44bfeace6a0413655484fab80b5776b81fbe6223c7df4d46e
+size 32798
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/66c2bf11a8f117cddf67eff92d4c736c_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/66c2bf11a8f117cddf67eff92d4c736c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9bf4687b4da00d99d26c30ba0f63e4ab74e1723a
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/66c2bf11a8f117cddf67eff92d4c736c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d17d1993b7b3500e00c58d11189071aaf803b9d91f5620d7bb3c67ce7ffd8c08
+size 21255
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/df0bcbfa8f8e1937e071445426c28022_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/df0bcbfa8f8e1937e071445426c28022_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c921a4b58ebee44f83d4278746d6a7139feafa15
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/df0bcbfa8f8e1937e071445426c28022_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2e572207ebc899a1f45017212cd437170088c65d7be0e1aef11c367e16d10afc
+size 35498
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/e354b57563dae469c00b412b2abdf765_img.jpg b/marked/J/T-REC-J.131-199803-I_PDF-E/e354b57563dae469c00b412b2abdf765_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..64db53c65bf86ae61f243d755168981b244eacce
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/e354b57563dae469c00b412b2abdf765_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5b4631029045731dcd1db96a4f3de6869f3b4880302a4eda22d7823fda776fda
+size 25042
diff --git a/marked/J/T-REC-J.131-199803-I_PDF-E/raw.md b/marked/J/T-REC-J.131-199803-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..948c94854eadee858d1940485fbcbb47122a6dc9
--- /dev/null
+++ b/marked/J/T-REC-J.131-199803-I_PDF-E/raw.md
@@ -0,0 +1,989 @@
+
+
+
+
+ITU logo: A globe with a lightning bolt and the letters ITU.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.131**
+
+(03/98)
+
+SERIES J: TRANSMISSION OF TELEVISION, SOUND
+PROGRAMME AND OTHER MULTIMEDIA SIGNALS
+
+Transport of MPEG-2 signals on packetised networks
+
+---
+
+**Transport of MPEG-2 signals in PDH networks**
+
+ITU-T Recommendation J.131
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T J-SERIES RECOMMENDATIONS **TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS**
+
+| | |
+|-------------------------------------------------------------------------------------------------|--------------------|
+| General Recommendations | J.1–J.9 |
+| General specifications for analogue sound-programme transmission | J.10–J.19 |
+| Performance characteristics of analogue sound-programme circuits | J.20–J.29 |
+| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 |
+| Digital encoders for analogue sound-programme signals | J.40–J.49 |
+| Digital transmission of sound-programme signals | J.50–J.59 |
+| Circuits for analogue television transmission | J.60–J.69 |
+| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 |
+| Digital transmission of television signals | J.80–J.89 |
+| Ancillary digital services for television transmission | J.90–J.99 |
+| Operational requirements and methods for television transmission | J.100–J.109 |
+| Interactive systems for digital television distribution | J.110–J.129 |
+| Transport of MPEG-2 signals on packetised networks | J.130–J.139 |
+| Measurement of the quality of service | J.140–J.149 |
+| Digital television distribution through local subscriber networks | J.150–J.159 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **ITU-T RECOMMENDATION J.131**
+
+# **TRANSPORT OF MPEG-2 SIGNALS IN PDH NETWORKS**
+
+## **Summary**
+
+This Recommendation provides the requirements for equipment called "PDH network adapter" for the transport of MPEG-2 signals over PDH networks. It describes the necessary operations to adapt the MPEG-2 Transport Stream into interfaces of PDH networks and the functional characteristics associated with this equipment.
+
+### **Source**
+
+ITU-T Recommendation J.131 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 18th of March 1998.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The 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 Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards 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.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The 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, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1998
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | | Page |
+|-------|---------------------------------------------------------------------------------|-------------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Terms and definitions..... | 2 |
+| 4 | Acronyms and abbreviations..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Network adapter overview ..... | 3 |
+| 6.1 | Functional description ..... | 3 |
+| 7 | Detailed description of the basic functions ..... | 5 |
+| 7.1 | MPEG Physical Interface (MPI)..... | 5 |
+| 7.1.1 | Basic characteristics..... | 5 |
+| 7.1.2 | Additional characteristics for System A (European system)..... | 7 |
+| 7.2 | MPEG/ATM Adaptation (MAA)..... | 8 |
+| 7.2.1 | Signal processing in the transmitter (Signal flow from b to c in Figure 1)..... | 9 |
+| 7.2.2 | Signal processing in the receiver (Signal flow from c to b in Figure 1)..... | 10 |
+| 7.3 | Virtual Path Entity (VPE)..... | 11 |
+| 7.3.1 | Signal processing in the transmitter (Signal flow from c to d in Figure 1)..... | 11 |
+| 7.3.2 | Signal processing in the receiver (Signal flow from d to c in Figure 1)..... | 12 |
+| 7.4 | Virtual Path Multiplexing Entity (VPME)..... | 12 |
+| 7.4.1 | Signal processing in the transmitter (Signal flow from d to e in Figure 1)..... | 13 |
+| 7.4.2 | Signal processing in the receiver (Signal flow from e to d in Figure 1)..... | 13 |
+| 7.5 | PDH Path Layer Trail Termination (Pqs_TT) ..... | 14 |
+| 7.6 | PDH Physical Section Layer to PDH Path Layer Adaptation (Eq/Pqs_A) ..... | 15 |
+| 7.7 | PDH Physical Section Layer Trail Termination (Eq_TT) ..... | 15 |
+| 7.8 | Equipment Management Function (EMF) ..... | 16 |
+| 7.8.1 | Overview of the EMF ..... | 16 |
+| 7.8.2 | Configuration..... | 17 |
+| 7.8.3 | Fault (maintenance) management..... | 17 |
+| 7.8.4 | Performance management..... | 18 |
+| | Appendix I – Mechanisms of the adaptive clock method..... | 21 |
+| | Appendix II – Enabling/disabling the Header Error Control functions ..... | 22 |
+| | Appendix III – Transmission capacity of the Network Adapter ..... | 22 |
+
+
+
+# TRANSPORT OF MPEG-2 SIGNALS IN PDH NETWORKS
+
+(Geneva, 1998)
+
+# 1 Scope
+
+This Recommendation specifies the transmission of MPEG-2 transport streams within PDH networks working at the Recommendation G.702 [1] hierarchical bit rates of 1544 kbit/s, 2048 kbit/s, 6312 kbit/s, 34368 kbit/s, 44736 kbit/s and 139264 kbit/s. The use of any of these bit rates is optional; if, however, one or more rates are selected, the complete specification applies. The definition of the network aspects of the transmission of MPEG-2 Transport Streams is based to the maximum extent on existing international standards.
+
+The 8 Mbit/s frame structure for the support of ATM is not yet defined. Further study is required.
+
+The equipment considered in this Recommendation is the Network Adapter performing the adaptation between MPEG-2 transport streams and the interfaces of PDH networks.
+
+The application of this Recommendation is restricted to a physical layer point-to-point connection without ATM connection functionality at intermediate points.
+
+# 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 indicated are valid. All Recommendations and other references are subject to revisions; all 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-T Recommendations is regularly published.
+
+- [1] CCITT Recommendation G.702 (1988), *Digital hierarchy bit rates*.
+- [2] CCITT Recommendation G.703 (1991), *Physical/electrical characteristics of hierarchical digital interfaces*.
+- [3] ITU-T Recommendation G.783 (1997), *Characteristics of Synchronous Digital Hierarchy (SDH) equipment functional blocks*.
+- [4] ITU-T Recommendation G.804 (1998), *ATM cell mapping into Plesiochronous Digital Hierarchy (PDH)*.
+- [5] ITU-T Recommendation G.826 (1996), *Error performance parameters and objectives for international, constant bit rate digital paths at or above the primary rate*.
+- [6] ITU-T Recommendation G.832 (1995), *Transport of SDH elements on PDH networks – Frame and multiplexing structure*.
+- [7] ITU-T Recommendation H.222.0 (1995) | ISO/IEC 13818-1:1996, *Information technology – Generic coding of moving pictures and associated audio information: Systems*.
+- [8] ITU-T Recommendation I.361 (1995), *B-ISDN ATM layer specification*.
+- [9] ITU-T Recommendation I.363.1 (1996), *B-ISDN ATM adaptation layer (AAL) specification – Type 1 AAL*.
+- [10] ITU-T Recommendation I.432 (1993), *B-ISDN user-network interface – Physical layer specification*.
+- [11] ITU-T Recommendation I.732 (1996), *Functional characteristics of ATM equipment*.
+
+- [12] ITU-T Recommendation J.82 (1996), *Transport of MPEG-2 constant bit rate television signals in B-ISDN*.
+- [13] ITU-T Recommendation J.83 (1997), *Digital multi-programme systems for television, sound and data services for cable distribution*.
+- [14] ITU-T Recommendation M.2120 (1997), *Digital paths, section and transmission system fault detection and localization procedures*.
+- [15] ITU-T Recommendation Q.822 (1994), *Stage 1, stage 2 and stage 3 description for the Q3 interface – Performance management*.
+- [16] ETS 300 417-2-1 (1997), *Transmission and Multiplexing (TM), Generic requirements of transport functionality of equipment; Part 2-1: Synchronous Digital Hierarchy (SDH) and Plesiochronous Digital Hierarchy (PDH) physical section layer functions*.
+- [17] ETS 300 417-5-1 (1998), *Transmission and Multiplexing (TM), Generic requirements of transport functionality of equipment; Part 5-1: PDH path layer functions*.
+- [18] ETR 290 (1997), *Digital Video Broadcasting (DVB); Measurement guidelines for DVB systems*.
+- [19] EN 50083-9 (1998), *Cabled distribution systems for television, sound and interactive multimedia signals; Part 9: Interfaces for CATV/SMATV headends and similar professional equipment for DVB/MPEG-2 transport streams*.
+- [20] ANSI T1.102 (1993), *Telecommunications – Digital Hierarchy – Electrical Interfaces*.
+- [21] ITU-T Recommendation G.704 (1995), *Synchronous frame structures used at 1544, 6312, 2048, 8448 and 44 736 kbit/s hierarchical levels*.
+
+# 3 Terms and definitions
+
+This Recommendation defines the following terms.
+
+**3.1 fixed stuff:** Bytes that are used to fill up unused data positions.
+
+**3.2 MPEG-2 Transport Stream (TS) packet:** A data packet possessing a length of 188 bytes including 4 bytes of header information. The header contains MPEG-related data.
+
+**3.3 RS-coded MPEG-2 Transport Stream (TS) packet:** A data packet possessing a length of 204 bytes. Bytes 1 to 188 contain an MPEG-2 transport stream packet. Bytes 189 to 204 contain the parity-check bytes for the error correction of the preceding bytes of this packet. These parity-check bytes are generated using a shortened Reed Solomon Code RS (204, 188), as specified in Annex A/J.83 [13].
+
+# 4 Acronyms and abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-----|-------------------------------|
+| AAL | ATM Adaptation Layer |
+| ASI | Asynchronous Serial Interface |
+| ATM | Asynchronous Transfer Mode |
+| BER | Bit Error Rate |
+| CRC | Cyclic Redundancy Check |
+| CS | Convergence Sublayer |
+| DVB | Digital Video Broadcasting |
+
+| | |
+|-----------|--------------------------------------|
+| EMF | Equipment Management Function |
+| FAS | Frame Alignment Signal |
+| FEC | Forward Error Correction |
+| LOF | Loss of Frame |
+| LOS | Loss of Signal |
+| MAA | MPEG/ATM Adaptation |
+| MON | Monitoring |
+| MPEG | Moving Pictures Experts Group |
+| MPEG-2-TS | MPEG-2 Transport Stream |
+| MPI | MPEG Physical Interface |
+| NE | Network Element |
+| PDH | Plesiochronous Digital Hierarchy |
+| PDU | Protocol Data Unit |
+| PL | Path Layer |
+| PPI | PDH Physical Interface |
+| PPT | PDH Path Termination |
+| PSL | Physical Section Layer |
+| RDI | Remote Defect Indication |
+| RS | Reed Solomon |
+| SAP | Service Access Point |
+| SAR | Segmentation and Reassembly sublayer |
+| SN | Sequence Number |
+| SPI | Synchronous Parallel Interface |
+| SSI | Synchronous Serial Interface |
+| TS | Transport Stream |
+| VP | Virtual Path |
+| VPE | Virtual Path Entity |
+| VPME | Virtual Path Multiplexing Entity |
+
+# 5 Conventions
+
+Unless otherwise mentioned, in this Recommendation the following conventions hold true:
+
+- The order of transmission of information in all diagrams is first from left to right and then from top to bottom. Within each byte or octet the most significant bit is transmitted first.
+
+# 6 Network adapter overview
+
+## 6.1 Functional description
+
+The Network Adapter is an equipment which performs the adaptation of data structured as an MPEG-2 Transport Stream to the characteristics of a PDH link. The solution selected for the transmission of MPEG-2-TS packets, or optionally for the transmission of RS-coded MPEG-2-TS packets, over PDH links is based on the use of ATM cells. Therefore, the adaptation of the transport of an MPEG-2-TS basically consists in:
+
+- adaptation of MPEG-2-TS packets or RS-coded MPEG-2-TS packets to ATM cells;
+- adaptation of ATM cells to PDH framing.
+
+NOTE – The processing of ATM VC level is not performed.
+
+The normative references applicable to the adaptation unless specifically mentioned are given here below:
+
+- the adaptation of MPEG-2-TS packets into ATM cells using an AAL type 1 shall be performed as described in Recommendation J.82 [12]. AAL type 1 is specified in Recommendation I.363.1 [9], the ATM layer is specified in Recommendation I.361 [8];
+- the adaptation of ATM cells into PDH framing shall be performed as described in Recommendation G.804 [4].
+
+There is no normative reference for the adaptation of RS-coded MPEG-2-TS packets to ATM cells. This adaptation shall be performed as described in Recommendation J.82 [12] for MPEG-2-TS packets, with the only exception that the RS-coded MPEG-2-TS packets are not aligned with the structure of the AAL1 interleaving matrix.
+
+The Network Adapter is described as a group of functional blocks. The partitioning into functional blocks is based on existing Recommendations on SDH equipment (Recommendation G.783 [3]) and ATM equipment (Recommendation I.732 [11]). The equipment consists of the following blocks (see also Figure 1):
+
+- MPEG Physical Interface (MPI);
+- MPEG/ATM Adaptation (MAA);
+- Virtual Path Entity (VPE);
+- VP Multiplexing Entity (VPME);
+- PDH Path Layer Trail Termination (Pqs\_TT);
+- PDH Physical Section Layer to PDH Path Layer Adaptation (Eq/Pqs\_A);
+- PDH Physical Section Layer Trail Termination (Eq\_TT); and
+- Equipment Management Function (EMF).
+
+The present description is a functional description and does not imply any specific equipment implementation but it allows for the implementation of a separate transmitter and receiver as well as a combined transmitter/receiver.
+
+
+
+The diagram illustrates the functional blocks of a Network Adapter. It consists of seven main blocks arranged horizontally, connected by arrows indicating the flow of data. From left to right, the blocks are: MPI (MPEG Physical Interface), MAA (MPEG ATM Adaptation), VPE (ATM VP Termination), VPME (VP Multiplexing Entity), Pqs\_TT (PDH PL Trail Termination), Eq/Pqs\_A (PDH PSL to PDH PL Adaptation), and Eq\_TT (PDH PSL Trail Termination). The interfaces are labeled with letters: 'a' for the MPEG interface on the left, 'b' between MPI and MAA, 'c' between MAA and VPE, 'd' between VPE and VPME, 'e' between VPME and Pqs\_TT, and 'PDH interface' on the far right. Below the main sequence of blocks, a box labeled 'EMF' (Equipment Management Function) is connected to the text 'All functional blocks' via a double-headed vertical arrow. The text 'T0905640-97/d01' is located in the bottom right corner of the diagram area.
+
+Functional blocks for the Network Adapter diagram
+
+NOTE – Synchronization functions are for further study.
+
+**Figure 1/J.131 – Functional blocks for the Network Adapter**
+
+The protocol stack used by this equipment is shown in Figure 2.
+
+
+
+| |
+|----------------------------------------|
+| MPEG-2 System Layer (Transport Stream) |
+| RS-coded MPEG-2-TS (DVB) |
+| ATM Adaptation Layer type 1 |
+| ATM layer |
+| Transmission Convergence Sublayer |
+| Physical Medium Dependent sublayer |
+
+Figure 2/J.131 – Protocol stack for the adaptation process. The diagram shows a vertical stack of six layers. The top layer is 'MPEG-2 System Layer (Transport Stream)'. Below it is a sub-layer 'RS-coded MPEG-2-TS (DVB)'. The remaining four layers are 'ATM Adaptation Layer type 1', 'ATM layer', 'Transmission Convergence Sublayer', and 'Physical Medium Dependent sublayer'.
+
+**Figure 2/J.131 – Protocol stack for the adaptation process**
+
+The following functional blocks are identified:
+
+- *The MPEG-2-TS Physical Interface*: the Network Adapter accepts, at its input port, either an MPEG-2-TS consisting of consecutive MPEG-2-TS packets, or optionally an extended version of an MPEG-2-TS that already contains error protection as specified in Annex A/J.83 [13] (RS-coded MPEG-2-TS packets). Packets length of 188 bytes and optionally 204 bytes can be handled.
+- *The MPEG/ATM Adaptation*: this corresponds to the adaptation between the MPEG-2-TS, or the RS-coded MPEG 2-TS, and the ATM cells via an AAL type 1. This adaptation, besides format adaptation, provides functions for the MPEG-2-TS clock transmission transparency (adaptive clock method) and information transparency using the clock and data recovery mechanism of AAL1. It is expected that under normal transmission conditions the received MPEG-2-TS will be quasi error free, corresponding to a Bit Error Rate (BER) of about $10^{-10}$ to $10^{-11}$ at the input of an MPEG-2 equipment at the receiver site. This requirement is in accordance with cable systems specified in Annex A/J.83 [13].
+- *The Virtual Path Entity*: the only function performed is the VP setting. It allows the simultaneous transmission of several independent MPEG-2-TS on one PDH link.
+- *The VP Multiplexing Entity*: if different MPEG-2-TS have to be simultaneously transported, the ATM cells belonging to different VPs are multiplexed in the transmitter respectively demultiplexed in the receiver. If only one MPEG-2-TS has to be transported, only one VP is used. The adaptation to the useful bit rate offered by the PDH link is performed by adding respectively removing idle cells. At the receiver, this block also performs cell delineation and ATM cell header checking.
+- *The PDH Path Layer Trail Termination (Pqs\_TT)*: this function generates and terminates all the overhead of the PDH frames carrying ATM cells. The overhead contains information providing Operation Administration and Maintenance functions.
+- *The PDH Physical Section Layer to PDH Path Layer Adaptation (Eq/Pqs\_A)*: this function extracts timing from the received signal and regenerates the data.
+- *The PDH Physical Section Layer Trail Termination (Eq\_TT)*: this function provides the interface between the equipment and the physical medium carrying a signal which may have any of the physical characteristics of those described in Recommendation G.703 [2].
+- *The Equipment Management Function*: this block manages all the other functional blocks. It ensures the Man Machine Interface.
+
+# 7 Detailed description of the basic functions
+
+## 7.1 MPEG Physical Interface (MPI)
+
+### 7.1.1 Basic characteristics
+
+This function provides the interface between the Network Adapter and the MPEG-2-TS sources or receivers.
+
+In order to prevent alarms being raised and failures being reported during set-up procedures or if the input port is not in use (in the case of a multi-port equipment), the MPI function shall have the ability to enable or disable fault case declaration. The MPI shall be either monitored (MON) or not monitored (NMON). The state MON or NMON is provisioned by the equipment manager to the MPI via the EMF function.
+
+#### 7.1.1.1 Signal processing in the receiver (Signal flow from a to b in Figure 1)
+
+##### a) *Recovery of MPEG-2 packets*
+
+This function recovers the data bytes and their clock from the received signals.
+
+The function also realizes the sync acquisition of the MPEG-2-TS packets, or optionally of the RS-coded MPEG-2-TS packets, on the basis of the method proposed in subclause 3.2 of ETR 290 [18] (five consecutive correct sync bytes for sync acquisition; two or more consecutive corrupted sync bytes should indicate sync loss).
+
+The function passes the recovered MPEG-2-TS packets or the RS-coded MPEG-2-TS packets and the timing information to point b of Figure 1.
+
+This function shall also detect the absence of valid input signals and the absence of clock.
+
+If any of these defects is detected, a Loss of Signal (LOS) is reported at the EMF if the function is in MON state.
+
+If a loss of synchronization of MPEG-2-TS packets or RS-coded MPEG-2-TS packets is detected according to the procedure proposed in subclause 3.2 of ETR 290 [18] (i.e. two or more consecutive corrupted sync bytes are found), a TS\_sync\_loss error on the input signal (TSLE\_I) is reported at the EMF if the function is in MON state.
+
+##### b) *Performance monitoring*
+
+Errored blocks are detected on the basis of the transport\_error\_indicator present in the headers of the incoming MPEG-2-TS packets, in accordance to ETR 290 [18]. One-second filters perform a simple integration of errored blocks by counting during a one-second interval. The function generates the following performance parameters concerning the input MPEG-2-TS signal received on the interface:
+
+- N\_EBC\_I: every second, the number of errored blocks within that second is counted as the Near-End Error Block Count (N\_EBC\_I);
+- N\_DS\_I: every second with at least one occurrence of TSLE\_I or LOS (corresponding to the notion of Severely Disturbed Period introduced in ETR 290 [18]) shall be indicated as Near-End Defect Second (N\_DS\_I).
+
+If the function is in the MON state, at the end of each one second interval, the contents of the N\_EBC\_I counter and of the N\_DS\_I indicator are reported to the EMF. Furthermore, on request of the EMF block, the MPI block evaluates and reports to the EMF the number of received MPEG-2-TS packets within one second (BC\_I).
+
+#### 7.1.1.2 Signal processing in the transmitter (Signal flow from b to a in Figure 1)
+
+##### a) *Generation of the signals at the MPEG physical interface*
+
+This function receives the data bytes provided at the reference point b of Figure 1 by the MAA block and recovers the synchronization of the MPEG-2-TS packets or optionally of the RS-coded MPEG-2-TS packets on the basis of the method proposed in subclause 3.2 of ETR 290 [18] (five consecutive correct sync bytes for sync acquisition; two or more consecutive corrupted sync bytes should indicate sync loss). Optionally, the type of packet (MPEG-2-TS packet or RS-coded MPEG-2-TS packet) is determined on the basis of the periodicity of the synchronization bytes. After the recovery of the packet structure and only in the case of a MPEG-2-TS packet structure, the function shall use the status indicator of the AAL-SAP (available at reference point b) to set the transport\_error\_indicator of the MPEG-2-TS packets.
+
+The function generates the appropriate signals at the output interface.
+
+If a loss of synchronization of MPEG-2-TS packets or optionally of the RS-coded MPEG-2-TS packets is detected according to the procedure proposed in the subclause 3.2 of ETR 290 [18] (i.e. two or more consecutive corrupted sync bytes are found), a TS\_sync\_loss error for the output signal (TSLE\_O) is reported at the EMF if the function is in MON state.
+
+##### b) *Performance monitoring*
+
+Errored blocks are detected on the basis of the transport\_error\_indicator present in the headers of the MPEG-2-TS packets regenerated in the MPI block, in accordance to ETR 290 [18]. One-second filters perform a simple integration of errored blocks by counting during a one-second interval. The function generates the following performance parameters concerning the output MPEG-2-TS signal delivered by the interface:
+
+- N\_EBC\_O: every second, the number of errored blocks within that second is counted as the Near-End Error Block Count (N\_EBC\_O);
+- N\_DS\_O: every second with at least one occurrence of TSLE\_O or LOS (corresponding to the notion of Severely Disturbed Period introduced in ETR 290 [18]) shall be indicated as Near-End Defect Second (N\_DS\_O).
+
+If the function is in the MON state, at the end of each one-second interval, the contents of the N\_EBC\_O counter and of the N\_DS\_O indicator are reported to the EMF. Furthermore, on request of the EMF block, the MPI block evaluates and reports at the EMF the number of received MPEG-2-TS packets within one second (BC\_O).
+
+### 7.1.2 Additional characteristics for System A (European system)
+
+The physical characteristics of the interface shall follow the specification given in EN 50083-9 [19]. Three different types of interfaces are specified. They are called:
+
+- Synchronous Parallel Interface (SPI);
+- Synchronous Serial Interface (SSI);
+- Asynchronous Serial Interface (ASI).
+
+The interfaces use the MPEG-2-TS packet structure (188 bytes) or the RS-coded packet structure (204 bytes). For the Synchronous Parallel Interface and the Synchronous Serial Interface, the 204-byte format may be used either for the transmission of 188-byte MPEG-2-TS packets with 16 dummy bytes, or for the transmission of 204-byte RS-coded packets.
+
+#### 7.1.2.1 Signal processing in the receiver
+
+Data bytes and their clock are recovered from the received signals as specified below:
+
+- For the Synchronous Parallel Interface, this recovery is based on the use of the Data (0-7), the DVALID, PSYNC and clock signals, as specified in subclause 4.1 of EN 50083-9 [19].
+- For the SSI interface, the processing includes optical receiver (for fibre-optic-based link) or coupling/impedance matching (for coaxial cable), amplifier/buffer, clock recovery and bi-phase decoding, serial to parallel conversion, as specified in Annex A of EN 50083-9 [19].
+- For the ASI interface, the processing includes optical receiver (for fibre-optic-based link) or coupling/impedance matching (for coaxial cable), amplifier/buffer, clock/data recovery and serial-to-parallel conversion, FC comma deletion, 8B/10B decoding, as specified in Annex B of EN 50083-9 [19]. In the next step, the recovery of the transport stream clock is performed (see Annex E of EN 50083-9 [19]: implementation guidelines and deriving clocks from the MPEG-2 packets for the ASI).
+
+The packet size (188 bytes or 204 bytes) may be recovered from the received signals, on the basis of the PSYNC signal for the parallel interface, or on the basis of periodicity of the synchronization bytes for the serial interfaces. For the case of the Synchronous Parallel Interface and of the SSI interface, the decision between 204-byte format for MPEG-2-TS packets with 16 dummy bytes and 204-byte format for RS-coded MPEG-2-TS packets can be made:
+
+- on the basis of the DVALID signal for the Synchronous Parallel Interface: a high level during the last 16 bytes indicates RS redundancy bytes (subclause 4.1.1 of EN 50083-9 [19]); or
+- on the basis of the value of received synchronization bytes for the SSI interface: 47H indicates 204-byte format with 16 dummy bytes and B8H indicates 204-byte RS-coded (subclause A.3.2 of EN 50083-9 [19]).
+
+For the case of the ASI Interface, the following decision is taken: If the packet size is 204 bytes, it is an RS-coded MPEG-2-TS packet.
+
+Dummy bytes are discarded by the MPI function in the case of the 204-byte format with 16 dummy bytes.
+
+The function shall meet the electrical/optical characteristics, return loss and jitter requirements specified in EN 50083-9 [19].
+
+A Loss of Signal (LOS) is reported at the EMF if the function is in MON state if any of the following defects is detected: absence of valid input signals, absence of clock or a DVALID signal constantly low in the case of the Synchronous Parallel Interface.
+
+#### 7.1.2.2 Signal processing in the transmitter
+
+The function determines the transmission format to be used at the output interface according to Table 1.
+
+**Table 1/J.131 – Transmission format of the output interface**
+
+| Type of packets received by the MPI block | Transmission format on the physical interface | |
+|-------------------------------------------|-----------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
+| | SPI, SSI: | 188-byte packets or 204-byte packets with 16 dummy bytes, according to the parameter FORMAT provided by the EMF block |
+| MPEG-2-TS packets (188 bytes) | ASI: | 188-byte packets |
+| RS-coded MPEG-2-TS packets (204 bytes) | SPI, SSI, ASI: | 204-byte packets |
+
+The function generates the appropriate signals at the output interface, according to the type of physical interface and to the transmission format selected:
+
+- For the Synchronous Parallel Interface, the function generates the Data (0-7), the DVALID, PSYNC and clock signals, as specified in subclause 4.1 of EN 50083-9 [19].
+- For the SSI interface, the processing includes parallel-to-serial conversion, bi-phase coding, amplifier/buffer and optical emitter (for fibre-optic-based link) or coupling/impedance matching (for coaxial cable), as specified in Annex A of EN 50083-9 [19].
+- For the ASI interface, the processing includes 8B/10B coding, FC comma symbols insertion, parallel-to-serial conversion, amplifier buffer and optical emitter (for fibre-optic-based link) or coupling/impedance matching (for coaxial cable), as specified in Annex B of EN 50083-9 [19].
+
+The function shall meet the electrical/optical characteristics, return loss and jitter requirements specified in EN 50083-9 [19].
+
+## 7.2 MPEG/ATM Adaptation (MAA)
+
+The MPEG/ATM Adaptation (MAA) utilizes the AAL type 1. The AAL type 1 is described in Recommendation I.363.1 [9] where its functions are described for all corresponding applications. Specifically, the utilization of the AAL1 for the transport of MPEG-2 constant bit rate television signals is described in clause 7/J.82 [12]. As a result, the description of the MPEG/ATM Adaptation is based on clause 7/J.82 [12]. The structure of AAL type 1 is given in Figure 3. The SAR-PDU (Segmentation and Reassembly – Protocol Data Unit) payload of 47 octets is headed by an SAR-PDU header of 8 bits. For the transmission, the payload data is protected by an FEC scheme.
+
+
+
+SAR-PDU header
+
+| | | | | |
+|-------|--------|--------|-------|-----------------|
+| CSI | SC | CRC-3 | EP | SAR-PDU payload |
+| 1 bit | 3 bits | 3 bits | 1 bit | 47 octets |
+
+T0905650-97/d02
+
+← SN field
+—X—
+SNP field →
+
+Diagram showing the structure of AAL type 1. It consists of an 8-bit SAR-PDU header (CSI: 1 bit, SC: 3 bits, CRC-3: 3 bits, EP: 1 bit) followed by a 47-octet SAR-PDU payload. Below the header, a diagram shows the SN field and SNP field with arrows and an 'X' mark between them.
+
+**Figure 3/J.131 – Structure of AAL type 1**
+
+To prevent alarms being raised and failures being reported during set-up procedures, or if the input port is not in use (in the case of a multi-port equipment), the MAA function shall have the ability to enable or disable fault case declaration. The MAA shall either be monitored (MON) or not monitored (NMON). The state MON or NMON is provisioned by the equipment manager to the MAA via the EMF function.
+
+### 7.2.1 Signal processing in the transmitter (Signal flow from b to c in Figure 1)
+
+The MAA accepts signals from the MPI and conveys them to the VPE by using a transmitting AAL1. From the protocol stack point of view, signals are transported from the AAL-SAP (AAL-Service Access Point) to the ATM-SAP.
+
+Functions to be performed are those of the AAL1-CS (Convergence Sublayer) and of the AAL1-SAR (Segmentation and Reassembly). The results of these functions are used to set the appropriate fields of the SAR-PDU header. The SAR Sublayer accepts a 47-octet block of data from the CS layer and prepends a one-octet SAR-PDU header.
+
+#### a) *Handling of user information (CS function)*
+
+In compliance with 7.1/J.82 [12], the length of the AAL-SDU (Service Data Unit) is one octet.
+
+#### b) *Handling of lost and misinserted cells (SC field) (CS function)*
+
+In the transmitting CS this function is related to the Sequence Count (SC) processing. After processing, the 3-bit sequence count value is passed to the transmitting SAR in order to be inserted in the SC field of the SAR-PDU header (see 7.3/J.82 [12]).
+
+#### c) *Handling of the timing relationship (CS function)*
+
+As it is stated in 7.4/J.82 [12], the adaptive clock method shall be used. In this method, no function is to be performed in the transmitting CS.
+
+#### d) *Forward error correction for SAR-PDU payload (CS function)*
+
+This function is performed by the method described in detail in 2.5.2.4.2/I.363.1 [9]. As stated in 7.5/J.82 [12], this method shall be used.
+
+Basically the method combines octet interleaving (the size of the interleaver is $128 \times 47$ octets), and FEC using RS (124, 128) codes.
+
+In the transmitting CS, 4 octets of Reed Solomon code are appended to 124 successive octets of incoming data from the AAL-SAP. The resulting 128-octet long blocks are then forwarded to the octet interleaver. See Figure 4 for the format of the interleaver matrix.
+
+
+
+The diagram illustrates the structure and format of the interleaver matrix. It consists of a table with 124 columns of 'Data' and 4 columns of 'FEC'. The rows are numbered 1, 2, ..., 47. Above the table, two arrows indicate the 'Writing order' (top arrow, left to right) and 'Reading order' (bottom arrow, right to left). The 'Data' section is labeled '124 octets' and the 'FEC' section is labeled '4 octets'. The text 'T0905660-97/d03' is located at the bottom right of the diagram.
+
+| | 124 octets | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4 octets | | | |
+|-----|------------|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|----------|--|--|--|
+| 1 | Data | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FEC | | | |
+| 2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+| ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+| 47 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+
+Diagram showing the structure and format of the interleaver matrix. It includes a table with 124 octets of Data and 4 octets of FEC, with arrows indicating the writing and reading orders.
+
+Figure 4/J.131 – Structure and format of the interleaver matrix
+
+The octet interleaver is organized as a matrix of 128 columns and 47 rows. In the transmitting CS, the interleaver is operated as follows: at the input, incoming 128-octet long blocks are stored row by row (one block corresponding to one row); at the output, octets are read out column by column. The matrix has $128 \times 47 = 6016$ octets, corresponding to 128 SAR-PDU payloads. These 128 SAR-PDU payloads constitute one CS-PDU.
+
+When MPEG-2-TS packets of 188 octets are transmitted by the MPI, then the interleaver contains exactly 31 MPEG-2-TS packets. In the case of the option in which RS-coded MPEG-2-TS packets of 204 octets are transmitted, then the number of RS-coded MPEG-2-TS packets contained in the interleaver is not an integer number. This has no impact on the processing.
+
+Columns from the interleaver are then passed to the SAR where a SAR-PDU header is put in front of each of them.
+
+#### e) *Synchronization of the CS-PDU (CS function)*
+
+The CSI bit is used to synchronize the interleaving matrix, i.e. the CS-PDU. Following 7.5/J.82 [12], the CSI bit is set to "1" for the first SAR-PDU payload of the CS-PDU.
+
+#### f) *Protection of the sequence number field (SAR function)*
+
+The first four bits of every SAR-PDU header form the Sequence Number (SN) field. This SN field is protected by a 3-bit CRC code following the calculation described in 2.4.2.2/I.363.1 [9]. The result of this calculation, the remainder of the division (modulo 2) by the generator polynomial $x^3 + x + 1$ of the product $x^3$ multiplied by the content of the SN field, is written into the CRC field.
+
+#### g) *Protection of the SAR-PDU header (SAR function)*
+
+The first seven bits of each SAR-PDU header are protected by an even parity check bit that is written into bit EP of the actual SAR-PDU header.
+
+The AAL1 SAR passes 48-octet blocks to the VPE.
+
+### 7.2.2 Signal processing in the receiver (Signal flow from c to b in Figure 1)
+
+The MAA receives signals from the VPE block and conveys them to the MPI block by using a receiving AAL1. From the protocol stack point of view, signals are transported from the ATM-SAP (ATM-Service Access Point) to the AAL-SAP.
+
+Functions to be performed are those of the AAL1-SAR (Segmentation and Reassembly) and of the AAL1-CS (Convergence Sublayer). The content of the SAR-PDU header is evaluated in order to specify relevant functions of the AAL1-SAR respectively of the AAL1-CS.
+
+The MAA receives from the VPE 48-octet long blocks corresponding to cell payloads. The SAR separates the SAR-PDU header (one octet) and passes the 47-octet block of data to the receiving CS.
+
+#### a) *Evaluation of the SNP field (CRC-3 field and EP bit) (SAR function)*
+
+The SAR protocol is described in 2.4.2/I.363.1 [9]. After processing of the SNP field (Sequence Number Protection), the Sequence Count field and the CSI bit are passed to the receiving CS together with the SN check status indicator (valid or invalid). The use of the SN check status together with the considered processing is described in detail in 2.4.2.2/I.363.1 and in Table 1/I.363.1 [9].
+
+If the SN check status indicator has been set to invalid, a SNI (Sequence Number Invalid) indication is forwarded to the EMF.
+
+#### b) *Handling of user information (CS function)*
+
+In compliance with 7.1/J.82 [12], the length of the AAL-SDU (Service Data Unit) is one octet and the status parameter is used. As mentioned in Recommendation I.363.1 [9], the status parameter possesses two values: "valid" and "invalid". "Invalid" is used in the case where errors have been detected and have not been corrected [for the use of this parameter, see description under e)].
+
+#### c) *Handling of lost and misinserted cells (CS function)*
+
+Detection of lost and misinserted cell events is performed by using the Sequence Count (SC) value transmitted by the receiving SAR. The CS processing for SC operation is described in detail in 2.5.2.1.2 /I.363.1 [9].
+
+In the receiving AAL1-CS, the processing is as follows: the SC is processed in order to detect cell loss events. In case of a detected cell loss, 47 dummy octets are inserted in the signal flow in order to maintain bit count integrity. Detected misinserted cells are merely discarded.
+
+Lost and Misinserted Cells (LMC) events are transmitted to the EMF.
+
+#### d) *Handling of the timing relationship (CS function)*
+
+The end-to-end synchronization function is performed by the adaptive clock method described in 2.5.2.2.2/I.363.1 [9]. A short description of the method is given in Appendix I. It is pointed out that the adaptive clock method does not need any external clock to be operated.
+
+#### e) *Correction of bit errors and lost cells (CS function)*
+
+In the receiving AAL1-CS, the mechanism in the interleaver is the inverse of that of the transmitting interleaver, i.e. the writing order is vertical and the reading order is horizontal. Information is stored in the receiving interleaver column by column. In the case of insertion of dummy octets, an indication is provided in order to enable the use of the erasure mode of the RS codes. After the whole interleaving matrix has been stored, it is read out block by block to the RS decoder where errors and erasures are corrected.
+
+Correction capabilities are up to 4 cell losses in a group of 128 cells and up to 2 errored octets in a block of 128 octets. It ensures that, under normal transmission conditions, the received MPEG-2-TS flow is quasi error free.
+
+If the RS decoder is unable to correct the errors, then the "status" indicator of the AAL-SAP shall be used (see 7.1/J.82 [12]) in order to signal this error. The indicator is passed to the MPI block and to the EMF.
+
+## 7.3 Virtual Path Entity (VPE)
+
+Among all the functions referenced in Recommendation I.732 [11] for this functional block, only the VP setting is ensured. This function only concerns the signal flow from point c to point d in Figure 1. The ATM cell header that contains the Virtual Path Identifier (VPI) is organized as shown in Figure 5.
+
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | bit / byte |
+|----------------------------------|---|---|-------------------------|----------------------------------|---|-----|---|------------|
+| Generic Flow Control (GFC) | | | | Virtual Path Identifier (VPI) | | | | 1 |
+| Virtual Path Identifier (VPI) | | | | Virtual Channel Identifier (VCI) | | | | 2 |
+| Virtual Channel Identifier (VCI) | | | | | | | | 3 |
+| Virtual Channel Identifier (VCI) | | | Payload Type (PT) Field | | | CLP | | 4 |
+| Header Error Control (HEC) | | | | | | | | 5 |
+
+Figure 5/J.131 – Structure of an ATM cell header
+
+### 7.3.1 Signal processing in the transmitter (Signal flow from c to d in Figure 1)
+
+#### *VP setting*
+
+The VPI value is processed in accordance with the assigned values. As far as no VC-related block is implemented in the Network Adapter, VC setting is also performed in this block to the fixed value 0020h. VPI value 00h is forbidden. Any other value may be used. However, it is suggested the VPI values listed in Table 2 be used:
+
+**Table 2/J.131 – Default values for the setting of the VPI**
+
+| Number of MPEG-2-TS to be simultaneously transported | MPEG-2-TS number | VPI value |
+|------------------------------------------------------|------------------|-----------|
+| 1 | MPEG-2-TS No. 1 | 11h |
+| 2 | MPEG-2-TS No. 1 | 11h |
+| | MPEG-2-TS No. 2 | 12h |
+| 3 | MPEG-2-TS No. 1 | 11h |
+| | MPEG-2-TS No. 2 | 12h |
+| | MPEG-2-TS No. 3 | 13h |
+| 4 | MPEG-2-TS No. 1 | 11h |
+| | MPEG-2-TS No. 2 | 12h |
+| | MPEG-2-TS No. 3 | 13h |
+| | MPEG-2-TS No. 4 | 14h |
+| 5 | MPEG-2-TS No. 1 | 11h |
+| | ... | ... |
+| | MPEG-2-TS No. 4 | 14h |
+| | MPEG-2-TS No. 5 | 15h |
+| 6 | MPEG-2-TS No. 1 | 11h |
+| | ... | ... |
+| | MPEG-2-TS No. 5 | 15h |
+| | MPEG-2-TS No. 6 | 16h |
+| 7 | MPEG-2-TS No. 1 | 11h |
+| | ... | ... |
+| | MPEG-2-TS No. 6 | 16h |
+| | MPEG-2-TS No. 7 | 17h |
+| 8 | MPEG-2-TS No. 1 | 11h |
+| | ... | ... |
+| | MPEG-2-TS No. 7 | 17h |
+| | MPEG-2-TS No. 8 | 18h |
+
+The VPI values used are setable by the EMF. The default values used are in accordance with Table 2 above.
+
+### 7.3.2 Signal processing in the receiver (Signal flow from d to c in Figure 1)
+
+No function of the VPE is implemented in this direction.
+
+## 7.4 Virtual Path Multiplexing Entity (VPME)
+
+This functional block is responsible for the adaptation between an ATM cell structure and a PDH transmission path structure. The partitioning of the VPME into functional blocks as described below is in accordance with Recommendation I.732 [11]. The organization of the ATM cell header whose content is partly set in this functional block is shown in Figure 5.
+
+In order to prevent alarms being raised and failures being reported during path provisioning, the VPME function shall have the ability to enable or disable fault cause declaration. The Virtual Path Multiplexing Entity shall be either monitored (MON) or not monitored (NMON). The state MON or NMON is provisioned by the equipment manager to the VPME via the EMF function. The state of the VPME and the associated PPT and PPI shall be identical.
+
+### 7.4.1 Signal processing in the transmitter (Signal flow from d to e in Figure 1)
+
+#### a) *VP multiplexing*
+
+This function enables individual cell flows to be logically combined into a single cell flow according to the VPI values.
+
+#### b) *Congestion control*
+
+This function is not used in this equipment. The cell loss priority bit CLP shall be set to "0" (corresponding to high cell priority in ATM terminology).
+
+GFC: This function is not used in this equipment. The GFC field shall be set to "0000" (corresponding to uncontrolled equipment in ATM technology).
+
+#### c) *PT field*
+
+This function is not used in this equipment. The three bits of the PT field shall be set to "000".
+
+#### d) *Cell rate decoupling*
+
+Idle cells are inserted into the cell stream in order to match the rate of the PDH transmission path payload (i.e. the useful rate of the PDH path) in accordance with Recommendation I.432 [10]. The format of the idle cell shall be in accordance with Recommendation I.432 [10]. It is described in Figure 6.
+
+
+
+| | | | |
+|---------|-----|-------------|-----------------|
+| Octet 1 | 00h | | ATM cell header |
+| Octet 2 | 00h | | |
+| Octet 3 | 00h | | |
+| Octet 4 | 01h | | |
+| Octet 5 | 52h | (Valid HEC) | |
+
+
+
+| | | | |
+|----------------|-----|--|-------------------------------|
+| Octets 6 to 53 | 6Ah | | ATM cell information
field |
+|----------------|-----|--|-------------------------------|
+
+Diagram of Idle cell format showing ATM cell header and ATM cell information field.
+
+**Figure 6/J.131 – Idle cell format**
+
+#### e) *HEC processing*
+
+The HEC value for each cell is calculated and inserted into the HEC field. The method of HEC value calculation shall be in accordance with Recommendation I.432 [10]. Basically, the HEC field is the remainder of the division (modulo 2) by the generator polynomial $x^8 + x^2 + x + 1$ of the product $x^8$ multiplied by the content of the header excluding the HEC field, to which is added the value 55h.
+
+#### f) *Scrambling*
+
+The information field of each cell is scrambled with a self-synchronizing scrambler $x^{43} + 1$ . The operation of the scrambler shall be in accordance with Recommendation I.432 [10].
+
+#### g) *Cell stream mapping*
+
+The cell stream shall be inserted into PDH transmission path payload which shall be in accordance with Recommendation G.804 [4]. The mapping into 44 736 kbit/s shall be HEC-based as described in 7.3/G.804 [4]. The cell boundaries are aligned with the transmission path octet boundaries if an octet structure is considered.
+
+### 7.4.2 Signal processing in the receiver (Signal flow from e to d in Figure 1)
+
+#### a) *Cell stream demapping*
+
+The cell stream shall be extracted from PDH transmission path payload which shall be in accordance with Recommendation G.804 [4]. The demapping of cells out of the 44 736 kbit/s data stream has to take into account the HEC-based mapping scheme mentioned in 7.4.1 g) above. The cell boundaries are aligned with the transmission path octet boundaries if an octet structure is considered.
+
+#### b) *Cell delineation*
+
+Cell delineation is performed on the continuous cell stream extract from the transmission path frames. The cell delineation algorithm shall be in accordance with Recommendation I.432 [10]. Basically, it is based on the correlation between the header bits to be protected (32 bits) and the relevant control bits (8 bits) introduced in the header by the HEC. Cell delineation is deemed to be lost causing a LCD defect after 7 consecutive incorrect HECs. Cell delineation is deemed to be recovered after 6 consecutive correct HECs. If the function is in the MON state, the LCD defect is reported to the EMF.
+
+#### c) *Descrambling*
+
+The information field of each cell is descrambled with a self-synchronizing scrambler polynomial $x^{43} + 1$ . The operation of the descrambler shall be in accordance with Recommendation G.804 [4].
+
+#### d) *HEC processing*
+
+HEC verification and correction are based on the methods described in Recommendation I.432 [10]. The HEC correction mode may be activated/deactivated by the EMF. In case of cells determined to have an invalid and uncorrectable HEC pattern, two options are possible. Either the invalid cells may be discarded (in accordance with Recommendation I.432 [10]) or the invalid cells may not be discarded (not in accordance with Recommendation I.432 [10]). The wanted option is selected by the EMF. Further information is given in Appendix II.
+
+#### e) *Cell rate decoupling*
+
+Idle cells are extracted from the cell stream. They are identified by the standardized pattern for the cell header.
+
+#### f) *PT identification*
+
+This function is not implemented. The corresponding bits are ignored.
+
+#### g) *Cell header verification*
+
+The receiving Network Adapter shall verify that the first four octets of the ATM cell header are recognizable as being a valid header pattern. Invalid header pattern is (p = any value) given in Figure 7.
+
+| | | | | |
+|-------------|------------------|----------------------------|-----------|----------|
+| GFC
pppp | VPI
0000 0000 | VCI
0000 0000 0000 0000 | PT
ppp | CLP
1 |
+|-------------|------------------|----------------------------|-----------|----------|
+
+Figure 7/J.131 – Invalid header pattern
+
+Idle cells are discarded.
+
+#### h) *GFC check*
+
+This function is not implemented. The corresponding bits of the GFC field are ignored.
+
+#### i) *VPI verification*
+
+The receiving Network Adapter shall verify that the VPI of the received cell is valid. If the VPI is determined to be invalid (i.e. out-of-range or unassigned – see 7.3.1, item "VP setting"), the cell shall be discarded.
+
+#### j) *Congestion control*
+
+This function is not implemented. The corresponding bit CLP is ignored.
+
+#### h) *VP demultiplexing*
+
+This function enables the flow of cells which have to be logically separated into individual data flows according to their VP values.
+
+## 7.5 PDH Path Layer Trail Termination (Pqs\_TT)
+
+Based on the hierarchical bit rates of 1544 kbit/s, 2048 kbit/s, 6312 kbit/s, 34 368 kbit/s, 44 736 kbit/s and 139 264 kbit/s, the references to Recommendations and information for the PDH path layer trail termination are given in Table 3.
+
+**Table 3/J.131 – References for the Pqs\_TT functions**
+
+| Bit rate | Function name | Frame structure Recommendation | Atomic functions |
+|-----------------|----------------------|---------------------------------------|-------------------------|
+| 2 Mbit/s | P12s_TT | G.704 | See [17] |
+| 34 Mbit/s | P31s_TT | G.832 | See [17] |
+| 140 Mbit/s | P4s_TT | G.832 | See [17] |
+| 1.5 Mbit/s | P11s_TT | G.704 | For further study |
+| 6 Mbit/s | P21s_TT | G.704 | For further study |
+| 45 Mbit/s | P32s_TT | G.704 | For further study |
+
+## 7.6 PDH Physical Section Layer to PDH Path Layer Adaptation (Eq/Pqs\_A)
+
+Based on the hierarchical bit rates of 1544 kbit/s, 2048 kbit/s, 6312 kbit/s, 34 368 kbit/s, 44 736 kbit/s and 139 264 kbit/s, the references to Recommendations and information for the PDH physical section layer are given in Table 4.
+
+**Table 4/J.131 – References for the Eq/Pqs\_A functions**
+
+| Bit rate | Function name | Frame structure Recommendation | Atomic functions |
+|-----------------|----------------------|---------------------------------------|-------------------------|
+| 2 Mbit/s | E12/P12s_A | G.704 | Annex D/G.783 |
+| 34 Mbit/s | E31/P31s_A | G.832 | See [16] |
+| 140 Mbit/s | E4/P4s_A | G.832 | See [16] |
+| 1.5 Mbit/s | E11/P11s_A | G.704 | Annex D/G.783 |
+| 6 Mbit/s | E21/P21s_A | G.704 | For further study |
+| 45 Mbit/s | E32/P32s_A | G.704 | For further study |
+
+## 7.7 PDH Physical Section Layer Trail Termination (Eq\_TT)
+
+Based on the hierarchical bit rates of 1544 kbit/s, 2048 kbit/s, 6312 kbit/s, 34 368 kbit/s, 44 736 kbit/s and 139 264 kbit/s, the references to Recommendations and information for the PDH physical section trail termination are given in Table 5.
+
+**Table 5/J.131 – References for the Eq\_TT functions**
+
+| Bit rate | Function name | Physical characteristics Recommendation | Atomic functions |
+|--------------------------------------------------|----------------------|------------------------------------------------|-------------------------|
+| 2 Mbit/s | E12_TT | G.703 | Annex D/G.783 |
+| 34 Mbit/s | E31_TT | G.703 | Annex D/G.783 |
+| 140 Mbit/s | E4_TT | G.703 | Annex D/G.783 |
+| 1.5 Mbit/s | E11_TT | G.703 | Annex D/G.783 |
+| 6 Mbit/s | E21_TT | G.703 | Annex D/G.783 |
+| 45 Mbit/s | E32_TT | G.703 (Note) | Annex D/G.783 |
+| NOTE – Further information is available in [20]. | | | |
+
+## 7.8 Equipment Management Function (EMF)
+
+### 7.8.1 Overview of the EMF
+
+The EMF provides the means through which the Network Element (NE) is managed by an external manager. The EMF interacts with the other basic functions by exchanging information across the MP (Management Points) reference points. The EMF contains a number of filters that provide a data reduction mechanism on the information received across the MP reference points.
+
+The interface between the processing in the basic functions and the equipment management function is indicated by the dashed line in Figure 8 and represents the MP reference points. For performance monitoring, the signals passed over this interface are the 1 second Near (Far)-end Errored Block Counts (N\_EBC, F\_EBC) and the 1 second Near (Far)-end Defect Seconds (N\_DS, F\_DS). For fault management, the signals passed over this interface are the defects.
+
+
+
+Figure 8/J.131 – Supervision process within equipment management function. The diagram shows the flow of information from basic functions through MP reference points into the equipment management function. On the left, 'Supervision processes within basic functions' include 'Anomaly and Defect processing' which sends 'anomalies defects' to 'Perf. Mon. Primitives processing' and 'defects' to 'Defect correlation'. These then pass through 'MP reference points' (labeled '1 second info: N\_EBC/N\_DS F\_EBC/F\_DS') into the EMF. Inside the EMF, 'Perf. Mon. Event processing' receives this info and sends it to 'Perf. Mon. Data Coll. and History Man.', which outputs '15 min/24 h info' (N\_ES\_15 min, N\_SES\_15 min, N\_BBE\_15 min, N\_UAS\_15 min, N\_ES\_24 h etc.), 'TR/RTR', and 'alarms'. 'Defect correlation' sends 'fault causes' through the MP reference points to 'Fault cause persistency', which sends 'failures' to 'Severity, logging and reporting', which outputs 'alarms' and 'TMN'. A 'filters' block is shown at the bottom right of the EMF section.
+
+Figure 8/J.131 – Supervision process within equipment management function
+
+The filtering functions provide a data reduction mechanism on the defect and performance monitoring primitives information presented at the MP reference points. Two types of techniques can be distinguished:
+
+- The fault cause persistency filter will provide a persistency check on the fault causes that are reported across the MP reference points. In addition to the transmission failures listed in Table 6, hardware failures with signal transfer interruption are also reported at the input of the fault cause filter for further processing.
+- The performance monitoring event processing processes the information available from the one-second window and reported across the MP reference points in order to derive errored seconds and severely errored seconds, and background block errors (see Recommendation G.826 [5]).
+
+#### Time-stamping
+
+Events, performance reports and registers containing event counts that require time-stamping shall be time stamped with a resolution of one second. The time shall be as indicated by the local real time clock of the NE. The required accuracy and precise details of the time-stamping of events/reports relative to UTC is the subject of further study (a maximum value in the range 1 to 10 seconds is being considered). The start of 15-minute and 24-hour counts should be accurate to within $\pm 10$ seconds with respect to the NE clock.
+
+**Table 6/J.131 – Basic function associated failure list**
+
+| Basic functions | Failure |
+|-------------------------|---------------------------------------------------------------|
+| Pqs_TT, Eq_TT, Eq/Pqs_A | See G.783 [3] or ETS 300 417-2-1 [16] or ETS 300 417-5-1 [17] |
+| VPME | LCD |
+| VPE | |
+| MAA | STATUS
SNI
LMC |
+| MPI | LOS
TSLE_I
TSLE_O |
+
+### 7.8.2 Configuration
+
+The information flow over the MP reference points that arises from configuration and provisioning data is given in Table 7. The information listed under "Set" refers to configuration and provisioning data that is passed from the EMF to the other basic functions. The information listed under "Get" refers to status reports made in response to a request from the EMF for such information.
+
+**Table 7/J.131 – Command, configuration information flow over MP**
+
+| | Get | Set |
+|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Pqs_TT, Eq_TT, Eq/Pqs_A | See G.783 [3] or ETS 300 417-2-1 [16] or ETS 300 417-5-1 [17] | See G.783 [3] or ETS 300 417-2-1 [16] or ETS 300 417-5-1 [17] |
+| VPME | Cell Discarded: Active or Not_Active
HEC correction mode: Active or Not_Active
VPI value | Supervision State: MON or NMON (Note 1)
Cell Discarded: Active or Not_Active
HEC correction mode: Active or Not_Active |
+| VPE | | Supervision State: MON or NMON (Note 2)
VPI value |
+| MAA | | Supervision State: MON or NMON (Note 2) |
+| MPI | Supervision State: MON or NMON
Number of packets per second
Option for system A (European system):
FORMAT: 188 or 204 bytes packet with
16 dummy bytes (Note 3) | Supervision State: MON or NMON (Note 2)
Option for system A (European system):
FORMAT: 188 or 204 bytes packet with
16 dummy bytes (Note 3) |
+
+NOTE 1 – Eq\_TT and associated Pqs\_TT and VPME are always in the same supervision state.
+NOTE 2 – For a given MPEG interface, MPI and associated MAA and VPE are in the same state.
+NOTE 3 – This status is only relevant for the selection of the transmission format (188 bytes or 204 with 16 dummy bytes) to be used at an output SSI or SPI interface for the delivery of MPEG-2-TS packets.
+
+### 7.8.3 Fault (maintenance) management
+
+#### 7.8.3.1 Fault cause persistency filter
+
+The equipment management function within the network element performs a persistency check on the fault causes before it declares a fault cause a failure. A transmission failure shall be declared if the fault cause persists continuously for $2.5 \pm 0.5$ seconds. The failure shall be cleared if the fault cause is absent continuously for $10 \pm 0.5$ seconds. Transmission failures associated with the basic functions are listed in Table 6.
+
+##### 7.8.3.1.1 Alarm history management
+
+Alarm history management is concerned with the recording of alarms. Historical data shall be stored in registers in the NE. Each register contains all the parameters of an alarm message. Registers shall be readable on demand or periodically. The operator can define the operating mode of the registers as wrapping or stop when full. The operator may also flush the registers or stop recording at any time.
+
+NOTE – Wrapping is the deletion of the earliest record to allow a new record when a register is full. Flushing is the deletion of all the records.
+
+### 7.8.4 Performance management
+
+Performance management consists of performance monitoring event processes, data collection and history processes along with thresholding and reporting functions. Performance monitoring consists of the first three items.
+
+Within performance monitoring, the concepts of "near-end" and "far-end" are used to refer to performance monitoring information associated with the two directions of transport in the case of a bidirectional transmission path. For a trail from A to Z:
+
+- at node A the near-end information represents the performance of the unidirectional trail from Z to A, while the far-end information represents the performance of the unidirectional trail from A to Z;
+- at node Z the near-end information represents the performance of the unidirectional trail from A to Z, while the far-end information represents the performance of the unidirectional trail from Z to A.
+
+At either end of the trail (A or Z), the combination of near-end and far-end information presents the performance of the two directions of the trail.
+
+#### 7.8.4.1 Performance monitoring event process
+
+The performance monitoring event processing processes the information available from the performance monitoring primitives processing (basic functions) giving the performance primitives (EBC and DS) to derive the performance events (errored seconds, severely errored seconds and background block errors).
+
+*Near-end Performance Monitoring Event (NPME) function*
+
+Figure 9 presents the processes and their interconnect within the Near-end Performance Monitoring Event (NPME) function. This function processes information from PPT and MPI functional blocks.
+
+
+
+T0905680-97/d05
+
+Diagram of the Near-end Performance Monitoring Event (NPME) function. It shows three input signals (NDS, NEBC, and an unlabeled signal) entering a central block labeled NPME. Inside NPME, these inputs are processed by three sub-blocks: NBBE, NSES, and NES. The NBBE block outputs NBBE(t). The NSES block outputs NSES(t) and has an arrow pointing to the NBBE block. The NES block outputs NES(t). The outputs NBBE(t), NSES(t), and NES(t) exit the NPME block to the right. A small text 'T0905680-97/d05' is at the bottom right of the diagram.
+
+Figure 9/J.131 – Near-end Performance Monitoring Event (NPME) function
+
+A Near-end Errored Second (NES) shall be generated if the defect second (NDS) is set or if the Near-end Errored Block Count (NEBC) is greater or equal to 1: $NES(t) \leftarrow (NDS = true) \text{ or } (NEBC \geq 1)$ .
+
+A Near-end Severely Errored Second (NSES) shall be generated if the Near-end Defect Second (NDS) is set or if the Near-end Errored Block Count (NEBC) is greater or equal to 30% of the blocks in a one-second period: $NSES(t) \leftarrow (NDS = true) \text{ or } (NEBC \geq "30\% \text{ of blocks in a one-second period"}).$
+
+The number of Near-end Background Block Errors (NBBE) in a one-second period shall be equal to the Near-end Errored Block Count (NEBC) if the second is not a Near-end Severely Errored Second (NSES). Otherwise (NSES is set), NBBE shall be zero. $NBBE(t) \leftarrow NEBC (NSES = false) \text{ or } 0 (NSES = true).$
+
+##### *Far-end Performance Monitoring Event (FPME) function*
+
+Figure 10 presents the processes and their interconnect within the Far-end Performance Monitoring Event (FPME) function. This function processes information from PPT functional blocks in case of bidirectional transmission.
+
+
+
+The diagram shows the Far-end Performance Monitoring Event (FPME) function. On the left, three input signals are shown: NDS (Near-end Defect Second), FDS (Far-end Defect Second), and FEBC (Far-end Errored Block Count). These inputs are connected to three processing blocks: FBBE (Far-end Background Block Errors), FSES (Far-end Severely Errored Second), and FES (Far-end Errored Second). The FBBE block receives inputs from NDS, FDS, and FEBC. The FSES block receives inputs from NDS, FDS, and FEBC. The FES block receives inputs from NDS, FDS, and FEBC. The FBBE, FSES, and FES blocks are grouped within a larger box labeled FPME. The FBBE block outputs FBBE(t), the FSES block outputs FSES(t), and the FES block outputs FES(t). A small text label 'T0905690-97/d06' is located at the bottom right of the diagram.
+
+Block diagram of the Far-end Performance Monitoring Event (FPME) function. Inputs NDS, FDS, and FEBC are shown on the left. NDS connects to FBBE, FSES, and FES. FDS connects to FBBE, FSES, and FES. FEBC connects to FBBE, FSES, and FES. FBBE, FSES, and FES are inside a box labeled FPME. FBBE outputs FBBE(t), FSES outputs FSES(t), and FES outputs FES(t).
+
+**Figure 10/J.131 – Far-end Performance Monitoring Event (FPME) function**
+
+A Far-end Errored Second (FES) shall be generated if the Far-end Defect Second (FDS) is set or if the Far-end Errored Block Count (FEBC) is greater or equal to 1, and if that second is not a Near-end Defect Second (NDS): $FES(t) \leftarrow (NDS = false) \text{ and } [(FDS = true) \text{ or } (FEBC \geq 1)].$
+
+A Far-end Severely Errored Second (FSES) shall be generated if the Far-end Defect Second (FDS) is set or if the Far-end Errored Block Count (FEBC) is greater or equal to 30% of the blocks in a one-second period, and that second is not a Near-end Defect Second (NDS): $FSES(t) \leftarrow (NDS = false) \text{ and } [(FDS = true) \text{ or } (FEBC \geq "30\% \text{ of blocks in a one second period"})].$
+
+The number of Far-end Background Block Errors (FBBE) in a one-second period shall be equal to the Far-end Errored Block Count (FEBC) if the second is not a Far-end Severely Errored Second (FSES), and if that second is not a Near-end Defect Second (NDS). Otherwise, FBBE shall be zero:
+
+$$FBBE(t) \leftarrow FEBC (FSES = false \text{ and } NDS = false) \text{ or } 0 (FSES = true \text{ or } NDS = true).$$
+
+#### 7.8.4.2 Performance data collection
+
+Performance data collection refers to the event counting associated with each of the performance events BBE, ES, SES as defined in Recommendation G.826 [5], and any additional performance parameter defined in this ETS. The collection as specified in Recommendation M.2120 [14] is based on information for each direction of transport independently. This type is further referred to as performance data collection for maintenance purposes. This type of collection counts the
+
+events over fixed time periods of 15 minutes and 24 hours. Counting is stopped during unavailable time. These counters operate as follows:
+
+##### **15-minute counter**
+
+The performance events (e.g. SES) are counted in a counter per event. These counters are called the current registers. At the end of the 15-minute period, the contents of the current registers are transferred to the first of the recent registers, with a time-stamp to identify the 15-minute period (including the day), after which the current register shall be reset to zero (see Note). It is an option not to transfer the content of a current register to a recent register if this content is zero.
+
+NOTE – A capability should be provided to insure that, in the absence of reports, the reporting process is functioning properly.
+
+It shall be possible to reset an individual current register to zero by means of an external command.
+
+Any register whose content is suspect shall be flagged, using the "suspect interval flag" provided in Recommendation Q.822 [15]. This flag shall be raised independently for far-end and near-end counts. Examples of conditions for raising this flag are provided in Recommendation Q.822 [15].
+
+##### **24-hour counter**
+
+The performance events (e.g. SES) are counted in a counter per event, independent of the 15-minute counters. These counters are called the current registers. It was agreed that it is up to the NE implementation to update the register counts. It is not required that it shall be done on a second by second basis. At the end of the 24-hour period, the contents of the current registers are transferred to recent registers, with a time-stamp to identify the 24-hour period, after which the current register shall be reset to zero. It shall be possible to reset an individual current register to zero by means of an external command.
+
+Any register whose content is suspect shall be flagged, using the "suspect interval flag" provided in Recommendation Q.822 [15]. This flag shall be raised independently for far-end and near-end counts. Examples of conditions for raising this flag are provided in Recommendation Q.822 [15].
+
+##### **7.8.4.2.1 Performance data collection during unavailable time**
+
+The onset and exit of unavailable time is defined in Annex A/G.826 [5] and in Recommendation M.2120 [14]. A period of unavailable time begins at the onset of ten consecutive SES. These ten seconds are part of unavailable time. A period of available time begins at the onset of ten consecutive non-SES. These ten seconds are part of available time. Performance monitoring event counting for ES, SES, and BBE shall be inhibited during unavailable time.
+
+#### **7.8.4.3 Availability data collection**
+
+When a period of unavailability occurs, the beginning and ending of this period should be stored in a log in the NE, and as a consequence time-stamped. The NE should be able to store these data for at least 6 periods of unavailability.
+
+#### **7.8.4.4 Performance monitoring history**
+
+Performance history data are necessary to assess the recent performance of transmission systems. Such information can be used to sectionalise faults and to locate the source of intermittent errors. Historical data, in the form of performance monitoring event counts, may be stored in registers in the NE or in mediation devices associated with the NE. For specific applications, for example when only Quality of Service alarms are used, historical data may not be stored. All the history registers shall be time-stamped. The history registers operate as follows (see also Figure 11):
+
+###### **15-minute registers**
+
+The history of the 15-minute monitoring is contained in a stack of 16 registers per monitored event. These registers are called the recent registers. Every 15 minutes, the contents of the current registers are moved to the first of the recent registers. When all 15-minute registers are used, the oldest information will be discarded.
+
+###### 24-hour registers
+
+The history of the 24-hour monitoring is contained in a single register per monitored event. This register is called the recent register. Every 24 hours, the contents of the current registers are moved to the recent register.
+
+NOTE – This implies that all 24-hour data are discarded after 24 hours.
+
+
+
+Diagram of performance monitoring data collection and history for maintenance purposes. It shows a box labeled MAINTREG containing three boxes labeled '15 min/24 h'. Above the MAINTREG box are three labels: BBE (Note), ES (Note), and SES (Note). Arrows point from each of these labels to one of the '15 min/24 h' boxes. Below the MAINTREG box is a box labeled UAT, with an arrow pointing from the UAT box to the label 'UAT cmd'.
+
+NOTE – The determination of (un)available time introduces (functionally) a delay of 10 seconds. This delay should be considered when counting BBE, ES, SES.
+
+**Figure 11/J.131 – Performance monitoring data collection and history for maintenance purposes**
+
+##### 7.8.4.5 Performance data reporting
+
+Performance data stored in the NE may be collected by the operator for analysis without affecting the content of the register.
+
+# Appendix I
+
+## Mechanisms of the adaptive clock method
+
+The adaptive clock method is a general method for source clock frequency recovery. No explicit timing information of the source clock is transported by the network; the method is based on the fact that the amount of transmitted data is an indication of the source frequency, and this information can be used at the receiver to recover the source clock frequency.
+
+The adaptive clock method is implemented at the receiving AAL. The implementation of the method is not standardized. One possible method to measure the amount of data is to use the fill level of the AAL user data buffer. The following is the general description of this method and does not preclude other adaptive clock methods.
+
+The receiver writes the received data into a buffer, and then reads it out using a locally-generated clock. Therefore the fill level of the buffer depends on the source frequency and it is used to control the frequency of the local clock. Operations are the following: the fill level of the buffer is continuously measured and the measure is used to drive the phase-locked loop generating the local clock. The method maintains the fill level of the buffer around its medium position. To avoid buffer underflow or overflow, the fill level is maintained between two limits. When the level in the buffer goes to the lower limit, this means the frequency of the local clock is too high compared to the one of the source
+
+and so it has to be decreased; when the level in the buffer goes to upper limit, the frequency of the local clock is too low compared to the one of the source, and so it has to be increased.
+
+It is pointed out that the compensation of cell delay variation is also performed by the adaptive clock method. However, a cell delay variation is not to be expected if no ATM network is to be crossed.
+
+## Appendix II
+
+### Enabling/disabling the Header Error Control functions
+
+The Header Error Control (HEC) functions of the ATM cells, as described in Recommendation I.432 [10], can correct single errors and detect almost all multiple errors in the header. In an ATM network, when the HEC detects errors that it cannot correct, the whole cell is discarded and its payload is lost for an end-to-end connection.
+
+When a FEC is applied on a link, it can generate error bursts if it fails to correct errors. In presence of error bursts, the single-bit correcting code of the HEC is unable to correct most errors encountered. In an error bursts environment, the probability of discarding cells is proportional to the BER and not to the square of the BER as in a random error environment. Although bursts of errors due to error correction failures have different lengths and rate of occurrence according to the different FEC schemes, this behaviour would apply to all transmission systems using FEC.
+
+Therefore, for a given bit error probability, the discarded cell probability in presence of error bursts is definitely different from the discarded cell probability in presence of randomly distributed errors.
+
+It is then recommended to disable the Header Error Control functions when using the ATM cell format for transporting an MPEG-2-TS over a PDH-network based on transmission systems using FEC (e.g. radio relays, satellites). This measure avoids unwanted and unnecessary degradation of the end-to-end quality.
+
+## Appendix III
+
+## Transmission capacity of the Network Adapter
+
+Transmission capacity of the Network Adapter for MPEG-2-TSs and RS-coded MPEG-2-TSs at specified digital hierarchy bit rates of Recommendation G.702 [1].
+
+| PDH link transmission capacity | Transmission capacity for MPEG-2-TSs and RS-coded MPEG-2-TSs (Note) |
+|-----------------------------------------------------------------------------|---------------------------------------------------------------------|
+| 1544 kbit/s | 1320 kbit/s |
+| 2048 kbit/s | 1649 kbit/s |
+| 6312 kbit/s | 5279 kbit/s |
+| 34 368 kbit/s | 29 140 kbit/s |
+| 44 736 kbit/s | 37 980 kbit/s |
+| 139 264 kbit/s | 118 759 kbit/s |
+| NOTE – Depending on the application, these figures may be slightly reduced. | |
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1318-202410-I_PDF-E/raw.md b/marked/J/T-REC-J.1318-202410-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..d73fbe11fa09c91c56ef3f723a26e8afa5f0f62e
--- /dev/null
+++ b/marked/J/T-REC-J.1318-202410-I_PDF-E/raw.md
@@ -0,0 +1,432 @@
+
+
+# Recommendation**ITU-T J.1318 (10/2024)**
+
+SERIES J: Cable networks and transmission of television, sound programme and other multimedia signals
+
+Cloud-based Services for IP Delivery over integrated broadband cable network
+
+# --- **Requirements of end-to-end network platforms for cloud-based object wave transmission**
+
+
+
+The logo of the International Telecommunication Union (ITU) is located in the bottom right corner. It features a blue globe with white lines representing latitude and longitude, and the letters 'ITU' in a bold, blue, sans-serif font overlaid on the globe.
+
+ITU logo
+
+## ITU-T J-SERIES RECOMMENDATIONS
+
+# Cable networks and transmission of television, sound programme and other multimedia signals
+
+| | |
+|-------------------------------------------------------------------------------------------------|----------------------|
+| GENERAL RECOMMENDATIONS | J.1-J.9 |
+| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 |
+| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 |
+| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 |
+| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 |
+| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 |
+| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 |
+| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 |
+| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 |
+| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 |
+| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.150-J.159 |
+| IPCABLECOM (MGCP-BASED) - PART 1 | J.160-J.179 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.180-J.189 |
+| CABLE MODEMS AND HOME NETWORKING | J.190-J.199 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.200-J.209 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.210-J.229 |
+| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.230-J.239 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.240-J.249 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.250-J.259 |
+| IPCABLECOM (MGCP-BASED) - PART 2 | J.260-J.279 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.280-J.289 |
+| CABLE SET-TOP BOX | J.290-J.299 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.300-J.309 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.340-J.349 |
+| IPCABLECOM2 (SIP-BASED) - PART 1 | J.360-J.379 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.380-J.389 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.440-J.449 |
+| IPCABLECOM2 (SIP-BASED) - PART 2 | J.460-J.479 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.480-J.489 |
+| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.600-J.699 |
+| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.700-J.799 |
+| MULTIMEDIA OVER IP IN CABLE | J.800-J.899 |
+| TRANSMISSION OF 3-D TV SERVICES | J.900-J.999 |
+| CONDITIONAL ACCESS AND PROTECTION | J.1000-J.1099 |
+| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.1100-J.1119 |
+| SMART TV OPERATING SYSTEM | J.1200-J.1209 |
+| IP VIDEO BROADCAST | J.1210-J.1219 |
+| CABLE SET-TOP BOX - PART 2 | J.1290-J.1299 |
+| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.1300-J.1309 |
+| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.1310-J.1319 |
+| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.1400-J.1409 |
+| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T J.1318
+
+## Requirements of end-to-end network platforms for cloud-based object wave transmission
+
+## Summary
+
+Recommendation ITU-T J.1318 specifies the requirements of an end-to-end (E2E) network platform for cloud-based object wave transmission over integrated broadband cable networks. This Recommendation provides an overview of cloud-based object wave transmission along with detailed requirements regarding service functionality, cloud server capability, network capability, and user equipment capability, which are associated with object wave resolutions. Object waves are a type of data used in holography – a highly realistic 3D display technology.
+
+A notable example of the application of cloud-based object wave transmission over integrated broadband cable networks is remote communication, allowing users to feel as if individuals in distant locations are physically present with them. Additional use cases include remote education and health care, where an immersive experience and intuitive operations are enabled by the transmission of accurate depth information through these networks.
+
+## History \*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T J.1318 | 2024-10-29 | 9 | 11.1002/1000/16195 |
+
+## Keywords
+
+Hologram, holography, integrated broadband cable networks, object wave.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2025
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|--------------------------------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Conventions ..... | 2 |
+| 6 Overview ..... | 2 |
+| 7 Requirements ..... | 3 |
+| 7.1 Service and functional requirements ..... | 3 |
+| 7.2 Performance requirements ..... | 3 |
+| Annex A – Reference network structure..... | 6 |
+| Appendix I – Example of capability requirements ..... | 7 |
+| I.1 Example of head-end system capability ..... | 7 |
+| I.2 Example of network bandwidth requirements of cloud-based object wave transmission..... | 7 |
+| I.3 Example of user equipment capability ..... | 7 |
+| Bibliography..... | 9 |
+
+
+
+###### Recommendation ITU-T J.1318
+
+## Requirements of end-to-end network platforms for cloud-based object wave transmission
+
+# 1 Scope
+
+This Recommendation specifies the requirements of end-to-end (E2E) network platforms for cloud-based object wave transmission over integrated broadband cable networks. Object waves, which are a type of data used in holography – a highly realistic 3D display technology – need to be generated and compressed at the cloud server and transmitted to the user equipment. This Recommendation outlines performance requirements, including cloud server capabilities at the head-end, and transmission characteristics, to ensure a high-quality holographic experience over integrated broadband cable networks.
+
+# 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 indicated 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-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 J.1631] Recommendation ITU-T J.1631 (2021), *Functional requirements of E2E network platforms to enhance the delivery of cloud-VR services over integrated broadband cable networks*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 4K video** [b-ITU-T J.482]: A video that supports $3\,840 \times 2\,160$ resolution and ~60p frame frequency.
+
+**3.1.2 HD video** [b-ITU-T J.482]: A video that supports $1\,280 \times 720 / 1\,920 \times 1\,080$ resolutions and ~60p frame frequency.
+
+**3.1.3 hologram** [b-ISO 17901-1]: Interference pattern formed between the wave emitted from the object and its coherent reference wave, which is recorded in the recording material.
+
+**3.1.4 object wave** [b-ISO 17901-1]: Wave emitted from an object and entering the recording material in the course of recording the hologram.
+
+## 3.2 Terms defined in this Recommendation
+
+None.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+E2E End-to-End
+
+| | |
+|-------|--------------------------------------|
+| FFT | Fast Fourier Transform |
+| FLOPS | Floating-point Operations Per Second |
+| HD | High Definition |
+| HMD | Head-Mounted Display |
+| SLM | Spatial Light Modulator |
+| VR | Virtual Reality |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "**is required to**" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**is prohibited from**" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**can optionally**" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+# 6 Overview
+
+In the IMT-2020 era, intuitive and safe stereoscopic video experiences, through holographic communication that realizes remote communication equivalent to real space, are expected. Figure 1 presents three use cases, i.e., work style, education, and health care.
+
+
+
+**Work style**
+
+Remote collaboration on design/discussion
+
+Remote communication using 3D images that make you feel like you are next to someone
+
+**Education**
+
+Immersive e-learning
+
+Immersive e-learning opportunities through 3D images that are safe for children
+
+**Healthcare**
+
+Telemedicine
+
+Remote surgery with intuitive and accurate 3D images
+
+J.1318(24)
+
+Figure 1: Three use cases realized by holographic communication. The figure is divided into three panels: 'Work style', 'Education', and 'Healthcare'. Each panel shows a person interacting with a 3D holographic projection. The 'Work style' panel shows two people in an office setting, one holding a tablet displaying a 3D model. The 'Education' panel shows a person in a classroom setting, interacting with a 3D model of a molecule. The 'Healthcare' panel shows a person in a medical setting, interacting with a 3D model of a human organ. Below each panel is a caption describing the use case.
+
+**Figure 1 – Three use cases realized by holographic communication**
+
+The key technology to realizing the aforementioned experience is holographic communication. Holography refers to 3D display technology that generates holograms, allowing users to see reconstructed 3D images (video) "as if the object were there".
+
+Figure 2 illustrates three representation types. On the left (1) is a 3D model called a point cloud or dynamic mesh, which consists of geometry and attribute information. In computer graphics, this representation is straightforward in rendering the 2D image, while 3D information is lost.
+
+In the middle (2) is an object wave that consists of a complex representation or magnitude with a phase in a 2D data format. An advantage of this intermediate format is adjustment functionality for
+
+various optics systems. This data is handled as a legacy image or video and the conventional image/video compression technology is applied.
+
+On the right (3) is an interference fringe called a hologram. A spatial light modulator (SLM) displays a computer-generated hologram, which realizes time-varying holography.
+
+
+
+The diagram illustrates the process of creating a hologram for stereoscopic video. It consists of three main stages inside a green-bordered box, followed by a reproduction stage.
+ 1. **3D data**: Shows a green car model.
+ 2. **Object wave (Intermediate format)**: Shows the green car with concentric arcs representing wave propagation, labeled with a blue box containing the text "Light field information".
+ 3. **Hologram (Interference pattern)**: Shows a grayscale static-like interference pattern.
+ A large green arrow points from the hologram stage to a final section titled "Holography reproduction", which depicts a person wearing a head-mounted display (HMD) and another person looking at a 3D car model displayed on a screen. The bottom right corner of the diagram area contains the reference "J.1318(24)".
+
+Figure 2 – Three representation types for stereoscopic video technology
+
+**Figure 2 – Three representation types for stereoscopic video technology**
+
+Here, a holography-type head-mounted display (HMD) is expected to be practical in 3D visual reproduction. For various holography-type HMD configurations, the object wave representation is suitable as an intermediate data format.
+
+# 7 Requirements
+
+The following clauses specify the requirements for each function necessary to implement cloud-based object wave transmission over integrated broadband cable networks.
+
+## 7.1 Service and functional requirements
+
+To deliver cloud-based object-wave transmission services, the integrated broadband cable network is required to meet the requirements for a network, quality of service, service provision, and network management. These requirements are the same as those for Cloud VR [ITU-T J.1631], with the key difference being that the user equipment shifts from Cloud VR equipment to cloud-based object wave equipment.
+
+## 7.2 Performance requirements
+
+### 7.2.1 Cloud server capability in head-end
+
+To provide a sufficient holographic experience, object waves are recommended to be generated in practical time-frames, such as approximately 30 milliseconds or less for generationg one frame of data to enable real-time streaming. The generation process of object waves consumes substantial computational resources, especially calculation and memory. Thus, this process is required to be executed by the cloud server in the head-end. The requirements for the cloud server in the head-end are described as follows:
+
+#### Calculation capability
+
+The calculation capability in head-end is recommended to be determined by the computational complexity of the object wave calculation. When calculating an object wave from a 3D model composed of $P$ polygons, it is necessary to compute the propagation of the waves emitted by each polygon to the hologram plane, requiring $P$ iterations of propagation calculations to generate an object wave. Generally, the number of polygons and the resolution of the object wave are independent of each other. In Rayleigh-Sommerfeld diffraction, which is a standard propagation calculation, the resolution of the object wave is rounded up to $2^N \times 2^M$ , which conducts twice the fast Fourier transform (FFT) of $4 \cdot 2^{N+M}$ data points (the product of the FFT dimensions). According to the FFT performance calculation in [b-FFTW], the mega-floating-point operations per second (FLOPS) of each FFT is defined by $5n \log_2(n) / (\text{time for one FFT in microseconds})$ , where $n$ is the number of
+
+data points. Therefore, the FLOPS for one propagation calculation can be approximated by $2 \cdot 5 \cdot 4 \cdot 2^{N+M} \log_2(4 \cdot 2^{N+M}) \times (\text{frame rate}) = 40 \cdot 2^{N+M} (2 + N + M) \times (\text{frame rate})$ . When calculating the object wave from a 3D model composed of $P$ polygons, the FLOPS for the object wave of the three colours can be approximated by $3P \cdot 40 \cdot 2^{N+M} (2 + N + M) \times (\text{frame rate}) = 120P \cdot 2^{N+M} (2 + N + M) \times (\text{frame rate})$ .
+
+The suggested calculation capability requirements in head-end can be found in Appendix I. For more details and examples of calculation capability requirements in head-end, refer to Table I.1.
+
+#### Memory capability
+
+The memory capability is recommended to be at least twice the size of the object wave to calculate the propagation of an object wave. If the resolution of the object wave is denoted as $H \times W$ pixels and the precision of the real and imaginary parts in the calculation is set to $B$ bytes each, the amount of memory utilized for the calculation of the object wave of the three colours without dividing the calculation can be approximated by $2 \cdot 3 \cdot 2BHW = 12BHW$ [bytes].
+
+The suggested memory capability requirements in head-end can be found in Appendix I. More details and examples of memory capability requirements in head-end are provided in Table I.2.
+
+### 7.2.2 Integrated broadband cable network capability
+
+Network requirements in this clause are informative.
+
+##### Network bandwidth
+
+The bandwidth for cloud-based object wave transmission is required to be wider than that for 4K video, to achieve hologram playback with the same experiential quality as 4K video on an HMD. Object wave equipment is assumed to play back higher resolution video (hologram) data than traditional TVs. In Cloud VR [ITU-T J.1631], cloud virtual reality (VR) services are classified into weak interaction and strong interaction, based on interaction characteristics. The holographic experience covered by the scope of this Recommendation corresponds to the weak interaction.
+
+The suggested per-user bandwidth requirements of cloud-based object wave transmission can be found in Appendix I. More details and examples of network bandwidth requirements of cloud-based object wave transmission are given in Table I.3.
+
+##### Network latency
+
+In cloud-based object wave transmission, network latency requirements are application dependent. If the application only receives object wave data as a one-direction data stream and plays back holographic videos, the network latency requirements are the same as for general video streaming services. If the application switches holographic videos according to weak interaction, as in Cloud VR [ITU-T J.1631], the network latency requirements are the same as those for Cloud VR.
+
+##### Network jitter
+
+In general, network jitter is related to line quality and user-equipment buffer size. The requirement for object wave transmission is equivalent to the case specified in Cloud VR [ITU-T J.1631], where the resolution of the user equipment is 4K or higher.
+
+### 7.2.3 User equipment capability
+
+The performance of the display on the user equipment significantly impacts the quality of the holographic experience. Additionally, computational capability is crucial because the user equipment is required to convert the object wave into a hologram. If the decoded object wave is placed behind the hologram to enhance encoding efficiency, the user equipment is recommended to calculate propagation to obtain the object wave on the hologram. The requirements of those are described as follows:
+
+#### **Display capability**
+
+Resolution and frame rate are requirements for general HMD. Additionally, pixel pitch is vital for SLMs, which are the display part of holography playback devices. The pixel pitch determines the maximum angle at which the user can view the reconstructed holography video.
+
+##### **Calculation capability**
+
+User equipment is recommended to have computational processing power to decode the object wave, calculate the propagation of the object wave, and convert the object wave into a hologram in real-time. Similar to the calculation capability of the head-end system, the FLOPS for the calculation of the object wave in the user equipment can be approximated by $3 \cdot 2 \cdot 5 \cdot 4 \cdot 2^{N+M} \log_2(4 \cdot 2^{N+M}) \times (\text{frame rate}) = 120 \cdot 2^{N+M} (2 + N + M) \times (\text{frame rate})$ .
+
+The suggested calculation capability requirements for user equipment can be found in Appendix I. Please refer to Appendix I, Table I.4, for more details and examples of calculation capability requirements of the user.
+
+##### **Memory capability**
+
+The requirements for memory in user equipment are equivalent to those required for memory in head-end systems.
+
+## Annex A
+
+## Reference network structure
+
+(This annex forms an integral part of this Recommendation.)
+
+Converting directly from a 3D model to a hologram consumes much computation, making real-time processing on the user equipment difficult. This Recommendation assumes two steps of conversion to facilitate the conversion. In detail, the transformation from a 3D model to an object wave, which takes a massive amount of calculation and memory capability, is processed by the cloud server in head-end. An integrated broadband cable network transmits the compressed object wave to the user equipment. Real-time conversion from the object wave to a hologram is processed by the user equipment and projected onto an HMD. Figure A.1 shows cloud-based object wave transmission over integrated broadband cable networks.
+
+
+
+The diagram illustrates the flow of data for cloud-based object wave transmission. It starts with a **3D model** (represented by a person icon) being processed through **Computation for holography** (represented by server icons). The data is then transmitted via an **Integrated broadband cable network** (represented by a green arrow). This is followed by **User equipment** (represented by a server icon) and a **Renderer** (represented by a monitor icon). The final output is a **Hologram** (represented by a person icon with sound waves), **Sound** (represented by headphones), and **Haptics** (represented by a hand icon). These outputs are then projected onto **Head-mounted displays** (represented by various HMD models). A small text label **J.1318(24)** is present in the bottom right corner of the diagram area.
+
+Diagram of cloud-based object wave transmission showing the flow from a 3D model through computation, network transmission, and rendering to user equipment for holography, sound, and haptics.
+
+Figure A.1 – Overview of cloud-based object wave transmission, including sound and haptics
+
+## Appendix I
+
+## Example of capability requirements
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix contains informative material concerning the capability requirements.
+
+### I.1 Example of head-end system capability
+
+Table I.1 describes the suggested calculation capability requirements of a head-end system.
+
+**Table I.1 – Example of calculation capability requirements of a head-end system**
+
+| Object wave resolution | 4K video | HD video |
+|--------------------------------------------------------------------------------------------------------------|------------------------|------------------------|
+| Data points $2^N \times 2^M$ | $2^{12} \times 2^{12}$ | $2^{11} \times 2^{11}$ |
+| Peta-FLOPS | > 16 | > 3.7 |
+| NOTE 1 – The calculation capability requirements of a head-end system are based on theoretical calculation. | | |
+| NOTE 2 – In all object wave resolutions, the polygon count is set at $P = 10\,000$ and the frame rate at 30. | | |
+
+Table I.2 describes the suggested memory capability requirements of a head-end system.
+
+**Table I.2 – Example of memory capability requirements of a head-end system**
+
+| Object wave resolution | 4K video | HD video |
+|-----------------------------------------------------------------------------------------------------------------------------------|----------|----------|
+| Megabyte | > 400 | > 100 |
+| NOTE 1 – The memory capability requirements of a head-end system are based on theoretical calculation. | | |
+| NOTE 2 – In all object wave resolutions, the precision of the real and imaginary parts in the calculation is set to 4 bytes each. | | |
+| NOTE 3 – HD video resolution in Table I.2 is $1\,920 \times 1\,080$ . | | |
+
+### I.2 Example of network bandwidth requirements of cloud-based object wave transmission
+
+Table I.3 describes the suggested per-user bandwidth requirements.
+
+**Table I.3 – Example of network bandwidth requirements of cloud-based object wave transmission**
+
+| Object wave resolution | 4K video | HD video |
+|------------------------------------------------------------------------------------------------------------------------------|----------------------|-------------------|
+| Bit rate | $\geq 2\,000$ Mbit/s | $\geq 260$ Mbit/s |
+| Bandwidth requirement | $\geq 3\,000$ Mbit/s | $\geq 390$ Mbit/s |
+| NOTE 1 – The network bandwidth requirements of a cloud-based object wave are based on theoretical calculation. | | |
+| NOTE 2 – The values of bandwidth requirements are based on the requirements for weak interaction in Cloud VR [ITU-T J.1631]. | | |
+
+### I.3 Example of user equipment capability
+
+Table I.4 describes the suggested calculation capability requirements of user equipment.
+
+**Table I.4 – Example of calculation capability requirements of user equipment**
+
+| Object wave resolution | 4K video | HD video |
+|--------------------------------------------------------------------------------------------------------|------------------------|------------------------|
+| Data points $2^N \times 2^M$ | $2^{12} \times 2^{12}$ | $2^{11} \times 2^{11}$ |
+| Giga-FLOPS | > 1600 | > 370 |
+| NOTE – The calculation capability requirements of user equipment are based on theoretical calculation. | | |
+
+## Bibliography
+
+- [b-ITU-T J.482] Recommendation ITU-T J.482 (2021), *Requirements of a radio frequency (RF)/Internet protocol (IP) video switching system.*
+- [b-ISO 17901-1] ISO 17901-1 (2015-07), *Optics and photonics – Holography – Part 1: Methods of measuring diffraction efficiency and associated optical characteristics of holograms.*
+- [b-FFTW] Proceedings of the IEEE, Volume: 93, Issue: 2 (2005-02), *The Design and Implementation of FFTW3.*
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.140-199803-I_PDF-E/10c82dcc5f2c237961329dd29d65859c_img.jpg b/marked/J/T-REC-J.140-199803-I_PDF-E/10c82dcc5f2c237961329dd29d65859c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f589cb32dd35a851eaeae913df5e0584f41ef8b2
--- /dev/null
+++ b/marked/J/T-REC-J.140-199803-I_PDF-E/10c82dcc5f2c237961329dd29d65859c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc5b46125529926666761132ea29d256dec0b985e1162cd10da357eac733dc3c
+size 133173
diff --git a/marked/J/T-REC-J.140-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/J/T-REC-J.140-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..808a172e767145666d18916a681beb8edf7d5626
--- /dev/null
+++ b/marked/J/T-REC-J.140-199803-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:45c6dff9053d8a7e288da732dba26e17495b18ed53976902395111cbbc38e6cb
+size 8288
diff --git a/marked/J/T-REC-J.140-199803-I_PDF-E/d48475a25698b1c0592e4cfe07138f2a_img.jpg b/marked/J/T-REC-J.140-199803-I_PDF-E/d48475a25698b1c0592e4cfe07138f2a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..67b6d6f6087d0e46647e375fc630871bf5763b07
--- /dev/null
+++ b/marked/J/T-REC-J.140-199803-I_PDF-E/d48475a25698b1c0592e4cfe07138f2a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac3265b302df755e1508327f8753adb18038ad601db2868bdd87ccd1f32a47a6
+size 111369
diff --git a/marked/J/T-REC-J.140-199803-I_PDF-E/dd0f5301a5a6dd7c319701302110de88_img.jpg b/marked/J/T-REC-J.140-199803-I_PDF-E/dd0f5301a5a6dd7c319701302110de88_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2e14ad3b9d7a6aee423c5fdb61acd5f2056e293f
--- /dev/null
+++ b/marked/J/T-REC-J.140-199803-I_PDF-E/dd0f5301a5a6dd7c319701302110de88_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e00a83d49894884adad05a4af188023fa0ec2fc930abd383b77ff43870611f1
+size 73813
diff --git a/marked/J/T-REC-J.140-199803-I_PDF-E/raw.md b/marked/J/T-REC-J.140-199803-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..e24fd1eaf6d19f0faeeda04a410a45126c38f73b
--- /dev/null
+++ b/marked/J/T-REC-J.140-199803-I_PDF-E/raw.md
@@ -0,0 +1,362 @@
+
+
+
+
+The logo of the International Telecommunication Union (ITU) features the letters 'ITU' in a bold, sans-serif font, superimposed on a stylized globe with intersecting lines.
+
+ITU logo
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.140**
+
+(03/98)
+
+SERIES J: TRANSMISSION OF TELEVISION, SOUND
+PROGRAMME AND OTHER MULTIMEDIA SIGNALS
+
+Measurement of the quality of service
+
+---
+
+**Subjective picture quality assessment for digital
+cable television systems**
+
+ITU-T Recommendation J.140
+
+(Previously CCITT Recommendation)
+
+---
+
+# **ITU-T J-SERIES RECOMMENDATIONS** **TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS**
+
+| | |
+|-------------------------------------------------------------------------------------------------|--------------------|
+| General Recommendations | J.1–J.9 |
+| General specifications for analogue sound-programme transmission | J.10–J.19 |
+| Performance characteristics of analogue sound-programme circuits | J.20–J.29 |
+| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 |
+| Digital encoders for analogue sound-programme signals | J.40–J.49 |
+| Digital transmission of sound-programme signals | J.50–J.59 |
+| Circuits for analogue television transmission | J.60–J.69 |
+| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 |
+| Digital transmission of television signals | J.80–J.89 |
+| Ancillary digital services for television transmission | J.90–J.99 |
+| Operational requirements and methods for television transmission | J.100–J.109 |
+| Interactive systems for digital television distribution | J.110–J.129 |
+| Transport of MPEG-2 signals on packetised networks | J.130–J.139 |
+| Measurement of the quality of service | J.140–J.149 |
+| Digital television distribution through local subscriber networks | J.150–J.159 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+## **ITU-T RECOMMENDATION J.140**
+
+## **SUBJECTIVE PICTURE QUALITY ASSESSMENT FOR DIGITAL CABLE TELEVISION SYSTEMS**
+
+## **Summary**
+
+This Recommendation specifies a subjective picture quality assessment method for digital cable television applications.
+
+### **Source**
+
+ITU-T Recommendation J.140 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 18th of March 1998.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The 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 Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards 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.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The 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, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1998
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | Page |
+|-----------------------------------------------------------------------|-------------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Terms and definitions..... | 1 |
+| 4 Abbreviations..... | 2 |
+| 5 General..... | 2 |
+| 6 Test material..... | 2 |
+| Annex A – Assessment method..... | 3 |
+| A.1 Single Stimulus Continuous Quality Evaluation (SSCQE) method..... | 3 |
+| A.2 Viewing parameters..... | 6 |
+
+
+
+## SUBJECTIVE PICTURE QUALITY ASSESSMENT FOR DIGITAL CABLE TELEVISION SYSTEMS
+
+(Geneva, 1998)
+
+## 1 Scope
+
+This Recommendation describes a subjective method for assessment of picture quality for digital cable television systems. It concerns all of the television chain from the signal source to user's receiver. This chain may contain satellite links, terrestrial links and/or cable links. The assessment is made using consumer grade receivers assuming a home viewing environment.
+
+## 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 indicated were valid. All Recommendations and other references are subject to revision; all 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-T Recommendations is regularly published.
+
+- [1] ITU-R Recommendation BT.1129-1 (1995), *Subjective assessment of standard definition digital television (SDTV) systems.*
+- [2] ITU-R Recommendation BT.500-7 (1995), *Methodology for the subjective assessment of the quality of television pictures.*
+- [3] ITU-R Recommendation BT.1210-1 (1997), *Test materials to be used in subjective assessment.*
+- [4] ITU-T Recommendation J.84 (1995), *Distribution of digital multi-programme signals for television, sound and data services through SMATV networks.*
+- [5] ITU-T Recommendation J.83 (1995), *Digital multi-programme systems for television, sound and data services for cable distribution.*
+- [6] ITU-T Recommendation P.910 (1996), *Subjective video quality assessment methods for multimedia applications.*
+- [7] ITU-T Recommendation P.920 (1996), *Interactive test methods for audiovisual communications.*
+- [8] ITU-T Recommendation P.80 (1993), *Methods for subjective determination of transmission quality.*
+- [9] ITU-R Recommendation BT.814-1 (1993), *Specifications and alignment procedures for setting of brightness and contrast of displays.*
+- [10] ITU-R Recommendation BT.815-1 (1993), *Specification of a signal for measurement of contrast ratio and displays.*
+
+## 3 Terms and definitions
+
+This Recommendation defines the following term:
+
+**3.1 PLUGE:** Test signal consists of a peak white level patch and several dark level patches/stripe used for the setting of brightness and contrast of the display. For details, see Recommendation ITU-R BT.814-1.
+
+## 4 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|-----------------------------------------------|
+| PS | Programme Segment |
+| PVD | Preferred Viewing Distance |
+| QP | Quality Parameter |
+| SDTV | Standard Definition Television |
+| SSCQE | Single Stimulus Continuous Quality Evaluation |
+| TP | Test Presentation |
+| TS | Test Session |
+
+## 5 General
+
+Subjective assessment methods are used to establish the performance of television systems using measurements that more directly anticipate the reactions of those who might view the systems tested. In this regard, it is understood that it may not be possible to fully characterize system performance by objective means; consequently, it is necessary to supplement objective measurements with subjective measurements.
+
+In subjective method, test pictures, after passing through the measured line, are assessed by a group of assessors in specific viewing conditions and results of these tests are treated statistically.
+
+In ITU-R Recommendation BT.500-7, two classes of subjective assessment are given, and a few methods are representative of each class.
+
+Introduction of digital coding produces impairments to picture quality which are scene-dependent and time-varying. Methods of laboratory testing do not replicate home viewing condition of cable television.
+
+For the evaluation of these types of picture quality, new methods are developed and tested. One of them is given in Annex A.
+
+Other methods are still under study and need validation.
+
+## 6 Test material
+
+A number of approaches may be taken in establishing the kinds of test material required in television assessments. In practice, however, particular kinds of test materials should be used to address particular assessment problems. A survey of typical assessment problems and of test materials used to address these problems is given in Table 1.
+
+**Table 1/J.140 – Selection of test material**
+
+| Assessment problem | Material used |
+|-----------------------------------------------------|--------------------------------------------------------------------|
+| Overall performance with average material | General, "critical but not unduly so" |
+| Capacity, critical applications (e.g. contribution) | Range, including very critical material for the application tested |
+| Performance of "adaptive" systems | Material very critical for "adaptive" scheme used |
+| Identify weaknesses and possible improvements | Critical, attribute-specific material |
+| Identify factors on which systems are seen to vary | Wide range of very rich material |
+| Conversion among different standards | Critical for differences (e.g. field rate) |
+
+Some parameters may give rise to a similar order of impairments for most pictures or sequences. In such cases, results obtained with a very small number of pictures or sequences (e.g. two) may still provide a meaningful evaluation.
+
+However, digital systems frequently have an impact which depends heavily on the scene or sequence content. In such cases, there will be, for the totality of programme hours, a statistical distribution of impairment probability and picture or sequence content. Without knowing the form of distribution, which is usually the case, the selection of test material and interpretation of results must be done very carefully.
+
+In general, it is essential to include critical sequences, because it is possible to take this into account when interpreting results, but it is not possible to extrapolate from non-critical material. In cases where scene or sequence content affects results, the material should be chosen to be "critical but not unduly so" for the system under test. The phrase "not unduly so" implies that the pictures could still conceivably form part of normal programme hours. At least four items should, in such cases, be used: for example, half of which are definitely critical, and half of which are moderately critical.
+
+It is recommended that at least six picture sequences be used in the assessment, plus an additional one to be used for training purposes prior to the start of the trial. The sequences should range between moderately critical and definitely critical in the context of the bit-rate reduction application being considered.
+
+In subjective assessment, still pictures and moving sequences may be selected from those listed in ITU-R Recommendation BT.1210-1, Annex 1. In this respect, it should be noted that digitally-stored pictures and sequences, being the most reproducible source signals, are the preferred sources for assessment.
+
+## **Annex A**
+
+### **Assessment method**
+
+The methodologies applied are based on the SSCQE method developed by the ITU-R and given in ITU-R Recommendation BT.500-7, and therefore it is desirable to refer to the latest actual method when ITU-R Recommendation BT.500-7 is modified.
+
+### **A.1 Single Stimulus Continuous Quality Evaluation (SSCQE) method**
+
+In this method, observers are asked to assess instantaneous picture quality continuously during a test session with subjects viewing the material once without a source reference.
+
+#### **A.1.1 Continuous assessment of overall quality**
+
+##### **A.1.1.1 Recording device and set-up**
+
+An electronic recording handset connected to a computer should be used for recording the continuous quality assessment from the subjects. This device should have the following characteristics:
+
+- slider mechanism without any sprung position;
+- linear range of travel of 10 cm;
+- fixed or desk-mounted position;
+- samples recorded twice a second.
+
+##### **A.1.1.2 General form of the test protocol**
+
+Subjects should be presented with test sessions of the following format:
+
+- Programme Segment (PS): a PS corresponds to one programme type (e.g. sport, news, drama) processed according to one of the Quality Parameters (QP) under evaluation (e.g. bit rate); each PS should be at least 5 minutes long.
+- Test Session (TS): a TS is a series of one or more different combinations PS/QP without separation and arranged in a pseudo-random order. Each TS contains at least once all the PS and QP but not necessarily all the PS/QP combinations; each TS should be between 30 and 60 minutes duration.
+- Test Presentation (TP): a TP represents the full performance of a test. A TP can be divided in Test Sessions to cope with maximum duration requirements and in order to assess the quality over all the PS/QP pairs. If the number of PS/QP pairs is limited, a TP can be made of a repetition of the same Test Session to perform the test on a long enough period of time.
+
+For service quality evaluation, audio may be introduced. In this case, selection of the accompanying audio material should be considered at that same level of importance as the selection of video material, prior to the test performance.
+
+The simplest test format would use a single Programme Segment and a single Quality Parameter.
+
+##### **A.1.1.3 Grading scales**
+
+Subjects should be made aware in the test instructions that the range of travel of the handset slider mechanism corresponds to the continuous quality scale, as described in subclause 5.4 of ITU-R Recommendation BT.500-7.
+
+##### **A.1.1.4 Observers**
+
+At least fifteen subjects, non-experts, should be employed.
+
+At least 15 observers should be used. They should be non-expert, in the sense that they are not directly concerned with television picture quality as part of their normal work, and are not experienced assessors1. Prior to a session, the observers should be screened for (corrected-to-) normal visual acuity on the Snellen or Landolt chart, and for normal colour vision using specially selected charts (Ishihara, for instance). The number of assessors needed depends upon the sensitivity and reliability of the test procedure adopted and upon the anticipated size of the effect sought1.
+
+##### **A.1.1.5 Instructions to the observers**
+
+In the case of services quality evaluation (with accompanying audio), observers should be instructed to consider the overall quality rather the video quality only.
+
+##### **A.1.1.6 Test session**
+
+Time duration and conditions of the test session should be those currently specified in subclause 2.7 of ITU-R Recommendation BT 500-7.
+
+###### **A.1.1.7 Data presentation, results processing and presentation**
+
+Data should be collated from all test sessions. A single graph of mean quality rating as a function of time, $q(t)$ , can therefore be obtained as the mean of all observers' quality gradings per programme segment, quality parameter or per entire test session (see example in Figure A.1).
+
+This data can be converted to a histogram of probability, $P(q)$ , of the occurrence of quality level $q$ (see example in Figure A.2).
+
+---
+
+1 Preliminary findings suggest that non-expert observers may yield more critical results with exposure to higher quality transmission and display technologies.
+
+
+
+This line graph plots the 'Score' on the y-axis (ranging from 0 to 100 in increments of 10) against 'Time in minutes' on the x-axis (ranging from 0 to 27 in increments of 3). The data series is a single, highly fluctuating line representing scores for Codec X across a 27-minute programme segment. The scores generally stay between 60 and 80, with notable dips around 2.5 minutes (approx. 30) and 18 minutes (approx. 40), and peaks around 2.5 minutes (approx. 85) and 21 minutes (approx. 75).
+
+Line graph showing 'Score' (0-100) vs 'Time in minutes' (0-27) for Codec X/programme segment Z. The score fluctuates between approximately 30 and 85 throughout the 27-minute duration.
+
+Figure A.1/J.140 – Test condition: Codec X/programme segment: Z
+
+
+
+This line graph plots the percentage (%) on the y-axis (0 to 100) against an unlabeled x-axis (0 to 90). Six data series are shown, all starting at 100% at x=0. The series are:
+
+- source** (square markers): Remains near 100% until x=40, then drops to 100% at x=50, 95% at x=60, 70% at x=70, 10% at x=80, and 0% at x=90.
+- analogue 1** (triangle markers): Drops from 100% at x=40 to 92% at x=50, 68% at x=60, 32% at x=70, 10% at x=80, and 0% at x=90.
+- analogue 2** (circle markers): Drops from 100% at x=40 to 87% at x=50, 60% at x=60, 30% at x=70, 10% at x=80, and 0% at x=90.
+- codec w** (diamond markers): Drops from 100% at x=40 to 82% at x=50, 60% at x=60, 30% at x=70, 10% at x=80, and 0% at x=90.
+- codec x** (cross markers): Drops from 100% at x=40 to 82% at x=50, 60% at x=60, 30% at x=70, 10% at x=80, and 0% at x=90.
+- codec y** (thick horizontal bar markers): Drops sharply from 100% at x=20 to 85% at x=30, 50% at x=40, 10% at x=50, and 0% at x=60, remaining at 0% through x=90.
+
+Line graph showing '%' (0-100) vs an unlabeled x-axis (0-90) for various test conditions. The conditions include source, analogue 1, analogue 2, codec w, codec x, and codec y. All series show a sharp decline in percentage after the 40-minute mark.
+
+Figure A.2/J.140 – Mean of scores of voting sequences on programmes segment Z
+
+###### A.1.1.8 Calibration of continuous quality results and derivation of a single quality rating
+
+Conventional ITU-R methodologies employed in the past have been able to produce single quality ratings for television sequences. Experiments have been performed which have examined the relationship between the continuous assessment of a coded video sequence, and an overall single quality rating of the same segment. It has already been identified that the human memory effects can distort quality ratings if noticeable impairments occur in approximately the last 10-15 s of the sequence. However, it has also been found that this human memory effects could be modelled as a decaying exponential weighting function. Hence a possible third stage in the SSCQE methodology would be to process these continuous quality assessments, in order to obtain an equivalent single quality measurement. This is currently under study.
+
+### A.2 Viewing parameters
+
+Viewing conditions should be those currently specified in ITU-R Recommendations BT.500-7 and BT.1129-1 for subjective assessment in home viewing environment:
+
+- a) ratio of Luminance of inactive screen to peak Luminance: $\leq 0.02$
+- b) display brightness and contrast: set up via PLUGE
+- c) maximum observation angle relative to the normal: $30^\circ$
+- d) monitor input: baseband component input without digital processing
+- e) monitor resolution: to be checked and reported
+- f) ratio of viewing distance to picture height: 6 H
+- g) screen size for a 4/3 format ratio: From 25" to 29" (Note 1)
+- h) screen size for a 16/9 format ratio: From 32" to 36" (Note 1)
+- i) monitor standard: SDTV
+- j) peak luminance: 200 Cd/m (Note 2)
+- k) environmental Illuminance on the screen: 200 Lux (Note 2)
+
+NOTE 1 – This screen size satisfies rules of the "Preferred Viewing Distance" (PVD) for PVD = 6 H.
+
+NOTE 2 – Incident from the environment falling on the screen should be measured perpendicularly on the screen.
+
+The viewing distance and the screen sizes are to be selected in order to satisfy the "Preferred Viewing Distance" (PVD). The PVD (in function of the screen sizes) is shown in the following table and graph. See Figure A.3.
+
+This table and this graph are intended to give information on the Preferred Viewing Distance and related screen sizes to be adopted in the Recommendations for specific applications.
+
+| Screen diagonal (inch) | | Screen height (H) | PVD |
+|------------------------|------------|-------------------|-----|
+| 4/3 ratio | 16/9 ratio | (m) | (H) |
+| 12 | 15 | 0.18 | 9 |
+| 15 | 18 | 0.23 | 8 |
+| 20 | 24 | 0.30 | 7 |
+| 29 | 36 | 0.45 | 6 |
+| 60 | 73 | 0.91 | 5 |
+| > 100 | > 120 | > 1.53 | 3-4 |
+
+
+
+| Screen height (m) | PVD (H) Ratio of view, distance (m) to picture height (m) |
+|-------------------|-----------------------------------------------------------|
+| 0.1 | 13 |
+| 0.2 | 8 |
+| 0.5 | 5.8 |
+| 1.0 | 5 |
+| 1.5 | 4.5 |
+| 2.0 | 4.3 |
+
+T0905810-97/d03
+
+Line graph showing the relationship between PVD (H) and Screen height (m). The y-axis is labeled 'PVD (H) Ratio of view, distance (m) to picture height (m)' and ranges from 0 to 15. The x-axis is labeled 'Screen height (m)' and ranges from 0 to 2. A curve starts at approximately (0.1, 13) and decreases to about (2, 4.3).
+
+Figure A.3/J.140 – PVD for moving images
+
+
+
+## ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.141-199909-I_PDF-E/raw.md b/marked/J/T-REC-J.141-199909-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..b6669b37221f7df7f5341b11dbcdc6c952be7a4f
--- /dev/null
+++ b/marked/J/T-REC-J.141-199909-I_PDF-E/raw.md
@@ -0,0 +1,239 @@
+
+
+
+
+ITU logo: A globe with the letters ITU and a stylized signal wave.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.141**
+
+(09/99)
+
+SERIES J: TRANSMISSION OF TELEVISION, SOUND
+PROGRAMME AND OTHER MULTIMEDIA SIGNALS
+
+Measurement of the quality of service
+
+---
+
+**Performance indicators for data services
+delivered over digital cable television systems**
+
+ITU-T Recommendation J.141
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T J-SERIES RECOMMENDATIONS
+
+# **TRANSMISSION OF TELEVISION, SOUND PROGRAMME AND OTHER MULTIMEDIA SIGNALS**
+
+| | |
+|-------------------------------------------------------------------------------------------------|--------------------|
+| General Recommendations | J.1–J.9 |
+| General specifications for analogue sound-programme transmission | J.10–J.19 |
+| Performance characteristics of analogue sound-programme circuits | J.20–J.29 |
+| Equipment and lines used for analogue sound-programme circuits | J.30–J.39 |
+| Digital encoders for analogue sound-programme signals | J.40–J.49 |
+| Digital transmission of sound-programme signals | J.50–J.59 |
+| Circuits for analogue television transmission | J.60–J.69 |
+| Analogue television transmission over metallic lines and interconnection with radio-relay links | J.70–J.79 |
+| Digital transmission of television signals | J.80–J.89 |
+| Ancillary digital services for television transmission | J.90–J.99 |
+| Operational requirements and methods for television transmission | J.100–J.109 |
+| Interactive systems for digital television distribution | J.110–J.129 |
+| Transport of MPEG-2 signals on packetised networks | J.130–J.139 |
+| Measurement of the quality of service | J.140–J.149 |
+| Digital television distribution through local subscriber networks | J.150–J.159 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+## **ITU-T RECOMMENDATION J.141**
+
+# **PERFORMANCE INDICATORS FOR DATA SERVICES DELIVERED OVER DIGITAL CABLE TELEVISION SYSTEMS**
+
+### **Summary**
+
+This Recommendation describes some performance indicators to be used to evaluate the performance of digital modems in a hybrid fibre/coax cable television network in the presence of continuous or impulsive noise.
+
+### **Source**
+
+ITU-T Recommendation J.141 was prepared by ITU-T Study Group 9 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on 16 September 1999.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The 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 Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards 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.
+
+### INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The 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, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2000
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References ..... | 1 |
+| 3 Definitions ..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Performance Indicators ..... | 1 |
+| Appendix I – Example of the use of the recommended performance indicators..... | 2 |
+
+
+
+## PERFORMANCE INDICATORS FOR DATA SERVICES DELIVERED OVER DIGITAL CABLE TELEVISION SYSTEMS
+
+(Geneva, 1999)
+
+## 1 Scope
+
+Recommendation J.111 "Network independent protocols for interactive systems" specifies some characteristics for the modems to be used for the delivery of data services over digital television cable. This Recommendation recommends some performance indicators to be used to evaluate the performance of those modems in a hybrid fibre/coax (HFC) cable television network in the presence of continuous or impulsive noise.
+
+## 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 indicated were valid. All Recommendations and other references are subject to revision; all 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-T Recommendations is regularly published.
+
+- ITU-T Recommendation J.111 (1998), *Network independent protocols for interactive systems*.
+
+## 3 Definitions
+
+This Recommendation defines the following terms:
+
+**3.1 frame loss ratio (FLR):** The ratio of errored data frames with respect to total number of frames transmitted, when the data frames are transmitted over a noisy channel.
+
+**3.2 bandwidth efficiency (BWE):** The amount of data that can be transmitted through a channel, expressed in terms of amount of data transmitted through the unit of bandwidth per unit of time (bits/s/Hz).
+
+## 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-----|--------------------------|
+| BWE | Bandwidth Efficiency |
+| CNR | Carrier-to-Noise Ratio |
+| FEC | Forward Error Correction |
+| FLR | Frame Loss Ratio |
+
+## 5 Performance Indicators
+
+Three important indicators have been in successful use and are listed below.
+
+*Carrier-to-Noise Ratio (CNR)* – This is the widely used indicator of the noise level of a transmission channel. Depending on the characteristics of the noise in the channel, it can be expressed in terms of additive white Gaussian noise, or of impulsive noise bursts of specified duration and repetition rate. This is an indicator of the performance of the transmission network, and it can only be improved by changing the network or improving its maintenance.
+
+*Frame Loss Ratio (FLR)* – The frame loss ratio is the ratio of errored data frames with respect to total number of frames transmitted, when the data frames are transmitted over a noisy channel. This indicator is often referred to Ethernet-type frames consisting of 64 bytes each, but it is also customary to refer to 53-byte frames as used in some regions, or to 1518-byte frames, which are also supported by Ethernet. The value of this indicator is dictated by the desired quality of service that the network should provide for a given service.
+
+*Bandwidth Efficiency (BWE)* – The bandwidth efficiency indicates the data capacity that can be transmitted through the channel. It is expressed in terms of the amount of data transmitted through the unit of bandwidth per unit of time (bits/s/Hz). The value of this indicator is governed by the design of the modem. It should be noted that the usable data includes only the useful message data. It does not include any overhead needed for forward error correction (FEC) and control. Of course, the greater the percent overhead, the less the useful data that can be delivered. A modem without provision for FEC overhead will have a high bandwidth efficiency, but it will rapidly fail on a noisy transmission channel. A compromise FLR and bandwidth efficiency must be found case by case.
+
+The three indicators above are related to each other and bounded by Shannon's law: when the value of CNR is known, the limit to the value of BWE at an arbitrarily small FLR can be computed by applying that law.
+
+The values of the three indicators can be plotted on a three-dimensional graph. In practice, cross sections of the three-dimensional graph, perpendicular to the FLR axis, are often used instead, for the sake of convenience. The line that represents Shannon's law can also be plotted on those bidimensional cross-section graphs; that line describes the maximum theoretical performance possible for any combination of BWE and CNR at an arbitrarily low FLR approaching zero.
+
+An example of the use of the described performance indicators is provided in Appendix I.
+
+## Appendix I
+
+### Example of the use of the recommended performance indicators
+
+Different services have different error-performance requirements and different data rates. For example, a service, such as status monitoring or polling, may be able to tolerate more errors than a time-critical application, such as video telephony or "twitch" video games, where re-transmission of errored frames cannot be tolerated. A system designer engaged in the design of a digital transmission facility intended to provide a given service will try to optimize his choice of values for the three indicators above, through a trial-and-error process based on the steps described below.
+
+- 1) Create tables or graphs, of the type described above, corresponding to the error performance needed for the service to be provided. This will determine a lower boundary plane, orthogonal to the FLR axis, on the three-dimensional graph described in clause 5.
+- 2) Characterize the quality of the HFC cable television plant from a CNR and burst-noise distribution point of view. This will determine a lower boundary plane, orthogonal to the C/N axis, on the same graph.
+- 3) Determine the minimum acceptable data rate for the service and the amount of bandwidth which can be dedicated to that particular service. There are several issues associated with this decision.
+ - The bandwidth decision may be limited to a range between strong ingress sources.
+ - The service to be provided may be a low revenue-generating service, to which only a modest bandwidth can be dedicated, or the service may be a high revenue-generating service, to which a full channel may be dedicated in the best part of the spectrum.
+ - It may be necessary to fit the return channels of all the bidirectional services into a limited return band.
+
+- 4) Calculate the required bandwidth efficiency by dividing the required bit rate by the available bandwidth. This will determine a lower boundary plane, orthogonal to the BWE axis, on the three-dimensional graph.
+
+The system designer can then plot the performance indicators of the various available modem models on the bidimensional cross-section of the three-dimensional graph, applicable to the required FLR value. The designer can focus his choice on those modem models that fall in the area bounded by the lines that correspond to the measured CNR and to the minimum required BWE and thus simultaneously meet or exceed the minimum identified requirements for CNR, FLR and BWE. The designer's attention should particularly focus on those modems that, while meeting the condition above, appear to be closest to the upper boundary of theoretical performance represented by Shannon's law.
+
+Figure I.1 provides an example of such a bidimensional cross-section graph and its use.
+
+
+
+| Modem Model | CNR (dB) | BWE (bits/s/Hz) | Note |
+|-----------------------|----------|-----------------|-------------|
+| Vendor A 16-QAM | 18.5 | 3.4 | |
+| DOCSIS 16-QAM* | 18.5 | 3.2 | Theoretical |
+| DOCSIS 16-QAM t=2* | 15.5 | 3.1 | Theoretical |
+| DOCSIS 16-QAM t=4* | 14.5 | 2.8 | Theoretical |
+| DOCSIS 16-QAM t=10* | 13.0 | 2.5 | Theoretical |
+| Vendor A QPSK | 11.0 | 1.9 | |
+| DOCSIS QPSK* | 10.5 | 1.7 | Theoretical |
+| DOCSIS QPSK t=2* | 9.0 | 1.6 | Theoretical |
+| DOCSIS QPSK t=4* | 8.0 | 1.5 | Theoretical |
+| Vendor D QAM | 14.0 | 1.4 | |
+| DOCSIS QPSK t=10* | 7.0 | 1.3 | Theoretical |
+| Vendor C QPSK no FEC | 14.5 | 1.2 | |
+| Vendor C QPSK FEC t=2 | 13.5 | 1.0 | |
+| Vendor D QPSK mode 2 | 6.5 | 0.7 | |
+| Vendor B QPSK | 14.5 | 0.5 | |
+| Vendor D QPSK mode 1 | -10.0 | 0.1 | |
+
+\* Theoretical calculation
+
+T0908510-99/d01
+
+A scatter plot showing Bandwidth Efficiency (bits/s/Hz) on the y-axis (0 to 4.0) versus Carrier-to-Noise Ratio (dB) on the x-axis (-12 to 20). The plot includes data points for various modems like Vendor A 16-QAM, DOCSIS 16-QAM (t=2\*, t=4\*, t=10\*), Vendor A QPSK, DOCSIS QPSK (t=2\*, t=4\*, t=10\*), Vendor D QAM, Vendor C QPSK (no FEC, FEC t=2), Vendor D QPSK (mode 1, mode 2), and Vendor B QPSK. A horizontal line at y ≈ 1.25 and a vertical line at x = 16 define a region of interest. Asterisks indicate theoretical calculations.
+
+Figure I.1/J.141 – Bandwidth efficiency vs. CNR for 1% FLR
+
+It should be noted that several available modems have a set bandwidth and a set FEC capability. Therefore, the system designer is limited to what is available. However, some modems have varying parameters that can be used to move to different points on the three-dimensional graph. For the modems with several modes, the system engineer could add points to create more of a continuous trace and could choose the operating point to be somewhere along the trace. While it would be convenient to choose any arbitrary bandwidth and power efficiency, all these modems operate with a discrete set of parameters. In an operational system, FEC options, data rates, or bandwidths, can be controlled dynamically to adjust for the changing channel conditions.
+
+
+
+
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.149-200403-I_PDF-E/raw.md b/marked/J/T-REC-J.149-200403-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..b00f1e05ea07603cbfb19b0ebe40c16e3e42c6e9
--- /dev/null
+++ b/marked/J/T-REC-J.149-200403-I_PDF-E/raw.md
@@ -0,0 +1,894 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.149**
+
+(03/2004)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+Measurement of the quality of service
+
+---
+
+**Method for specifying accuracy and
+cross-calibration of Video Quality Metrics (VQM)**
+
+Recommendation ITU-T J.149
+
+
+
+# **Recommendation ITU-T J.149**
+
+# **Method for specifying accuracy and cross-calibration of Video Quality Metrics (VQM)**
+
+## **Summary**
+
+Video quality metrics are intended to provide calculated values that are strongly correlated with viewer subjective assessments. This Recommendation provides methods for curve fitting VQM objective values to subjective data in order to facilitate the accuracy calculation, an algorithm to quantify the accuracy of a given VQM, a simplified root mean square error calculation to quantify the accuracy of a VQM when the subjective data has roughly equal variance across the VQM scale, and a method to plot classification errors to determine the relative frequencies of "false tie", "false differentiation", "false ranking", and "correct decision" for a given VQM.
+
+### **Source**
+
+Recommendation ITU-T J.149 was approved on 15 March 2004 by ITU-T Study Group 9 (2001-2004) under Recommendation ITU-T A.8 procedure.
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 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 .
+
+© ITU 2009
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 Informative references ..... | 1 |
+| 3 Abbreviations..... | 2 |
+| 4 Accuracy of a VQM..... | 2 |
+| 4.1 Nomenclature and coordinate scales ..... | 2 |
+| 4.2 Fitting VQM values to subjective data..... | 3 |
+| 4.3 Metric 1: VQM accuracy based on statistical significance ..... | 5 |
+| 4.4 Metric 2: VQM RMSE calculation..... | 7 |
+| 4.5 Classification plots ..... | 7 |
+| 5 Cross-calibrating two VQMs..... | 10 |
+| Appendix I – Application of this Recommendation in the evaluation and validation of proposed VQMs..... | 11 |
+| I.1 Elements of a full VQM disclosure ..... | 11 |
+| I.2 Scope/limitations of a VQM..... | 11 |
+| Appendix II – MATLAB Source Code..... | 14 |
+| Appendix III – Data-fitting to a common scale of VQM..... | 20 |
+| III.1 Polynomial of order M ..... | 20 |
+| III.2 Logistic function I ..... | 20 |
+| III.3 Logistic function II ..... | 20 |
+| Bibliography..... | 22 |
+
+
+
+## Method for specifying accuracy and cross-calibration of Video Quality Metrics (VQM)
+
+# 1 Scope
+
+Video quality metrics are intended to provide calculated values that are strongly correlated with viewer subjective assessments. This Recommendation provides:
+
+- a) methods for curve fitting VQM objective values to subjective data in order to facilitate the accuracy calculation and to produce a normalized objective value scale that can be used for cross-correlation between different VQMs;
+- b) an algorithm (based on statistical analysis relative to subjective data) to quantify the accuracy of a given VQM;
+- c) a simplified root mean square error calculation to quantify the accuracy of a VQM when the subjective data has roughly equal variance across the VQM scale;
+- d) a method to plot classification errors to determine the relative frequencies of "false tie", "false differentiation", "false ranking", and "correct decision" for a given VQM.
+
+The methods specified in this Recommendation are based on objective and subjective evaluation of component video such as defined by ITU-R Rec. BT.601 using methods such as described in ITU-R Rec. BT.500-11. A data set for a VQM will consist of objective values and mean subjective scores for a variety of motion video sources (SRC) processed by a variety of hypothetical reference circuits (HRC). An example of such a data set is given in the ITU-T Tutorial (see Appendix I).
+
+The methods specified in this Recommendation are directly applicable to a defined data set as described above. For measurements not specifically part of the data set, the methods specified in this Recommendation provide a reasonable estimate of accuracy and cross-calibration for applications that can be considered to be similar to and within the scope of the defined data set.
+
+The methods specified in this Recommendation are appropriate for use in combination with other statistical calculations in order to evaluate the usefulness of a VQM. Informative information regarding the use of the methods is presented in Appendix I. A complete verification process by suitable independent laboratories is required for a VQM to be considered for inclusion as a normative part of an ITU-R Recommendation.
+
+NOTE – The structure and content of this Recommendation have been organized for ease of use by those familiar with the original source material; as such, the usual style of ITU-T recommendations has not been applied.
+
+# 2 Informative references
+
+- ANSI T1.801.01-1995\*, *Digital Transport of Video Teleconferencing/Video Telephony Signals – Video Test Scenes for Subjective and Objective Performance Assessment*.
+- ANSI T1.801.02-1996, *Digital Transport of Video Teleconferencing/Video Telephony Signals – Performance Terms, Definitions and Examples*.
+- ANSI T1.801.03-2003, *Digital Transport of One-Way Digital Signals – Parameters for Objective Performance Assessment*.
+- IEEE Standard No. 205-2001, *Measurement of Luminance Signal Levels*.
+
+---
+
+\* T1 standards are maintained since November 2003 by ATIS.
+
+- ITU-T Tutorial (2004), *Objective perceptual assessment of video quality: Full reference television* ([www.itu.int/ITU-T/studygroups/com09/docs/tutorial\\_opavc.pdf](http://www.itu.int/ITU-T/studygroups/com09/docs/tutorial_opavc.pdf))
+- ITU-R Recommendation BT.500-11 (2002), *Methodology for the subjective assessment of the quality of television pictures*.
+- U.S. Standards Committee T1 Technical Report T1.TR.73-2001, *Video Normalization Methods Applicable to Objective Video Quality Metrics Utilizing a Full Reference Technique*.
+- U.S. Standards Committee T1 Technical Report T1.TR.74-2001, *Objective Video Quality Measurement Using Peak-Signal-to-Noise Ratio Full Reference Technique*.
+- U.S. Standards Committee T1 Technical Report T1.TR.75-2001, *Objective Perceptual Video Quality Measurement Using a JND-Based Full Reference Technique*.
+- U.S. Standards Committee T1 Technical Report T1.TR.77-2002, *Data and sample program code to be used with the method specified in T1.TR.72-2001 for the calculation of resolving power of the video quality metrics in T1.TR.74-2001 and T1.TR.75-2001*.
+
+# 3 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|--------------------------------|
+| FR-TV | Full Reference Television |
+| HRC | Hypothetical Reference Circuit |
+| RMSE | Root Mean Squared Error |
+| SRC | Source |
+| VQEG | Video Quality Experts Group |
+| VQM | Video Quality Metrics |
+
+# 4 Accuracy of a VQM
+
+In order to use an objective video-quality metric (VQM), one must know whether the score difference between two processed videos is statistically significant. Hence, a quantification is needed of the accuracy (or resolving power) of the VQM. To visualize this resolving power, it helps to begin with a scatter plot in which the abscissa of each point is a VQM score from a particular video source (SRC) and distortion (hypothetical reference circuit, or HRC), and the ordinate is a subjective score from a particular viewing of the SRC/HRC. Each SRC/HRC combination (associated with a particular VQM score) contains a distribution of mean subjective scores, $S$ , based on a number of viewers, which represents (approximately) the relative probabilities of $S$ for the particular SRC/HRC combination. The resolving power of a VQM can be defined as the difference between two VQM values for which the corresponding subjective-score distributions have means that are statistically different from each other (typically at the 0.95 significance level).
+
+Given this qualitative picture, two metrics for resolving power will be described in this clause, each one being useful in a different context. The metrics are described in clauses 4.3 and 4.4. Also, in clause 4.5, a method is described for evaluating the frequencies of different kinds of errors made by the VQM. As an example of implementation of all the methods, a computer source code in MATLAB (The Mathworks, Inc., Natick, MA) is provided in Appendix II.
+
+## 4.1 Nomenclature and coordinate scales
+
+Let each SRC/HRC combination in a data set be called a "situation", and let $N$ be the number of situations in this data set. A subjective score for situation $i$ and viewer $l$ will be denoted as $S_{il}$ , and
+
+an objective score for situation $i$ will be denoted as $O_i$ . Averaging over a variable such as viewer will be denoted with a dot in that variable location. For instance, the mean opinion score of a situation will be denoted as $S_{i\cdot}$ . The subjective-score statistics from each pair $(i, j)$ of these situations are to be assessed for significance of VQM difference, and then used to arrive at a resolving power for the VQM difference, as a function of the VQM value.
+
+Prior to any statistical analysis, the original subjective mean opinion scores $S_{i\cdot}$ are linearly transformed to the interval $[0, 1]$ , defined as the *Common Scale*, where 0 represents no-impairment and 1 represents most impairment. If *best* represents the no-impairment value of the original subjective score and *worst* represents the maximum impairment of the original subjective scale, then the scaled scores $\hat{S}_{i\cdot}$ are given by:
+
+$$\hat{S}_{i\cdot} = \frac{S_{i\cdot} - \text{best}}{\text{worst} - \text{best}}$$
+
+Next, the VQM scores are transformed to this Common Scale as a byproduct of the process of fitting the VQM scores to the subjective data, which will be discussed in the following clause.
+
+## 4.2 Fitting VQM values to subjective data
+
+Fitting removes systematic differences between the VQM and the subjective data (e.g., dc shift) that do not provide any useful quality discrimination information. In addition, fitting all VQMs to one common scale will provide a method for cross-calibration of those VQMs.
+
+The simplest method of data fitting is linear correlation and regression. For subjective video quality scores, this may not be the best method. Experience with other video quality data sets (see ITU-T Tutorial) indicates chronically poor fits of VQM to subjective scores at the extremes of the ranges. This problem can be ameliorated by allowing the fitting algorithm to use non-linear, but still monotonic (order-preserving), methods. If a good non-linear model is used, the objective-to-subjective errors will be smaller and have a central tendency closer to zero.
+
+Non-linear methods can be constrained to effectively transform the VQM scale to the $[0, 1]$ Common Scale. Besides improving the fit of data with a VQM, a fitting curve also offers an additional advantage over the straight-line fit implied by the Native Scale (i.e., the original scale of the VQM): the distribution of objective-to-subjective errors around the fitted model curve is less dependent on the VQM score. Of course, the non-linear transformation may not remove all the score dependency of objective-to-subjective errors. To capture the residual dependence, it would ideally have been useful to record objective-to-subjective error as a function of VQM value. However, typical data sets are too small to divide among VQM bins in a statistically robust way. Therefore, as will be clear in clause 4.3, a sort of average measure over the VQM range is computed.
+
+Figure 1 shows the improved fit of model to data incurred by transforming the objective scores using a fitting function. It can be seen that, besides improving the fit of data with VQM, the curve also offers an additional advantage over the straight-line fit implied by the Native Scale: the distribution of model-to-data errors around the fitted model curve is less dependent on the VQM score.
+
+
+
+Figure 1: Improved fit of data to VQM by mapping VQM to Common Scale. The plot shows 'Common Scale subjective score (x 100)' on the y-axis (0 to 100) and 'VQM Native Scale' on the x-axis (0 to 20). Data points are represented by small diamonds, and the logistic fit is shown as a series of squares with crosses. The fit curve starts near (0,0) and increases sigmoidally, passing through approximately (10, 50) and approaching 100 as the VQM Native Scale increases. The label 'J.149\_F01' is in the bottom right corner.
+
+**Figure 1 – Improved fit of data to VQM by mapping VQM to Common Scale**
+
+We denote the original (Native Scale) objective scores $O_i$ , and the Common Scale objective scores as $\hat{O}_i$ . A fitting function $F$ (depending on some fitting parameters) connects the two. The function used to fit the objective VQM data ( $O_i$ ) to the scaled subjective data ( $\hat{S}_{i*}$ ) must have the following three attributes:
+
+- a) a specified domain of validity, which should include the range of VQM data for all the situations used to define the accuracy metric;
+- b) a specified range of validity, defined as the range of Common Scale scores (a sub-range of [0, 1]) to which the function maps; and
+- c) monotonicity (the property of being either strictly increasing or strictly decreasing) over the specified domain of validity.
+
+Of course, the fitting function would be most useful as a cross-calibration tool if it were monotonic over the entire theoretical domain of VQM scores, covered the entire subjective Common Scale from 0 to 1, and mapped to zero the VQM score that corresponds to a perfect video sequence (no degradations, hence a null distortion). However, this ideal may not be attainable for certain VQMs and function families used to perform the fit.
+
+One possible family of fitting functions is the set of polynomials of order $M$ . Another is a logistic function with the form:
+
+$$\hat{O}_i = a + b/\{1 + c(O_i + d)^e\}$$
+
+where $a$ , $b$ , $c$ , $d$ , and $e$ are fitting parameters (see ITU-T Tutorial). A third possibility is a logistic function with the form:
+
+$$\hat{O}_i = a + (b-a)/\{1 + \exp[-c(O_i - d)]\}$$
+
+where $a$ , $b$ , $c$ , $d$ are fitting parameters and $c > 0$ 1. For convenience, we call these logistic forms Logistic I and Logistic II, respectively. The MATLAB code in Appendix II instantiates only a polynomial fit. Appendix III discusses possible methods of data fitting using the logistic functions. The selection of a fitting-function family (including *a priori* setting of some of the parameters) depends on the asymptotic (best and worst) scores of the particular VQM.
+
+The number of degrees of freedom used up by the fitting process is denoted by $D$ . For example, if a linear fit is used, $D = 2$ since two free parameters are estimated in the fitting procedure. The fitting function that transforms objective VQM to the Common Scale is reported to facilitate industry comparison of two VQMs. Whether a 5-, 4-, 3-, or 2-free parameter fit is appropriate depends on the particular data set. Care should be taken to avoid overfitting, as this usually leads to unstable and meaningless results and can often cause the fitting algorithm to fail to converge.
+
+Once transformed to the Common Scale, any VQM can be cross-calibrated to any other VQM through the Common Scale. Representing the accuracy of a VQM in Common Scale facilitates comparisons between VQMs. Also, assuming the resolving power in the Common Scale does not vary much with the VQM score at which the resolving power is evaluated, the resolving power can be mapped through the inverse of the logistic function to the Native Scale. In the Native Scale, the $\Delta$ VQM from the Common Scale generates a VQM-score-dependent resolving power. A table or equation that provides such resolving powers (one at each VQM score in Native Scale) will have immediate meaning for users of the Native Scale.
+
+## 4.3 Metric 1: VQM accuracy based on statistical significance
+
+We define a new quantitative measure of VQM accuracy, called resolving power, defined as the $\Delta$ VQM value above which the conditional subjective-score distributions have means that are statistically different from each other (typically at the 0.95 significance level). Such an "error bar" measure is needed in order for video service operators to judge the significance of VQM fluctuations. Commercial software to implement the resolving power statistic may not be available.
+
+Of several possible approaches to assessing a VQM's resolving power, the Student's $t$ -test was chosen. This test was applied to the measurements in all pairs $i$ and $j$ of situations. Emerging from the test are the $\Delta$ VQM (i.e., the difference between the greater and lesser VQM score of $i$ and $j$ ) and the *significance* from the $t$ -test. This *significance* is the probability $p$ that, given $i$ and $j$ , the greater VQM score is associated with the situation that has the greater true underlying mean subjective score. Thus, $p$ is the probability that the observed difference in sample means of the subjective scores from $i$ and $j$ did not come from a single population mean, nor from population means that were ordered oppositely to the associated VQM scores. To capture this ordering requirement, the $t$ -test must be one-tailed. For simplicity, the $t$ -test was approximated by a $z$ -test. This approximation is a close one when the number of viewers is large, as was the case for the VQEG data set (ITU-T Tutorial).
+
+An analysis of variance (ANOVA) test might seem better than the $t$ -test method. However, although a single application of ANOVA will determine whether a statistical separation exists among a set of categories, further paired comparisons are needed to determine the magnitudes and conditions of the statistically significant differences. Also, ANOVA assumes equal category-data variances (which may not be true). Finally, although ANOVA resides in many software packages, finding the right software package may not be easy (e.g., not all ANOVA routines will accept different quantities of data in different categories).
+
+---
+
+1 A modified version of this logistic function was used in clauses 6.2.3 and 6.2.4 of the ITU-T Tutorial. The modification accounted for differences in variances of the subjective ratings.
+
+The algorithm has the following steps:
+
+*Step 1:* Start with an input data table with $N$ rows, each row represents a different situation (i.e., a different source video and distortion). Each row $i$ consists of the following: the source number, the distortion number, the VQM score $O_i$ , the number of responses $N_i$ , the mean subjective score $S_{i\bullet}$ , and the sample variance of the subjective scores $V_i$ .
+
+*Step 2:* Transform the subjective scores $S_{i\bullet}$ to Common Scale $\hat{S}_{i\bullet}$ as described in clause 4.1. The variance $V_i$ of the subjective scores must also be scaled accordingly as:
+
+$$\hat{V}_i = \frac{V_i}{(worst - best)^2}$$
+
+Note that transforming the subjective scores and their variances is optional. It will not change the $z$ statistic defined below, but it may change the VQM fitting process. Next, transform the VQM scores $O_i$ to the Common Scale using a fitting function as discussed in clause 4.2, and amplified in Appendix III. The result of the fitting process is a set of Common Scale VQM scores $\hat{O}_i$ . Display the coefficient values used in the fit, and also the VQM domain over which the fit was done (domain of validity).
+
+*Step 3:* For each pair of distinct situations $i$ and $j$ ( $i \neq j$ ), use a one-tailed $z$ -test to assign a probability of *significance* to the difference between the greater and the lesser VQM ( $\hat{O}_i$ and $\hat{O}_j$ , respectively). The significance is the probability that the greater VQM score comes from the situation with the greater true underlying mean subjective score. The $z$ score is:
+
+$$z = (\hat{S}_{i\bullet} - \hat{S}_{j\bullet}) / \sqrt{\hat{V}_i / N_i + \hat{V}_j / N_j}$$
+
+and the probability of significance of the $z$ score $p(z)$ is just the cumulative distribution function of $z$ :
+
+$$p(z) = cdf(z) = (2 \pi)^{-0.5} \int_{-\infty}^z \exp(-z^2/2) dz$$
+
+*Step 4:* Create a scatter plot of $p(z)$ (ordinate) versus $\Delta VQM$ score (abscissa). Given $N$ situations, record each pair $(i, j)$ with $i > j$ , record the VQM difference $\hat{O}_i - \hat{O}_j$ in a vector of length $N(N-1)/2$ called **$\Delta VQM$** (with index $k$ ), and record the corresponding $z$ score in a vector called **$Z$** with length $N(N-1)/2$ (with the same index $k$ ). It is desired to ensure that $\Delta VQM(k)$ is always non-negative, which can be ensured by definition of the otherwise arbitrary ordering of the endpoints $i$ and $j$ . To ensure that this is so, if $\Delta VQM(k)$ is negative, then replace $Z(k)$ by $-Z(k)$ and $\Delta VQM(k)$ by $-\Delta VQM(k)$ .
+
+*Step 5:* Consider 19 bins (indexed by $m$ ) of $\Delta VQM$ , each one of which spans 1/10 the total range of $\Delta VQM$ . The bins overlap by 50 per cent. Associate $\Delta VQM_m$ with the midpoint of each bin and associate $p_m$ with the mean of $p(z)$ for all $z$ in bin $m$ .
+
+*Step 6:* Draw a curve through the points $(\Delta VQM_m, p_m)$ , to produce a graph of $p$ versus $\Delta VQM$ . Note that $p$ can be interpreted as the average probability of significance.
+
+*Step 7:* Select a threshold probability $p$ , draw a horizontal line at the ordinate value $p$ , and let its intercept with the curve of Step 6 determine the threshold $\Delta VQM$ , defined as the accuracy. For an average probability of significance of $p$ or greater, the $\Delta VQM$ should exceed this threshold. Common choices of $p$ are 0.68, 0.75, 0.90, and 0.95.
+
+Having found a value of $\Delta VQM$ for a chosen $p$ , one can use it directly in Common Scale – as would be appropriate for cross-calibration in clause 5. Alternatively, for other purposes, one has the option
+
+of inverse mapping this $\Delta VQM$ value back to the Native Scale to give a Native Scale resolving power $R$ as a function of the native objective score $O$ :
+
+$$R(O) = | F^{-1} [F(O) + \Delta VQM] - O |$$
+
+where $F$ is the fitting function defined in clause 4.2. For the logistic functions in clause 4.2, the inverse of Logistic I is:
+
+$$F^{-1}(x) = [(1/c) (b/[x-a]) - 1]^{1/e} - d$$
+
+and the inverse of Logistic II is:
+
+$$F^{-1}(x) = d - (1/c) \ln[(b-a)/(x-a) - 1].$$
+
+When $|\Delta VQM| \ll 1$ , $R(O)$ can be approximated as:
+
+$$R(O) = |\Delta VQM / F'(O)|$$
+
+where $F'(O)$ is the derivative of $F$ with respect to $O$ . This approximation should suffice for most purposes.
+
+NOTE – For the logistic functions in clause 4.2, the derivative of Logistic I is:
+
+$$F'(x) = -bce (x+d)^{e-1} / \{1 + c(x+d)^e\}^2$$
+
+and the derivative of Logistic II is:
+
+$$F'(x) = c (b-a) \exp[-c(x-d)] / \{1 + \exp[-c(x-d)]\}^2$$
+
+## 4.4 Metric 2: VQM RMSE calculation
+
+If the subjective data have roughly equal variance across the VQM scale, then a pooled estimate of variance, or resolving power, may be appropriate. As an example, we choose the root-mean-squared error (RMSE). The basic idea behind the VQM RMSE calculation is to quantify the mean squared error (MSE) between fitted objective data and corresponding subjective data. The VQM RMSE between the fitted objective data $\hat{O}_i$ and the scaled subjective data $\hat{S}_{i\cdot}$ is computed as:
+
+$$VQM\_RMSE = \sqrt{\frac{1}{N-D} \sum_{i=1}^N (\hat{O}_i - \hat{S}_{i\cdot})^2}$$
+
+where $N$ is the total number of situations (equal to $IJ$ , where $J$ is the number of scenes and $I$ is the number of HRCs), and $D$ is the degrees of freedom used up by the objective-to-subjective curve fitting performed in clause 4.2. Commercial software to implement the classification error statistics may not be available.
+
+## 4.5 Classification plots
+
+Classification errors are one way to evaluate the effectiveness of a Video Quality Metric (VQM). A classification error is made when the subjective test and the VQM lead to different conclusions on a pair of data points. This clause discusses the meaning of the classification errors, in terms of the plots of subjective z score versus delta-VQM described in the main text. For the following description, we use the Common [0, 1] Scale for both the subjective and objective scores. Here, "0" represents no impairment and "1" represents maximum impairment.
+
+For any subjective test one can set a threshold $\Delta z$ , that defines when two data points (A, B) are statistically equivalent and when they are statistically distinguishable2. Once this has been done, the subjective test results allow one to place each pair of data points (A, B) into one of the three categories:
+
+$$\begin{aligned} \Delta z_{AB} < -\Delta z &\rightarrow \text{A is better than B} &\rightarrow \text{Bs} \\ -\Delta z \leq \Delta z_{AB} \leq \Delta z &\rightarrow \text{A is same as B} &\rightarrow \text{Es} \\ \Delta z < \Delta z_{AB} &\rightarrow \text{A is worse than B} &\rightarrow \text{Ws} \end{aligned}$$
+
+The abbreviations for the three categories (Bs, Es, and Ws) denote subjectively better, subjectively equivalent, and subjectively worse, respectively.
+
+Now consider a similar threshold for VQM values, $\Delta o$ :
+
+$$\begin{aligned} \text{VQM(A)} - \text{VQM(B)} < -\Delta o &\rightarrow \text{A is better than B} &\rightarrow \text{Bo} \\ -\Delta o \leq \text{VQM(A)} - \text{VQM(B)} \leq \Delta o &\rightarrow \text{A is same as B} &\rightarrow \text{Eo} \\ \Delta o < \text{VQM(A)} - \text{VQM(B)} &\rightarrow \text{A is worse than B} &\rightarrow \text{Wo} \end{aligned}$$
+
+The abbreviations for the three categories (Bo, Eo, and Wo) denote objectively better, objectively equivalent, and objectively worse, respectively.
+
+Since each pair of data points undergoes a three-way classification by the subjective test and a separate three-way classification by the VQM, there are nine possible outcomes. These nine outcome spaces are illustrated in Figure 2 by the broken lines in the two-dimensional space of subjective-score difference versus VQM difference:
+
+
+
+Figure 2: Schematic classification diagram. A 2D plot with 'Subjective score differences' on the vertical axis and 'VQM differences' on the horizontal axis. The origin is marked '0'. The vertical axis has labels 'Bs', 'Es', and 'Ws' from bottom to top. The horizontal axis has labels 'Bo', 'Eo', and 'Wo' from left to right. A vertical dashed line at VQM difference = 0 separates Bo and Wo. Two horizontal dashed lines at subjective score difference = ±Δz separate Es from Bs and Ws. Two vertical dashed lines at VQM difference = ±Δo separate Eo from Bo and Wo. The top-right region is labeled 'J.149-F02'.
+
+**Figure 2 – Schematic classification diagram**
+
+In the table below, we label each of these nine outcomes with an eye towards answering the question "How does the VQM-based 3-way classification compare with the subjective test-base 3-way classification?"
+
+2 The data points A and B actually represent sets of observations of two SRC/HRC combinations. As discussed in the main text, the quantity $\Delta z_{AB}$ is the difference in the means of A and B ( $\hat{S}_{A\cdot} - \hat{S}_{B\cdot}$ ), divided by the inferred standard deviation $\sqrt{(\hat{V}_A/N_A + \hat{V}_B/N_B)}$ , where $\hat{V}_A$ is the variance of scores from situation A, and $N_A$ is the number of observations from situation A, etc.
+
+| | Bs | Es | Ws |
+|----------------------|------------------|-----------------------|------------------|
+| Wo | False Ranking | False Differentiation | Correct Decision |
+| Eo | False Tie | Correct Decision | False Tie |
+| Bo | Correct Decision | False Differentiation | False Ranking |
+
+Note that for three of the outcomes, the VQM classification agrees with the subjective test classification. These three outcomes are labelled "Correct Decision". The six remaining outcomes correspond to three different types of errors that can arise when using a VQM. The False Tie is probably the least offensive error. This occurs when the subjective test says two data points are different but the VQM says they are the same. A False Differentiation is usually more offensive. This occurs when the subjective test says two data points are the same but the VQM says they are different. The False Ranking would generally be the most offensive error. In False Ranking, the subjective test says A is better than B, but the VQM says B is better than A.
+
+For any subjective test and any VQM, we can form all possible distinct pairs of data points and count the number of pairs that fall into each of the four distinct outcome categories: Correct Decision, False Tie, False Differentiation, and False Ranking. We can then normalize by the total number of distinct pairs and report relative frequencies for these four outcome categories. In general these results will be functions of both $\Delta z$ and $\Delta o$ . Example results for a fictitious VQM are given in the graph below. $\Delta z$ was selected to give an estimated 95% confidence in the subjective classifications and $\Delta o$ is the free parameter on the x-axis of the graph.
+
+
+
+**Example classification errors**
+
+| $\Delta o$ | False tie | False differentiation | False ranking | Correct decision |
+|------------|-----------|-----------------------|---------------|------------------|
+| 0.000 | 0.00 | 0.48 | 0.16 | 0.36 |
+| 0.005 | 0.18 | 0.30 | 0.08 | 0.44 |
+| 0.010 | 0.30 | 0.18 | 0.04 | 0.48 |
+| 0.015 | 0.40 | 0.08 | 0.02 | 0.50 |
+| 0.020 | 0.46 | 0.03 | 0.01 | 0.50 |
+| 0.025 | 0.50 | 0.01 | 0.00 | 0.50 |
+| 0.030 | 0.51 | 0.00 | 0.00 | 0.49 |
+| 0.035 | 0.51 | 0.00 | 0.00 | 0.48 |
+| 0.040 | 0.51 | 0.00 | 0.00 | 0.48 |
+| 0.045 | 0.51 | 0.00 | 0.00 | 0.48 |
+
+A line graph showing the relative frequencies of four classification outcomes as a function of the parameter Δo. The x-axis is labeled Δo and ranges from 0 to 0.05. The y-axis is labeled 'Relative frequencies' and ranges from 0 to 0.5. Four curves are plotted: 'False tie' (dashed purple line), 'False differentiation' (dotted red line), 'False ranking' (solid black line), and 'Correct decision' (dashed blue line). As Δo increases, 'False differentiation' and 'False ranking' decrease towards 0, while 'False tie' and 'Correct decision' increase and level off around 0.5.
+
+**Figure 3 – Sample plot of frequencies of classification error**
+
+Note that as $\Delta o$ is increasing, the VQM will declare more and more pairs of data points as equivalent. This reduces the occurrences of false differentiations and false rankings, but increases
+
+the occurrence of false ties. As $\Delta o$ goes to 0.05, the false-tie rate tends towards 0.52. At this point, the VQM is declaring all pairs to be equivalent, and in doing so the VQM is wrong 52% of the time, and correct 48% of the time. This is consistent with the fact that in this test, 48% of the pairs of data points were declared equivalent by the subjective test. One might use a graph like this to select an appropriate value of $\Delta o$ . For example, one might select $\Delta o$ to maximize the probability of making correct decisions, or one might select $\Delta o$ to minimize some weighted sum of the error relative frequencies.
+
+In the code that generated the above figure (part of the MATLAB code in Appendix II), the threshold used for the subjective test is `subj_th`. The threshold used for the $\Delta$ VQM, `vqm_th`, is left as a free parameter. The code plots the frequency of occurrence for the three different kinds of errors and for no error vs. `vqm_th`. An optimal value of `vqm_th` might be one that maximizes the frequency of occurrence of no error, or one that minimizes a cost-weighted sum of the errors. In general, it is likely that false ties will be the least offensive error, false differentiations will be more offensive, and false rankings will be the worst sort of error.
+
+NOTE – The nine outcomes and the three by three grid in ( $\Delta$ VQM, subjective Z score) space is the most natural way to describe this analysis. This assumes bipolar values for $\Delta$ VQM. But the code has already taken the absolute value of $\Delta$ VQM (and replaced Z with $-Z$ for all points with negative values of $\Delta$ VQM). This does not change the mathematics, but the more natural description of the situation is now 6 outcomes and a 2 by 3 grid. Two correct outcomes (A better than B and A worse than B) have been folded on top of each other. There are still two false tie outcomes, but only one false differentiation outcome and one false ranking outcome.
+
+# 5 Cross-calibrating two VQMs
+
+The need to relate two VQMs is met by the transformation to a Common Scale described in clauses 4.1-4.23. Once two VQMs (say, VQM1 and VQM2) are transformed to the Common Scale (through an agreed-upon subjective data set), the transformation from VQM1 to VQM2 is simply the forward transformation from VQM1 to the Common Scale and then the inverse transformation from Common Scale to VQM2. Models to be compared have to be referenced to a common data set. In cases for which the domains or ranges of the mapping mismatch, the cross-calibration must be declared to be undefined. This Recommendation does not specify a particular common data set.
+
+---
+
+3 **CAVEAT. One must use caution in making inferences from cross-calibration – e.g., cross-calibration of two VQMs does not mean one of the VQMs can be substituted error-free for the other.** One reason for this limitation is that the present cross-calibration method depends on the particular subjective data that define the Common Scale. It might be argued that no subjective data are needed for a cross-calibration, and that one could connect two VQMs directly through their outputs given a particular set of inputs (trial and reference video pairs). However, no matter what set of VQM inputs are chosen for the cross-calibration, the VQMs may respond differently to some other videos. More fundamentally, even within the chosen input set, there are likely four inputs (1, 2, 3, 4) such that both VQM scores change in the same direction going from 1 to 2, but in opposite directions going from 3 to 4. Such behaviour is what makes one VQM better than another, and cannot be captured in any cross-calibration method.
+
+# Appendix I
+
+## Application of this Recommendation in the evaluation and validation of proposed VQMs
+
+(This appendix does not form an integral part of this Recommendation)
+
+### I.1 Elements of a full VQM disclosure
+
+Each candidate VQM must be independently validated and fully disclosed such that it could be readily implemented by someone knowledgeable in the art. The description of newly proposed VQMs should include three different data sets:
+
+- a) test vectors to check implementation of the VQM, including video inputs and resulting VQM outputs;
+- b) validation/accuracy data, including subjective ratings and model outputs (spanning enough quality range to be representative of typical transmitted videos); and
+- c) data relating to other evaluation methods such as The Pearson linear correlation coefficient between objective and subjective scores, Spearman rank of order correlation between objective and subjective scores, and Outlier ratio. Finally, there should be descriptions of scope and limitations, accuracy, and model cross-calibration as described in subsequent clauses of this Recommendation.
+
+### I.2 Scope/limitations of a VQM
+
+The scope of a VQM can include the following elements (an illustrative list, intended neither to be prescriptive nor exhaustive):
+
+- a) the type of scene content ("signal"), e.g., high/low motion, colour versus black-and-white, interlaced versus progressive;
+- b) the type and severity of artifacts ("noise"), driven by encoding techniques and bit rates (e.g., blurring, blockiness);
+- c) the viewing conditions (including viewing distance, ambient illumination, and display parameters such as gamma, brightness, and phosphor types).
+
+Each VQM should be qualitatively assessed as to the type of scene content, type and severity of artifacts, and viewing conditions under which the VQM can or cannot operate effectively. It is important to list known problem areas (such as video distortions that include dropped frames) that would otherwise not be obvious, but the scope/limitations clause is not intended to be an exhaustive list.
+
+A set of four tables should be included in the description of the VQM's scope and limitations. The first three of these tables should enumerate all the distortions (hypothetical reference circuits, or HRCs) of the data set of the Video Quality Experts Group (VQEG), and optionally others, as follows:
+
+- a) a table of test factors, coding technologies, and applications for which the VQM has shown accuracy;
+- b) a table of test factors, coding technologies, and applications for which the VQM has been tested but *not* shown the accuracy specified in clause 4; and
+- c) a table of known test factors, coding technologies, and applications for which the VQM has not been tested, or where the VQM is not recommended.
+
+In addition, there should be:
+
+- d) a table of test sequences used to determine test factors, coding technologies and applications for which the VQM has shown the accuracy specified in clause 4.
+
+Sample tables are shown below for the VQEG phase-1 full reference television (FR-TV) tests. Since these three tables exhaust the VQEG phase-1 data set, sample table relating to item c above would not contain any entries. The VQEG phase-2 data (ITU-T Tutorial) has not been included since copyright restrictions prevent this data set from being generally available for VQM validation testing.
+
+**Table I.1 – Test factors, coding technologies and applications for which the candidate VQM method has shown the specified accuracy**
+
+| Bit rate | Resolution | Method | Comments |
+|-------------------------------------|--------------------------|---------|----------------------------------------------------------------------------|
+| 2 Mbit/s | $\frac{3}{4}$ resolution | mp@ml | This is horizontal resolution reduction only |
+| 2 Mbit/s | $\frac{3}{4}$ resolution | sp@ml | |
+| 4.5 Mbit/s | | mp@ml | |
+| 3 Mbit/s | | mp@ml | |
+| 1.5 Mbit/s | CIF | H.263 | |
+| 768 kbit/s | CIF | H.263 | |
+| 4.5 Mbit/s | | mp@ml | Composite NTSC and/or PAL |
+| 6 Mbit/s | | mp@ml | |
+| 8 Mbit/s | | mp@ml | Composite NTSC and/or PAL |
+| 8 & 4.5 Mbit/s | | mp@ml | Two codecs concatenated |
+| 19/PAL(NTSC)-19/PAL(NTSC)-12 Mbit/s | | 422p@ml | PAL or NTSC
3 generations |
+| 50-50-...-50 Mbit/s | | 422p@ml | 7th generation with shift/I frame |
+| 19-19-12 Mbit/s | | 422p@ml | 3rd generation |
+| n/a | | n/a | Multi-generation Betacam
with drop-out
(4 or 5, composite/component) |
+
+**Table I.2 – Test factors, coding technologies and applications for which the VQM method has not shown the specified accuracy**
+
+| Bit rate | Resolution | Method | Comments |
+|------------|------------|--------|-------------|
+| 4.5 Mbit/s | | mp@ml | with errors |
+| 3 Mbit/s | | mp@ml | with errors |
+
+**Table I.3 – Test sequences used to determine test factors, coding technologies and applications for which the VQM has shown the specified accuracy**
+
+| Sequence | Characteristics |
+|-----------------|------------------------------------------------------|
+| Balloon-pops | film, saturated colour, movement |
+| NewYork 2 | masking effect, movement |
+| Mobile&Calendar | available in both formats, colour, movement |
+| Betes_pas_betes | colour, synthetic, movement, scene cut |
+| Le_point | colour, transparency, movement in all the directions |
+| Autumn_leaves | colour, landscape, zooming, waterfall movement |
+| Football | colour, movement |
+| Sailboat | almost still |
+| Susie | skin colour |
+| Tempete | colour, movement |
+
+# Appendix II
+
+## MATLAB Source Code
+
+(This appendix does not form an integral part of this Recommendation)
+
+Below is a MATLAB subroutine called `vqm_accuracy.m`. This version scales the subjective data to $[0, 1]$ , applies a polynomial fit of the objective to the scaled subjective data, calculates all the metrics, and plots the VQM frequencies of 'False Tie', 'False Differentiation', 'False Ranking', and 'Correct Decision'. It is sufficient to have Version 5.3.1 of MATLAB (1999) with the Statistics and Optimization toolboxes that are available separately. Software can also be developed that does not use either toolbox. The present code is intended as an illustrative example, and does not include all possible options and fitting functions.
+
+Usage: At the matlab prompt, for VQM r0 type:
+
+```
+>load r0.dat
+```
+
+```
+>vqm_accuracy(r0,-1,0,100,2)
+```
+
+For VQM r2, type:
+
+```
+>load r2.dat
+```
+
+```
+>vqm_accuracy(r2,1,0,100,2)
+```
+
+Here, `r0.dat` and `r2.dat` are text files that contain a subset of the VQEG 525-line data. Each line in this file corresponds to a situation, and comprises an SRC number, an HRC number, VQM score, number of viewings, mean subjective score, and subjective-score variance. Once the `r0` and `r2.dat` files are loaded, either form of `vqm_accuracy` may be run again.
+
+In the first calling argument of `vqm_accuracy`, `r0` corresponds to the PSNR model in TR A3, and `r2` corresponds to the PQR model in TR A4. The second argument is 1 if the objective metric indicates worse image quality when it is larger, else the argument is $-1$ . The third and fourth arguments are the nominal best and worst ratings on the native subjective scale. The final argument is the order of the polynomial to which the VQM is fit.
+
+Source Code:
+
+```
+function vqm_accuracy (data_in, vqm_sign, best, worst, order)
+% MATLAB function vqm_accuracy (data_in, vqm_sign, best, worst, order)
+%
+% Each row of the input data matrix data_in must be organized as
+% [src_id hrc_id vqm num_view mos variance], where
+%
+% src_id is the scene number
+% hrc_id is the hypothetical reference circuit number
+% vqm is the video quality metric score for this src_id x hrc_id
+% num_view is the number of viewers that rated this src_id x hrc_id
+% mos is the mean opinion score of this src_id x hrc_id
+% variance is the variance of this src_id x hrc_id
+%
+% The total number of src x hrc combinations is size(data_in,1).
+%
+% vqm_sign = 1 or -1 and gives the direction of vqm with respect to
+% the common subjective scale. For instance, since "0" is
+% no impairment and "1" is maximum impairment on the common
+% scale, vqm_sign would be -1 for PSNR since higher values
+% of PSNR imply better quality (i.e., this is opposite to
+% the common subjective scale).
+```
+
+```
+
+%
+% mos and variance will be linarly scaled such that
+% best is scaled to zero (i.e., the best subjective rating)
+% worst is scaled to one (i.e., the worst subjective rating)
+%
+% order is the order of the polynomial fit used to map the objective data
+% to the scaled subjective data (e.g., order = 1 is a linear fit).
+%
+
+% Number of src x hrc combinations
+num_comb = size(data_in,1);
+
+% Pick off the vectors we will use from data_in
+vqm = data_in(:,3);
+num_view = data_in(:,4);
+mos = data_in(:,5);
+variance = data_in(:,6);
+
+% Scale the subjective data for [0,1]
+mos = (mos-best)./(worst-best);
+variance = variance./((worst-best)^2);
+
+% Use long format for more decimal places in printouts
+format('long');
+
+% Fit the objective data to the scaled subjective data.
+% Following code implements monotonic polynomial fitting using optimization
+% toolbox routine lsqlin.
+%
+% Create x and dx arrays. For the dx slope array (holds the derivatives of
+% mos with respect to vqm), the vqm_sign specifies the direction of the slope
+% that must not change over the vqm range.
+x = ones(num_comb,1);
+dx = zeros(num_comb,1);
+for col = 1:order
+ x = [x vqm.^col];
+ dx = [dx col*vqm.^(col-1)];
+end
+% The lsqlin routine uses <= inequalities. Thus, if vqm_sign is -1 (negative
+% slope), we are correct but if vqm_sign is +1 (positive slope), we must
+% multiple each side by -1.
+if (vqm_sign == 1)
+ dx = -1*dx;
+end
+fit = lsqlin(x,mos,dx,zeros(num_comb,1));
+fit = flipud(fit)' % organize this fit same as what is output by polyfit
+
+% vqm fitted to mos
+vqm_hat = polyval(fit,vqm);
+
+% Perform the vqm RMSE calculation using vqm_hat.
+vqm_rmse = (sum((vqm_hat-mos).^2)/(num_comb-(order+1)))^0.5
+
+% Perform the vqm resolution measurement on both vqm and vqm_hat.
+vqm_pairs = repmat(vqm,1,num_comb)-repmat(vqm',num_comb,1);
+vqm_hat_pairs = repmat(vqm_hat,1,num_comb)-repmat(vqm_hat',num_comb,1);
+mos_pairs = repmat(mos,1,num_comb)-repmat(mos',num_comb,1);
+stand_err_diff = sqrt(repmat(variance./num_view,1,num_comb)+ ...
+ repmat((variance./num_view)',num_comb,1));
+z_pairs = mos_pairs./stand_err_diff;
+
+% Include everything above the diagonal.
+delta_vqm = [];
+delta_vqm_hat = [];
+
+```
+
+```
+
+z = [];
+for col = 2:num_comb
+ delta_vqm = [delta_vqm; vqm_pairs(1:col-1,col)];
+ delta_vqm_hat = [delta_vqm_hat; vqm_hat_pairs(1:col-1,col)];
+ z = [z; z_pairs(1:col-1,col)];
+end
+
+% Switch on z and delta_vqm for negative delta_vqm
+z_vqm = z;
+negs_vqm = find(delta_vqm < 0);
+delta_vqm(negs_vqm) = -delta_vqm(negs_vqm);
+z_vqm(negs_vqm) = -z_vqm(negs_vqm);
+
+z_vqm_hat = z;
+negs_vqm_hat = find(delta_vqm_hat < 0);
+delta_vqm_hat(negs_vqm_hat) = -delta_vqm_hat(negs_vqm_hat);
+z_vqm_hat(negs_vqm_hat) = -z_vqm_hat(negs_vqm_hat);
+
+% Plot scatter plot of z_vqm versus delta_vqm in figure 1.
+% Plot scatter plot of z_vqm_hat versus delta_vqm_hat in figure 2.
+figure(1)
+plot(delta_vqm,z_vqm,'.', 'markersize',1)
+set(gca,'LineWidth',1)
+set(gca,'FontName','Ariel')
+set(gca,'fontsize',12)
+xlabel('Delta VQM')
+ylabel('Subjective Z Score')
+grid on
+print -dpng figure1
+
+figure(2)
+plot(delta_vqm_hat,z_vqm_hat,'.', 'markersize',1)
+set(gca,'LineWidth',1)
+set(gca,'FontName','Ariel')
+set(gca,'fontsize',12)
+xlabel('Delta VQM Hat')
+ylabel('Subjective Z Score')
+grid on
+print -dpng figure2
+
+% Plot average confidence that vqm(2) is worse than vqm(1) in figure 3.
+% Plot average confidence that vqm_hat(2) is worse than vqm_hat(1) in
+% figure 4. These are the resolving power plots.
+%
+% One control parameter for delta_vqm resolution plot; number of vqm bins
+% equally spaced from min(delta_vqm) to max(delta_vqm).
+% Sliding neighborhood filter with 50% overlap means that there will actually
+% be vqm_bins*2-1 points on the delta_vqm resolution plot.
+cdf_z_vqm = .5+erf(z_vqm/sqrt(2))/2;
+cdf_z_vqm_hat = .5+erf(z_vqm_hat/sqrt(2))/2;
+
+vqm_bins = 10; % How many bins to divide full vqm range for local averaging
+vqm_low = min(delta_vqm); % lower limit on delta_vqm
+vqm_high = max(delta_vqm); % upper limit on delta_vqm
+vqm_step = (vqm_high-vqm_low)/vqm_bins; % size of delta_vqm bins
+
+vqm_hat_low = min(delta_vqm_hat);
+vqm_hat_high = max(delta_vqm_hat);
+vqm_hat_step = (vqm_hat_high-vqm_hat_low)/vqm_bins;
+
+% lower, upper, and center bin locations
+low_limits = [vqm_low:vqm_step/2:vqm_high-vqm_step];
+high_limits = [vqm_low+vqm_step:vqm_step/2:vqm_high];
+centers = [vqm_low+vqm_step/2:vqm_step/2:vqm_high-vqm_step/2];
+
+```
+
+```
+
+hat_low_limits = [vqm_hat_low:vqm_hat_step/2:vqm_hat_high-vqm_hat_step];
+hat_high_limits = [vqm_hat_low+vqm_hat_step:vqm_hat_step/2:vqm_hat_high];
+hat_centers = [vqm_hat_low+vqm_hat_step/2:vqm_hat_step/2: ...
+ vqm_hat_high-vqm_hat_step/2];
+
+mean_cdf_z_vqm = zeros(1,2*vqm_bins-1);
+mean_cdf_z_vqm_hat = zeros(1,2*vqm_bins-1);
+for i=1:2*vqm_bins-1
+ in_bin = find(low_limits(i) <= delta_vqm & delta_vqm < high_limits(i));
+ hat_in_bin = find(hat_low_limits(i) <= delta_vqm_hat & ...
+ delta_vqm_hat < hat_high_limits(i));
+ mean_cdf_z_vqm(i) = mean(cdf_z_vqm(in_bin));
+ mean_cdf_z_vqm_hat(i) = mean(cdf_z_vqm_hat(hat_in_bin));
+end
+
+% The x-axis is vqm(2)-vqm(1). For figure 3 (the vqm plot), if vqm_sign is
+% 1, then the Y-axis is the average confidence that vqm(2) is worse than
+% vqm(1). On the other hand, if vqm_sign is -1, then the Y-axis is the
+% average confidence that vqm(1) is worse than vqm(2). Figure 4 is the plot
+% for vqm_hat, and since it always has the same sign as mos, the Y-axis is
+% always the average confidence that vqm_hat(2) is worse than vqm_hat(1).
+if (vqm_sign == 1)
+ figure(3)
+ % VQM resolving power
+ plot(centers,mean_cdf_z_vqm)
+ grid
+ set(gca,'LineWidth',1)
+ set(gca,'FontName','Ariel')
+ set(gca,'fontsize',11)
+ xlabel('VQM(2)-VQM(1)')
+ ylabel('Average Confidence VQM(2) is worse than VQM(1)')
+ print -dpng figure3
+else
+ figure(3)
+ % VQM resolving power
+ plot(centers,1-mean_cdf_z_vqm)
+ grid
+ set(gca,'LineWidth',1)
+ set(gca,'FontName','Ariel')
+ set(gca,'fontsize',11)
+ xlabel('VQM(2)-VQM(1)')
+ ylabel('Average Confidence VQM(1) is worse than VQM(2)')
+ print -dpng figure3
+end
+
+figure(4)
+% VQM Hat resolving power.
+plot(hat_centers,mean_cdf_z_vqm_hat)
+grid
+set(gca,'LineWidth',1)
+set(gca,'FontName','Ariel')
+set(gca,'fontsize',11)
+xlabel('VQM Hat(2) - VQM Hat(1)')
+ylabel('Average Confidence VQM Hat(2) is worse than VQM Hat(1)')
+print -dpng figure4
+
+% This portion of the code calculates and plots the relative frequencies of
+% three types of classification errors. A classification error is made when
+% the subjective test and the VQM lead to different conclusions on a pair
+% of data points.
+%
+% Background: For any subjective test, one must set a threshold that will
+% determine when two results are statistically equivalent, and when they are
+
+```
+
+```
+
+% statistically distinguishable. Then for each pair of data points (A,B),
+% the subjective test can yield one of three possible outcomes: (1) A better
+% than B, (2) A same as B, and (3) A worse than B.
+%
+% If we define a similar threshold for VQM values, we have the same
+% situation. For each pair of data points, VQM can yield one of three
+% possible outcomes: (1) A better than B, (2) A same as B, and (3) A worse
+% than B. Since each pair of data points undergoes three-way classification
+% by the subjective test and three-way classification by the VQM, there are
+% nine possible outcomes. For three of these outcomes, the subjective test
+% and the VQM agree. If we take the subjective test to be correct by
+% definition, and the VQM to be under test, then we say that for these three
+% outcomes, the VQM is correct. In two other cases the VQM has committed the
+% "false-tie" error (subjective test says A better than B, or A worse than B,
+% but VQM says A same as B). In two other cases the VQM has committed the
+% "false differentiation" error (subjective test says A same as B, but VQM
+% says A better than B, or A worse than B.) Finally, there are two cases
+% where the VQM has performed a false ranking (subjective test says A better
+% than B, or A worse than B, but VQM says the opposite.) Thus, all nine
+% outcomes are accounted for. Note that a three by three grid in
+% (delta_vqm, subjective Z score) space describing the above could be drawn.
+%
+% In the code below, the threshold used for the subjective test is subj_th.
+% The threshold used for the delta VQM is vqm_th and this is left as a free
+% parameter. The code plots the frequency of occurrence for the three
+% different kinds of errors and for no error vs. vqm_th. An optimal value of
+% vqm_th might be one that maximizes the frequency of occurrence of no error,
+% or one that minimizes a cost-weighted sum of the errors. Note that in
+% general, it is likely that false ties will be the least offensive error,
+% false differentiations will be more offensive, and false rankings will be
+% the worst sort of error.
+%
+% For more details, see S. Voran, "Techniques for Comparing Objective and
+% Subjective Speech Quality Tests," Proceedings of the Speech Quality
+% Assessment Workshop, Bochum, Germany, November 1994.
+%
+% Note: The nine outcomes and the three by three grid in (delta_vqm,
+% subjective Z score) space is the most natural way to describe this
+% analysis. This assumes bipolar values for delta_vqm. But the code has
+% already taken the absolute value of delta_vqm (and replaced Z with -Z for
+% all points with negative values of delta_vqm). This does not change the
+% math, but the more natural description of the situation is now 6 outcomes
+% and a 2 by 3 grid. Two correct outcomes (A better than B and A worse
+% than B) have been folded on top of each other. There are still two false
+% tie outcomes, but only one false differentiation outcome and one false
+% ranking outcome.
+
+% Figure 5 is the plot for vqm and figure 6 is the plot for vqm_hat.
+subj_th = 1.6; % 95 percent confidence
+num_th = 50; % number of delta_vqm thresholds to examine
+vqm_th_list = [vqm_low:(vqm_high-vqm_low)/num_th:vqm_high];
+vqm_hat_th_list = [vqm_hat_low:(vqm_hat_high-vqm_hat_low)/num_th: ...
+ vqm_hat_high];
+rel_freqs = zeros(vqm_bins+1,4);
+rel_hat_freqs = zeros(vqm_bins+1,4);
+for i = 1:num_th+1
+ vqm_th = vqm_th_list(i);
+ vqm_hat_th = vqm_hat_th_list(i);
+ % Number of data points in the false tie region
+ rel_freqs(i,1) = length(find((delta_vqm < vqm_th) & ...
+ (subj_th <= abs(z_vqm)))));
+ rel_hat_freqs(i,1) = length(find((delta_vqm_hat < vqm_hat_th) & ...
+ (subj_th <= abs(z_vqm_hat)))));
+ % Number of data points in the false differentiation region
+
+```
+
+```
+
+rel_freqs(i,2) = length(find((vqm_th <= delta_vqm) & ...
+ (abs(z_vqm) < subj_th)));
+rel_hat_freqs(i,2) = length(find((vqm_hat_th <= delta_vqm_hat) & ...
+ (abs(z_vqm_hat) < subj_th)));
+% Number of data points in the false ranking region
+if (vqm_sign == 1)
+ rel_freqs(i,3) = length(find((vqm_th <= delta_vqm) & ...
+ (z_vqm <= -subj_th)));
+else
+ rel_freqs(i,3) = length(find((vqm_th <= delta_vqm) & ...
+ (z_vqm >= subj_th)));
+end
+rel_hat_freqs(i,3) = length(find((vqm_hat_th <= delta_vqm_hat) & ...
+ (z_vqm_hat <= -subj_th)));
+end
+% Normalize counts by total number of points to get relative frequencies
+rel_freqs = rel_freqs/length(z_vqm);
+rel_hat_freqs = rel_hat_freqs/length(z_vqm_hat);
+% Calculate relative frequency of correctness
+rel_freqs(:,4) = (1-sum(rel_freqs(:,1:3)))';
+rel_hat_freqs(:,4) = (1-sum(rel_hat_freqs(:,1:3)))';
+
+% Figure 5 is plot for vqm and figure 6 is plot for vqm_hat.
+figure(5)
+% VQM Subjective Classification Errors
+plot(vqm_th_list,rel_freqs(:,1),'m-.', vqm_th_list,rel_freqs(:,2),'r:', ...
+ vqm_th_list,rel_freqs(:,3),'k-',vqm_th_list,rel_freqs(:,4),'b--');
+grid
+set(gca,'LineWidth',1)
+set(gca,'FontName','Ariel')
+set(gca,'fontsize',12)
+xlabel('Delta VQM Significance Threshold')
+ylabel('Relative Frequencies')
+legend('False Tie','False Differentiation','False Ranking','Correct Decision')
+print -dpng figure5
+
+figure(6)
+% VQM Hat Subjective Classification Errors
+plot(vqm_hat_th_list,rel_hat_freqs(:,1),'m-.', ...
+ vqm_hat_th_list,rel_hat_freqs(:,2),'r:', ...
+ vqm_hat_th_list,rel_hat_freqs(:,3),'k-', ...
+ vqm_hat_th_list,rel_hat_freqs(:,4),'b--');
+grid
+set(gca,'LineWidth',1)
+set(gca,'FontName','Ariel')
+set(gca,'fontsize',12)
+xlabel('Delta VQM Hat Significance Threshold')
+ylabel('Relative Frequencies')
+legend('False Tie','False Differentiation','False Ranking','Correct Decision')
+print -dpng figure6
+
+```
+
+# Appendix III
+
+## Data-fitting to a common scale of VQM
+
+(This appendix does not form an integral part of this Recommendation)
+
+As discussed in clause 4.2, the objective VQM data ( $O_i$ ) are mapped to a new domain $\hat{O}_i = F(O_i)$ . This domain is derived by fitting $O_i$ to the scaled subjective data ( $\hat{S}_{i*}$ ) using a family of functions $F$ (with fitting parameters) that have the properties of monotonicity and range mapping noted in clause 4.2. The following are three alternative choices for the form of $F$ , together with notes on data fitting using these functional forms.
+
+### III.1 Polynomial of order M
+
+A polynomial that is fit to a set of data points is not guaranteed to be monotonic. The MATLAB optimization toolbox has a function `lsqlin` that ensures monotonicity over the extent of the data. However, monotonicity over the existing data domain does not ensure monotonicity over the entire theoretical domain (for example, 0 to infinity).
+
+### III.2 Logistic function I
+
+Fitting the objective VQM data ( $O_i$ ) to the scaled subjective data ( $\hat{S}_{i*}$ ) can be done using a logistic function:
+
+$$\hat{O}_i = F(O_i) = a + b/\{1 + c(O_i + d)^e\}$$
+
+where $a$ , $b$ , $c$ , $d$ , and $e$ are fitting parameters. The fit function must be derived by non-linear least squares4. The part of the function to be used is the monotonic part for $O > -d$ (hence constrain $d > -\min(O)$ ), and the s-curve shape appropriate to the data fit is ensured by constraining $e > 1$ .
+
+In certain cases, at least asymptotically, the perfect score in the native-scale objective model can be made to map to zero (the best score on the subjective scale), and the worst native-scale objective score possible can be made to map to the worst subjective score (unity, on the Common Scale). For example, consider the following case: *Best objective score is zero, worst objective score is infinite*. Here zero maps to zero and infinity maps to 1, so $a = 1$ and $b = -(1 + cd^e)$ , hence:
+
+$$F(O_i) = 1 - (1 + cd^e)/\{1 + c(O_i + d)^e\}$$
+
+Fitting would take place on $c$ , $d$ , $e$ , subject to $d, e > 0$ .
+
+### III.3 Logistic function II
+
+Fitting the objective VQM data ( $O_i$ ) to the scaled subjective data ( $\hat{S}_{i*}$ ) can also be done using a logistic function:
+
+$$\hat{O}_i = F(O_i) = a + (b-a)/\{1 + \exp[-c(O_i - d)]\}$$
+
+---
+
+4 Constrained least squares non-linear curve fitting can be performed with the MATLAB function `lsqcurvefit`.
+
+where $a$ , $b$ , $c$ , and $d$ are fitting parameters, and $c > 0$ (ensured by defining $c = |C|$ for real $C$ ). As with Logistic I, the fit function must be derived by non-linear least squares5.
+
+One might use this optimization in the case noted in III.2: *Best objective score is zero, worst objective score is infinite*. Here, zero maps to zero and infinity maps to 1, so $a = -\exp[-cd]$ and $b = -a \exp[cd]$ . Hence:
+
+$$F(O_i) = [1 - \exp(-cO_i)] / [1 + \exp\{c(d - O_i)\}]$$
+
+Logistic Function II is also useful in the following case (which could arise when $O_i$ is expressed in logarithmic coordinates such as decibels): *Best objective score is infinite, worst objective score is negative-infinite*. In that case infinity must map to 0, and negative infinity must map to 1. Hence $b = 0$ , $a = 1$ , and:
+
+$$F(O_i) = 1 / [1 + \exp\{c(O_i - d)\}]$$
+
+---
+
+5 On p. 28 of the VQEG phase-1 final report (ITU-T Tutorial), the initial values for the parameters were chosen as $a =$ minimum subjective score, $b =$ maximum subjective score, $c = 1$ , and $d =$ mean objective score. A modified version of Logistic Function II was also used that accounted for differences in the variances of the subjective ratings.
+
+# Bibliography
+
+- [b-Voran] S. Voran (1994), *Techniques for Comparing Objective and Subjective Speech Quality Tests*, Proceedings of the Speech Quality Assessment Workshop, Bochum, Germany, November.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Terminals and subjective and objective assessment methods |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1613-202512-I_PDF-E/raw.md b/marked/J/T-REC-J.1613-202512-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..be8e0137ee5a74875c9ff79c19574d064c3e0a87
--- /dev/null
+++ b/marked/J/T-REC-J.1613-202512-I_PDF-E/raw.md
@@ -0,0 +1,447 @@
+
+
+# Recommendation
+
+## **ITU-T J.1613 (12/2025)**
+
+SERIES J: Cable networks and transmission of television, sound programme and other multimedia signals
+
+Artificial intelligence (AI) assisted cable networks –
+Requirements for the set-top box
+
+---
+
+## **The capability framework and requirements of cloud gaming smart terminals**
+
+
+
+The logo of the International Telecommunication Union (ITU), featuring the letters 'ITU' in blue inside a circular emblem with a globe and network lines.
+
+ITU logo
+
+## ITU-T J-SERIES RECOMMENDATIONS
+
+### **Cable networks and transmission of television, sound programme and other multimedia signals**
+
+| | |
+|-------------------------------------------------------------------------------------------------|----------------------|
+| GENERAL RECOMMENDATIONS | J.1-J.9 |
+| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 |
+| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 |
+| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 |
+| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 |
+| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 |
+| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 |
+| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 |
+| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 |
+| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 |
+| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.150-J.159 |
+| IPCABLECOM (MGCP-BASED) - PART 1 | J.160-J.179 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.180-J.189 |
+| CABLE MODEMS AND HOME NETWORKING | J.190-J.199 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.200-J.209 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.210-J.229 |
+| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.230-J.239 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.240-J.249 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS | J.250-J.259 |
+| IPCABLECOM (MGCP-BASED) - PART 2 | J.260-J.279 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.280-J.289 |
+| CABLE SET-TOP BOX | J.290-J.299 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.300-J.309 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.340-J.349 |
+| IPCABLECOM2 (SIP-BASED) - PART 1 | J.360-J.379 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.380-J.389 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.440-J.449 |
+| IPCABLECOM2 (SIP-BASED) - PART 2 | J.460-J.479 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.480-J.489 |
+| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.600-J.699 |
+| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.700-J.799 |
+| MULTIMEDIA OVER IP IN CABLE | J.800-J.899 |
+| TRANSMISSION OF 3-D TV SERVICES | J.900-J.999 |
+| CONDITIONAL ACCESS AND PROTECTION | J.1000-J.1099 |
+| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.1100-J.1119 |
+| SMART TV OPERATING SYSTEM | J.1200-J.1209 |
+| IP VIDEO BROADCAST | J.1210-J.1219 |
+| CABLE SET-TOP BOX - PART 2 | J.1290-J.1299 |
+| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.1300-J.1309 |
+| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.1310-J.1319 |
+| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.1400-J.1409 |
+| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 |
+| General requirements for the AI-assisted cable network platform | J.1600-J.1609 |
+| Requirements for the set-top box | J.1610-J.1619 |
+| Interfaces between the AI-assisted cable network platform and set-top box | J.1620-J.1629 |
+| Data models of the communicated data for the AI-assisted cable network platform | J.1630-J.1639 |
+| Migration and applications of the AI-assisted cable networks | J.1640-J.1649 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T J.1613
+
+## The capability framework and requirements of cloud gaming smart terminals
+
+## Summary
+
+It is necessary to develop a Recommendation to ensure that cloud gaming smart terminals from different manufacturers can work seamlessly with various cloud gaming platforms, providing a consistent user experience across multiple devices. This also helps maintain a high-quality gaming experience for users, regardless of the terminal used. Additionally, a standardized approach simplifies meeting requirements for cloud gaming services across different regions, as it is more likely to gain universal acceptance.
+
+Recommendation ITU-T J.1613 defines the technical requirements at each layer, ultimately promoting the uniformity and standardization of the capability framework for cloud gaming smart terminals. It also serves as a reference guide for manufacturers.
+
+Focusing on cable television networks, the Recommendation specifies terminal-side capabilities and requirements to ensure interoperability with cloud gaming service platforms, and complements the existing Recommendation ITU-T J.1311. It supports the uniformity and standardization of cloud gaming terminals within the remit of the ITU-T J-series.
+
+## History \*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T J.1613 | 2025-12-14 | 21 | 11.1002/1000/16608 |
+
+## Keywords
+
+Cloud gaming, smart terminal.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2026
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|--------------------------------------------------------------|------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Capability framework of cloud gaming smart terminals ..... | 2 |
+| 7 Fundamental layer ..... | 3 |
+| 7.1 Display configuration requirements ..... | 3 |
+| 7.2 Device access requirements..... | 3 |
+| 7.3 Information interaction requirements ..... | 3 |
+| 7.4 Control interface requirements ..... | 4 |
+| 8 Functional layer ..... | 4 |
+| 8.1 Audio and video decoding requirements ..... | 5 |
+| 8.2 Game image rendering requirements..... | 5 |
+| 8.3 Low-latency guarantee requirements ..... | 5 |
+| 8.4 Game image quality setting requirements ..... | 5 |
+| 9 Interactive experience layer ..... | 5 |
+| 9.1 User-terminal interaction requirements ..... | 6 |
+| 9.2 User-client interaction requirements ..... | 6 |
+| Bibliography..... | 8 |
+
+
+
+# Recommendation ITU-T J.1613
+
+## The capability framework and requirements of cloud gaming smart terminals
+
+# 1 Scope
+
+This Recommendation provides the requirements for the capability framework of cloud gaming smart terminals for televisions based on cable network infrastructure. Cable networks, known for their stability, low latency and high bandwidth, enable cloud gaming smart terminals to deliver high-quality cloud gaming services to users. This Recommendation describes the fundamental capabilities, functional features and interactive experiences that cloud gaming smart terminals need to have, as well as the relevant device requirements for connectivity through the cable network.
+
+# 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 indicated 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-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a standalone document, the status of a Recommendation.
+
+[ITU-T J.1311] Recommendation ITU-T J.1311 (2024), *Technical requirements for cloud gaming service platforms*.
+
+[ISO/IEC 14496-3] ISO/IEC 14496-3:2019, *Information technology – Coding of audio-visual objects – Part 3: Audio*.
+
+[3GPP TR 26.928] 3GPP TR 26.928 V18.0.0 (2023-03), *Extended Reality (XR) in 5G (Release 18)*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following term defined elsewhere:
+
+**3.1.1 cloud gaming** [b-ITU-T F.743.17]: A way of playing the game on a cloud server. In the "cloud gaming" mode, game storage, computing, rendering, and so on are completed in the cloud, players can experience high-quality games through any terminal, anytime anywhere.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 user-terminal interaction:** The capability of users to control games via interaction with the cloud gaming smart terminal through input devices (e.g., remote controllers and game controllers), voice, motion or touchscreens.
+
+**3.2.2 user-client interaction:** The capability of users to manage user information and control games through the cloud gaming client.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|--------------------------------------|
+| AAC | Advanced Audio Coding |
+| API | Application Programming Interface |
+| fps | Frame Per Second |
+| HDMI | High-Definition Multimedia Interface |
+| HDR | High Dynamic Range |
+| USB | Universal Serial Bus |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The phrase "**is required**" indicates a requirement that shall be strictly followed and from which no deviation is permitted if conformity with this document is to be claimed.
+
+The phrase "**is recommended**" indicates a requirement that is recommended but which is not absolutely required. Thus, this requirement needs not be present to claim conformity.
+
+In this Recommendation the words shall sometimes appear, in which case they are to be interpreted, respectively, as *is required to*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+Requirements are identified using the following conventions:
+
+- Requirement number xx in subclause n.m is of the form R n.m-xx;
+- Recommended requirement number yy in subclause n.m is of the form RR n.m-yy.
+
+In the body of this Recommendation and its annexes, the words **shall**, **shall not**, **should**, and **may** are to be interpreted, respectively, as *is required*, *is prohibited*, *is recommended*, and *can optionally*. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative shall be interpreted as having no normative intent.
+
+# 6 Capability framework of cloud gaming smart terminals
+
+The capability framework of cloud gaming smart terminals can be visualized as consisting of three distinct tiers: the fundamental layer, the functional layer and the interactive experience layer, as depicted in Figure 1. Through network connectivity, cloud gaming smart terminals establish a link to the cloud gaming service platforms [ITU-T J.1311]. These terminals receive game visuals that have been rendered on the cloud gaming servers, facilitating user engagement with the game content via various input devices.
+
+Fundamental layer: the cloud gaming smart terminal provides necessary capabilities such as display configuration, device access, information interaction and control interface to support the operation of the cloud gaming client.
+
+Functional layer: the cloud gaming smart terminal provides capabilities such as audio and video decoding and game image rendering, as well as low-latency guarantee and game image quality setting.
+
+Interactive experience layer: the cloud gaming smart terminal provides capabilities, including user-terminal interaction and user-client interaction.
+
+
+
+| | | |
+|-------------------------------------|----------------------------|-------------------------|
+| Interactive experience layer | User-terminal interaction | User-client interaction |
+| | | |
+| Functional layer | Audio and video decoding | Game image rendering |
+| | Game image quality setting | Low-latency guarantee |
+| Fundamental layer | Display configuration | Control interface |
+| | Information interaction | Device access |
+
+J.1613(25)
+
+Figure 1 – Capability framework of cloud gaming smart terminals. The diagram shows three layers: Interactive experience layer, Functional layer, and Fundamental layer. Each layer is a box containing two columns of capabilities. The Interactive experience layer contains 'User-terminal interaction' and 'User-client interaction'. The Functional layer contains 'Audio and video decoding', 'Game image rendering', 'Game image quality setting', and 'Low-latency guarantee'. The Fundamental layer contains 'Display configuration', 'Control interface', 'Information interaction', and 'Device access'. A small note 'J.1613(25)' is at the bottom right.
+
+**Figure 1 – Capability framework of cloud gaming smart terminals**
+
+# 7 Fundamental layer
+
+The fundamental layer of the cloud gaming smart terminal provides the basic infrastructure and services required to support cloud gaming on the terminal side, including the following capabilities:
+
+- 1) Display configuration: the ability to present high-quality game images and visual effects.
+- 2) Device access: the ability to connect with input devices such as remote controllers and game controllers, ensuring that users can control cloud gaming using various types of input devices.
+- 3) Information interaction: the ability to acquire and collect player input, operations and other information, and to interact with players.
+- 4) Control interface: the ability to connect to and support various external interfaces, including universal serial buses (USBs), high-definition multimedia interfaces (HDMIs), short-range wireless transmission, infrared and network interfaces.
+
+## 7.1 Display configuration requirements
+
+- RR 7.1-01: The resolution is recommended to be not less than 1920 x 1080.
+- RR 7.1-02: The refresh rate is recommended to be 50 Hz or higher.
+- RR 7.1-03: The terminal is recommended to support high dynamic range (HDR) technology.
+
+## 7.2 Device access requirements
+
+- RR 7.2-01: The terminal is recommended to support access via remote controller, game controller and keyboard and mouse via Bluetooth 5.0 or higher, USB or infrared.
+- RR 7.2-02: The terminal is recommended to support camera access. The camera should feature a wide angle of more than 160°, have a resolution of no less than 720P and support USB wired transmission or short-range wireless input. Support for AI-based image recognition (e.g., gesture control) is recommended, enabling advanced interaction features.
+- RR 7.2-03: The terminal is recommended to support game joysticks, fitness game devices and simulation game devices.
+
+### 7.3 Information interaction requirements
+
+- R 7.3-01: The terminal is required to support input and interaction from input devices such as remote controllers. For example, users can control the character's movement in the game through buttons on the remote controller.
+- RR 7.3-01: The terminal is recommended to support voice interactions (such as through a microphone), motion controls (like those from a Ring-Con), and touch screen capabilities (for example, on a touch screen TV) to enhance the user experience. For instance, voice
+
+command input through the microphone can be used to quickly execute in-game commands, or motion-captured gestures from the Ring-Con can simulate physical actions within the game.
+
+### **7.4 Control interface requirements**
+
+#### **7.4.1 USB interface**
+
+- R 7.4.1-01: The terminal is required to have at least one USB interface.
+- RR 7.4.1-01: The terminal is recommended to have two or more USB interfaces.
+- RR 7.4.1-02: It is recommended that the USB interface complies with USB 2.0 or higher versions.
+- RR 7.4.1-03: The terminal is recommended to support external USB cameras and game controllers.
+
+#### **7.4.2 HDMI interface**
+
+- R 7.4.2-01: The terminal is required to have at least one HDMI.
+- R 7.4.2-02: HDMI is required to be compliant with the following specifications:
+ - Type-A (female)
+ - HDMI version 1.4 or above.
+
+#### **7.4.3 Short-range wireless transmission interface**
+
+- R-7.4.3-01: The interface is required to comply with Bluetooth 5.0 or higher versions, or other short-range wireless transmission technologies of equivalent capability.
+- RR-7.4.3-01: The interface is recommended to have the capability to connect with multiple devices simultaneously.
+
+#### **7.4.4 Infrared interface**
+
+- R-7.4.4-01: The infrared interface is required to support universal infrared remote controllers and multiple device connections.
+
+#### **7.4.5 Network interface**
+
+- RR-7.4.5-01: The network interface is recommended to support wireless networks compliant with IEEE 802.11b/g/n/ac standards.
+- RR-7.4.5-02: For wired networks, it is recommended that the network interface is equipped with RJ45 100Base-T or a higher speed one.
+
+# **8 Functional layer**
+
+The functional layer of the cloud gaming smart terminal includes the following capabilities:
+
+- 1) Audio and video decoding: The ability to decode cloud gaming audio and video streams, supporting multiple audio and video formats and frame rates.
+- 2) Game image rendering: The ability to render the decoded cloud gaming images onto the display screen of the terminal.
+- 3) Low-latency guarantee: The ability to ensure low decoding delay and roundtrip interaction delay [3GPP TR 26.928] during the operation of cloud gaming.
+- 4) Game image quality setting: The ability to set the image quality of cloud gaming images by the terminal when they are output to the display screen.
+
+### 8.1 Audio and video decoding requirements
+
+- R-8.1-01: The audio decoding is required to support advanced audio coding (AAC) as specified in [ISO/IEC 14496-3].
+- R-8.1-02: The video decoding is required to support H.264 [b-ITU-T H.264].
+- R-8.1-03: The video decoding is required to support a minimum hardware decoding capability of 1080P at 30 fps.
+- RR-8.1-01: The video decoding is recommended to support 1080P at 50/60 fps.
+- RR-8.1-02: It is recommended that the decoder supports a low-latency mode, which enables the playback of streams with only I-frames and P-frames in a frame-in-frame-out manner.
+- RR-8.1-03: The audio decoding is recommended to support Opus, as specified in [b-IETF RFC 6716].
+
+### 8.2 Game image rendering requirements
+
+- R-8.2-01: The game image rendering is required to meet at least the image output requirement of 1080P at 30 fps.
+- RR-8.2-01: The game image rendering is recommended to support general-purpose game engines so as to achieve seamless adaptation between the output of the cloud-based engine and the terminal display.
+- RR-8.2-02: The game image rendering is recommended to support the general-purpose embedded graphics application programming interfaces (APIs) and cross-platform high-performance graphics APIs, ensuring game visuals can be accurately processed and rendered.
+- RR-8.2-03: The game image rendering is recommended to support basic game special effects, such as lighting and shadow effects and texture mapping.
+
+### 8.3 Low-latency guarantee requirements
+
+- RR-8.3-01: To ensure stable cloud gaming operation, the roundtrip interaction delay is recommended to be less than 150 milliseconds, with further optimization to under the 100 milliseconds recommended for superior interaction smoothness.
+- RR-8.3-02: At a decoding frame rate of 30 fps, the decoding delay is recommended to be less than 20 milliseconds, and for an enhanced user experience, a lower latency target of under 10 milliseconds is recommended.
+- RR-8.3-03: At a decoding frame rate of 50/60 fps, the decoding delay is recommended to be less than 10 milliseconds, and for an enhanced user experience, a lower latency target of under 5 milliseconds is recommended.
+
+### 8.4 Game image quality setting requirements
+
+- R-8.4-01: The game image quality setting is required to support the adaptive display quality setting for different game scenes, encompassing adjustments such as brightness, contrast, colour saturation and backlight brightness.
+- R-8.4-02: The game image quality setting is required not to involve frame buffer, to ensure the minimization of any associated delays.
+
+# 9 Interactive experience layer
+
+The user-terminal interaction includes the following capabilities:
+
+- 1) Device manipulation: Users use specific input devices to control games, including remote controller and game controller operation.
+- 2) Voice control: Users perform game operations through voice commands.
+
+- 3) Motion control: Users use sensor technology or visual technology to capture their own body movements for controlling games.
+- 4) Touch interaction: Users directly touch, click or swipe on the screen to control games.
+
+The user-client interaction capability includes the following capabilities:
+
+- 1) User information management: The cloud gaming client can manage and maintain user information, including user account management, user personal information management and user game data management.
+- 2) User payment management: The cloud gaming client can manage and maintain user payment capabilities, including transaction record management and payment preference settings.
+- 3) Game selection: The cloud gaming client provides users with the ability to browse game lists, search for games and select games.
+- 4) Game operation: The cloud gaming client provides users with the ability to start, operate and save games.
+
+### **9.1 User-terminal interaction requirements**
+
+#### **9.1.1 Device manipulation requirements**
+
+- R-9.1.1-01: The remote controller operation is required to support four-directional keys for up, down, left and right movements with a confirmation control, as well as other basic gaming controls.
+- R-9.1.1-02: The game control operation is required to support the simultaneous connection of one or multiple controllers and communication through XInput and DirectInput protocols, as well as both wired and wireless connection methods.
+
+#### **9.1.2 Voice control requirements**
+
+- RR-9.1.2-01: The voice control is recommended to support voice activation or activation via a remote controller voice key.
+- RR-9.1.2-02: The voice control is recommended to support common voice interaction functions, including starting games, adjusting volume and searching for games.
+- RR-9.1.2-03: The voice control is recommended to ensure rapid voice recognition and command response for efficient operation.
+
+#### **9.1.3 Motion control requirements**
+
+- R-9.1.3-01: The motion control is required to support the use of gyroscopes or visual technology to achieve game control.
+- RR-9.1.3-02: The motion control is recommended to support user-defined settings, such as adjusting the control sensitivity and trigger threshold.
+
+#### **9.1.4 Touch interaction requirements**
+
+- RR-9.1.4-01: It is recommended that the touch interaction support operations such as tap, double-tap, swipe and pinch.
+
+### **9.2 User-client interaction requirements**
+
+#### **9.2.1 User information management requirements**
+
+- R-9.2.1-01: The user information management is required to support user registration and login, account cancellation and password modification.
+- R-9.2.1-02: The user information management is required to support user-defined settings, such as character image selection and nickname modification.
+
+- RR-9.2.1-01: The user information management capability is recommended to support user query of gameplay data, such as playtime and achievement information.
+
+#### **9.2.2 User payment management requirements**
+
+- R-9.2.2-01: The user payment management is required to support payment through its own channels or third-party channels.
+- RR-9.2.2-01: The user payment management is recommended to support consulting historical payment records.
+
+#### **9.2.3 Game selection requirements**
+
+- R-9.2.3-01: The game selection is required to provide a game list so that players can browse games conveniently.
+- R-9.2.3-02: The game selection is required to support the game search so that players can search for games according to game names, keywords or game types.
+- RR-9.2.3-01: The game selection is recommended to support game classification so that players can select games according to different classification methods, including game types, recommended games, popular games and new games.
+
+#### **9.2.4 Game operation requirements**
+
+- R-9.2.4-01: The game operation is required to support users to start and close games.
+- R-9.2.4-02: The game operation is required to support user selection of game control methods.
+- RR-9.2.4-01: The game operation is recommended to support saving, loading and deleting game saves.
+
+## Bibliography
+
+- [b-ITU-T F.743.17] Recommendation ITU-T F.743.17 (2022), *Requirements for cloud gaming systems*.
+- [b-ITU-T H.264] Recommendation ITU-T H.264 (V15) (2024), *Advanced video coding for generic audiovisual services*.
+- [b-IETF RFC 6716] IETF RFC 6716 (2012), *Definition of the Opus Audio Codec*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.1630-202406-I_PDF-E/raw.md b/marked/J/T-REC-J.1630-202406-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..8d05e976db55099b99ceb3ff2c33e0593cccebfe
--- /dev/null
+++ b/marked/J/T-REC-J.1630-202406-I_PDF-E/raw.md
@@ -0,0 +1,1489 @@
+
+
+# Recommendation**ITU-T J.1630 (06/2024)**
+
+SERIES J: Cable networks and transmission of television, sound programme and other multimedia signals
+
+Artificial intelligence (AI) assisted cable networks – Data models of the communicated data for the AI-assisted cable network platform
+
+---
+
+### **End-to-end network characteristics requirement for video services over integrated broadband cable network**
+
+
+
+The logo of the International Telecommunication Union (ITU), featuring the letters 'ITU' in blue inside a circle with a globe-like grid pattern.
+
+ITU logo
+
+## ITU-T J-SERIES RECOMMENDATIONS
+
+## Cable networks and transmission of television, sound programme and other multimedia signals
+
+| | |
+|----------------------------------------------------------------------------------------------------|----------------------|
+| GENERAL RECOMMENDATIONS | J.1-J.9 |
+| GENERAL SPECIFICATIONS FOR ANALOGUE SOUND-PROGRAMME TRANSMISSION | J.10-J.19 |
+| PERFORMANCE CHARACTERISTICS OF ANALOGUE SOUND-PROGRAMME CIRCUITS | J.20-J.29 |
+| EQUIPMENT AND LINES USED FOR ANALOGUE SOUND-PROGRAMME CIRCUITS | J.30-J.39 |
+| DIGITAL ENCODERS FOR ANALOGUE SOUND-PROGRAMME SIGNALS - PART 1 | J.40-J.49 |
+| DIGITAL TRANSMISSION OF SOUND-PROGRAMME SIGNALS | J.50-J.59 |
+| CIRCUITS FOR ANALOGUE TELEVISION TRANSMISSION | J.60-J.69 |
+| ANALOGUE TELEVISION TRANSMISSION OVER METALLIC LINES AND INTERCONNECTION WITH RADIO-RELAY LINKS | J.70-J.79 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS | J.80-J.89 |
+| ANCILLARY DIGITAL SERVICES FOR TELEVISION TRANSMISSION | J.90-J.99 |
+| OPERATIONAL REQUIREMENTS AND METHODS FOR TELEVISION TRANSMISSION | J.100-J.109 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS FIRST AND SECOND GENERATIONS) | J.110-J.129 |
+| TRANSPORT OF MPEG-2 SIGNALS ON PACKETIZED NETWORKS | J.130-J.139 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 1 | J.140-J.149 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS IPCABLECOM (MGCP-BASED) - PART 1 | J.150-J.159 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 1 | J.160-J.179 |
+| CABLE MODEMS AND HOME NETWORKING | J.180-J.189 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 1 | J.190-J.199 |
+| INTERACTIVE SYSTEMS FOR DIGITAL TELEVISION DISTRIBUTION (DOCSIS THIRD TO FIFTH GENERATIONS) | J.200-J.209 |
+| MULTI-DEVICE SYSTEMS FOR CABLE TELEVISION | J.210-J.229 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 2 | J.230-J.239 |
+| DIGITAL TELEVISION DISTRIBUTION THROUGH LOCAL SUBSCRIBER NETWORKS IPCABLECOM (MGCP-BASED) - PART 2 | J.240-J.249 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 2 | J.250-J.259 |
+| CABLE SET-TOP BOX | J.260-J.279 |
+| APPLICATION FOR INTERACTIVE DIGITAL TELEVISION - PART 2 | J.280-J.289 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 3 | J.290-J.299 |
+| IPCABLECOM2 (SIP-BASED) - PART 1 | J.300-J.309 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 3 | J.310-J.319 |
+| MEASUREMENT OF THE QUALITY OF SERVICE - PART 4 | J.320-J.329 |
+| IPCABLECOM2 (SIP-BASED) - PART 2 | J.330-J.339 |
+| DIGITAL TRANSMISSION OF TELEVISION SIGNALS - PART 4 | J.340-J.349 |
+| TRANSPORT OF LARGE SCREEN DIGITAL IMAGERY | J.350-J.359 |
+| SECONDARY DISTRIBUTION OF IPTV SERVICES | J.360-J.379 |
+| MULTIMEDIA OVER IP IN CABLE | J.380-J.389 |
+| TRANSMISSION OF 3-D TV SERVICES | J.390-J.399 |
+| CONDITIONAL ACCESS AND PROTECTION | J.400-J.409 |
+| SWITCHED DIGITAL VIDEO OVER CABLE NETWORKS | J.410-J.419 |
+| SMART TV OPERATING SYSTEM | J.420-J.429 |
+| IP VIDEO BROADCAST | J.430-J.439 |
+| CABLE SET-TOP BOX - PART 2 | J.440-J.449 |
+| CLOUD-BASED CONVERGED MEDIA SERVICES FOR IP AND BROADCAST CABLE TELEVISION | J.450-J.459 |
+| CLOUD-BASED SERVICES FOR IP DELIVERY OVER INTEGRATED BROADBAND CABLE NETWORK | J.460-J.479 |
+| TELEVISION TRANSPORT NETWORK AND SYSTEM DEPLOYMENT IN DEVELOPING COUNTRIES | J.480-J.489 |
+| ARTIFICIAL INTELLIGENCE (AI) ASSISTED CABLE NETWORKS | J.1600-J.1649 |
+| General requirements for the AI-assisted cable network platform | J.1600-J.1609 |
+| Requirements for the set-top box | J.1610-J.1619 |
+| Interfaces between the AI-assisted cable network platform and set-top box | J.1620-J.1629 |
+| Data models of the communicated data for the AI-assisted cable network platform | J.1630-J.1639 |
+| Migration and applications of the AI-assisted cable networks | J.1640-J.1649 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# **Recommendation ITU-T J.1630**
+
+# **End-to-end network characteristics requirement for video services over integrated broadband cable network**
+
+# **Summary**
+
+Recommendation ITU-T J.1630, describes the scope of key performance indicators (KPIs) for network performance and key quality indicators (KQIs) for user experience with traditional and advanced video services. This Recommendation also defines the measurement and monitoring methods. Such key performance indicators (KPI) as well as their monitoring and management can be used for multi-QoS optimization thus enabling artificial intelligence (AI) functions over integrated broadband cable network.
+
+This Recommendation belongs to the series of AI assisted cable network Recommendations intended to provide more flexible and effective usage of network resources by applying intellectual functions.
+
+At the time of drafting of this Recommendation this series additionally includes the following Recommendations:
+
+- Recommendation ITU-T J.1600: This document specifies the framework of the premium cable network platform (PCNP) for cable TV and broadband network that exploit cloud based artificial intelligence (AI) and network data to optimize network and TV services, thus enabling the high satisfaction of user's experience of perceptual aspects of services.
+- Recommendation ITU-T J.1611: This document specifies functional requirements for a smart home gateway from both the hardware and software point of view to ensure secure interoperability among consumers, businesses and industries by delivering a standardized communications platform and allowing devices to communicate across operating systems, service providers, transport technologies or ecosystems. In a smart home solution, a gateway is incorporated to connect various appliances. In addition, a connection management platform based on the Internet of things (IoT) is required to enable various applications. These applicable solutions include home health, entertainment, security and home automation, which promote a safer, happier, as well as a more comfortable and convenient lifestyle.
+- Recommendation ITU-T J.1612 aims to define the architecture for a smart home gateway (SHGW) which addresses the functional requirements found in Recommendation ITU-T J.1611. This Recommendation consists of concepts of a virtual device model, dynamic device profile and other important software modules. With the introduction of these important modules, the architecture can dynamically support existing smart home devices and devices in the future. Smart home is one example of a home automation system in which a wide range of IoT devices in a home cooperate to provide intelligent controlling and monitoring functions for home users. Smart home gateway connects various smart home devices, provides hardware interfaces of various smart home communication protocols, runs communication protocols, performs protocol conversion and bridging, and realizes the interaction between the user control terminal and cloud server.
+- Recommendation ITU-T J.1631 describes functional requirements of the end-to-end (E2E) network platform to deliver 360°/virtual reality (VR) video services from the video cloud to terminal devices over integrated broadband cable networks. Cloud VR is a new cloud computing technology for VR services. With fast and stable transport networks, VR contents are stored and rendered in the cloud. Audiovisual contents are encoded, compressed and transmitted to user terminals. This Recommendation specifies the network requirements of cloud VR services.
+
+## History\*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T J.1630 | 2024-06-29 | 9 | 11.1002/1000/15972 |
+
+## Keywords
+
+Artificial intelligence, jitter, KPI, KQI, MPEG, packet loss, video quality.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 received notice of intellectual property, protected by patents/software copyrights, 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 appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2024
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+###### Page
+
+| | | |
+|------|-------------------------------------------------------------------------------------------------------------|----|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 2 |
+| 3.1 | Terms defined elsewhere ..... | 2 |
+| 3.2 | Terms defined in this Recommendation..... | 3 |
+| 4 | Abbreviations and acronyms ..... | 3 |
+| 5 | Conventions ..... | 4 |
+| 6 | Key performance indicators (KPI)..... | 5 |
+| 6.1 | Video services ..... | 5 |
+| 6.2 | AR/VR services ..... | 10 |
+| 6.3 | Multi-view video services ..... | 12 |
+| 7 | Key quality indicators (KQIs) ..... | 12 |
+| 8 | Monitoring and measurement..... | 14 |
+| | Appendix I – Measurement guidelines for KPI estimation..... | 15 |
+| I.1 | Scope ..... | 15 |
+| I.2 | General concept of measurement ..... | 15 |
+| I.3 | Measurement of bandwidth influence ..... | 20 |
+| I.4 | Measurement of IP packet loss influence..... | 22 |
+| I.5 | Measurement of IP packet jitter influence..... | 23 |
+| | Appendix II – KQI estimation guidelines ..... | 24 |
+| II.1 | General approach to KQI measurement ..... | 24 |
+| II.2 | Guidelines for KQI measurement management ..... | 25 |
+| | Appendix III – Example of packet loss estimation ..... | 31 |
+| | Appendix IV – Example of packet duplication estimation ..... | 41 |
+| | Appendix V – Example of IP packet jitter estimation ..... | 44 |
+| | Appendix VI – Example of network requirements of cloud VR according to
Recommendation ITU-T J.1631 ..... | 46 |
+| VI.1 | Example of E2E network real-time transmission (RTT) requirements of
cloud VR..... | 46 |
+| VI.2 | Example of network delay jitter requirements of cloud VR..... | 46 |
+| VI.3 | Example of network bandwidth requirements of cloud VR..... | 46 |
+| VI.4 | Example of network packet loss requirements of cloud VR ..... | 47 |
+| | Bibliography..... | 48 |
+
+# Introduction
+
+From a biological perspective there are about 100 000 nerve cells in the ear while there are more than 120 million nerve cells in the eye, which is 1 200 times that of the ear. This huge gap in the number of nerve cells is reflected in the gap in the amount of external information processed. To paraphrase the saying "A picture is worth a thousand words and video can be used to convey so much more". The eye is the most important way for humans to perceive the world, so video may be considered a rigid requirement of consumers.
+
+From the perspective of communication, the ear is the entrance to auditory perception, connecting the era of speech while the eye is the entrance to visual perception, connecting the era of video. In the digital era, just 64 kbit/s of network bandwidth is required to deliver clear vocal communication. High-definition video however requires more than 10 Mbit/s of network bandwidth. Today audio has been developed to the extreme and 22.2 Hz immersive audio has reached the limits of human hearing; video however ranges from black and white to colour, from standard definition to high definition, from 4 K to 8 K, and also comprises augmented reality (AR), virtual reality (VR) and certainly further developments in the future. Video services demand is still a long way from being satisfied. In the current information explosion era, video is the main carrier of information, and video demand has become a global, universal demand.
+
+High-definition video will be ubiquitous in the future. Consumers' evaluations of the quality of the broadband network will gradually shift from concern with the original voice quality and the Internet speed to the video viewing experience. Building a core network with a quality video experience is an issue that operators must address in order to enhance their brand influence and market competitiveness, so as to achieve sustainable business success.
+
+How is the network performance and video viewing experience to be evaluated? Different video services (4K, 8K, VR, AR, etc.) have different network performance requirements which are evaluated by network key performance indicators (KPIs). Also, different video services for user experience have different quality requirements to be evaluated by service key quality indicators (KQIs). In this Recommendation, the scope of KPIs for network performance and KQIs for user experience will be described, and the measurement and monitoring methods will be defined.
+
+
+
+## End-to-end network characteristics requirement for video services over integrated broadband cable network
+
+# 1 Scope
+
+In this Recommendation, the scope of key performance indicators (KPIs) for cable integrated broadband network performance and key quality indicators (KQIs) for user experience for traditional video services such as Internet protocol television (IPTV) and Internet video and advanced video services such as augmented reality (AR), cloud virtual reality (VR) video and multi-view video, etc., are described, and the measurement and monitoring methods are defined.
+
+This Recommendation provides a framework for defining video service requirements based on a KPIs and KQIs approach when cable or hybrid networks are used for distribution of television and sound programmes and advanced content delivery. Such services include video services, encompassing both traditional video services such as IPTV and Internet video, as well as cutting-edge video applications such as augmented reality (AR), virtual reality (VR) in the cloud, and multi-view video (MV).
+
+These KPIs will play a crucial role in quantifying and assessing the efficiency, reliability, and capacity of these networks to support advanced video services. Also, their monitoring and measurement provide the possibility to multi-QoS optimization thus enabling optimization of network performance and more flexible/adaptive usage of network resources for conventional and advanced video services such as AR, VR, etc. Such key performance indicators (KPI) as well as their monitoring and management can be used for multi-QoS optimization thus enabling AI functions over integrated broadband cable network.
+
+In addition, this Recommendation will delve into the intricacies of key quality indicators (KQIs) related to user experience when accessing a wide range of video services. The goal is to define KQIs that adequately reflect the varying demands and expectations of users engaging with these services.
+
+This Recommendation will also provide detailed measurement and monitoring methods, offering a comprehensive framework for assessing the performance and quality of experience for video services. The methods will be designed to accommodate the specific needs and characteristics of each type of video service, ensuring that cable or hybrid networks for distribution of television and sound programmes can meet the demands of today's diverse and rapidly evolving video landscape, while enhancing the user experience across the board.
+
+# 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 indicated 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-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 G.1035] Recommendation ITU-T G.1035 (2021), *Influencing factors on quality of experience for virtual reality services*.
+- [ITU-T G.1036] Recommendation ITU-T G.1036 (2022), *Quality of experience influencing factors for augmented reality services*.
+- [ITU-T G.1082] Recommendation ITU-T G.1082 (2009), *Measurement-based methods for improving the robustness of IPTV performance*.
+
+- [ITU-T J.144] Recommendation ITU-T J.144 (2004), *Objective perceptual video quality measurement techniques for digital cable television in the presence of a full reference*.
+- [ITU-T J.241] Recommendation ITU-T J.241 (2005), *Quality of service ranking and measurement methods for digital video services delivered over broadband IP networks*.
+- [ITU-T J.341] Recommendation ITU-T J.341 (2016), *Objective perceptual multimedia video quality measurement of HDTV for digital cable television in the presence of a full reference*.
+- [ITU-T J.1631] Recommendation ITU-T J.1631 (2021), *Functional requirements of E2E network platforms to enhance the delivery of cloud-VR services over integrated broadband cable networks*.
+- [ITU-T P.1201] Recommendation ITU-T P.1201 (2012), *Parametric non-intrusive assessment of audiovisual media streaming quality*.
+- [ITU-T P.1202] Recommendation ITU-T P.1201 (2012), *Parametric non-intrusive bitstream assessment of video media streaming quality*.
+- [ITU-T P.1204.4] Recommendation ITU-T P.1204.4 (2022), *Video quality assessment of streaming services over reliable transport for resolutions up to 4K with access to full and reduced reference pixel information*.
+- [ETSI ES 202 765-4] ETSI ES 202 765-4 V1.2.1 (2014), *Speech and multimedia Transmission Quality (STQ); QoS and network performance metrics and measurement methods; Part 4: Indicators for supervision of Multiplay services*.
+- [ETSI GS F5G 005] ETSI GS F5G 005 V1.1.1 (2022), *Fifth Generation Fixed Network (F5G) F5G High-Quality Service Experience Factors Release #1*.
+- [ETSI TR 101 578] ETSI TR 101 578 V1.3.1 (2018), *Speech and multimedia Transmission Quality (STQ); QoS aspects of TCP-based video services like YouTube™*.
+- [ETSI TS 103 222-2] ETSI TS 103 222-2 V1.2.1 (2019), *Speech and multimedia Transmission Quality (STQ); Reference benchmarking, background traffic profiles and KPIs; Part 2: Reference benchmarking and KPIs for High speed internet*.
+- [ETSI TS 103 222-4] ETSI TS 103 222-4 V1.1.1 (2015), *Speech and multimedia Transmission Quality (STQ); Reference benchmarking, background traffic profiles and KPIs; Part 4: Reference benchmarking for IPTV, Web TV and RCS-e Video Share*.
+- [ETSI TS 122 105] ETSI TS 122 105 V15.0.0 (2018), *Digital cellular telecommunications system (Phase 2+) (GSM); Universal Mobile Telecommunications System (UMTS); LTE; Services and service capabilities (3GPP TS 22.105 version 15.0.0 Release 15)*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 augmented reality (AR)** [b-ITU-T J.301]: A type of mixed reality where graphical elements are integrated into the real world in order to enhance user experience and enrich information.
+
+**3.1.2 group of pictures (GOP)** [b-ITU-T G.1080]: The group of pictures is a group of successive pictures within a MPEG-coded film and/or video stream. Each MPEG-coded film and/or video stream consists of successive GOPs. From the MPEG pictures contained in it, the visible frames are generated.
+
+**3.1.3 immersion** [ITU-T G.1035]: A psychological state characterized by perceiving oneself to be enveloped by, included in, and interacting with an environment that provides a continuous stream of stimuli and experiences.
+
+**3.1.4 jitter** [b-ITU-T G.1050]: Variation in packet delay.
+
+**3.1.5 key performance indicator (KPI)** [b-ISO/IEC 30134-1]: Indicator representing the resource usage effectiveness or efficiency of a given system.
+
+**3.1.6 latency** [b-ITU-T G.1050]: An expression of how much time it takes for a packet of data to get from one designated point to another.
+
+**3.1.7 mean opinion score (MOS)** [b-ITU-R BT.1683]: The average subjective quality judgment assigned by a panel of viewers to a processed video clip.
+
+**3.1.8 motion-to-photon latency** [ITU-T G.1035]: The time it takes between the user moving their head and this motion being reflected on the screen of the head-mounted display (HMD).
+
+**3.1.9 packet loss** [b-ITU-T G.1050]: The failure of a packet to traverse the network to its destination. Typically, packet loss is caused by packet discards due to buffer overflow. This model does not take into account packet loss due to discards in the terminal jitter buffer.
+
+**3.1.10 platform** [b-ITU-T G.1081]: A hardware and/or software architecture that serves as a foundation or base for realizing a certain functionality.
+
+**3.1.11 quality of experience (QoE)** [b-ITU-T P.10]: The degree of delight or annoyance of the user of an application or service.
+
+**3.1.12 quality of service (QoS)** [b-ITU-T J.145]: The collective effect of service performances which determine the degree of satisfaction of a user of the service.
+
+NOTE – The quality of service is characterized by the combined aspects of service support performance, service operability performance, service integrity and other factors specific to each service.
+
+**3.1.13 virtual reality** [b-ITU-R BT.2420-0]: A technology that replicates an environment, real or imagined, and simulates a user's physical presence and environment to allow for user interaction. Virtual reality artificially creates a sensory experience, which in principle can include sight, touch, hearing, and smell. The current VR devices primarily present content to the visual and auditory systems. On occasion, haptics information is also included.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following term:
+
+**3.2.1 IP packet loss ratio (IPLR)**: The ratio of the total lost IP packet outcomes to total transmitted IP packets in a population of interest.
+
+NOTE 1 – Based on [b-ITU-T X.149].
+
+NOTE 2 – "Lost IP packet outcomes" and "Populations of Interest" are defined in Recommendation ITU-T Y.1540.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+A-PSNR Average PSNR
+
+AR Augmented Reality
+
+| | |
+|---------|--------------------------------------------------|
+| BLER | Block Error Ratio |
+| CEP | Comfortable Experience Phase |
+| CPE | Consumer Premises Equipment |
+| DASH | Dynamic Adaptive Streaming over HTTP |
+| E2E | End-To-End |
+| E-PSNR | Edge Peak Signal-to-Noise Ratio |
+| FEC | Forward Error Correction |
+| FEP | Fair Experience Phase |
+| GOP | Group of Pictures |
+| HMD | Head-Mounted Display |
+| IEP | Ideal Experience Phase |
+| IP | Internet Protocol |
+| IPLR | IP Packet Loss Ratio |
+| IPTV | Internet Protocol Television |
+| KPI | Key Performance Indicator |
+| KQI | Key Quality Indicator |
+| MBLER | Macro Block Error Ratio |
+| MOS | Mean Opinion Score |
+| MPEG | Motion Picture Expert Group |
+| MTU | Maximum Transmission Unit |
+| PLR | Packet Loss Rate |
+| PSI/ SI | Program-Specific Information/Service Information |
+| PSNR | Peak Signal-to-Noise Ratio |
+| PxER | Pixel Error Ratio |
+| RTP | Real-Time Protocol |
+| RTT | Real-Time Transmission |
+| SLER | Slice Error Ratio |
+| SSIM | Structural Similarity |
+| STB | Set-Top-Box |
+| TCP | Transmission Control Protocol |
+| UDP | User Datagram Protocol |
+| UEP | Ultimate Experience Phase |
+| VR | Virtual Reality |
+| VQM | Video Quality Metrics |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "is recommended" indicate a requirement that is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "is prohibited from" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed.
+
+The keywords "is optionally required" indicate an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+The keywords "mandatorily" indicate a mandatory requirement which is recommended in any sense. This term is intended to imply that the vendor must implement the option and the feature. Otherwise, the vendor cannot declaim conformance with the specification.
+
+In the body of this Recommendation, the words *shall*, *shall not*, *should*, and *may* sometimes appear, in which case they are to be interpreted, respectively, as **is required to**, **is prohibited from**, **is recommended**, and **can optionally**. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+# 6 Key performance indicators (KPI)
+
+Different networks have different levels of network performance or quality. Quality of service (QoS) defines the network quality in terms of quantitative network performance parameters called key performance indicators (KPIs) as shown in Figure 1.
+
+
+
+| | |
+|-----------------------------------------------------------------------------------------------------------------------------|---------|
+| Bandwidth | Latency |
+| KPI
| |
+| Packet loss | Jitter |
+
+J.1630(24)
+
+Figure 1: Network performance indicators diagram showing a 2x2 grid of Bandwidth, Latency, Packet loss, and Jitter with KPI in the center.
+
+**Figure 1 – Network performance indicators**
+
+## KPI parameters:
+
+**Bandwidth:** The amount of traffic that can be transmitted in a fixed amount of time.
+
+**Packet loss:** The number of packets that are successfully received, or not, at the destination.
+
+**Latency:** The total time it takes for a packet to travel from source to destination.
+
+**Jitter:** The latency variation.
+
+Based on the above KPI parameters, the network quality can be displayed to operators or users.
+
+## 6.1 Video services
+
+### 6.1.1 General approach to estimate KPIs
+
+Key performance indicators (KPIs) for network video services depend on a number of factors such as transmission protocols including for example pure user datagram protocol (UDP), real-time protocol (RTP), and application FEC-based transmission (e.g., ProMPEG), equipment configurations such as for example maximum transmission unit (MTU) size as a bandwidth related parameter, and motion picture expert group (MPEG) compression encoder configuration, etc.
+
+KPIs indirectly influence key quality indicators (KQIs) in terms of visual quality and MPEG decoding quality. A better way to estimate such influence is to use AI-based objective or human-based
+
+subjective metrics for video quality. In such cases, it is possible to get estimates that are correlated to the maximum extent to user reactions to such failures and that provide adequate reaction to such events on an automated basis.
+
+There are two approaches that can be used for monitoring failures appearing in end-to-end (E2E) video systems: a low-complexity indirect approach and a metrics-based approach. The choice of approach depends on the network operator view and the quality monitoring system architecture.
+
+The low-complexity indirect approach is based on video frame impairment analysis (frozen frames, blackness, slices appearing, etc.). After failures appear they can be notified by such monitoring systems but it is necessary in any case to further indicate the type of impairment with related measurements. This approach then can be used as a first stage fast approach to indicate that something is going wrong with the KPI.
+
+For a network operator the usage of objective metrics is the most optimal approach and is already used in most monitoring equipment. Such an approach ensures a relatively reliable way to monitor network performance that is correlated to user quality interpretation and fixes the moments and points of network failures for further reaction. The choice of objective metrics depends on the network operator's experience and choice of measurement equipment, etc. There are a variety of objective metric variants such as edge peak signal-to-noise ratio (E-PSNR) or average PSNR (A-PSNR), structural similarity (SSIM), pixel error ratio (PxER), video quality metrics (VQM), etc. Also, usage of models and approaches defined in [ITU-T P.1201], [ITU-T P.1202], and [ITU-T P.1204.4] is possible for streaming applications.
+
+Taking into account that the expected influence of network failures is failures in the structure and content of the video picture structure (errors in MPEG slices/macro blocks, etc.) the best approach is to use metrics correlated to the video picture structure. It must be considered that some metrics use a full reference approach so that in the case of a linear TV service it is difficult to implement such a monitoring system directly. To overcome this problem an embedded or separate monitoring channel with a reference image/signal delivery for measurement purposes can be used (see Appendix I). Such a virtual measurement channel is simply identified in an IP stream and is not displayed for the user but will show current network statistics and performance directly.
+
+It is worth noting that, in the realm of quality assessment, obtaining concrete and universally applicable metrics can be a challenging endeavour. The multifaceted nature of network configurations, the wide array of encoder parameters, and the ever-evolving technological landscape make it difficult to establish a one-size-fits-all standard for quality assessment.
+
+In this dynamic environment, relying on empirical, experimental evaluations becomes imperative. These assessments serve as a means to explore the nuanced relationships between network configurations and the resulting quality of service. They allow gauging of the impact of varying parameters and configurations on the user's quality of experience. The wealth of data generated through such experiments enables stakeholders to gain valuable insights into the thresholds of distortion and performance limitations.
+
+Moreover, as network technologies and user expectations continue to evolve, these experimental assessments provide a flexible and adaptive framework for staying ahead of the curve. By monitoring and experimenting with different setups, the ever-changing landscape of network configurations and encoding parameters can be adapted, ensuring that quality remains at the forefront of service provision.
+
+In summary, experimental evaluations serve as a vital tool in quality assessment, offering a dynamic means of navigating the intricate web of network settings and encoder parameters. They provide the foundation for understanding and setting of distortion thresholds and are indispensable in the pursuit of delivering the best possible quality of experience to end-users.
+
+### 6.1.2 Bandwidth influence
+
+Changing the available bit-rate in a network can have a significant impact on the transmitted video traffic. The bit-rate of video traffic determines the number of bits transmitted per second and is a key parameter for high-quality video playback. The impact of bit-rate changes can be both positive and negative, depending on whether the available network bandwidth increases or decreases.
+
+Decreasing available bit-rate: If the available network bandwidth decreases, video traffic may face limitations and constraints such as:
+
+- 1) Reduced video quality: Lower bit-rates can lead to loss of detail and resolution in the video, resulting in lower playback quality.
+- 2) Potential artifacts: Video compression at lower bit-rates can introduce artifacts such as blocks or blurriness, particularly in fast-moving objects.
+- 3) Buffering and delays: Insufficient bit-rate for smooth playback can lead to video buffering and delays, degrading the user experience.
+
+Methods for bandwidth control that can be a good solution for bit-rate control are listed in Appendix I. Periodic or separate measurements of available bandwidth are recommended. Guidelines for bandwidth measurement are provided in clause I.3.
+
+### 6.1.3 IP packet loss
+
+IP packet loss can occur for various reasons, and it can have significant consequences when it comes to video content. An explanation of causes and potential consequences of IP packet loss follows:
+
+- 1) Network congestion: Video networks can experience congestion, similar to any network. When the available bandwidth is fully utilized, packets may be dropped to relieve congestion.
+- 2) Jitter: In cable systems, variations in packet arrival times (jitter) can disrupt the smooth delivery of packets, leading to packet loss. Jitter can be caused by inconsistent signal quality.
+- 3) Signal interference: Interference can occur in cable systems due to factors such as signal attenuation over long cables, impedance mismatches, and electromagnetic interference. This can lead to packet loss.
+- 4) Equipment failures: Hardware failures within the cable infrastructure, such as malfunctioning cable modems, routers, or switches, can result in packet loss.
+
+Consequences of IP packet loss for video service transmission:
+
+- 1) Reduced video quality: Packet loss can degrade the quality of video streams in cable systems, leading to pixilation, artifacts, and a decrease in resolution. The nature of video service signal impairment will depend on the video protocol used and mitigation of failure mechanisms used in the system.
+- 2) Buffering and playback issues: Severe packet loss can cause buffering or interruptions in video playback. Viewers may experience delays, and the content may not stream smoothly.
+- 3) Audio-video synchronization problems: Packet loss can disrupt the synchronization between video and audio streams, causing audio and video to be out of sync.
+- 4) Viewer frustration: Consistent packet loss can frustrate viewers, leading them to abandon the video stream or seek alternative sources for content.
+- 5) Rebuffering: To compensate for packet loss, streaming applications may require retransmissions or increased buffering, resulting in delays and reduced real-time interaction.
+- 6) Content delivery issues: For content providers, IP packet loss can impact the quality of their service, affecting customer satisfaction and potentially leading to subscriber loss.
+- 7) Increased bandwidth usage: Retransmitting lost packets (if used) consumes additional bandwidth, which can strain network resources and increase operational costs in cable systems.
+
+In cable systems, addressing IP packet loss often involves improving the quality of the network infrastructure, optimizing signal quality, and implementing error correction mechanisms to minimize the impact of packet loss on video streaming and other data applications.
+
+In the context of IP packet loss, it is often the case that obtaining precise and universally applicable metrics can be quite a challenging endeavour. The ever-evolving network configurations, the vast array of encoder parameters, and the dynamic nature of data transmission make it difficult to establish a one-size-fits-all standard for assessing packet loss.
+
+Therefore, it becomes necessary to rely on empirical, experimental assessments to gain meaningful insights. These assessments serve as a crucial means of exploring the intricate interplay between network configurations and the resultant quality of service. They allow understanding of the impact of varying parameters, be it in network setup or encoder configurations, on the prevalence of IP packet loss.
+
+To summarize, experimental assessments provide an indispensable tool in the context of IP packet loss, offering a dynamic framework for navigating the complexities of network settings and encoder parameters. They are instrumental in helping to understand and establish thresholds for packet loss, thereby ensuring a high-quality data transmission experience. Possible estimation and methodology for IP packet loss events influence on KPIs is provided in clause I.4 with examples in Appendix III.
+
+### 6.1.4 IP packet duplication
+
+Causes of IP packet duplication in cable systems and its impact on transmission quality:
+
+- 1) **Network redundancy and failures:** In cable systems, network redundancy mechanisms may cause packet duplication. For instance, redundant links or paths in a network can lead to the delivery of the same packet via multiple routes, resulting in duplicate packets at the receiver's end. Also, if network equipment failures exist duplication of packets is possible.
+- 2) **Retransmissions:** Occasionally, network devices or protocols may trigger packet retransmissions due to packet loss or corruption. These retransmissions can result in the duplication of packets in the data stream.
+
+Impact of IP packet duplication on transmission quality in cable systems:
+
+- 1) **Increased bandwidth consumption:** Duplicated packets consume extra bandwidth, which can lead to inefficient network resource utilization, especially in cable systems with limited bandwidth.
+- 2) **Higher processing overhead:** Network devices and receiving systems need to process and identify duplicated packets, leading to increased processing overhead, potentially affecting network performance.
+- 3) **Network congestion:** The presence of duplicated packets can exacerbate network congestion as they compete for limited resources. This can further reduce the overall quality of service for various applications.
+- 4) **Potential for out-of-order packets:** Duplicated packets can lead to confusion in the receiver, as it may need to decide which copy of the packet to use. This can potentially result in out-of-order packet delivery, affecting data integrity.
+- 5) **Reduced efficiency:** Packet duplication diminishes the efficiency of data transmission in cable systems. It can impact the reliability and predictability of data delivery.
+- 6) **Quality of service issues:** In applications like real-time communication and video streaming, IP packet duplication can introduce issues with content synchronization and reduce the overall quality of service.
+
+To mitigate the effects of IP packet duplication, cable system operators and network administrators should implement appropriate network redundancy strategies, such as load balancing, and utilize protocols that can handle packet duplication and out-of-order packets effectively to ensure reliable and efficient data transmission.
+
+Experimental results for packet duplication impairment are provided in Appendix II to this Recommendation.
+
+### 6.1.5 IP packet delay (jitter)
+
+Causes of IP packet delay (jitter) in the context of packet loss and its impact on transmission quality:
+
+- 1) Network congestion: Cable systems, like any network, can experience congestion due to high traffic loads. When congestion occurs, packets may experience varying delays as they contend for available bandwidth. This variability in packet arrival times contributes to jitter.
+- 2) Packet loss and retransmissions: Packet loss can lead to jitter in cable systems. When a packet is lost, it may need to be retransmitted, causing a delay before the receiver finally receives the packet. This delay introduces jitter, especially in real-time applications.
+- 3) Varying path lengths: In cable systems, packets may take different paths to reach their destination. These varying path lengths can result in differing transmission times, leading to jitter when packets arrive at different times.
+- 4) Signal interference: Signal interference or noise in cable systems can affect the consistency of packet delivery, causing packets to experience delays. Interference can result from external factors such as electrical interference or signal degradation over long cables.
+
+Impact of IP packet delay (jitter) on transmission quality in cable systems:
+
+- 1) Reduced quality for real-time applications: Jitter can negatively impact real-time applications by causing variable delays in packet delivery. This can result in synchronization issues, choppy audio or video, and a generally poorer user experience.
+- 2) Buffering requirements: To mitigate the effects of jitter, receiving systems may require larger buffers, which can increase latency and affect the responsiveness of video streaming and interactive applications.
+- 3) Synchronization issues: Jitter can lead to out-of-sync audio and video streams in multimedia content, causing content delivery problems and making it less enjoyable for users.
+- 4) Packet loss: High jitter levels can exacerbate the risk of packet loss, as packets arriving too late may be discarded if they are no longer relevant, further degrading transmission quality.
+- 5) Increased complexity: To cope with jitter, network equipment and applications may need to employ more complex buffering, error correction, and synchronization mechanisms, increasing the overall complexity of the system.
+- 6) Challenges for quality of service (QoS): Maintaining consistent quality of service becomes more challenging in the presence of jitter, making it important for cable system operators to manage and minimize its effects to meet user expectations.
+
+To address jitter in cable systems, network operators can implement QoS mechanisms, prioritize real-time traffic, and employ buffering and error correction techniques to reduce the impact of variable packet delays on transmission quality.
+
+The presence of experimental research on the impact of IP packet jitter in the context of QoS assessment serves several crucial purposes and enables the following:
+
+- 1) Establishing of thresholds for tolerable jitter: Experiments enable the determination of thresholds beyond which jitter begins to negatively impact QoS. This is essential for defining the level of jitter at which service quality remains acceptable.
+- 2) Optimizing network settings: Research can be used to optimize network settings and data transmission parameters to minimize jitter. This helps to improve QoS and provide a more stable user experience.
+
+- 3) Adapting to changes: In a constantly evolving technological and network environment, experiments help to remain flexible and adapt to new challenges. They enable swift responses to changes and optimization of the network infrastructure.
+- 4) Ensuring required KPI: Research into IP packet jitter aids in ensuring high-quality service, which is crucial for meeting user needs and retaining customers.
+
+Measurement methodology and experimental examples on IP packet jitter is provided in clause I.5 and Appendix V.
+
+### 6.1.6 Latency issues
+
+Latency is a critical parameter in network performance evaluation, affecting the quality of service for various applications, including real-time communication and multimedia streaming. This document outlines a general formula for latency calculations, encompassing the key components of encoding delay, transmission delay, and receiver delay, as per the guidelines provided in [b-ETSI TR 101 290] and other relevant documents.
+
+- 1) Encoding delay ( $D_{ENC}$ ): The encoding delay represents the time taken to process and encode data or media content before it is transmitted. It comprises tasks such as compression, formatting, and any other preprocessing necessary for data transmission.
+- 2) Transmission delay ( $D_{TR}$ ): The transmission delay includes the time taken for data packets to traverse the network, including processing within network nodes and switching delays. It is influenced by the network's topology, traffic load, and various network-specific factors.
+- 3) Receiver delay ( $D_{REC}$ ): The receiver delay encompasses the time taken for the receiver to buffer and decode incoming data, ensuring a seamless playback or display. Receiver delays may vary based on the receiver's capabilities and buffer sizes.
+
+Total latency ( $D_{TOTAL}$ ): The total latency is the sum of the encoding delay, transmission delay, and receiver delay:
+
+$$D_{TOTAL} = D_{ENC} + D_{TR} + D_{REC}$$
+
+This expression provides a comprehensive means of evaluating latency within a network, enabling service providers to optimize the quality of service for various applications while adhering to industry standards, such as [b-ETSI TR 101 290], and other relevant guidelines.
+
+## 6.2 AR/VR services
+
+Packet loss, packet duplication, and network jitter can all significantly impact the quality of transmitting images in augmented reality (AR) and virtual reality (VR) services over cable networks. Ensuring high-quality AR and VR experiences over cable networks requires minimizing packet loss, controlling packet duplication, and managing network jitter. Implementing a robust network infrastructure with low latency, appropriate error correction, and congestion management techniques is essential to offer immersive and seamless AR and VR content delivery.
+
+Basic concepts of network influence on video service are provided in [ITU-T G.1035], [ITU-T G.1036] and [ITU-T J.1631] for (cloud and conventional) VR and AR respectively. Examples of KPIs for cloud VR services are provided in Appendix IV.
+
+### 6.2.1 Bandwidth influence
+
+**Impact on AR/VR quality:** A decrease in network bandwidth can significantly affect the quality of AR/VR image transmission. AR and VR applications rely on high-resolution and data-intensive imagery to create immersive experiences. When network bandwidth is limited, there is insufficient capacity to transmit these images at the required quality. This can lead to image compression and lower resolution, resulting in a loss of detail and immersion. Users may experience pixilation, artifacts, and a reduced sense of presence in the virtual environment.
+
+**Mitigation strategies:** To mitigate the impact of reduced network bandwidth on AR/VR, adaptive streaming and content delivery optimization techniques can be employed. These methods dynamically adjust image quality based on available bandwidth, delivering the best possible experience within the constraints of the network.
+
+### 6.2.2 IP packet loss
+
+**Impact on AR/VR quality:** Packet loss occurs when data packets fail to reach their destination. In AR and VR applications, even small packet losses can lead to a poor user experience. When image data packets are lost, users may experience artifacts, blurriness, freezing, tiling artefacts or missing parts in their AR/VR content. This can result in a less immersive and less enjoyable experience. Frequent packet loss can make AR/VR applications unusable and lead to user frustration.
+
+**Mitigation strategies:** To mitigate packet loss in cable networks, error correction techniques, forward error correction (FEC), and reliable transport protocols such as transmission control protocol (TCP) can be used. Proper network design and management practices are also essential to reduce congestion and prevent packet loss.
+
+### 6.2.3 Packet duplication
+
+**Impact on AR/VR quality:** Packet duplication can result from network redundancy mechanisms, retransmissions, or misconfigured equipment. In AR/VR, duplicated packets can disrupt the rendering process. The AR/VR system may render the same image multiple times, which can be disorienting for users. Duplicated packets can waste bandwidth, leading to inefficient data transmission.
+
+**Mitigation strategies:** Network redundancy should be carefully managed to prevent excessive duplication. Proper configuration and error detection mechanisms can help identify and discard duplicated packets.
+
+### 6.2.4 Network jitter
+
+**Impact on AR/VR quality:** Network jitter is the variation in packet arrival times. In AR and VR, consistent and low-latency delivery is crucial for a seamless experience. Jitter can lead to inconsistent rendering and synchronization issues between different components of the AR/VR experience. Users may notice jitter in the movement of objects or avatars, causing motion sickness and a disjointed experience.
+
+**Mitigation strategies:** Reducing network jitter involves prioritizing AR/VR traffic, using quality of service (QoS) mechanisms, and employing buffering and adaptive streaming techniques to smooth out the impact of varying packet arrival times.
+
+### 6.2.5 Latency
+
+**Impact on AR/VR quality:** Latency is the time delay between sending data and its receipt. In AR/VR applications, low latency is critical for maintaining the illusion of real-time interaction and preserving the sense of presence. Increased latency can lead to a noticeable delay in the user's actions and the corresponding response within the AR/VR environment. This delay, often referred to as motion-to-photon latency, can result in motion sickness, reduced immersion, and a disjointed user experience. It is also the cause of presentation quality degradation, e.g., long initial loading delay and stalling. Some VR services may offload computing tasks, such as rendering capability, to remote cloud servers to significantly relieve the computing burden from the user's devices, which is at the expense of incurring additional communication delay.
+
+**Mitigation strategies:** To mitigate increased latency in cable networks, low-latency transmission protocols and efficient network routing are essential. Edge computing and content delivery networks (CDNs) can be used to reduce latency by bringing content closer to the user. Additionally, optimizing the rendering pipeline within AR/VR applications can help minimize motion-to-photon latency.
+
+In summary, reduced network bandwidth and increased latency can have a detrimental impact on the quality of AR/VR image transmission over cable networks. Addressing these issues involves a combination of adaptive content delivery, low-latency protocols, and optimization of the entire AR/VR ecosystem, ensuring that users can enjoy immersive and responsive experiences even in bandwidth-constrained and high-latency network environments.
+
+## **6.3 Multi-view video services**
+
+In the context of video services, particularly in the case of multi-view (MV) video services, several network parameters can significantly impact the quality and perception of these images.
+
+In summary, bandwidth directly affects the quality and resolution of multi-view images, while packet loss can introduce visual artifacts and synchronization issues. Efficient network management, including minimizing packet duplication, is necessary to optimize bandwidth usage. Lastly, low latency is critical for maintaining real-time synchronization between different views, ensuring a smooth and immersive multi-view image experience within a video service.
+
+This clause discusses the influence of bandwidth, packet loss, packet duplication, and latency on multi-view images within a video service.
+
+### **6.3.1 Bandwidth**
+
+In the case of MV video service, a higher bandwidth allows for the transmission of more data, resulting in higher image quality. Multi-view images often consist of multiple perspectives or camera views, each requiring substantial data. Limited bandwidth can lead to compression, reducing image resolution and causing artifacts in MV images.
+
+### **6.3.2 Packet loss**
+
+Packet loss can result in missing image data, leading to artifacts, visible gaps, or distortion in MV images. In the context of MV images, the loss of specific data packets can disrupt the synchronization between different views, affecting the overall 3D perception.
+
+### **6.3.3 Packet duplication**
+
+While packet duplication may not directly impact multi-view images, it can affect network efficiency and bandwidth usage. Unnecessary duplication consumes valuable bandwidth that could otherwise be used for transmitting additional image data or views. Efficient packet handling is crucial for optimizing network resources.
+
+### **6.3.4 Latency**
+
+In the case of multi-view images, low latency is essential to maintain real-time synchronization between different camera views. High latency can lead to asynchrony between views, resulting in a disjointed or disorienting 3D experience. Low-latency networks are crucial for providing a seamless multi-view image experience.
+
+# **7 Key quality indicators (KQIs)**
+
+KQIs as a specific metric are recommended for assessing the quality or performance of a service. KQIs are crucial for measuring and monitoring various aspects of service or system operation to ensure that predefined quality standards are met.
+
+KQIs should be chosen based on their significance to the overall quality of a service to track and evaluate critical factors that can directly impact user level of service satisfaction. These indicators help organizations identify areas for improvement, set benchmarks, and make informed decisions to optimize their processes. KQI parameters classification is provided in Annex B to this Recommendation.
+
+Key quality indicators play an indispensable role in the realm of performance evaluation and quality assessment. They serve as specialized metrics meticulously designed to gauge the effectiveness and efficiency of a given service or system. The significance of KQIs lies in their ability to provide a clear and precise snapshot of how well a particular process or service aligns with established quality standards.
+
+In the world of KQIs, the selection process is of paramount importance. KQIs are not chosen haphazardly; rather, they are carefully selected based on their direct relevance to the overarching quality of the system or service in question. These indicators are strategically tailored to track and assess critical factors that have a direct and discernible impact on the satisfaction levels of end users. Whether it's measuring the responsiveness of a customer support system, the reliability of a network, or the accuracy of a manufacturing process, KQIs are designed to act as the sentinel, constantly vigilant in scrutinizing these aspects.
+
+KQIs are not mere numerical values; they are powerful tools that empower organizations to identify areas ripe for enhancement. They serve as a compass, guiding companies towards improvement by offering a clear and data-driven understanding of where they stand in relation to their quality goals. Additionally, KQIs enable the establishment of benchmarks, setting a standard by which progress can be measured and goals can be aspired to. This data-driven approach empowers decision-makers to make informed choices, fine-tuning their processes, and ultimately optimizing the overall quality of their operations.
+
+In essence, KQIs are more than just metrics; they are the bedrock upon which organizations build their quest for excellence. Through these indicators, businesses and service providers can not only meet but consistently exceed the expectations of their customers, ensuring their enduring success in an ever-evolving landscape of quality and performance.
+
+## **KPI and KQI relationship**
+
+KPIs and KQIs are two different yet interconnected aspects of quality in cable video service transmission.
+
+In general, KPI refers to metrics and parameters that assess the technical quality of provided network services. These metrics include parameters such as delay (latency), packet loss, jitter, bandwidth, and other technical network characteristics. Also, KPIs focus on the technical performance of the cable network and cable network management to ensure data transmission stability and reliability. KPIs help to meet the minimum quality requirements for network services.
+
+KQIs however are an evaluation of the quality of a service or user experience. KQIs take into account how users perceive and assess the quality of a service. This includes aspects such as the perceived quality of video, audio, the user interface, and overall user satisfaction. So, KQIs focus on how users perceive and assess the quality of a service and may encompass various aspects, including satisfaction level, comfort level, and interaction satisfaction with the service.
+
+The relationship between KPIs and KQIs lies in the fact that KPI metrics, such as delay, packet loss, and jitter, can directly influence user perception and evaluation (KQI). High delay or packet loss, for example, can lead to a degradation in the quality of video, affecting user satisfaction levels. However, KQI also depends on other factors such as service interaction design, user-friendliness, and user expectations.
+
+In summary, KPIs provide technical metrics to assess network performance, while KQIs focus on evaluating how users actually perceive service quality. The connection between them is that technical network quality can significantly impact user satisfaction, but KQIs also take into account other aspects of the user experience.
+
+Considering the related nature of KPIs and KQIs, if a service enhancement is required for the benefit of customers or end-users, service providers must be aware of the insufficiency of the KQI and should have the ability to determine which specific technical KPI parameters can be enhanced to attain an
+
+improved KQI. Consequently, a KQI metric should be accompanied by the technical prerequisites of a service to serve the interests of service providers effectively.
+
+# **8 Monitoring and measurement**
+
+The choice of monitoring approach depends on network scale and structure.
+
+For wide area networks covering a wide audience, a monitoring probe-based approach with a distributed network of sensors is probably the best approach because in this case the provider can get real-time diagnostic information from a number of distributed remote nodes. In other cases, a single monitoring equipment may be enough due to the small number of points for monitoring.
+
+Considering a multi-layer approach for an E2E video system, monitoring of the related diagnostics can be implemented on different layers (MPEG layer, transport system layer, etc.). Failures on any layer will lead to problems on another so such events can be notified and appropriate actions carried out from the provider side (see also KQI and KPI relationship, clause 6). In the case of deeper analysis of transmitted streams special audio/video analysers can be used but these measurements are basically related to KQI estimations.
+
+Basically, a software-based approach for measurement of KPI performance of a particular network is used. In this case special software modules called agents provide diagnostic information that can be used for performance estimation in a central monitoring station. It is necessary to distinguish between active and passive approaches for monitoring. In the case of passive monitoring, related agents are activated manually and used for periodic non-systematic monitoring of network performance ("as needed" or according to a monitoring plan). Active monitoring foresees the constant reception of diagnostic information. In both cases graphic information on network performance may be available that simplifies analysis, and enables possible failures detection and/or possible predictions of failures appearing in near future due to non-systematic or systematic performance degradation.
+
+A system model and measurement guidelines are provided in Appendix I and other related appendices.
+
+# Appendix I
+
+## Measurement guidelines for KPI estimation
+
+(This appendix does not form an integral part of this Recommendation.)
+
+### I.1 Scope
+
+The purpose of these guidelines is to establish a comprehensive framework for assessing key performance indicators (KPIs) to ensure the optimal quality and efficiency of cable video services. This document defines the scope of the measurement guidelines, providing a clear understanding of the objectives, parameters, and methodologies involved in KPI estimation. It offers guidance on the performance evaluation of cable video services, emphasizing the critical need for accurate and standardized KPI measurements. The scope of these guidelines encompasses various aspects of cable video service, including but not limited to transmission quality, network performance, and user experience. By adhering to these measurement guidelines, cable service providers can effectively monitor, evaluate, and enhance the quality and reliability of their video services, ultimately ensuring a superior viewing experience for consumers.
+
+### I.2 General concept of measurement
+
+A multi-layer approach is reflected as the basic measurement and monitoring model provided in [ITU-T J.241] and is shown here in Figure I.1.
+
+
+
+The diagram illustrates the ITU-T J.241 system measurement model. It consists of three main components: Head-end, IP network, and CPE/STB. The Head-end is divided into Video input, IP streamer, and IP protocol stack. The CPE/STB is divided into IP protocol stack and Decoder. The IP network is represented by an oval containing Network monitoring. Reference points A, B, C, and D are indicated by circles. A line connects the Video input to point A. A line connects the IP streamer to point B. A line connects point B to the IP network. A line connects the IP network to point C. A line connects point C to the Decoder. A line connects the Decoder to point D. Below the IP network, there are two boxes: End-to-end IP network measurements and End-to-end receiver measurements. Lines connect these boxes to points A, B, C, and D.
+
+Figure I.1: ITU-T J.241 system measurement model. The diagram shows a flow from Head-end to CPE/STB through an IP network. The Head-end contains Video input, IP streamer, and IP protocol stack. The CPE/STB contains IP protocol stack and Decoder. The IP network contains Network monitoring. Reference points A, B, C, and D are marked. End-to-end IP network measurements and End-to-end receiver measurements are shown below the network.
+
+Figure I.1 – ITU-T J.241 system measurement model [ITU-T J.241]
+
+Table I.1 describes the reference points A, B, C, and D shown in Figure I.1:
+
+Table I.1 – Description of reference points for measurements
+
+| Reference point | Description |
+|-----------------|-------------------------------------|
+| A | Video encoder |
+| B | IP layer at head-end (Raw IP data). |
+| C | IP layer at CPE (Raw IP data). |
+| D | Video decoder |
+
+Monitoring can be implemented as distributed or centralized architecture thus providing different flexibility and resource usages. Such an approach is used in [ITU-T G.1082].
+
+In a centralized monitoring system, all data regarding the characteristics of the video traffic transmission system is collected and analysed at a single control centre. This centre can be a physical location or a software platform.
+
+#### Advantages of a centralized system
+
+- 1) **Convenient management:** All data is collected in one place, making it easier to analyse and monitor the entire system.
+- 2) **Centralized analysis:** Data analysis takes place on a single platform, allowing for quick issue detection and action.
+- 3) **Comparison and aggregation:** The ability to compare data from different nodes of the system and aggregate them to gain an overall picture.
+
+#### Disadvantages of a centralized system
+
+- 1) **Single point of failure:** If the central node fails, the entire monitoring system could become inaccessible.
+- 2) **Infrastructure costs:** Establishing and maintaining a centralized infrastructure can be expensive.
+
+#### Distributed monitoring system
+
+In a distributed monitoring system, data collection and analysis are performed at various nodes of the system. Each node is responsible for monitoring its specific part of the infrastructure.
+
+#### Advantages of a distributed system
+
+- 1) **Fault tolerance:** Failure of one node does not impact the operation of the entire system.
+- 2) **Scalability:** Adding new nodes to monitor new segments of the infrastructure is more flexible.
+- 3) **Load distribution:** Spreading the load across multiple nodes reduces the risk of overloads.
+
+#### Disadvantages of a distributed system
+
+- 1) **Complex management:** Analysing data collected from different nodes might be more complex.
+- 2) **Aggregation complexity:** Achieving a complete picture requires aggregating data from various nodes.
+- 3) **Synchronization requirement:** Ensuring data accuracy between nodes necessitates synchronization.
+
+The choice between a centralized and distributed monitoring system depends on specific requirements and characteristics of the video traffic transmission system, as well as situations where a balance is needed between management simplicity, scalability, and fault tolerance.
+
+The choice between a centralized and distributed system depends on several factors, including the characteristics of the system, management requirements, scalability and fault tolerance needs, as well as specific situations and tasks. Here are some of the key factors that can influence this choice:
+
+- a) System characteristics:
+ - Scale of the system: In larger systems with numerous nodes and segments, a distributed system might be more suitable as it allows scaling monitoring without significantly burdening a single centre.
+ - Geographical distribution: If system nodes are geographically dispersed, a distributed system can provide more efficient monitoring and analysis closer to the nodes.
+
+- b) Management requirements:
+ - Convenience of management: A centralized system provides a single point of control and data analysis, which can be useful for consolidated oversight.
+ - Decentralized control: A distributed system might be more beneficial if nodes need more autonomy and control over their data.
+- c) Fault tolerance:
+ - Resilience to failures: A distributed system might be more resilient to failures since the failure of one node would not affect the entire system's operation.
+ - Single point of failure: A centralized system is more susceptible to failure risks, as the failure of the central node could lead to issues with monitoring the whole system.
+- d) Data analysis complexity:
+ - Data aggregation: If collecting and aggregating data from various nodes for an overall picture is necessary, a distributed system could be more complex for analysis.
+ - Centralized analysis: A centralized system simplifies analysis since data is already gathered in one place.
+- e) Budget and resources:
+ - Infrastructure costs: Establishing and maintaining a centralized infrastructure can involve significant expenses, whereas a distributed system might be more cost-effective.
+- f) Specific tasks and scenarios:
+ - Specific requirements: Certain scenarios might have specific monitoring and management requirements that could dictate the choice.
+
+The final decision between a centralized and distributed monitoring system should be based on an analysis of all these factors and a consideration of the specific goals and conditions of the video traffic transmission system.
+
+It is possible to use one of two proposed video monitoring system options:
+
+- Introduction of separate independent (from main video) video streams with frame rates 1 to 2 fps and black field or other images as image contents. Such types of image during compression will result in non-significant bit rate increases (see Figure I.2).
+- Usage of advertising or other recurring themes (such as titles of programmes) that will be interpreted as the embedded test signal (see Figure I.3).
+
+The second option leads to increasing the complexity of the monitoring system due to the requirement of separate channels for undistorted images. The first option is easier due to the uniformity of the images that do not depend on the programme.
+
+
+
+The diagram illustrates the operational monitoring process for E2E video services. On the left, multiple video streams (labeled 1 to n) enter 'Video encoder' blocks. The outputs of these encoders are fed into a 'TS MUX' (Transport Stream Multiplexer) block, which is represented by a dashed line. The multiplexed streams are then transmitted over a 'Cable integrated broadband network'. An arrow labeled 'Impairment during transmission' points to this network block. The output of the network is fed into a 'TS DEMUX' (Transport Stream Demultiplexer) block, also represented by a dashed line. The demultiplexed streams are then fed into 'Video decoder' blocks. The outputs of these decoders are labeled 'Initial/degraded video 1' through 'Initial/degraded video n'. Each video output is also fed into an 'SSIM/PxER PSNR meas.' block. The outputs of these measurement blocks are labeled 'SSIM 1', 'PxER 1', 'PSNR 1' for stream 1, and 'SSIM n', 'PxER n', 'PSNR n' for stream n. A 'Reference (virtual channel) for test images' is shown as a line entering the 'Video decoder' blocks from the bottom. The diagram is labeled 'J.1630(24)' in the bottom right corner.
+
+Diagram of operational monitoring for E2E video services with a separate control channel. The diagram shows multiple video streams (1 to n) being encoded, multiplexed, transmitted over a cable integrated broadband network, and then demultiplexed and decoded. A reference channel for test images is also shown. Quality metrics (SSIM, PxER, PSNR) are measured for each stream.
+
+NOTE – Dotted line blocks are related to additional blocks for MPEG-TS based system only; dot-dashed lines are related to case of video transmissions without MPEG TS multiplexing
+
+**Figure I.2 – Operational monitoring for E2E video services with a separate control channel based on usage SSIM/ PxER metrics as example of possible choice result**
+
+Reference receivers that are located in arbitrary points in individual nodes of the end-to-end path, perform continuous comparisons of reference images using the selected objective quality metrics (for example such as SSIM metric or pixel error ratio (PxER)/block error ratio (BLER)/macro block error ratio (MBLER)/slice error ratio (SLER). If the result of the comparison indicates a significant degradation in the quality of the video, which is impacted with structural distortions, then this indicates failures in equipment operation.
+
+Network impairments impact different networks in different ways in terms of availability, visibility and intensity. Therefore, for the network operator it is important to define network performance KPI requirements in terms of permitted packet loss rate (PLR), packet jitter, latency, etc. Considering the variety of factors influencing network performance, in most cases obtaining such requirements requires network operators to utilize their own network experience.
+
+Video system streams can be corrupted in different ways during transmission via an E2E network (see Figure I.4).
+
+Generalization and classification of existing methods of estimation of the technical quality of cable video systems is realized with the use of a multilevel approach (see Figure I.5). Accordingly, such classification methods of technical quality control are divided into two classes:
+
+- technical quality control methods at transport stream level;
+- technical quality control methods at video and audio streams level.
+
+
+
+```
+
+graph LR
+ VS1[Video stream 1] --> VE1[Video encoder]
+ VSn[Video stream n] --> VEn[Video encoder]
+ VE1 -.-> TSMUX[TS MUX]
+ VEn -.-> TSMUX
+ TSMUX --> CIBN[Cable integrated broadband network]
+ Impairments[Impairments during transmission] --> CIBN
+ CIBN --> TSDEMUX[TS DEMUX]
+ TSDEMUX -.-> VD1[Video decoder]
+ TSDEMUX -.-> VDn[Video decoder]
+ VD1 --> IV1[Initial/degraded video 1]
+ VDn --> IVn[Initial/degraded video n]
+ IV1 --> M1[SSIM/PxER PSNR meas.]
+ IVn --> Mn[SSIM/PxER PSNR meas.]
+ TSG[Test signal generator] --> M1
+ TSG --> Mn
+ M1 --> SSIM1[SSIM 1]
+ Mn --> SSIMn[SSIM n]
+
+ subgraph Legend
+ direction TB
+ L1[-.-> Dotted line: MPEG-TS based system only]
+ L2[--> Dot-dashed line: without MPEG TS multiplexing]
+ end
+
+```
+
+Figure I.3: Operational monitoring for E2E video services with an embedded control channel based on usage SSIM/ PxER metrics as example of possible choice result.
+
+NOTE – Dotted line blocks are related to additional blocks for MPEG-TS based system only; dot-dashed lines are related to case of video transmissions without MPEG TS multiplexing
+
+**Figure I.3 – Operational monitoring for E2E video services with an embedded control channel based on usage SSIM/ PxER metrics as example of possible choice result**
+
+
+
+```
+
+graph TD
+ Root[Impairments of compression based video services] --> L1[Impairments on level of video multiplexing/demultiplexing]
+ Root --> L2[Impairments on level of encoding/decoding of compressed video signals]
+
+ L1 --> L1A[Impairments on video compression elementary stream level]
+ L1 --> L1B[Impairments on transport stream level]
+
+ L1A --> L1A1[Non-decodability of video picture]
+ L1A --> L1A2[Errors in encoding parameters picture type]
+
+ L1B --> L1B1[Impairments in system and programme service information of video stream]
+ L1B --> L1B2[Impairments on packet level]
+
+ L1A1 --> Sync[Synchronization failure for audio/video signals]
+ L1A2 --> Sync
+ L1B1 --> Sync
+
+ Sync --> Sync1[Programme synchronization signal jitter]
+ Sync --> Sync2[Loss of audio/video sync]
+
+ L2 --> L2A[Impairments of audio signal]
+ L2 --> L2B[Structural impairments of video signal]
+
+ L2B --> L2B1[Intra-frame Spatial]
+ L2B --> L2B2[Inter-frame Time]
+
+ L2B1 --> Errors
+ L2B2 --> Errors
+
+ subgraph Errors [Dashed Box]
+ E1[Errors in pixels]
+ E2[Errors in blocks]
+ E3[Errors in macroblocks]
+ E4[Errors in slices]
+ end
+
+```
+
+Figure I.4: Impairments during distribution of compressed video streams.
+
+**Figure I.4 – Impairments during distribution of compressed video streams**
+
+
+
+```
+
+graph TD
+ Root[Methods of control of technical operation quality of E2E video system path] --> Level1[Methods of control on transport stream level]
+ Root --> Level2[Methods of control on video and audio streams level]
+ Level1 --> L1_1[Estimation of synchronization accuracy]
+ Level1 --> L1_2[Measurement of error rates for bits, packets, frames]
+ Level1 --> L1_3[Stream analysis for error detection for three priorities and statistical estimation]
+ Level2 --> L2_1[Estimation of program synchronization]
+ Level2 --> L2_2[Analysis of video streams time parameters]
+ Level2 --> L2_3[Objective quality estimation (Metrics)]
+ Level2 --> L2_4[Subjective quality estimation (Visual control)]
+ Level2 --> L2_5[Estimation of structural impairments]
+
+```
+
+J.1630(24)
+
+Flowchart showing methods of control of technical operation quality of E2E video system path, divided into transport stream level and video/audio streams level.
+
+**Figure I.5 – Methods of technical quality control of services operation of E2E video system**
+
+## I.3 Measurement of bandwidth influence
+
+Table I.2 lists IP network measurement parameters for bandwidth reduction. All measurements should be taken from point B to point C in the system measurement model described in Figure I.1:
+
+**Table I.2 – IP network measurement parameters for bandwidth reduction**
+
+| Parameter | Equipment | Motivation | Monitoring method |
+|-----------------------|-----------|-----------------------------------|-----------------------------------------------------------------------------|
+| Downstream throughput | CPE (STB) | Service qualification, monitoring | Test signal representative of worst case encoding scenario, throughput test |
+| Upstream throughput | CPE (STB) | Service qualification, monitoring | Throughput test |
+
+#### I.3.1 Bandwidth control policies
+
+In addition, another approach is usage of KPI provisioning mechanisms such as IntServ (integrated services) and DiffServ (differentiated services). Other mechanisms are also possible so IntServ and DiffServ are considered as examples.
+
+- *IntServ* (integrated services): IntServ is suitable for situations where ensuring guaranteed QoS parameters (such as minimum delay and low packet loss) is important for specific data streams, such as high-resolution videos or video conferences. If QoS is of paramount importance and the network allows resource management for each data stream, then IntServ can be beneficial.
+- *DiffServ* (differentiated services): DiffServ is well-suited for situations where priorities need to be established for different classes of traffic in the overall network. Video traffic can be classified as one of the classes with higher priority (e.g., "priority" or "voice" class), which helps minimize delay and data loss for video streams.
+
+In larger networks, such as service provider networks or corporate networks, DiffServ is typically preferable as it provides a more flexible and scalable way to manage traffic without the need to maintain state for each individual stream. Many IPTV providers use DiffServ technology to ensure quality of service (QoS) and optimize video transmission in their networks. DiffServ allows providers to manage priorities and handling of various types of traffic, including video streams.
+
+Using DiffServ in video streaming networks can offer the following benefits:
+
+- Prioritization for video traffic: Providers can classify video streams as high-priority and assign them a higher level of service. This minimizes delays and data loss for video, ensuring smoother and higher-quality transmission.
+- Mitigation of impact on other traffic types: Traffic classification enables the isolation of video traffic from other data types, such as internet browsing or file downloads. This helps prevent scenarios where intensive usage of one type of traffic negatively affects the quality of other applications.
+- Bandwidth management: Providers can allocate specific bandwidth for video traffic to ensure it has sufficient capacity and prevent network congestion.
+- Prevention of buffering effect and delays: By prioritizing video traffic, DiffServ can help minimize buffering and delays, which is crucial for video service users, where users expect immediate and smooth video playback. However, it is important to note that the specific implementation and effectiveness of DiffServ can vary depending on the level of control the provider has over the network infrastructure and the available resources.
+
+However, it is also important to note that the specific implementation and effectiveness of DiffServ can vary depending on the level of control the provider has over the network infrastructure and the available resources.
+
+DiffServ's ability to prioritize traffic based on different classes makes it a valuable tool for video service providers to ensure a high-quality viewing experience for their customers. By assigning higher priority to video traffic, providers can minimize latency and buffering, which are critical factors for delivering seamless video content. Additionally, DiffServ's flexibility allows providers to adapt to changing network conditions and allocate resources dynamically to different classes of traffic.
+
+In summary, both IntServ and DiffServ, along with other techniques, play significant roles in shaping the quality of service in modern networks, including IPTV systems. While IntServ offers a more fine-grained control for individual data streams, DiffServ provides a scalable and adaptable approach to managing traffic classes. For video service providers, the choice between these approaches depends on their specific network requirements, infrastructure capabilities, and the desired level of control over the quality of service for video content delivery.
+
+To select the video traffic control strategy that is best suited for a specific network there are periodic or constant measurements of available network bit-rate. Such measurements provide the best shaping of traffic usage control and optimization.
+
+Measuring bit-rate using a time window is a common method to determine the average data transmission rate in a network based on data analysis within a specified time interval. This method allows assessing how many bits or packets are transmitted through the network over a certain amount of time.
+
+#### **I.3.2 Available bandwidth measurement**
+
+A bit-rate measurement algorithm can be used as follows:
+
+- 1) Select the time window size: Define the duration of the time window during which you want to measure the bit-rate. For example, you can choose a time window of 1 second.
+- 2) Data capture: Capture or obtain network traffic within the chosen time window. This can be done using a network analyser, network monitoring tools, or data collection software.
+
+- 3) Count bits: Count the total number of bits transmitted during the chosen time window. This can be done by summing the sizes of all data packets received during this time.
+- 4) Calculate bit-rate: Calculate the bit-rate by dividing the total number of bits by the duration of the time window. The formula is as follows:
+
+$$\text{Bit-rate} = (\text{Total number of bits}) / (\text{Duration of time window}).$$
+
+This method allows assessing of the average data transmission bit-rates in the network based on the traffic analysis over a specific time interval. However, it is important to remember that the bit-rate can vary depending on network load and other factors. Therefore, it is recommended to conduct measurements across different time intervals to obtain more accurate data.
+
+Measuring bit-rate using a time window is a valuable method for evaluating data transmission bit-rate in a network. It can be used for quality of service monitoring, network load analysis, and resource optimization. However, it is important to understand that bit-rate is an average characteristic, and actual values can fluctuate based on network conditions. So, it is necessary to consider the following factors:
+
+- Averaging and analysis: To obtain a more stable representation of the bit-rate, it is advisable to measure the bit-rate using time windows over a certain period (for example, a few minutes or hours) and average the obtained values. This accounts for temporal fluctuations and provides a more accurate characterization of the network's bit-rate.
+- Tool usage: Various tools, analysers and software programs exist that can automate the process of measuring bit-rate using a time window.
+- Header consideration: When measuring bit-rate, it is important to consider that network traffic contains packet headers, which also occupy a certain number of bits. Therefore, when counting bits, it is necessary to account for header sizes to avoid distortions in the actual data transmission bit-rate.
+
+### I.4 Measurement of IP packet loss influence
+
+Table I.3 lists IP network measurement parameters for IP packet loss estimation. All measurements should be taken from point B to point C in the system measurement model described in Figure I.1.
+
+**Table I.3 – IP network measurement parameters for packet loss estimation**
+
+| Parameter | Equipment | Motivation | Monitoring method |
+|------------------------|-------------------------------------------------------------|--------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Packet loss rate (PLR) | Consumer premises equipment (CPE) e.g., a set-top-box (STB) | Image quality, video information loss estimation | In service or through test streams with RTP/RTCP or sequence numbers available on packet header.
Periodic PLR summary.
Reports with one-minute resolution.
Measurement of PLR requires analysis of a number of packets at least 10 times greater than the number related to the target PLR value.
This determines the rate at which the PLR is reported. |
+
+Requirements for permissible values of PLR are quite case-relative and highly dependent on the MPEG compression method and MPEG encoder configuration. Considering MPEG auto-configuration for receiver decoder operation, different performance improving approaches are possible. These include some network re-configuration or video encoder reconfiguration. So in the case of systematic or periodic performance failures a strategy for failures mitigation will be chosen.
+
+### I.5 Measurement of IP packet jitter influence
+
+Table I.4 lists IP network measurement parameters for packet jitter related measurements. All measurements should be taken from point B to point C in the system measurement model described on Figure I.1.
+
+**Table I.4 – IP network measurement parameters for packet jitter related measurements**
+
+| Parameter | Equipment | Motivation | Monitoring method |
+|------------------|------------------------------------------------------------------------------------------|-------------------|--------------------------------------------------------------------------------------------|
+| Network latency | Test probe at user side, within CPE (STB) or as closest as possible to user access link. | Smooth play-out | Test stream |
+| Jitter | CPE (STB) | Smooth play-out | In service or through test streams with RTP/RTCP or timestamps available on packet header. |
+
+# Appendix II
+
+## KQI estimation guidelines
+
+(This appendix does not form an integral part of this Recommendation.)
+
+### II.1 General approach to KQI measurement
+
+A multi-level approach to assessing KQI is employed for several reasons:
+
+- 1) Consideration of multiple factors: In the world of video services, numerous factors influence the quality of the user experience. By categorizing KQIs into different tiers, a broad spectrum of aspects can be considered, ranging from content quality to network performance and user satisfaction. This provides a more comprehensive understanding of how the service is perceived by users.
+- 2) Problem localization: A multi-tiered approach helps to pinpoint the location of issues and bottlenecks in service delivery more accurately. For instance, if issues are related to data transmission, they can be identified within transmission-related KQI. If the problem lies in user perception, it becomes evident through user-related KQI. This streamlines the process of issue identification and resolution.
+- 3) Enhanced decision-making: The multi-tiered approach provides more detailed information that can be used for more informed decision-making. Video service providers can gain a better understanding of where to focus their efforts to improve quality and meet user expectations.
+- 4) Accounting for service and technology diversity: Modern video services can be diverse, including traditional video services, streaming video, AR, VR, and others. The multi-tiered approach allows for adaptation to different types of services and technologies, which is crucial for a more comprehensive coverage of various video services.
+
+Ultimately, a multi-tiered approach to assessing KQI helps provide a more detailed and comprehensive understanding of service quality and user experience, enabling the enhancement of video services to make them more competitive and aligned with user needs.
+
+So, with regard to the aims of the current Recommendation KQI can be categorized as:
+
+- **Service-related KQI:** used to assess the subjective-related quality of a service (IPTV, streaming service, Cloud VR, etc.). Service-related KQIs are essential for measuring and evaluating various aspects of service delivery to ensure that the service meets or exceeds user level of expectations or satisfaction. These indicators help to identify strengths and weaknesses in service delivery, make improvements, and ensure that the service remains competitive and valuable to users.
+- **Transmission-related KQI:** used to assess the quality of data transmission within a communication network. These KQIs help monitor and manage network performance to ensure that it meets user level of expectations or satisfaction.
+- **User-related KQI:** used to assess the quality of a user's experience with a service. These indicators are essential for understanding how well a service meets the needs, expectations, and satisfaction levels of users.
+
+The effectiveness of this approach lies in its ability to provide researchers and video service providers with a more detailed understanding of where issues or discrepancies with user expectations occur in the service delivery process. This helps identify bottlenecks in infrastructure and service processes, allowing for more informed actions to improve service quality and user satisfaction.
+
+Thus, this approach to assessing KQI allows for a more comprehensive analysis and enhancement of the quality of video services, taking into account various aspects that influence the quality of the user experience.
+
+### II.2 Guidelines for KQI measurement management
+
+KQI measurement management refers to the process of planning, implementing, monitoring, and improving the measurement of key quality indicators. This process is crucial for ensuring that KQI accurately reflects the performance, quality, and effectiveness of its services or systems. Effective KQI measurement management involves several key steps:
+
+- **Selection of relevant KQI**, including its formula, calculation methodology, and units of measurement that are meaningful and provide actionable insights. Recommended relevant KQI metrics are given in Table II.1.
+- **Measuring KQI:**
+ - 1) Define objectives: Clearly define what you want to measure and evaluate. Ensure that the KQIs align with business and user goals.
+ - 2) Select appropriate tools: Determine the tools and methodologies that best suit the measurement of each category of KQI. This may involve network performance analysis, user experience monitoring, and user surveys.
+ - 3) Establish baseline values: Determine initial values for KQIs in network and video services. This helps understand the quality levels that need to be achieved.
+ - 4) Regular monitoring: Set regular intervals for monitoring and measuring KQIs. This can be daily, weekly, or as per the specifics of infrastructure and services.
+
+It should be noted that one measurement point is not enough to obtain a macroscopic view of the KQI. As described in [b-ETSI ES 202 765-2], for multiple offers deployed in a perimeter of potential users greater or equal to 10 000 000, at least 10 analysis points should be distributed over the perimeter. For multiple offers deployed in a perimeter of potential users lower than 10 000 000, at least 5 analysis points should be distributed over the perimeter.
+
+- **Managing results:**
+ - 1) Data analysis: Analyse the data collected using KQIs to identify trends and anomalies. Identify areas where improvements have occurred and areas where issues have arisen.
+ - 2) Benchmarking: Compare KQI results with industry benchmarks and competitors. This helps you understand how well it performed in comparison to industry standards.
+ - 3) Setting priorities: Determine which aspects of quality require the most attention and improvement. Set priorities for developing an improvement plan.
+ - 4) Development and implementation of improvements: Develop specific measures and strategies for improving KQIs. This may involve updating infrastructure, process optimization, and service enhancement.
+ - 5) Monitoring after implementation: After implementing improvements, continue to monitor KQIs to ensure they have had a positive impact. Continuously analyse and manage results.
+ - 6) User feedback: Collect feedback from users to understand the changes they have noticed and how they have affected their experience.
+ - 7) Documentation and reporting: Carefully document all data and changes to ensure transparency and reporting to internal teams and stakeholders. For reporting, the presentation of each metric shall be made separately. Each metric shall be presented on its own scale. For each indicator, presentation results shall consist at least of presenting metric value, number of measurements to determine the metric value and measurement standard deviation
+
+Adhering to these guidelines will help ensure effective measurement of KQIs and efficient results management for improving the quality of video services and user satisfaction.
+
+**Table II.1 – Recommended relevant KQI**
+
+| Parameter | Description | Details | Applications | References |
+|----------------------------|----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|-------------------------------------------|
+| Service-related KQI | | | | |
+| Service access | After requesting a service by the user, the first service data packet is received at the user equipment | - Service Access Time: Is the duration of a service access from requesting the service until the reception of the first data packet at the user equipment
| Video service (Video on demand, IPTV, streaming, etc.) | [ETSI TS 103 222-4] |
+| | | - Streaming Reproduction Start Failure Ratio: probability of unsuccessful streaming reproduction. This includes streaming access failure before the service has been accessed.
| | [ETSI TS 103 222-2] |
+| Buffering (Video access) | After requesting a video by the user, a certain portion of the video is downloaded and buffered before the video starts to play. | - Initial Buffering Duration: Is the time from when the user clicks video play button to when the first video frame is displayed.
- Re-buffering Time Percentage: Is the time for a given video that has been stopped playing due to exhaustion of its buffer to the point it resumes playing during a time period (24 hours, 1 week, etc.)
- Stalling Duration: Is the time of the stalling when the buffer is empty during a time period (24 hours, 1 week, etc.)
| Video service (Video on demand, IPTV, streaming, etc.) | [ETSI TR 101 578],
[ETSI TS 103 222-4] |
+
+**Table II.1 – Recommended relevant KQI**
+
+| Parameter | Description | Details | Applications | References |
+|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | As with traditional online video, after the user clicks the cloud VR video play button, there is a loading process for performing CDN scheduling, index downloading, and data caching. For this process, users generally only see the loading progress bar. The shorter the loading time, the sooner the user sees the video content and the better the experience. | - Initial Buffering Duration: Is the time from when the user clicks the cloud VR video play button to when the user sees the normal play screen
| Weak-interaction cloud VR services: Full-view video, VR live broadcast, IMAX® theatre | [ETSI GS F5G 005] |
+| Perceived Video Quality | The indicator evaluates the quality of video stream delivered to the user. The indicator characterizes the perception of the video end-users in term of video quality. | The mean opinion score (MOS) is intended to represent the subjective perception described by a score (from 1 to 5) that an end-user of the IPTV service would have given if user watched the considered video sequence. Video MOS is the mean opinion scores (MOS) on a five-point ACR scale. Score 1 to score 5 respectively represent bad, poor, average, good, excellent view experience to users. | Video service (Video on demand, IPTV, streaming, etc.) | [ITU-T J.144], [ITU-T J.341], [ITU-T P.1204.4] can be used for the SD, HD and 4K video respectively. It is also proposed to qualify perceived video quality by the occurrence of 'black' screen, 'blockiness' and 'frozen' picture. |
+| Zapping Delay | Channel switching time describes the duration to switch from one channel to another. The duration is measured from the request to change the channel sent by the user until the channel switch request is completed. | - Zapping Delay: Is the duration of a channel switching from requesting the channel until the reception of the first picture frame and audio at the user equipment
| Video service (Video on demand, IPTV, etc.) | [ETSI ES 202 765-4] |
+
+**Table II.1 – Recommended relevant KQI**
+
+| Parameter | Description | Details | Applications | References |
+|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|---------------------|
+| Transmission-related KQI | | | | |
+| "BlackScreen" | "Black screen" can outcome from: - encoder/decoder implementation when no video stream is present;
- a major loss of video packet during a long period of time.
| - «Black Screen» Occurrences. This metric corresponds to the number of black screen sequences during a time period (24 hours, 1 week, etc.)
| Video service (Video on demand, IPTV, etc.) | [ETSI ES 202 765-4] |
+| Blockiness | In video and image compression, a common artefact called "Blockiness" comes firstly from low-quality compression when too few bits are used. This artefact may appear when packet loss rate is too high on the transmission link (operator network, user equipment, etc.) | - Blockiness Occurrences. This metric corresponds to the number of Blockiness sequences during a time period (24 hours, 1 week, etc.)
| Video service (Video on demand, IPTV, etc.) | [ETSI ES 202 765-4] |
+| Frozen Picture | The frozen frame phenomena can be expressed through some pictures appearing as stopped/frozen from time to time on the end-user screen. These frozen pictures may be issued by the decoder or the network . They are usually very annoying for the end-user. | - Frozen Picture Occurrences. This metric corresponds to the number of frozen picture sequence during a time period (24 hours, 1 week, etc.)
| Video service (Video on demand, IPTV, etc) | [ETSI ES 202 765-4] |
+
+**Table II.1 – Recommended relevant KQI**
+
+| Parameter | Description | Details | Applications | References |
+|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
+| | During full view VR video playing, if the downloaded data is exhausted by the player and it cannot meet the real-time playing requirements, the terminal will choose to stop playing first and it will wait until the newly buffered video data reaches a certain level, then restart playing. The phenomenon of buffering and playing after stopping is called a freeze frame. | - Average duration of Frames Freezing: Is the average of multiple freezing time per time window during VR video playing.
- Average percentage of Frames Freezing: Is the ratio of the total freezing time to the total playing time per time window during VR video playing.
- Number of Frames Freezing: Is the number of frames freezing per second during VR video playing.
| Weak-interaction Cloud VR services: Full-view video, VR live broadcast, IMAX ® theatre
Strong-interaction Cloud VR services: VR games, VR home fitness, VR education, and VR social networking | [ETSI GS F5G 005] |
+| End-to-End delay | A real-time telecommunication system generates and delivers information in a time-frame similar to the real-life process that it is assisting. Depending on the real-life process being assisted, the frame may include seconds or be perceived by end-users as immediate. These systems therefore have real-time technical requirements and constraints for their implementation associated with real-time computing and the real-time transport protocol | Depends on system/network configuration | Video service (TV, streaming) | [ETSI TS 122 105] |
+| User-related KQI | | | | |
+| Video access timeout | Level of user patience/time pressure
This time out reflects the maximal time between requesting the video and the first frame is displayed. It can be imagined as the maximum waiting patience of a user for the start of the video. | Usually are few seconds, but to cover also other technologies and heavy-load situations in the networks, the timeout can be set to 15 s up to 20 s. | Video service (TV, streaming) | [ETSI TR 101 578] |
+
+**Table II.1 – Recommended relevant KQI**
+
+| Parameter | Description | Details | Applications | References |
+|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|-------------------|
+| Maximum duration of single freeze | Level of user patience/time pressure
It can be seen as an indication for "stream lost". A user may stop watching the video in case the freeze exceeds particular value of time. The video can be considered as "lost" or "dropped" in this case. | A value of 15 s is an acceptable best-practice value for a maximum accepted freezing event | Video service (TV, streaming) | [ETSI TR 101 578] |
+| Minimum freeze duration | Level of user patience/time pressure. | A threshold of 1, 2 s is recommended to recognize freezes caused by the network | Video service (TV, streaming) | [ETSI TR 101 578] |
+| Operation response latency | In strong-interaction application scenarios, such as Cloud VR gaming, users expect immediate audio-visual responses when they move horizontally, pull a trigger, or wave a hand. If the response takes longer than they expect, they experience interactive latency. Operation response latency is caused by the asynchronous collaboration between the cloud rendering and streaming process and the local playout process | - Average Response Duration: is the average time from the action of the user detected by the terminal to the corresponding game screen display.
| Strong-interaction Cloud VR services: VR games, VR home fitness, VR education, and VR social networking | [ETSI GS F5G 005] |
+| 'Black edge' (Head motion) | Black edge and smearing: to save cloud rendering resources and shorten E2E latency, Cloud VR gaming servers generally only render and transmit images within the user's view angle. Therefore, the new viewing areas that are not rendered on time are displayed as black edges or smearing. The faster the head motion, the longer the cloud rendering and streaming latency, and the more pronounced the black edge and smearing are. | - Average percentage of the Black Edge Area: is the average value of the black edge/smearing in the user's viewing area during the game.
- Percentage of the Black Edge Duration: is the proportion of the time duration with black edge effect to the total time duration of the game.
| Strong-interaction Cloud VR services: VR games, VR home fitness, VR education, and VR social networking | [ETSI GS F5G 005] |
+
+# Appendix III
+
+## Example of packet loss estimation
+
+(This appendix does not form an integral part of this Recommendation.)
+
+An IP packet contains in most cases more than one MPEG packet so loss of a packet can lead to quite negative consequences. Increasing of packet MTU size does reduce the influence of video packet loss impairments. This is also clearly seen in Figure III.1 where impaired pixels are indicated with marker circles. This effect can be explained as longer packets can provide better conditions for video recovery due to a lower probability of loss of important information and longer distribution of impairments in time.
+
+
+
+Figure III.1 shows four video frames (a, b, c, d) of a ladybug. Frame (a) is the original frame. Frame (b) shows impaired pixels (marked with red circles) when MTU = 1 500 bytes. Frame (c) shows impaired pixels (marked with red circles) when MTU = 800 bytes. Frame (d) shows impaired pixels (marked with red circles) when MTU = 250 bytes. The impairment increases as the MTU size decreases.
+
+**Figure III.1 – Effect of packet loss on the video frame quality at: a) original frame
+b) MTU = 1 500 bytes; c) MTU = 800 bytes; d) MTU = 250 bytes**
+
+Mitigation of unpredictable bandwidth variation in a video service network is possible by adjusting the networks' equipment configuration, for example, by adjusting the maximum transmission unit (MTU) in the simplest case. One of the factors influencing bandwidth is changes in the MTU causing MPEG payload IP packets fragmentation. Considering that video service users may have different models of network equipment to those of the network operators, a situation may occur where the MTU size may be selected in a non-optimal way and depending on the streaming protocol and MPEG compression parameters (especially depending on GOP-structure) the network performance will be degraded.
+
+Some guidelines for failures mitigation methodology in the case of changes in video encoder re-configuration and network settings (MTU size) are further provided. For further analysis, only one configuration of MPEG video coding with bidirectional prediction using key pictures (I-pictures, intra-coded pictures (frames or fields)) is considered. Prediction in the considered case uses sixteen video pictures prediction so usage of the abbreviation I16B for such a group of pictures (GOP) is assumed.
+
+Conventional video transmission protocols: As an example, the widely used streaming protocols UDP, RTP and ProMPEG are considered. Additionally, information for adaptive streaming protocols provided. Results of measurements provided in Figure III.2.
+
+The larger the packet size, the less video impairment. This is due to the fact that with a video file stream of 10 MB, approximately 7 000 packets with a length of 1 500 bytes, will be transmitted, 15 000 packets with a size of 800 bytes will be transmitted, or 50 000 packets with a size of 250 bytes will be transmitted and with PLR = 1%, they will lose 70, 150, 500 packets, respectively. Such behaviour is explained by the fact that the loss of even one packet causes damage to the entire group of packets (GOP) structure. Thus, the frequency of video sequence damage with a maximum transmission unit (MTU) = 250 is much higher.
+
+If we compare different protocols for streaming (UDP, RTP and ProMPEG) it can be seen that for 10% of PLR the ProMPEG protocol gives higher immunity to impairments than the others. This can be explained by the fact that the usage of parity bytes gives the possibility to recover lost image
+
+information and reduce number of "corrupted" image blocks thus increasing the structural similarity of two images (reference and received images). Two other protocols are not-parity based so their performance is poorer. The worst performance belongs to RTP because the working logic of this protocol is such that it tries to recover the order of transmission of the packets and, if unsuccessful it discards some packets portions. Discarding of packets will lead to corruption of some part of the image so structural similarity is lower than in the other cases.
+
+
+
+| Packet loss rate (%) | ProMPEG mtu=250 | ProMPEG mtu=800 | ProMPEG mtu=1500 | UDP mtu=250 | UDP mtu=800 | UDP mtu=1500 | RTP mtu=250 | RTP mtu=800 | RTP mtu=1500 |
+|----------------------|-----------------|-----------------|------------------|-------------|-------------|--------------|-------------|-------------|--------------|
+| 0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
+| 1 | 0.95 | 0.95 | 0.98 | 0.95 | 0.95 | 0.98 | 0.60 | 0.67 | 0.82 |
+| 5 | 0.75 | 0.90 | 0.95 | 0.75 | 0.90 | 0.95 | 0.60 | 0.67 | 0.72 |
+| 10 | 0.70 | 0.80 | 0.88 | 0.70 | 0.80 | 0.88 | 0.55 | 0.63 | 0.67 |
+
+Figure III.2: Line graph showing Structural similarity (SSIM) vs. Packet loss rate (%) for different MTU transmissions using different protocols. The graph shows that SSIM generally decreases as packet loss rate increases. ProMPEG and UDP maintain higher SSIM than RTP, especially at higher packet loss rates. Larger MTU sizes generally result in higher SSIM for the same protocol and packet loss rate.
+
+**Figure III.2 – Dependence of average structural similarity (SSIM) of a 116B video sequence on packet loss rate (PLR) for different MTU transmissions using different protocols**
+
+Error "migration" depends on the selected GOP structure and related encoding configuration. This effect is demonstrated in Figure III.3 for three subsequent I-pictures for a GOP with I-pictures only. In this case errors appear independently of neighbour pictures.
+
+
+
+Figure III.3: Comparison of two I-pictures, I-picture N and I-picture N+1. I-picture N shows a clear image of pencils. I-picture N+1 shows the same image but with a horizontal band of corruption (a dashed pink line) circled in red, labeled 'Packet loss effect'.
+
+**Figure III.3 – Packet loss effect for I-picture only GOP**
+
+In the case of usage of inter-picture prediction the situation is different (see Figures III.4 and III.5). Packet loss degrades the video quality. If the interval between key (reference) I-pictures is small, the error does not spread for a long time, but in this case the efficiency of video encoding (compression) will be lower.
+
+Conversely, if the reference I-pictures are far apart during transmission, the error applies to more pictures. This can be explained by the fact that reference pictures are used for recovery of predicted pictures and/or bi-directionally predicted pictures. So, if a reference picture contains errors and it is used for recovery, the recovered picture will contain the same error because the decoder will interpret this error as a normal part of picture. However, encoding efficiency for bi-directional and unidirectional predictions with long GOPs will be higher.
+
+
+
+Four video frames showing a mountain landscape. The first frame is a P-picture (N-picture). The second frame is an I-picture (N+1-picture) with a red circle and arrow pointing to a horizontal black bar labeled 'Packet loss effect'. The third frame is a P-picture (N+2-picture) with a red circle and arrow pointing to a horizontal black bar labeled 'Packet loss effect migration'. The fourth frame is an I-picture (N+3-picture). A small text 'J.1630(24)' is at the bottom right.
+
+**Figure III.4 – Packet loss effect for GOP with structure IPIPIP**
+
+
+
+Four video frames showing a hot air balloon. The first frame is a B-picture (N-picture). The second frame is an I-picture (N+1-picture). The third frame is a B-picture (N+2-picture). The fourth frame is an I-picture (N+3-picture). A small text 'J.1630(24)' is at the bottom right.
+
+**Figure III.5 – Packet loss effect for GOP with structure IBIBIB**
+
+The dependence on streaming protocol selection is demonstrated in Figures III.6 to III.8.
+
+As can be seen, when transmitting via UDP and RTP, the video quality is highest at the minimum GOP length (corresponds to I-only encoding). This behaviour is explained by the fact that the loss of even one packet causes damage to the entire GOP structure in terms of pixel values and other coding information.
+
+Thus, in the case of GOP structures IP, I4P, I9P, I99P up to 2, 5, 10 and 100 pictures in the GOP structure, are damaged respectively. ProMPEG using forward error correction FEC recovers up to 5% of losses, while the GOP length used does not affect efficiency. This fact can also be seen in Figure I.5 where when transmitting via UDP the intensity of pixel damage increases with increasing GOP length. Practically the same performance is viewed in bi-directionally predicted mode (possibly due to missing the same I- or P-pictures that are used for recovery of B-pictures).
+
+
+
+This graph illustrates the relationship between packet loss rate and pixel error rate for different Group of Pictures (GOP) structures when using UDP. The x-axis represents the packet loss rate in percent on a logarithmic scale from 10-3 to 101. The y-axis represents the pixel error rate in percent on a linear scale from 0 to 100. The legend identifies ten GOP structures: I (solid blue), IB (solid orange), I4B (solid yellow), I9B (solid purple), I16B (solid green), IP (solid light blue), I4P (dashed dark red), I9P (dashed dark blue), I49P (dashed orange), and I99P (dashed yellow). All curves show a sharp increase in pixel error rate as packet loss rate increases, with I99P (yellow dashed line) reaching 80% error rate at 101% packet loss.
+
+Line graph showing Pixel error rate (%) vs Packet loss rate (%) for various GOP structures (I, IB, I4B, I9B, I16B, IP, I4P, I9P, I49P, I99P) when transmitting via UDP. The x-axis is logarithmic from 10^-3 to 10^1. The y-axis is linear from 0 to 100. All curves show a sharp increase in pixel error rate as packet loss rate increases, with I99P (yellow dashed line) reaching 80% error rate at 10^1% packet loss.
+
+Figure III.6 – Dependence of pixel error ratio on PLR for different GOP structures in the case of IP packet loss impairment when transmitting via UDP
+
+
+
+This graph illustrates the relationship between packet loss rate and pixel error rate for different Group of Pictures (GOP) structures when using RTP. The x-axis represents the packet loss rate in percent on a logarithmic scale from 10-3 to 101. The y-axis represents the pixel error rate in percent on a linear scale from 30 to 100. The legend identifies the same ten GOP structures as Figure III.6. All curves show a sharp increase in pixel error rate as packet loss rate increases, with I99P (yellow dashed line) reaching 100% error rate at 101% packet loss.
+
+Line graph showing Pixel error rate (%) vs Packet loss rate (%) for various GOP structures (I, IB, I4B, I9B, I16B, IP, I4P, I9P, I49P, I99P) when transmitting via RTP. The x-axis is logarithmic from 10^-3 to 10^1. The y-axis is linear from 30 to 100. All curves show a sharp increase in pixel error rate as packet loss rate increases, with I99P (yellow dashed line) reaching 100% error rate at 10^1% packet loss.
+
+Figure III.7 – Dependence of pixel error ratio on PLR for different GOP structures in case of IP packet loss impairment when transmitting via RTP
+
+
+
+| Packet loss rate (%) | I | IB | I4B | I9B | I16B | IP | I4P | I9P | I49P | I99P |
+|----------------------|----|----|-----|-----|------|----|-----|-----|------|------|
+| 10 -3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 -2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 -1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 1 | 45 | 42 | 25 | 25 | 0 | 34 | 25 | 25 | 12 | 10 |
+
+Figure III.8: Dependence of pixel error ratio on PLR for different GOP structures in case of IP packet loss impairment when transmitting via ProMPEG. The graph shows pixel error rate (%) on the y-axis (0 to 50) versus packet loss rate (%) on a logarithmic x-axis (10^-3 to 10^1).
+
+**Figure III.8 – Dependence of pixel error ratio on PLR for different GOP structures in case of IP packet loss impairment when transmitting via ProMPEG**
+
+Real-time protocol (RTP) gives a higher diversity of results but in this case B-pictures are less sensitive to impairment due to a mechanism of their recovery (there is the possibility that the full content of a picture can be recovered by a reverse prediction process). With PLR = 0.01 the intensity of picture damage is higher with RTP than with UDP alone.
+
+For ProMPEG the situation is "most positive" because loss of packets is partly (or fully compensated, depending on the intensity of loss and FEC performance) compensated by 2D-FEC decoding. Even with the highest PLR the maximum number of lost pixels is 45% (instead of 100% for RTP).
+
+**Adaptive video transmission protocols:** Due to the protocol principle, the nature of failures of adaptive streaming technologies differs from other protocols. Considering that such additivity achieved by transmission control protocol (TCP) usage, visibility and reaction to network impairments are specific to TCP transfer. If some IP packets containing MPEG data are corrupted or missing, the cable system waits for successful (or skipped) reception of the required transmission block so the video picture freezes and "waits" for a system decision (block is successfully received or skipped). Therefore, such parameters as the minimum or average video picture freeze duration and number of video freezes for video transmission quality estimation are considered. Examples of such measurements are provided in Figure III.9.
+
+
+
+**Data for Figure III.9(a): Number of video freezes vs. Packet loss rate**
+
+| Packet loss rate (%) | Number of video freezes |
+|----------------------|-------------------------|
+| 0 | 0 |
+| 1 | 4 |
+| 5 | 4 |
+| 10 | 10 |
+| 15 | 28 |
+| 20 | 46 |
+
+**Data for Figure III.9(b): Average duration for video freezes vs. Packet loss rate**
+
+| Packet loss rate (%) | Average duration for video freezes (seconds) |
+|----------------------|----------------------------------------------|
+| 0 | 0 |
+| 1 | 1.0 |
+| 5 | 1.0 |
+| 10 | 1.4 |
+| 15 | 1.8 |
+| 20 | 2.18 |
+
+Figure III.9: Two line graphs showing the dependence of video freezes on packet loss rate (PLR). Graph (a) shows the number of video freezes increasing from 0 to 46 as PLR increases from 0% to 20%. Graph (b) shows the average duration of video freezes increasing from 0 to 2.18 seconds over the same PLR range. Both graphs show a sharp initial increase at very low PLR levels followed by a more gradual, proportional increase.
+
+**Figure III.9 – Dependence of number of video freezes (a) and the average duration of video freezes (b) on PLR with a data packet size of 500 bytes**
+
+Based on the data, an increase in PLR results in a directly proportional rise in the number of video freezes. This becomes particularly noticeable at high PLR levels, such as 10% and 20%, where the number of freezes reaches 10 and 46, respectively. This implies that even small data packets can significantly impact the stability of the video stream during periods of high packet loss.
+
+There is also a direct correlation between the average freeze duration and the PLR level. The average freeze duration increases from nearly zero at low PLR levels to 2.18 seconds at a PLR of 20%. This indicates that a higher level of packet loss in the network leads not only to an increase in the number of freezes but also extends the time for which the video remains frozen.
+
+At a packet loss rate below 1%, the minimum freeze duration is zero, but as the PLR increases further, the minimum freeze duration grows, despite minor differences in this case. This again underscores the impact of PLR on the stability of the video stream, demonstrating that even the shortest freezes become longer at high PLR levels.
+
+Figure III.10 notes the most significant dynamics. For PLR up to 0.01%, the maximum freeze duration remains at a low level. However, starting from 0.25%, we observe a notable increase in this metric. At a PLR of 20%, the maximum freeze duration reaches 7.87 seconds, which is a relatively high value and can lead to a significant degradation in user experience during video playback.
+
+
+
+| Packet loss rate, % | Maximum duration of video freezes |
+|---------------------|-----------------------------------|
+| 0 | 0 |
+| 1 | 1.7 |
+| 5 | 1.9 |
+| 10 | 2.9 |
+| 15 | 5.4 |
+| 20 | 7.8 |
+
+J.1630(24)
+
+Line graph titled 'Video 500 kbit/s' showing the relationship between Packet loss rate (%) and Maximum duration of video freezes. The x-axis ranges from 0 to 20% PLR, and the y-axis ranges from 0 to 8 seconds. The curve shows a sharp initial rise from 0 to about 1.7 seconds at 1% PLR, a slight plateau until 5% PLR, and then a steep linear increase to nearly 8 seconds at 20% PLR.
+
+**Figure III.10 – Graph depicting the relationship between PLR and the maximum duration of video freezes with a data packet size of 500 bytes**
+
+Regarding the impact of data packet size, in this case, 500 bytes, it appears that even with a small packet size, a high PLR level can lead to considerable delays and video freezes. This can be particularly critical for real-time video or gaming applications, where delay and video stream smoothness are crucial for user experience quality.
+
+Overall, these findings underline the importance of a reliable network with low packet loss for high-quality streaming video, regardless of packet size. At higher PLR levels, the average, minimum, and maximum freeze durations increase, resulting in worsened user service quality. Firstly, the increased number of freezes can make the video stream less stable and more intermittent. Secondly, the rise in average and maximum freeze durations can make these freezes more noticeable and disruptive to the user experience.
+
+Therefore, at high packet loss rates, it might be necessary to employ more effective error correction methods or larger packet sizes to enhance the stability of the video stream. This also underscores the importance of utilizing protocols that can operate effectively under high packet loss conditions, such as MPEG-DASH.
+
+Exploring the relationship between the number of video freezes and the packet loss rate (PLR) for packets of varying sizes contributes significantly to our understanding of the interaction between these parameters (see Figure III.11).
+
+- 1) Packets with a size of 500 bytes demonstrated the highest level of stability, with minimal video freezes even under high packet loss rates. This suggests that for data of this size, using small packets might be advisable to ensure transmission stability, particularly in unreliable network conditions.
+
+
+
+| Packet loss rate (%) | 500 k (Number of video freezes) | 1200 k (Number of video freezes) | 2000 k (Number of video freezes) | 3500 k (Number of video freezes) |
+|----------------------|---------------------------------|----------------------------------|----------------------------------|----------------------------------|
+| 0 | 0 | 0 | 0 | 0 |
+| 5 | 5 | 20 | 40 | 45 |
+| 10 | 10 | 30 | 110 | 150 |
+| 15 | 25 | 40 | 140 | 220 |
+| 20 | 45 | 50 | 170 | 290 |
+
+Line graph showing the relationship between the number of video freezes and the packet loss rate (PLR) for four different packet sizes: 500 k, 1200 k, 2000 k, and 3500 k. The x-axis represents the packet loss rate in percentage (0 to 20), and the y-axis represents the number of video freezes (0 to 300). The 3500 k packet size shows the highest number of freezes, reaching nearly 300 at a 20% PLR. The 2000 k packet size follows, reaching about 170. The 1200 k and 500 k packet sizes show significantly fewer freezes, reaching about 50 and 45 respectively at a 20% PLR.
+
+**Figure III.11 – Graph illustrating the relationship between the number of video freezes and the packet loss rate (PLR) for packets of various sizes (500, 1 200, 2 000, and 3 500 bytes)**
+
+- 2) Packets with a size of 1 200 bytes exhibit moderate susceptibility to packet loss, with an increasing number of freezes as PLR grows. This implies that for data of this size, it might be prudent to consider strategies that can mitigate the impact of packet loss, such as retransmission or error correction.
+- 3) Packets sized 2 000 bytes and 3 500 bytes proved to be the most vulnerable to freezes as the packet loss rate increases. This suggests that larger data packets may be more prone to freezes due to packet loss, necessitating strategies to handle these losses to maintain video quality.
+
+The overall analysis of the relationship between the number of video freezes and the average size of dynamic adaptive streaming over HTTP (DASH) segments can be analysed on Figure III.12. Starting from a PLR of 0.001, an increase in the number of video freezes can be observed with higher packet loss rates. Specifically, the number of video freezes increases from 3 at a PLR of 0.001 to 53 at a PLR of 20.
+
+
+
+| Average size of DASH segment, MBytes | PLR = 0.001% | PLR = 0.01% | PLR = 0.25% | PLR = 0.5% | PLR = 1% | PLR = 5% | PLR = 10% | PLR = 20% |
+|--------------------------------------|--------------|-------------|-------------|------------|----------|----------|-----------|-----------|
+| 0.4 | ~5 | ~5 | ~45 | ~5 | ~5 | ~5 | ~5 | ~10 |
+| 0.9 | ~5 | ~5 | ~55 | ~5 | ~5 | ~5 | ~20 | ~35 |
+| 1.6 | ~5 | ~5 | ~170 | ~5 | ~5 | ~5 | ~40 | ~110 |
+| 2.75 | ~5 | ~5 | ~290 | ~5 | ~5 | ~5 | ~45 | ~150 |
+
+Line graph showing the relationship between the number of video freezes and the average DASH segments size for various packet loss rates (PLR). The x-axis represents the average size of DASH segment in MBytes (0 to 3), and the y-axis represents the number of video freezes (0 to 300). The legend indicates PLR values: 0.001% (red), 0.01% (green), 0.25% (blue), 0.5% (black), 1% (magenta), 5% (cyan), 10% (red with circles), and 20% (green with circles). The 0.25% PLR line shows a sharp increase in freezes as segment size increases, reaching nearly 300 at 2.75 MBytes. The 20% PLR line also shows a significant increase, reaching about 150 at 2.75 MBytes. The 10% PLR line increases to about 45. The remaining lines (0.001% to 5%) remain relatively flat, staying below 20 freezes across the range.
+
+**Figure III.12 – Relationship between the number of video freezes and the average DASH segments size**
+
+This indicates that as packet loss rates increase, the likelihood of video freezes also increases. The ratio of the number of video freezes to the average length of DASH segments tends to rise, indicating that higher packet loss rates lead to a greater likelihood of interruptions in the video stream.
+
+Furthermore, the average video delay also exhibits an increasing trend with higher packet loss rates. This again emphasizes that higher packet loss levels result in a deterioration of video stream quality.
+
+Overall, these findings demonstrate that packet size management and adaptation to network conditions can be effective tools for enhancing video stream quality in networks with high packet loss rates.
+
+Analysing the provided data, it is evident that the subjective assessment of video quality is interdependent on the bit-rate and the packet loss rate (PLR). With an increase in PLR, the subjective quality assessment decreases, as expected, since packet loss can lead to video interruptions or image quality degradation.
+
+Regarding the digital stream bit-rate, the data shows that users generally rate video quality higher at lower stream bit-rates compared to higher bit-rates. This might be due to the increased risk of packet loss at higher stream bit-rates, which can negatively impact video playback.
+
+In addition, there appear to be certain threshold packet loss values at which the subjective quality assessment sharply declines. For instance, at a stream bit-rates of 500 kbit/s, a significant drop in quality assessment occurs when transitioning from a 1% PLR to 5% PLR.
+
+However, it is important to note that there are significant individual variations in quality assessments across different stream bit-rates at the same PLR levels (see Figure III.13). This indicates that factors other than bit-rate and packet loss level also influence the subjective quality assessment of video.
+
+
+
+| Packet loss rate, % | 500 kbit/s | 1200 kbits | 2000 kbit/s | 3500 kbit/s |
+|---------------------|------------|------------|-------------|-------------|
+| 0.001 | 5.00 | 5.00 | 5.00 | 5.00 |
+| 0.01 | 5.00 | 4.10 | 4.10 | 4.10 |
+| 0.25 | 5.00 | 4.10 | 4.10 | 4.10 |
+| 0.5 | 5.00 | 4.10 | 4.10 | 4.10 |
+| 1 | 4.60 | 4.10 | 4.10 | 3.10 |
+| 5 | 4.10 | 3.10 | 3.10 | 3.10 |
+| 10 | 3.10 | 2.10 | 2.10 | 2.10 |
+| 20 | 2.10 | 2.10 | 1.10 | 1.10 |
+
+Bar chart showing the relationship between subjective assessment of video transmission quality (Rate of subjective impairment scale) and packet loss rate coefficients for different digital video stream rates (500, 1200, 2000, 3500 kbit/s). The Y-axis ranges from 0.00 to 5.00. The X-axis shows packet loss rates: 0.001, 0.01, 0.25, 0.5, 1, 5, 10, and 20. The legend indicates four stream rates: 500 kbit/s (blue), 1200 kbits (orange), 2000 kbit/s (grey), and 3500 kbit/s (yellow).
+
+**Figure III.13 – Relationship between the subjective assessment of video transmission quality at different digital video stream rates and the packet loss rate coefficients**
+
+All of this underscores the importance of optimizing both bit-rates and packet loss levels to ensure proper video transmission quality that users will perceive positively.
+
+Also, in the case of adaptive streaming technologies, the network reconfiguration approach is not so explicit due to the indirect dependence of the adaptive streaming transmission block (chunk, segment, etc.) size and MPEG stream structure (encoder configuration).
+
+# Appendix IV
+
+## Example of packet duplication estimation
+
+(This appendix does not form an integral part of this Recommendation.)
+
+The influence of packet duplication is demonstrated in Figures IV.1 to IV.4. Packet duplication for RTP should not be a problem because RTP, unlike UDP, contains a sequence number, and the receiver discards duplicates. However, before the receiver reads the sequence numbers, all packets fall into the buffer for further processing, and frequent repetition overloads it, which prevents the loading of other packets. For receivers, in which the buffer size is not limited, duplication of up to 99% does not affect playback at all. In the case of other protocols with packets containing error control information, especially ProMPEG and IP protocol, they give poorer performance, due to increasing of the overload of the buffer.
+
+
+
+The graph illustrates the Structural Similarity (SSIM) of I4P video sequences as a function of the Packet Duplication Rate (PDR) for various network protocols and MTU sizes. The x-axis represents the PDR from 0% to 50%, and the y-axis represents the SSIM from 0 to 1. The legend identifies nine data series: ProMPEG (mtu = 250, 800, 1500), UDP (mtu = 250, 800, 1500), and RTP (mtu = 250, 800, 1500). ProMPEG and RTP show a significant drop in SSIM as PDR increases, while UDP maintains a higher SSIM. The ProMPEG mtu = 1500 series shows a sharp drop to zero SSIM at 50% PDR.
+
+| Packet duplication rate, % | ProMPEG, mtu = 250 | ProMPEG, mtu = 800 | ProMPEG, mtu = 1500 | UDP, mtu = 250 | UDP, mtu = 800 | UDP, mtu = 1500 | RTP, mtu = 250 | RTP, mtu = 800 | RTP, mtu = 1500 |
+|----------------------------|--------------------|--------------------|---------------------|----------------|----------------|-----------------|----------------|----------------|-----------------|
+| 0 | 0.68 | 0.68 | 0.68 | 1.00 | 1.00 | 1.00 | 0.68 | 0.68 | 0.68 |
+| 5 | 0.68 | 0.68 | 0.68 | 1.00 | 1.00 | 0.95 | 0.68 | 0.68 | 0.68 |
+| 10 | 0.68 | 0.68 | 0.68 | 1.00 | 1.00 | 0.90 | 0.68 | 0.68 | 0.68 |
+| 15 | 0.60 | 0.60 | 0.60 | 1.00 | 1.00 | 0.88 | 0.60 | 0.60 | 0.60 |
+| 20 | 0.50 | 0.50 | 0.50 | 1.00 | 1.00 | 0.85 | 0.50 | 0.50 | 0.50 |
+| 25 | 0.40 | 0.40 | 0.40 | 1.00 | 1.00 | 0.82 | 0.40 | 0.40 | 0.40 |
+| 30 | 0.30 | 0.30 | 0.30 | 1.00 | 1.00 | 0.80 | 0.30 | 0.30 | 0.30 |
+| 35 | 0.20 | 0.20 | 0.20 | 1.00 | 1.00 | 0.78 | 0.20 | 0.20 | 0.20 |
+| 40 | 0.10 | 0.10 | 0.10 | 1.00 | 1.00 | 0.75 | 0.10 | 0.10 | 0.10 |
+| 45 | 0.05 | 0.05 | 0.05 | 1.00 | 1.00 | 0.72 | 0.05 | 0.05 | 0.05 |
+| 50 | 0.00 | 0.00 | 0.00 | 1.00 | 1.00 | 0.70 | 0.00 | 0.00 | 0.00 |
+
+Figure IV.1: Dependence of average structural similarity (SSIM) of I4P video sequences on packet duplication rate (PDR) for different MTU transmissions using UDP, RTP, and ProMPEG protocols. The graph shows SSIM on the y-axis (0 to 1) versus PDR on the x-axis (0 to 50%).
+
+**Figure IV.1 – Dependence of average structural similarity (SSIM) of I4P video sequences on packet duplication rate (PDR) for different MTU transmissions using UDP, RTP, and ProMPEG protocols**
+
+Previously, it was indicated that the video quality when packets are duplicated is affected by the limited size of the receiver buffer, which can become heavily overloaded by duplicates. In the case of P-picture based predictions, the performance of a streaming service in terms of pixel errors are grouped near the same domain. B-pictures are affected to a higher extent due to the fact that the prediction process and video sequences with longer GOPs provide higher immunity to duplicates than shorter GOPs. RTP provides more localized performance practically for all types of GOP due to the duplicates removing property. However, depending on the intensity of impairment, RTP is not always successful due to the reduplication process and long sequences of packets are lost due to buffer overload.
+
+ProMPEG again gives better performance in terms of immunity to impairment because in the case of buffer overload some portion of the data is lost and this is equivalent (in some manner) to packet loss and 2D-FEC provides good solutions to mitigate this process. At its peak for intra-picture predictions (I-pictures only) pixel error rate corresponds to 18%. For B-predictions and P-predictions these respective values are 15% and 12% (instead 45% or 100% in case of other protocols).
+
+
+
+This line graph illustrates the relationship between the packet duplication rate (PDR) and the pixel error rate for different Group of Pictures (GOP) structures when using UDP for transmission. The x-axis represents the PDR in percentage on a logarithmic scale from $10^{-3}$ to $10^2$ . The y-axis represents the pixel error rate in percentage from 0 to 100. The legend identifies ten GOP structures: I (solid blue line), IB (solid orange line), I4B (solid yellow line), I9B (solid purple line), I16B (solid green line), IP (solid light blue line), I4P (dashed red line), I9P (dashed dark blue line), I49P (dashed orange line), and I99P (dashed yellow line). The I4B and I99P structures show the highest error rates, reaching nearly 100% at high PDRs. The I structure shows the lowest error rate, remaining below 20% even at high PDRs.
+
+| Packet duplication rate, % | I | IB | I4B | I9B | I16B | IP | I4P | I9P | I49P | I99P |
+|----------------------------|----|----|-----|-----|------|----|-----|-----|------|------|
+| $10^{-3}$ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| $10^{-2}$ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| $10^{-1}$ | 0 | 0 | 33 | 21 | 0 | 0 | 10 | 8 | 10 | 10 |
+| $10^0$ | 8 | 50 | 60 | 23 | 36 | 0 | 38 | 48 | 35 | 35 |
+| $10^1$ | 15 | 78 | 80 | 80 | 48 | 15 | 60 | 65 | 65 | 80 |
+| $10^2$ | 15 | 80 | 80 | 85 | 60 | 80 | 65 | 70 | 70 | 100 |
+
+Line graph showing Pixel error rate (%) vs Packet duplication rate (%) for various GOP structures (I, IB, I4B, I9B, I16B, IP, I4P, I9P, I49P, I99P) using UDP. The graph shows that as the packet duplication rate increases, the pixel error rate generally increases for all GOP structures. The I4B and I99P structures show the highest error rates at high duplication rates, while the I structure shows the lowest.
+
+Figure IV.2 – Dependence of pixel error ratio on PDR in the case of IP packet duplication impairment for different GOP structures (transmissions using UDP)
+
+
+
+This line graph illustrates the relationship between the packet duplication rate (PDR) and the pixel error rate for different Group of Pictures (GOP) structures when using RTP for transmission. The x-axis represents the PDR in percentage on a logarithmic scale from $10^{-3}$ to $10^2$ . The y-axis represents the pixel error rate in percentage from 0 to 100. The legend identifies ten GOP structures: I (solid blue line), IB (solid orange line), I4B (solid yellow line), I9B (solid purple line), I16B (solid green line), IP (solid light blue line), I4P (dashed red line), I9P (dashed dark blue line), I49P (dashed orange line), and I99P (dashed yellow line). The I4B and I99P structures show the highest error rates, reaching nearly 90% at high PDRs. The I structure shows the lowest error rate, reaching about 85% at high PDRs.
+
+| Packet duplication rate, % | I | IB | I4B | I9B | I16B | IP | I4P | I9P | I49P | I99P |
+|----------------------------|----|----|-----|-----|------|----|-----|-----|------|------|
+| $10^{-3}$ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| $10^{-2}$ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| $10^{-1}$ | 5 | 5 | 10 | 8 | 18 | 5 | 10 | 8 | 10 | 10 |
+| $10^0$ | 15 | 35 | 30 | 35 | 40 | 15 | 35 | 30 | 35 | 35 |
+| $10^1$ | 75 | 75 | 75 | 75 | 75 | 75 | 75 | 75 | 75 | 75 |
+| $10^2$ | 85 | 85 | 85 | 85 | 85 | 85 | 85 | 85 | 85 | 85 |
+
+Line graph showing Pixel error rate (%) vs Packet duplication rate (%) for various GOP structures (I, IB, I4B, I9B, I16B, IP, I4P, I9P, I49P, I99P) using RTP. The graph shows that as the packet duplication rate increases, the pixel error rate generally increases for all GOP structures. The I4B and I99P structures show the highest error rates at high duplication rates, while the I structure shows the lowest.
+
+Figure IV.3 – Dependence of pixel error ratio on PDR for different GOP structures in the case of IP packet duplication impairment (transmissions using RTP)
+
+
+
+| Packet duplication rate, % | I | IB | I4B | I9B | I16B | IP | I4P | I9P | I49P | I99P |
+|----------------------------|------|-----|-----|-----|------|-----|------|-----|------|------|
+| 10 -3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 -2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 10 -1 | 0 | 0 | 0 | 0 | 0 | 3.8 | 5.0 | 0 | 0 | 0 |
+| 10 0 | 11.2 | 2.0 | 1.5 | 0 | 0 | 3.8 | 5.5 | 0 | 0 | 0 |
+| 10 1 | 18.0 | 5.0 | 8.0 | 0 | 0 | 3.8 | 11.5 | 0 | 0 | 0 |
+
+Line graph showing Pixel error rate (%) vs Packet duplication rate (%) for various GOP structures. The x-axis is logarithmic from 10^-3 to 10^1. The y-axis is linear from 0 to 18. The legend includes I, IB, I4B, I9B, I16B, IP, I4P, I9P, I49P, and I99P. The graph shows that as the packet duplication rate increases, the pixel error rate generally increases for most GOP structures, with the 'I' structure showing the highest error rate at high duplication rates.
+
+**Figure IV.4 – Dependence of pixel error ratio on PDR for different GOP structures in the case of IP packet duplication impairment (transmissions using ProMPEG)**
+
+# Appendix V
+
+## Example of IP packet jitter estimation
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Figure V.1 shows video with the GOP structure of I49P (49 predicted sequential pictures) taken for RTP only. UDP packets do not contain a sequence number and therefore cannot sort the packets in which the sequence came to the receiver so it reproduces data as it comes, and therefore even a packet delay of 1 ms of video leads to a "scatter" effect.
+
+
+
+| Packet delay, ms | MTU = 250 bytes (SSIM) | MTU = 800 bytes (SSIM) | MTU = 1500 bytes (SSIM) |
+|------------------|------------------------|------------------------|-------------------------|
+| 10 | 0.89 | 0.97 | 1.00 |
+| 20 | 0.86 | 0.96 | 1.00 |
+| 30 | 0.85 | 0.97 | 1.00 |
+| 40 | 0.83 | 0.94 | 0.98 |
+| 50 | 0.81 | 0.94 | 0.98 |
+| 60 | 0.82 | 0.94 | 0.93 |
+| 70 | 0.80 | 0.87 | 0.82 |
+| 80 | 0.78 | 0.83 | 0.81 |
+| 90 | 0.79 | 0.81 | 0.78 |
+
+Line graph showing Structural similarity (SSIM) vs Packet delay (ms) for different MTU transmissions (250, 800, 1500 bytes). The graph shows that as packet delay increases, SSIM decreases for all MTU sizes. The MTU = 1500 bytes (green line with triangles) maintains the highest SSIM, while MTU = 250 bytes (red line) maintains the lowest. MTU = 800 bytes (blue line with circles) shows intermediate performance.
+
+**Figure V.1 – Dependence of average structural similarity (SSIM) of I49P video sequences on packet delay for different MTU transmissions using RTP protocol**
+
+When transmitting via RTP, the media player copes with time delays much more easily. When the MTU = 1 500 bytes, this proved to be the most efficient size. This is due to fact that the media player can sort up to 20-30 packets and in the case of a lack of packets, the program after some time (30 ms), will assume that the packet is lost.
+
+In the case of RTP, the length of the GOP structure when packets are delayed has practically no effect on the video quality (see Figure V.2). The critical delay value corresponds to 30 ms because after exceeding this value the number of pixel errors increases dramatically and corresponds to 70-90%.
+
+
+
+| Packet delay, ms | I | IB | I4B | I9B | I16B | IP | I4P | I9P | I49P | I99P |
+|------------------|----|----|-----|-----|------|----|-----|-----|------|------|
+| 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 20 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 30 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| 40 | 0 | 68 | 68 | 68 | 68 | 68 | 68 | 68 | 68 | 68 |
+| 50 | 0 | 68 | 68 | 68 | 68 | 68 | 68 | 68 | 68 | 68 |
+| 60 | 55 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 |
+| 70 | 65 | 75 | 75 | 75 | 75 | 75 | 75 | 75 | 75 | 75 |
+| 80 | 75 | 80 | 80 | 80 | 80 | 80 | 80 | 80 | 80 | 80 |
+| 90 | 80 | 85 | 85 | 85 | 85 | 85 | 85 | 85 | 85 | 90 |
+
+Line graph showing Pixel error rate (%) vs Packet delay (ms) for various GOP structures. The graph shows that for most structures, the pixel error rate is 0% until a packet delay of 30 ms, after which it increases sharply. The 'I' structure shows a sharp increase starting at 50 ms delay. The 'I9P' and 'I99P' structures show the highest error rates at 90 ms delay, reaching approximately 85% and 90% respectively.
+
+**Figure V.2 – Dependence of pixel error ratio on packet delay time for different GOP structures (transmissions using RTP)**
+
+It should also be noted that the permissible delay between audio/video signals in set-top boxes (or software equivalent) is 30 ms so limiting the delay to this size is a good solution for all protocols and GOP structures.
+
+# Appendix VI
+
+## Example of network requirements of cloud VR according to Recommendation ITU-T J.1631
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix contains informative material concerning the network requirements of cloud VR services.
+
+### VI.1 Example of E2E network real-time transmission (RTT) requirements of cloud VR
+
+The evolution of cloud VR service experience is divided into the following four phases: fair experience phase (FEP), comfortable experience phase (CEP), ideal experience phase (IEP) and ultimate experience phase (UEP). In these four phases, the typical content is 4K, 8K, 12K and 24K, respectively. The terminal screen resolution is typically 2K, 4K, 8K and 16K, respectively. The quality of image viewed by users is equivalent to the pixels per degree (PPD) effect of 240P/380P, 480P, 1080P and 4K on a traditional TV respectively, see [ITU-T J.1631].
+
+Table VI.1 describes the suggested network latency requirement values that need to be considered in each phase. fair experience phase (FEP), comfortable experience phase (CEP), ideal experience phase (IEP) and ultimate experience phase (UEP).
+
+**Table VI.1 – Example of E2E network RTT requirements of cloud VR**
+
+| Phase | Transmission distance | FEP | CEP | IEP | UEP |
+|-----------------|-----------------------|--------|--------|--------|-------|
+| E2E network RTT | <600 km | <20 ms | <20 ms | <10 ms | <8 ms |
+
+NOTE 1 – Network latency requirements of cloud VR services in FEP are based on experimental results.
+
+NOTE 2 – Network latency requirements of cloud VR services in CEP, IEP and UEP are suggested values.
+
+## VI.2 Example of network delay jitter requirements of cloud VR
+
+Table VI.2 describes the suggested network delay jitter requirement that needs to be considered in each phase.
+
+**Table VI.2 – Example of network delay jitter requirements of cloud VR**
+
+| Phase | FEP | CEP | IEP | UEP |
+|--------------------|--------|--------|--------|-------|
+| Total delay jitter | <15 ms | <15 ms | <10 ms | <7 ms |
+
+NOTE 1 – Network delay jitter requirements of cloud VR services in FEP are based on experimental results.
+
+NOTE 2 – Network delay jitter requirements of cloud VR services in CEP, IEP and UEP are suggested values.
+
+## VI.3 Example of network bandwidth requirements of cloud VR
+
+Table VI.3 describes the suggested per-user bandwidth requirements of strong-interaction and weak-interaction services that need to be considered in each phase.
+
+**Table VI.3 – Example of network bandwidth requirements of cloud VR**
+
+| Phase | FEP | CEP | IEP | UEP |
+|------------------------------|------|-----|-----|------|
+| Typical full-view resolution | 4K | 8K | 12K | 24K~ |
+| Typical terminal resolution | 2–3K | 4K | 8K | 16K~ |
+
+**Table VI.3 – Example of network bandwidth requirements of cloud VR**
+
+| Phase | | FEP | CEP | IEP | UEP |
+|-------------------------------|-----------------------|----------------------------|----------------------|-----------------------|-----------------------|
+| Weak-interaction VR service | Bit rate | Full-view $\geq 40$ Mbit/s | FOV $\geq 80$ Mbit/s | FOV $\geq 280$ Mbit/s | FOV $\geq 760$ Mbit/s |
+| | Bandwidth requirement | $\geq 60$ Mbit/s | $\geq 120$ Mbit/s | $\geq 420$ Mbit/s | $\geq 1\ 140$ Mbit/s |
+| Strong-interaction VR service | Bit rate | $\geq 40$ Mbit/s | $\geq 65$ Mbit/s | $\geq 270$ Mbit/s | $\geq 770$ Mbit/s |
+| | Bandwidth requirement | $\geq 80$ Mbit/s | $\geq 130$ Mbit/s | $\geq 540$ Mbit/s | $\geq 1\ 540$ Mbit/s |
+
+NOTE 1 – Network bandwidth requirements of cloud VR services in FEP are based on experimental results.
+
+NOTE 2 – Network bandwidth requirements of cloud VR services in CEP, IEP and UEP are based on theoretical calculation.
+
+## VI.4 Example of network packet loss requirements of cloud VR
+
+Table VI.4 describes the suggested network packet loss rate requirements of weak-interaction services that need to be considered in each phase.
+
+**Table VI.4 – Example of network packet loss requirements of weak-interaction cloud VR services**
+
+| Phase | FEP | CEP | IEP | UEP |
+|------------------|----------------|----------------|----------------|----------------|
+| RTT | 30 ms | 20 ms | 10 ms | 10 ms |
+| Bandwidth | 60 Mbit/s | 120 Mbit/s | 420 Mbit/s | 1 140 Mbit/s |
+| Packet loss rate | $\leq 10^{-4}$ | $\leq 10^{-5}$ | $\leq 10^{-6}$ | $\leq 10^{-6}$ |
+
+NOTE 1 – Network packet loss rate requirements of weak-interaction cloud VR services in FEP are based on experimental results.
+
+NOTE 2 – Network packet loss rate requirements of weak-interaction cloud VR services in CEP, IEP and UEP are based on theoretical calculation.
+
+Table VI.5 describes the suggested network packet loss rate requirements of strong-interaction services that need to be considered in each phase.
+
+**Table VI.5 – Example of network packet loss requirements of strong-interaction cloud VR**
+
+| Phase | FEP | CEP | IEP | UEP |
+|------------------|----------------|----------------|----------------|----------------|
+| RTT | 20 ms | 20 ms | 10 ms | 8 ms |
+| Bandwidth | 80 Mbit/s | 130 Mbit/s | 540 Mbit/s | 1 540 Mbit/s |
+| Packet loss rate | $\leq 10^{-5}$ | $\leq 10^{-6}$ | $\leq 10^{-7}$ | $\leq 10^{-7}$ |
+
+NOTE 1 – Network packet loss rate requirements of strong-interaction cloud VR services in FEP are based on experimental results.
+
+NOTE 2 – Network packet loss rate requirements of strong-interaction cloud VR services in CEP, IEP and UEP are based on theoretical calculation.
+
+# Bibliography
+
+- [b-ITU-T G.1050] Recommendation ITU-T G.1050 (2016), *Network model for evaluating multimedia transmission performance over Internet Protocol.*
+- [b-ITU-T G.1080] Recommendation ITU-T G.1080 (2008), *Quality of experience requirements for IPTV services.*
+- [b-ITU-T G.1081] Recommendation ITU-T G.1081 (2008), *Performance monitoring points for IPTV.*
+- [b-ITU-T J.145] Recommendation ITU-T J.145 (2001), *Measurement and control of the quality of service for sound transmission over contribution and distribution networks.*
+- [b-ITU-T J.301] Recommendation ITU-T J.301 (2014), *Requirements for augmented reality smart television systems.*
+- [b-ITU-T P.10] Recommendation ITU-T P.10/G.100 (2017), *Vocabulary for performance, quality of service and quality of experience.*
+- [b-ITU-T X.149] Recommendation ITU-T X.149 (2003), *Performance of IP networks when supported by public Frame Relay data networks.*
+- [b-ITU-R BT.1683] Recommendation ITU-R BT.1683 (2004), *Objective perceptual video quality measurement techniques for standard definition digital broadcast television in the presence of a full reference.*
+- [b-ITU-R BT.2420-0] Recommendation ITU-R BT.2420-0 (2018), *Collection of usage scenarios and current statuses of advanced immersive audio-visual (AIAV) systems.*
+- [b-ETSI TR 101 290] ETSI TR 101 290 V1.4.1 (2020), *Digital Video Broadcasting (DVB); Measurement guidelines for DVB systems.*
+- [b-ETSI ES 202 765-2] ETSI ES 202 765-2 V1.2.1 (2014), *Speech and multimedia Transmission Quality (STQ); QoS and network performance metrics and measurement methods; Part 2: Transmission Quality Indicator combining Voice Quality Metrics.*
+- [b-ISO/IEC 30134-1] ISO/IEC 30134-1:2016, *Information technology – Data centres – Key performance indicators.*
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d5a35041124e73f88d6638cd17f42a2eb4f6781a
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f24b214263bab4142643453a604fb5196f9397e2500c675cde79d53ce5e5d8e
+size 3645
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/5a4e62bead259c258d069fd3663ea670_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/5a4e62bead259c258d069fd3663ea670_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bebac068d00b7aebbc042f4e1e955ed6f6dbc8f7
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/5a4e62bead259c258d069fd3663ea670_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:917de20cdca014e08bdbf75e4feacf01d41af901ba3375fff7b6cb9ee429dd43
+size 46950
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..47e59881f7769cd111b9752fb3f10c715601fa16
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2dc5cd03da436d1da894e70b580ff6845d6101aa5ef415969f09ccabfd6be53a
+size 61591
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..47239b8a7b7390624995770c7ce1b3a5f5c6041a
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d061753c1d051354b26904ce78f791276fec0808d1cb739e16afc1fa7cde2ff7
+size 79924
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bfa9a085a4209d44a50d316395447e99caf6c570
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3f7aa5c5e17b9f6cb7626fde5c9a9e94da8fd752f26aae32aadbc52d71140e06
+size 92945
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg b/marked/J/T-REC-J.166-200712-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ac875d16305f18e5e1ceb10a8e774269316a7469
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:742204ffca843e41067cef3586b6e7cef729fb313309d91cf565d9af235aec25
+size 91284
diff --git a/marked/J/T-REC-J.166-200712-I_PDF-E/raw.md b/marked/J/T-REC-J.166-200712-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..ad52cc21d0a2e9ab166e116e30e14393df50d0f4
--- /dev/null
+++ b/marked/J/T-REC-J.166-200712-I_PDF-E/raw.md
@@ -0,0 +1,6358 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.166**
+
+(12/2007)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+IPCablecom
+
+# --- **IPCablecom Management Information Base (MIB) framework**
+
+ITU-T Recommendation J.166
+
+
+
+## **ITU-T Recommendation J.166**
+
+# **IPCablecom Management Information Base (MIB) framework**
+
+## **Summary**
+
+ITU-T Recommendation J.166 describes the framework in which IPCablecom MIBs (management information base) are defined. It provides information on the management requirements of IPCablecom-specified devices and functions and how these requirements are supported in the MIB. It is intended to support and complement the actual MIB Recommendations, which are included as annexes.
+
+## **Source**
+
+ITU-T Recommendation J.166 was approved on 14 December 2007 by ITU-T Study Group 9 (2005-2008) under the ITU-T Recommendation A.8 procedure.
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 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 .
+
+© ITU 2008
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## CONTENTS
+
+| | Page |
+|------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 2.1 Normative references..... | 1 |
+| 2.2 Informative references..... | 2 |
+| 3 Terms and definitions ..... | 2 |
+| 4 Abbreviations and conventions..... | 3 |
+| 4.1 Abbreviations ..... | 3 |
+| 4.2 Conventions..... | 3 |
+| 5 Overview ..... | 4 |
+| 5.1 IPCablecom reference architecture..... | 4 |
+| 5.2 General requirements..... | 4 |
+| 5.3 Functional requirements ..... | 8 |
+| 6 MIBs available in an IPCablecom network..... | 9 |
+| 6.1 DOCSIS MIB modules..... | 10 |
+| 6.2 IF MIB..... | 10 |
+| 6.3 MIB II..... | 10 |
+| 6.4 Ethernet MIB..... | 13 |
+| 6.5 Annex C..... | 13 |
+| 6.6 Annex B..... | 13 |
+| 6.7 Event Management MIB ..... | 13 |
+| 6.8 SNMP MIB..... | 14 |
+| 6.9 IPCablecom Extension MIB..... | 14 |
+| 6.10 eDOCSIS eSAFE MIB ..... | 14 |
+| 6.11 Battery backup UPS MIB..... | 14 |
+| 7 IPCablecom MIB module implementation..... | 14 |
+| 7.1 MTA components..... | 14 |
+| 7.2 MIB layering ..... | 15 |
+| 8 Organization of the MIBs ..... | 16 |
+| 8.1 Definition MIB ..... | 16 |
+| 8.2 MTA MIB..... | 16 |
+| 8.3 Signalling MIB ..... | 17 |
+| 8.4 MEM MIB..... | 17 |
+| 8.5 MTA Extension MIB..... | 17 |
+| 8.6 Signalling Extension MIB ..... | 17 |
+| 8.7 Battery backup MIB ..... | 17 |
+| Annex A – MIB import data ..... | 18 |
+| Annex B – MTA MIB..... | 24 |
+
+| | |
+|---------------------------------------------|----|
+| Annex C – Network call signalling MIB ..... | 53 |
+| Annex D – Management Event MIB ..... | 76 |
+| Annex E – Extension MTA MIB ..... | 88 |
+| Annex F – Signalling Extension MIB..... | 90 |
+
+# IPCablecom Management Information Base (MIB) framework
+
+# 1 Scope
+
+This Recommendation describes the framework in which IPCablecom MIBs (management information base) are defined. It provides information on the management requirements of IPCablecom-specified devices and functions and how these requirements are supported in the MIB. It is intended to support and complement the actual MIB Recommendations, which are included as annexes.
+
+NOTE – The structure and content of this Recommendation have been organized for ease of use by those familiar with the original source material; as such, the usual style of ITU-T Recommendations has not been applied.
+
+# 2 References
+
+## 2.1 Normative 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 indicated 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-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 J.112-A] ITU-T Recommendation J.112 Annex A (2001), *Digital Video Broadcasting: DVB interaction channel for cable TV (CATV) distribution systems.*
+- [ITU-T J.112-B] ITU-T Recommendation J.112 Annex B (2004), *Data-over-cable service interface specifications: Radio-frequency interface specification.*
+- [ITU-T J.162] ITU-T Recommendation J.162 (2007), *Network call signalling protocol for the delivery of time-critical services over cable television networks using cable modems.*
+- [ITU-T J.167] ITU-T Recommendation J.167 (2007), *Media terminal adapter (MTA) device provisioning requirements for the delivery of real-time services over cable television networks using cable modems.*
+- [ITU-T J.170] ITU-T Recommendation J.170 (2005), *IPCablecom security specification.*
+- [ITU-T J.176] ITU-T Recommendation J.176 (2002), *IPCablecom management event mechanism MIB.*
+- [ITU-T J.199] ITU-T Recommendation J.199 (2006), *Battery backup for cable based devices.*
+- [IETF RFC 1907] IETF RFC 1907 (1996), *Management Information Base for Version 2 of the Simple Network Management Protocol (SNMPv2).*
+- [IETF RFC 2011] IETF RFC 2011 (1996), *SNMPv2 Management Information Base for the Internet Protocol using SMIPv2.*
+- [IETF RFC 2013] IETF RFC 2013 (1996), *SNMPv2 Management Information Base for the User Datagram Protocol using SMIPv2.*
+
+- [IETF RFC 2578] IETF RFC 2578 (1999), *Structure of Management Information Version 2 (SMIv2)*.
+- [IETF RFC 2579] IETF RFC 2579 (1999), *Textual Conventions for SMIv2*.
+- [IETF RFC 2863] IETF RFC 2863 (2000), *The Interfaces Group MIB*.
+- [ANSI/SCTE 23-3] ANSI/SCTE 23-3 (2005), *DOCSIS 1.1 Part 3: Operations Support System Interface*.
+- [ANSI/SCTE 79-2] ANSI/SCTE 79-2 (2002), *DOCS 2.0 Operations Support System Interface*.
+
+## 2.2 Informative references
+
+- [ITU-T J.160] ITU-T Recommendation J.160 (2005), *Architectural framework for the delivery of time-critical services over cable television networks using cable modems*.
+- [IETF RFC 1493] IETF RFC 1493 (1993), *Definitions of Managed Objects for Bridges*.
+- [IETF RFC 1643] IETF RFC 1643 (1994), *Definitions of Managed Objects for the Ethernet-like Interface Types*.
+- [IETF RFC 2571] IETF RFC 2571 (1999), *An Architecture for Describing SNMP Management Frameworks*.
+- [IETF RFC 2572] IETF RFC 2572 (1999), *Message Processing and Dispatching for the Simple Network Management Protocol (SNMP)*.
+- [IETF RFC 2573] IETF RFC 2573 (1999), *SNMP Applications*.
+- [IETF RFC 2574] IETF RFC 2574 (1999), *User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)*.
+- [IETF RFC 2575] IETF RFC 2575 (1999), *View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)*.
+- [IETF RFC 4293] IETF RFC 4293 (2006), *Management Information Base for the Internet Protocol (IP)*.
+- [IETF RFC 4682] IETF RFC 4682 (2006), *Multimedia Terminal Adapter (MTA) Management Information Base for PacketCable- and IPCablecom-Compliant Devices*.
+- [IETF RFC 5098] IETF RFC 5098 (2008), *Signaling MIB for PacketCable and IPCablecom Multimedia Terminal Adapters (MTAs)*.
+- [CM-SP-OSSIV3.0] *Data-Over-Cable Service Interface Specifications, DOCSIS 3.0, Operations Support System Interface Specification*, CM-SP-OSSIV3.0-I01-061207, December 7, 2006, Cable Television Laboratories, Inc.
+- [draft-ietf-ipcdn-pktc-eventmess-09] IETF Internet Draft, *Management Event Management Information Base (MIB) for PacketCable- and IPCablecom-Compliant Devices*, (draft-ietf-ipcdn-pktc-eventmess-09), October 2006.
+
+# 3 Terms and definitions
+
+This Recommendation defines the following terms:
+
+**3.1 cable modem:** A cable modem is a layer-two termination device that terminates the customer end of the ITU-T J.112/J.122 connection.
+
+**3.2 IPCablecom:** An ITU-T project that includes an architecture and a series of Recommendations that enable the delivery of real-time services over the cable television networks using cable modems.
+
+**3.3 management information base (MIB):** The specification of information in a manner that allows standard access through a network management protocol.
+
+**3.4 media terminal adapter (MTA):** Contains the interface to a physical voice device, a network interface, CODECs, and all signalling and encapsulation functions required for VoIP transport, class features signalling and QoS signalling.
+
+**3.5 quality of service (QoS):** Guarantees network bandwidth and availability for applications.
+
+# **4 Abbreviations and conventions**
+
+## **4.1 Abbreviations**
+
+This Recommendation uses the following abbreviations:
+
+CM Cable Modem
+
+MIB Management Information Base
+
+MTA Media Terminal Adapter
+
+NCS Network Call Signalling
+
+QoS Quality of Service
+
+## **4.2 Conventions**
+
+Throughout this Recommendation, the words that are used to define the significance of particular requirements are capitalized. These words are:
+
+**"MUST"** This word or the adjective "REQUIRED" means that the item is an absolute requirement of this Recommendation.
+
+**"MUST NOT"** This phrase means that the item is an absolute prohibition of this Recommendation.
+
+**"SHOULD"** This word or the adjective "RECOMMENDED" means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should be understood and the case carefully weighed before choosing a different course.
+
+**"SHOULD NOT"** This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label.
+
+**"MAY"** This word or the adjective "OPTIONAL" means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product, for example; another vendor may omit the same.
+
+# 5 Overview
+
+IPCablecom MIB modules are designed to provide necessary functionality defined in IPCablecom Recommendations. MIBs that are developed for IPCablecom support embedded media terminal adapters (MTAs) and in most cases stand-alone MTAs and provide definitions for call signalling and MTA device provisioning functions. Future IPCablecom development phases will include other functional areas as well as requirements for other IPCablecom components, which will be considered for MIB module development. IPCablecom functional areas that are being studied for future IPCablecom MIB definition include ITU-T Rec. J.161, [ITU-T J.162], [ITU-T J.167], [ITU-T J.170] and [ITU-T J.176]. Additionally, in this specification, the term "DOCSIS" is used to refer to DOCSIS version 1.1 [ITU-T J.112], DOCSIS version 2 (ITU-T Rec. J.122) or DOCSIS version 3 (ITU-T Recs J.21x and J.22x series), unless explicitly specified otherwise.
+
+## 5.1 IPCablecom reference architecture
+
+The conceptual diagram for the IPCablecom architecture is shown in Figure 1. Please refer to [ITU-T J.160] for more detailed information concerning the IPCablecom architecture.
+
+
+
+The diagram illustrates the IPCablecom network component reference model. At the top left, an 'Embedded MTA client' consists of an 'E-MTA' and a 'Cable Modem' connected to an 'HFC Access Network (DOCSIS)' which is then connected to a 'CMTS'. At the bottom left, a 'Stand-alone MTA client' consists of an 'S-MTA' and a 'Cable Modem' connected to an 'HFC Access Network (DOCSIS)' which is then connected to a 'CMTS'. Both 'CMTS' units are connected to a central 'Managed IP Network (QoS features) (Headend, Local, Regional)'. This network is connected to a 'Call Management Server (CMS)' which contains a 'Call Agent (CA)' and a 'Gate Controller (GC)'. It is also connected to a 'Media Gateway Controller (MGC)' which contains a 'Media Gateway (MG)' and a 'Signalling Gateway (SG)'. The 'MGC' is connected to a 'Public Switched Telephone Network'. The 'Managed IP Network' is also connected to an 'OSS Back office servers and applications' block, which lists the following components: Key Distribution Centre (KDC), DHCP Servers, DNS Servers, TFTP or HTTP Servers, SYSLOG Server, Record Keeping Server (RKS), and Provisioning Server. The diagram is labeled 'J.166(07)\_F01' in the bottom right corner.
+
+Figure 1 – IPCablecom network component reference model (partial). The diagram shows two client types (Embedded MTA client and Stand-alone MTA client) connected to HFC Access Networks (DOCSIS) via Cable Modems and CMTS units. These are connected to a central Managed IP Network (with QoS features). The Managed IP Network is connected to a Call Management Server (CMS) containing Call Agent (CA) and Gate Controller (GC), a Media Gateway Controller (MGC) containing Media Gateway (MG) and Signalling Gateway (SG), and an OSS (Back office servers and applications). The OSS is connected to a list of servers: Key Distribution Centre (KDC), DHCP Servers, DNS Servers, TFTP or HTTP Servers, SYSLOG Server, Record Keeping Server (RKS), and Provisioning Server. The Media Gateway (MG) is connected to a Public Switched Telephone Network.
+
+**Figure 1 – IPCablecom network component reference model (partial)**
+
+## 5.2 General requirements
+
+The IPCablecom MIBs Framework Recommendation follows the Internet Standard Management Framework described in IETF RFC 3410. Additionally, the following requirements have been considered in the design of IPCablecom MIB modules:
+
+- IPCablecom devices **MUST** be compliant with DOCSIS; Therefore, IPCablecom devices must support DOCSIS MIBs as defined in clause 6.1;
+- take a minimalist approach for design of the IPCablecom MIB modules, i.e., if other MIB modules define the same functions, then rely on these MIB modules rather than create new ones;
+- organize MIB modules to support both embedded and stand-alone MTAs;
+- organize MIB modules so as to allow functional partitioning of ITU-T Rec. J.112/J.122 (high-speed data) and IPCablecom (voice features);
+- DOCSIS within IPCablecom applications requires support of SNMPv3; therefore IPCablecom MIB agents **MUST** comply with SNMPv3;
+
+- IPCablecom MIBs MUST comply with SMIPv2 as defined in IETF STD 58.
+
+### 5.2.1 Provisioning and network management service provider
+
+A single physical device (e.g., embedded-MTA) will be completely provisioned and managed by a single business entity. In the case of multiple service providers offering different services on the same device (e.g., data by one provider, voice by another provider), a secondary service provider will act as the "contractor" for the primary provider in the areas of device provisioning and management. See Figure 2.
+
+
+
+```
+
+graph LR
+ CM_MTA[CM/MTA] <--> Provider[Provider: Provisioning/network management
- databases
- servers (TFTP, etc.)]
+ Provider -- "Business relationship" --> SP_A[Service provider A]
+ Provider -- "Business relationship" --> SP_B[Service provider B]
+ Provider -- "Business relationship" --> SP_C[Service provider C]
+
+```
+
+Diagram illustrating the partitioning of management domains. A central 'Provider: Provisioning/network management' block, containing 'databases' and 'servers (TFTP, etc.)', is connected to a 'CM/MTA' block on the left and three 'Service provider' blocks (A, B, and C) on the right. Each connection is labeled 'Business relationship'. A small label 'J.166(07)\_F02' is in the bottom right corner.
+
+Figure 2 – Partitioning of management domains
+
+### 5.2.2 Support for embedded and stand-alone MTAs
+
+The IPCablecom MIBs will provide features for both embedded and stand-alone MTAs. Since stand-alone MTAs are not required to include any CM related functions, the IPCablecom MIBs, therefore, should be independent of CM and able to provide management support for voice communications functionalities. Cable modems with embedded MTAs must adhere to the DOCSIS or eDOCSIS specifications related to the MIBs. The CM part of the E-MTA (i.e., eCM) MUST support eDOCSIS requirements defined in ITU-T Rec. J.126.
+
+Figure 3 describes the possible MIB module implementation for an MTA (embedded or stand-alone):
+
+
+
+**MTA MIB implementation**
+
+```
+
+graph TD
+ subgraph Cable_modem [Cable modem]
+ CM[RF]
+ subgraph CM_MIBs [ ]
+ MIB-II_1[MIB-II]
+ Bridge[Bridge MIB]
+ DOCSIS[DOCSIS RF MIB]
+ BPI[BPI+MIB]
+ Device[Device MIB]
+ eSAFE[eSAFE MIB]
+ UPS["Battery backup UPS MIB (if MTA supports battery backup)"]
+ end
+ Ethernet[Ethernet]
+ end
+ subgraph MTA [MTA]
+ subgraph MTA_MIBs [ ]
+ MIB-II_2[MIB-II]
+ DeviceMIB[IPCablecom device MIB]
+ Signalling[IPCablecom signalling MIB]
+ MgmtEvent[IPCablecom MgmtEvent MIB]
+ Extension[IPCablecom extension MIBs]
+ SNMPv2[SNMPv2 MIB]
+ end
+ Voice[Voice]
+ end
+ CM_MIBs -- Embedded --> MTA_MIBs
+
+```
+
+J.166(07)\_F03
+
+Diagram showing MTA MIB implementation for Cable modem and MTA components. The Cable modem (RF) contains MIB-II, Bridge MIB, DOCSIS RF MIB, BPI+MIB, Device MIB, eSAFE MIB, and Battery backup UPS MIB (if MTA supports battery backup). The MTA contains MIB-II, IPCablecom device MIB, IPCablecom signalling MIB, IPCablecom MgmtEvent MIB, IPCablecom extension MIBs, and SNMPv2 MIB. The Cable modem and MTA are connected via an Embedded link. The MTA is also connected to Voice and Ethernet.
+
+**Figure 3 – Embedded and stand-alone MTA implementations**
+
+### 5.2.3 Simple network management protocol (SNMP) considerations
+
+SNMPv3 provides an extended user security model which implies changes to the way SNMP packets are exchanged between agents and managers. Since MIB modules are used to define the content of the packets, the changes for SNMPv3 do not affect MIB design.
+
+The only requirements imposed are that IPCablecom MIBs MUST conform to SMIV2, which is described in [IETF RFC 2578] and [IETF RFC 2579].
+
+The following IETF RFCs provide more information on SNMPv3:
+
+- IETF RFC 3410, Introduction and Applicability Statements for Internet Standard Management Framework.
+- IETF RFC 3411, An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks.
+- IETF RFC 3412, Message Processing and Dispatching for the Simple Network Management Protocol (SNMP).
+- IETF RFC 3413, Simple Network Management Protocol (SNMP) Applications.
+- IETF RFC 3414, User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3).
+- IETF RFC 3415, View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP).
+
+#### 5.2.3.1 USM requirements
+
+For IPCablecom, the usmUserTable MUST be configured immediately after the AP Reply received from the Provisioning Server with the following entries.
+
+```
+
+usmUserEngineID - the SNMP local engine id
+usmUserName - MTA-Prov-xx:xx:xx:xx:xx:xx
+usmUserSecurityName - MTA-Prov-xx:xx:xx:xx:xx:xx
+usmUserCloneFrom - 0.0
+
+```
+
+```
+
+usmUserAuthProtocol - usmHMACMD5AuthProtocol or
+ usmHMACSHAAuthProtocol
+usmUserAuthKeyChange - ""
+usmUserOwnAuthKeyChange - ""
+usmUserPrivProtocol - usmDESPrivProtocol if privacy indicated in AP Reply,
+usmNoPrivProtocol if no privacy is indicated in the AP Reply.
+UsmUserPrivKeyChange - ""
+UsmUserOwnPrivKeyChange - ""
+usmUserPublic ' ' ' '
+usmUserStorageType - permanent
+usmUserStatus - active
+
+```
+
+The xx:xx:xx:xx:xx:xx in the usmUserName and usmUserSecurityName represents the MAC address of the MTA.
+
+Initial authentication and privacy keys for this user are derived from the AP Reply message.
+
+New users MAY be created by cloning as defined in SNMPv3. This MAY be done through the config file, or later through SNMP Set operations.
+
+#### 5.2.3.2 VACM requirements
+
+The following VACM entries MUST be defined for IPCablecom. Other table entries MAY be implemented at vendor or operator discretion.
+
+VACM views MUST be defined for IPCablecom as described below.
+
+##### 5.2.3.2.1 VacmSecurityToGroup Table
+
+The following configuration of the vacmSecurityToGroup table provides a read/write/create view.
+
+```
+
+vacmSecurityModel - USM
+vacmSecurityName - "MTA-Prov-xx:xx:xx:xx:xx:xx"
+vacmGroupName - 'PacketCableFullAccess'
+vacmSecurityToGroupStorageType - permanent
+vacmSecurityToGroupStatus - active
+
+```
+
+##### 5.2.3.2.2 vacmAccessTable
+
+The vacmAccessTable MUST be configured with the following entries. Other table entries MAY be implemented at vendor or operator discretion.
+
+##### 5.2.3.2.2.1 Full access
+
+This configuration allows for read access of all MIB modules in the MTA, write access to IPCablecom MIB modules, and notifications as defined in the IPCablecom MIB modules:
+
+```
+
+vacmGroupName - PacketCableFullAccess
+vacmAccessContextPrefix - ""
+vacmAccessSecurityModel - USM
+vacmAccessSecurityLevel - authPriv or authNoPriv, depending on whether privacy
+has been specified
+vacmAccessContextMatch - exact
+vacmAccessReadViewName - ReadOnlyView
+vacmAccessWriteViewName - FullAccessView
+vacmAccess NotifyViewName - NotifyView
+vacmAccessStorageType - permanent
+vacmAccessStatus - active
+
+```
+
+##### 5.2.3.2.3 MIB view requirements
+
+The FullAccessView MUST consist of the MIB2 system group, the IFMIB, and all IPCablecom defined MIB modules. It MAY include vendor defined MIBs, VACM, USM, and Notifications MIB. The following lists the required OIDs:
+
+```
+
+1.3.6.1.2.1.1 /* MIB-II system group MIB tree */
+1.3.6.1.2.1.2.2 /* MIB-II IF MIB tree */
+1.3.6.1.4.1.4491.2.2 /* PacketCable Project MIB tree */
+1.3.6.1.6.3.13 /* NOTIFY MIB tree */
+1.3.6.1.6.3.15 /* USM MIB tree */
+1.3.6.1.6.3.16 /* VACM MIB tree */
+
+```
+
+The ReadOnlyView MUST consist of the entire MIB tree contained in the MTA, including IPCablecom defined MIB modules, and vendor defined MIB modules for IPCablecom.
+
+```
+
+1.3.6.1 /* Full Internet MIB Tree*/
+
+```
+
+The NotifyView MUST consist of the MTA MIB tree, MIB-2 System MIB tree and the snmpTrapOID MIB. It MAY include vendor defined MIB modules.
+
+```
+
+1.3.6.1.4.1.4491.2.2.1 /*MTA mib tree*/
+1.3.6.1.2.1.1 /* MIB-2 system mib tree */
+1.3.6.1.6.3.1.1.4.1.0 /* snmpTrapOID mib*/
+
+```
+
+## 5.3 Functional requirements
+
+This clause describes management functions that are supported by the IPCablecom MIB modules.
+
+### 5.3.1 IPCablecom device provisioning
+
+The IPCablecom MIB modules should provide definitions for attributes that are required in the MTA device-provisioning flows. These attributes are specified in the J.167 MTA device provisioning specification and include parameters such as CMS identifier, MTA domain name, MTA server addresses, and MTA capabilities. These attributes are defined as configuration file attributes and/or MIB objects as needed.
+
+### 5.3.2 Security
+
+The IPCablecom MIB modules provide definitions for attributes that are required for security handshake of the MTA and the provisioning server. These attributes are contained in [ITU-T J.170] and include certificates and signatures.
+
+### 5.3.3 Voice interfaces (FFS)
+
+The IPCablecom MIB modules should provide a generic external interface to voice service management attributes. This should be done so as to allow a device to implement proprietary mechanisms for internal control and management of voice interfaces.
+
+### 5.3.4 Packet voice call signalling
+
+The IPCablecom MIB modules should provide attributes that are needed for management of the packet voice call signalling protocol [ITU-T J.162]. Examples of attributes that have to be supported for packet voice call signalling include:
+
+- dial time-outs;
+- distinctive ring patterns;
+- Coder-DECoder (Codec) capabilities;
+- signalling configuration for voice communication end points;
+- call agent identifier.
+
+### 5.3.5 Media packet transport
+
+The IPCablecom MIB modules do not provide any managed objects to monitor and manage media packet transport. The RTP and RTCP protocols are used for media transport in IPCablecom. The RTP MIB (IETF RFC 2959) may be used for management of the media transport function of the MTA. Specific details are for future study.
+
+### 5.3.6 Fault management (FFS)
+
+The IPCablecom MIB modules should provide objects for the management of network faults and failures. Some of these managed objects and management functions are defined in the IPCablecom MTA MIB (Annex B) and the IPCablecom Signalling MIB (Annex C) and Management Event MIB (Annex D). In addition, these managed objects and functions can also be managed using the IETF MIB modules indicated by [IETF RFC 4682], [draft-ietf-ipcdn-pktc-eventmess-09], if implemented by the MTA.
+
+### 5.3.7 Performance management (FFS)
+
+The IPCablecom MIB modules should provide objects for the monitoring of the performance of the network when used for voice communications. Further definition of performance management is for future study.
+
+### 5.3.8 Event Management
+
+The IPCablecom Management Event MIB module provides the means to define and distribute events generated by the MTA. Refer to the Management Event MIB specification (Annex D and [draft-ietf-ipcdn-pktc-eventmess-09]) for more details.
+
+# 6 MIBs available in an IPCablecom network
+
+In designing the IPCablecom MIBs, it was necessary to consider other MIBs that are also present in the network and which can provide the required attributes and functions. This clause describes the MIBs that can be present in the IPCablecom MTA device, and which can be used for IPCablecom management functions as needed.
+
+Table 1 lists the MIB modules that must be present in the IPCablecom MTAs. E-MTAs and S-MTAs MUST implement MIB modules present in Table 1.
+
+**Table 1 – MIB modules implemented by E-MTA and S-MTA**
+
+| |
+|---------------------------------|
+| IF MIB |
+| MIB II |
+| Ethernet MIB |
+| Bridge MIB |
+| IPCablecom MTA Device MIB |
+| IPCablecom Signalling MIB |
+| IPCablecom Management Event MIB |
+| SNMP V2 MIB group |
+| IPCablecom Extension MIBs |
+| eDOCSIS eSAFE MIB |
+| Battery Backup UPS MIB |
+
+As mentioned before, partitioning of voice and data services and support of both S-MTA and E-MTA has been part of the requirements for design of the IPCablecom MIBs Framework.
+
+Figure 3 in the "General Requirements" clause describes possible organizations of the MIB modules in order to meet these requirements.
+
+## 6.1 DOCSIS MIB modules
+
+As described in clause 5.2, the IPCablecom Embedded MTA must support the DOCSIS ([ITU-T J.112] or ITU-T Rec. J.122) MIB requirements. Refer to the following documents for the normative DOCSIS MIB requirements:
+
+- For J.112, the MIB module requirements are defined in section 3 of [ANSI/SCTE 23-3].
+- For J.122, the MIB module requirements are defined in section 6 of [ANSI/SCTE 79-2].
+- For DOCSIS 3.0, the MIB module requirements are defined in [IETF RFC 4293].
+- For eDOCSIS, the MIB module requirements are defined in ITU-T Rec. J.126.
+
+## 6.2 IF MIB
+
+This is the interfaces section of the MIB II [IETF RFC 2863], and is needed for definitions of multiple interfaces in the MTA.
+
+## 6.3 MIB II
+
+[IETF RFC 1907], [IETF RFC 2011] and [IETF RFC 2013] define the second version of the management information base (MIB-II) for use with network management protocols in TCP/IP-based Internets. Not all objects in this MIB are deemed necessary for the IPCablecom MTA device. This MIB module only requires the system, interfaces, IP, and transmission objects of MIB II to be present in the MTA.
+
+The system object group contact, administrative, location, and service information regarding the managed node.
+
+### 6.3.1 sysDescr requirements
+
+The MTA's MIB II sysDescr object MUST conform to the format specified in DOCSIS [ANSI/SCTE 23-3].
+
+### 6.3.2 sysObjectID requirements
+
+sysObjectID is defined as follows:
+
+```
+sysObjectID OBJECT-TYPE
+SYNTAX OBJECT IDENTIFIER
+ACCESS read-only
+STATUS mandatory
+DESCRIPTION
+ "The vendor's authoritative identification of the network
+ management subsystem contained in the entity. This
+ value is allocated within the SMI enterprises subtree
+ (1.3.6.1.4.1) and provides an easy and unambiguous
+ means for determining 'what kind of box' is being
+ managed. For example, if vendor 'Flintstones, Inc.'
+ was assigned the subtree 1.3.6.1.4.1.4242, it could
+ assign the identifier 1.3.6.1.4.1.4242.1.1 to its 'Fred
+ Router'."
+::= { system 2 }
+```
+
+By using sysObjectID the manager will be able to determine any enterprise specific MIBs which must be used to manage the embedded MTA.
+
+### 6.3.3 "ifTable" requirements
+
+IPCablecom ifTable MUST contain information about all IPCablecom endpoints. IfIndex, in case of IPCablecom MTAs, MUST start with value of 9 for telephony endpoints and MUST be
+
+incremented sequentially and match the physical numbering of the telephony endpoints (Indices 2 through 8 are reserved for future use and the usage of index 1 is defined later in this clause). Each instance of the end-point in an E-MTA MUST have a corresponding entry ("conceptual row") in the "ifTable" MIB Table.
+
+The CableModem part of an embedded MTA MUST adhere to DOCSIS and eDOCSIS requirements for MIB compliance.
+
+For each "conceptual row" in the "ifTable" table that corresponds to a Telephony Endpoint, the following conceptual columns MUST be used:
+
+- "ifIndex"
+- "ifDescr"
+- "ifType"
+- "ifAdminStatus"
+- "ifOperStatus"
+
+Each conceptual row in "ifTable" MUST conform to the "IANAifType-MIB" definition for the IPCablecom interface type:
+
+- "ifType" - voiceOverCable (198)
+- "ifDescr" - "Voice Over Cable Interface"
+
+IfIndex 1 is used to recognize the DOCSIS Cable Modem behind which an MTA is connected and the MIB modules involved are indicated in Tables 2 and 3. In the case of an embedded MTA, the tables MUST be adhered to. For stand-alone MTAs, the MTA MAY choose to follow the same. In case a stand-alone MTA cannot display the information, ifIndex 1 MUST be left unused. If the stand-alone MTA is behind a CableHome or other device for its data connectivity, it MAY change the ifDescr to reflect the same.
+
+IPCablecom E-MTAs MUST implement [ANSI SCTE 23-3], IETF STD 5 and [IETF RFC 2011]. An IPCablecom MTA MUST conform to the ifTable and ipNetToMediaTable defined in Tables 2 and 3, respectively. If an E-MTA is embedded with an eCM that supports IPv6, it MUST also support the ipNetToPhysicalTable as specified in Table 4.
+
+**Table 2 – RFC 2863 ifTable, MIB-Object details for embedded MTA device interfaces**
+
+| RFC 2863 MIB-Object details for MTA device interface | MTA device |
+|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
+| ifIndex | 1 |
+| ifDescr: MUST match the text provided in the next column. | "DOCSIS Embedded Interface" |
+| ifType | other(1) |
+| ifMtu | 0 |
+| ifSpeed | 0 |
+| ifPhysAddress | eMTA MAC address |
+| ifAdminStatus: Only up control is required for this interface, down(2) and testing(3) is out of the scope of this specification. | up(1) |
+| ifOperStatus: only up report is required for this object, other options are out of the scope of this specification. | up(1) |
+| ifLastChange | per RFC 2863 |
+| ifInOctets: This object is optional, if not implemented, it MUST return 0 | (n), 0 |
+| ifInNUCastPkts | Deprecated |
+| ifInDiscards | 0 |
+| ifInErrors | 0 |
+| ifUnknownProtos | 0 |
+| ifOutOctets: This object is optional, if not implemented, it MUST return 0 | (n), 0 |
+| ifOutUCastPkts: This object is optional, if not implemented, it MUST return 0 | (n), 0 |
+| ifOutNUCastPkts | Deprecated |
+| ifOutDiscards | 0 |
+| ifOutErrors | 0 |
+| ifOutQlen | Deprecated |
+| ifSpecific | Deprecated |
+| ifXTable: entries in ifXTable for this type of interface are not required | NA |
+
+**Table 3 – RFC 2011 ipNetToMedia MIB-Object details for eMTA device interfaces**
+
+| RFC 2011 MIB-Object details for MTA device interfaces | CM device |
+|--------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
+| ipNetToMediaIfIndex | 1 |
+| ipNetToMediaPhysAddress | CM MAC Address or a value of '0.0.0.0' if the eCM address cannot be represented (e.g., IPv6 eCM) |
+| ipNetToMediaNetAddress | Acquired CM IP address |
+| ipNetToMediaType | Static(4) or invalid(2) if ipNetToMediaPhysAddress is set to a value of '0.0.0.0' |
+| ifIndex | 1 |
+
+**Table 4 – ipNetToPhysicalTable MIB object details**
+
+| MIB object name | CM device |
+|-------------------------------|---------------------|
+| ipNetToPhysicalIfIndex | 1 |
+| ipNetToPhysicalPhysAddress | eCM MAC Address |
+| ipNetToPhysicalNetAddressType | ipv4(1) or ipv6(2) |
+| ipNetToPhysicalNetAddress | eCM IP Address |
+| ipNetToPhysicalLastUpdated | |
+| ipNetToPhysicalType | static(4) |
+| ipNetToPhysicalState | |
+| ipNetToPhysicalRowStatus | 'active' |
+
+## **6.4 Ethernet MIB**
+
+The Ethernet MIB specifies the definitions of managed objects for the Ethernet-like interfaces (IETF RFC 3665).
+
+## **6.5 Annex C**
+
+Annex C contains Network Call Signalling information for provisioning. The data is derived from the IPCablecom NCS Recommendation [ITU-T J.162].
+
+The IPCablecom Signalling MIB module contains general configuration information that applies to the network call signalling (NCS) protocol on a per MTA device basis. This data only provides the means to provision call signalling parameters on a device basis.
+
+The IPCablecom Signalling MIB module also defines managed objects applicable on a per endpoint basis. The NCS endpoint table (pktcSigEndPntConfigTable) contains specific NCS endpoint configuration information. This data only provides the means to provision network call signalling per endpoint.
+
+### **6.5.1 Annex C general configuration information**
+
+Annex C contains general configuration information that applies to network call signalling on a device basis. This information is also contained in [ITU-T J.162].
+
+This data only provides the means to provision network call signalling on a device basis.
+
+### **6.5.2 Annex C per endpoint data**
+
+Annex C contains a per endpoint table. This table contains general configuration information that applies to network call signalling on a per endpoint basis. This information is also found in the configuration file defined in [ITU-T J.162]. This data only provides the means to provision network call signalling per endpoint.
+
+## **6.6 Annex B**
+
+Annex B contains data for provisioning the MTA device and supporting the provisioned functions, specifically Syslog. The data is derived from the IPCablecom [ITU-T J.167], and the CM Device MIB.
+
+Annex B contains general configuration information to provision the MTA on a device basis. These objects support provisioning required servers, and security information.
+
+## **6.7 Event Management MIB**
+
+The IPCablecom Management Event MIB module is defined in Annex D. It provides a common data and format definition for events (informative, alarm, etc.). It also specifies by what means
+
+events are transmitted. Use of a common event mechanism facilitates management of the MTA in a multi-vendor environment and provides a standard means to implement IPCablecom specified events.
+
+## **6.8 SNMP MIB**
+
+The SNMPv2 MIB module defines the functionality to configure the endpoint in SNMPv2 mode and helps in managing all the MIB objects using SNMPv2 functionality.
+
+## **6.9 IPCablecom Extension MIB**
+
+The IPCablecom Extension MIB is defined in Annex A. These MIBs extend the existing IPCablecom MIB functionality. The extensions are in the areas of MTA MIB and Signalling MIB.
+
+### **6.9.1 MTA MIB Extension**
+
+The IPCablecom MTA MIB Extension is defined in Annex E. This provides the additional functionality for controlling new functionality like multiple grants per interval (MGPI) on the endpoint.
+
+### **6.9.2 Signalling MIB Extension**
+
+The IPCablecom Signalling MIB Extension is defined in Annex F. This provides additional control and reporting functionality for endpoints in the areas of DTMF relay, Quarantine handling, Hookstate, etc.
+
+### **6.9.3 Syslog MIB**
+
+This Syslog MIB is defined in Annex D. This provides a better granularity for control of syslog messages by the endpoint.
+
+## **6.10 eDOCSIS eSAFE MIB**
+
+The eDOCSIS eSAFE MIB is defined in ITU-T Rec. J.126. It describes the various management objects necessary to configure functionality of eSAFE components of a device implementing an eDOCSIS compliant cable modem and one or more eSAFE elements. This MIB MUST be accessible via the eCM interface.
+
+## **6.11 Battery backup UPS MIB**
+
+The battery backup UPS MIB is defined in [ITU-T J.199]. It MUST be implemented by the E-MTAs which support battery backup functionality. Battery backup UPS MIB describes the various management objects necessary to control the battery backup UPS functionality implemented by the E-MTA. The MIB MUST be accessible via the eCM interface.
+
+# **7 IPCablecom MIB module implementation**
+
+This clause describes a reference implementation of the MIBs in an IPCablecom device. Only E-MTA type implementations are considered here.
+
+## **7.1 MTA components**
+
+Figure 4 shows the components of a typical MTA.
+
+
+
+The diagram illustrates the MTA components architecture. At the top, 'Applications' are categorized into 'Initialization/Provisioning' and 'Voice processing'. Below this, a section for 'Packet-based protocols' contains several components: 'TFTP Bootp Client', 'DHCP', 'SNMP', 'RTP', 'NCS', 'UDP', 'IP', and 'QoS API'. These protocols are supported by 'Media Drivers' which include 'HFC RF', 'Ethernet', and 'Voice'. A vertical block on the right side, labeled 'DSP Management Analogue Signalling', connects the 'Voice processing' application to the 'Voice' media driver.
+
+Figure 4 – MTA components diagram showing a layered architecture. The top layer 'Applications' is split into 'Initialization/Provisioning' and 'Voice processing'. The middle layer 'Packet-based protocols' contains 'TFTP Bootp Client', 'DHCP', 'SNMP', 'RTP', 'NCS', 'UDP', 'IP', and 'QoS API'. The bottom layer 'Media Drivers' includes 'HFC RF', 'Ethernet', and 'Voice'. A vertical block on the right labeled 'DSP Management Analogue Signalling' spans the application and media driver layers for voice.
+
+J.166(07)\_F04
+
+**Figure 4 – MTA components**
+
+As shown here, the MTA components can be organized into separate areas, i.e., packet-based protocols, which run on top of IP and the voice subsystem which consists of DSP engines and their associated software. MIBs that are implemented in the MTA have to be organized so as to facilitate this separation. IPCablecom MIB specifies functions for the packet-based protocol section of the MTA. No analogue voice MIBs are specified for the MTA.
+
+NOTE – Please refer to the IPCablecom Security Specification [ITU-T J.170] for the security protocols.
+
+## 7.2 MIB layering
+
+Figure 5 describes the MIB layering model. The two stacks represent the packet network and analogue voice sections of the MTA. On the packet network side, MIB layering follows the same layering model as the protocol stacks.
+
+
+
+Voice Connection:
+Configuration Parameters,
+Operational Characteristics,
+Statistics
+
+Packet network side
+
+Telephone Side:
+PBX, phone
+
+J.166(07)\_F05
+
+Diagram of MIB layering model showing two parallel stacks of layers. The left stack (Packet network side) has four layers: Packet Voice Transport (RTP) and NCS; Signalling Configuration Parameters, Operational Characteristics, Statistics; UDP Layer; Configuration Parameters, Operational Characteristics, Statistics; IP Layer; Configuration Parameters, Operational Characteristics, Statistics; Physical layer (HFC Interface); Configuration Parameters, Operational Characteristics, Statistics. The right stack (Telephone Side) has two layers: Telephone channel; Signalling Configuration parameters, Operational Characteristics, Statistics; Physical layer (voice); Configuration Parameters, Operational Characteristics, Statistics. Arrows from the top Voice Connection point to the top of both stacks.
+
+**Figure 5 – MIB layering model**
+
+In the context of voice communications, MIBs can be layered into the physical layer attributes which deal with the voice interface and the telephone channel attributes which deal with voice signalling. MIBs for the telephone side of the MTA are for further study.
+
+# 8 Organization of the MIBs
+
+The IPCablecom MIBs have been gathered together as annexes to this Recommendation so as to keep them all together in one place.
+
+MIBs represent lines of computer code that must be implemented as written. As such, the MIBs **MUST NOT** be translated into other languages.
+
+## 8.1 Definition MIB
+
+The definition MIB, contained in Annex A, is referenced by several projects including DOCSIS, IPCable2Home, and IPCablecom. It defines the OID registry from which each project assigns its own MIB information modules.
+
+## 8.2 MTA MIB
+
+The MTA MIB is contained in Annex B. It supersedes ITU-T Rec. J.168. This MIB has been submitted to the IETF for standardization. Once RFC status is achieved, this annex will be deleted and the MIB incorporated by reference.
+
+## **8.3 Signalling MIB**
+
+The signalling MIB is contained in Annex C. It supersedes ITU-T Rec. J.169. This MIB has been submitted to the IETF for standardization. Once RFC status is achieved, this annex will be deleted and the MIB incorporated by reference.
+
+## **8.4 MEM MIB**
+
+The Management Event Mechanism MIB is contained in Annex D. It supersedes ITU-T Rec. J.176.
+
+## **8.5 MTA Extension MIB**
+
+The Media Terminal Adapter Extension MIB is contained in Annex E.
+
+## **8.6 Signalling Extension MIB**
+
+The Signalling Extension MIB is contained in Annex F.
+
+## **8.7 Battery backup MIB**
+
+The battery backup MIB is contained in a separate Recommendation to be approved later. It is a separate document because it is applicable to other cable technologies besides IPCablecom.
+
+# Annex A
+
+## MIB import data
+
+(This annex forms an integral part of this Recommendation)
+
+The Definition MIB MUST be implemented as defined below.
+
+```
+CLAB-DEF-MIB DEFINITIONS ::= BEGIN
+IMPORTS
+ MODULE-IDENTITY,
+ OBJECT-TYPE,
+ enterprises
+ FROM SNMPv2-SMI
+ DocsX509ASN1DEREncodedCertificate
+ FROM DOCS-IETF-BPI2-MIB;
+
+cableLabs MODULE-IDENTITY
+ LAST-UPDATED "200504081700Z" -- April 8, 2005
+ ORGANIZATION "Cable Television Laboratories, Inc."
+ CONTACT-INFO
+ "Editor: Jean-Francois Mule
+ Postal: Cable Television Laboratories, Inc.
+ 858 Coal Creek Circle
+ Louisville, Colorado 80027-9750
+ U.S.A.
+ Phone: +1 303-661-9100
+ Fax: +1 303-661-9199
+ E-mail: jfm@cablelabs.com
+ mibs@cablelabs.com"
+ DESCRIPTION
+ "This MIB module defines the namespace organization for the
+ CableLabs enterprise OID registry.
+
+ Copyright 1999-2005 Cable Television Laboratories, Inc.
+ All rights reserved."
+
+ REVISION "200504081700Z" -- April 8, 2005
+ DESCRIPTION
+ "This revision, published as CL-SP-MIB-CLABDEF-I05."
+ ::= { enterprises 4491 }
+
+-- Sub-tree for Registrations
+clabFunction OBJECT IDENTIFIER ::= { cableLabs 1 }
+clabFuncMib2 OBJECT IDENTIFIER ::= { clabFunction 1 }
+clabFuncProprietary OBJECT IDENTIFIER ::= { clabFunction 2 }
+
+-- Sub-tree for Project Definitions
+clabProject OBJECT IDENTIFIER ::= { cableLabs 2 }
+clabProjDocsIs OBJECT IDENTIFIER ::= { clabProject 1 }
+clabProjPacketCable OBJECT IDENTIFIER ::= { clabProject 2 }
+clabProjOpenCable OBJECT IDENTIFIER ::= { clabProject 3 }
+clabProjCableHome OBJECT IDENTIFIER ::= { clabProject 4 }
+
+-- Sub-tree for Global Security Definitions
+clabSecurity OBJECT IDENTIFIER ::= { cableLabs 3 }
+clabSecCertObject OBJECT IDENTIFIER ::= { clabSecurity 1 }
+
+-- Sub-tree for CableLabs cross project common MIB definitions
+clabCommonMibs OBJECT IDENTIFIER ::= { cableLabs 4 }
+```
+
+```
+
+--
+-- CableLabs DOCSIS Project Sub-tree Definitions
+--
+dsgMIB OBJECT IDENTIFIER
+ -- DOCSIS Set-top Gateway (DSG) MIB module
+ -- This object identifier points to the MIB module
+ -- DOCSIS-SETTOP-GATEWAY-MIB, which is being deprecated by
+ -- DSG-IF-MIB MIB module (dsgIfMib).
+ -- Reference:
+ -- CableLabs DOCSIS Set-top Gateway (DSG) Interface Specification
+ ::= { clabProjDosis 1 }
+
+docsLoadBalMib OBJECT IDENTIFIER
+ -- DOCSIS MIB module defining the CMTS configuration parameters to
+ -- support Load Balancing requirements."
+ ::= { clabProjDosis 2 }
+
+dsgIfMIB OBJECT IDENTIFIER
+ -- DOCSIS Set-top Gateway (DSG) MIB module
+ -- Obsoletes DOCSIS-SETTOP-GATEWAY-MIB Module (dsgMib)
+ -- defined initially in DOCSIS Set-top Gateway (DSG) Interface
+ -- Specification SP-DSG-I01-020228.
+ -- Reference:
+ -- CableLabs DOCSIS Set-top Gateway (DSG) Interface Specification
+ ::= { clabProjDosis 3 }
+
+dsgIfStdMib OBJECT IDENTIFIER
+ -- DOCSIS Set-top Device (DSG) MIB module.
+ -- Reference:
+ -- CableLabs DOCSIS Set-top Gateway (DSG) Interface Specification
+ ::= { clabProjDosis 4 }
+
+docsIfExt2Mib OBJECT IDENTIFIER
+ -- This MIB module contains the management objects that enhance
+ -- DOCSIS RFI Interface Extensions. Contains Enhancements to
+ -- DOCSIS RFI interface MIB module.
+ -- Reference:
+ -- CableLabs DOCSIS RFI Interface Specification.
+ ::= { clabProjDosis 5 }
+
+docsTestMIB OBJECT IDENTIFIER
+ -- DOCSIS Test MIB module supporting programmable test features
+ -- for DOCSIS 2.0 compliant Cable Modems (CM) and Cable Modems
+ -- Termination Systems (CMTS).
+ -- Reference:
+ -- CableLabs DOCSIS 2.0 Testing MIB Specification
+ ::= { clabProjDosis 12 }
+
+sledMib OBJECT IDENTIFIER
+ -- eDOCSIS MIB module supporting the Software Loopback Application
+ -- for eDOCSIS (SLED).
+ -- Reference:
+ -- CableLabs eDOCSIS Specification
+ ::= { clabProjDosis 13 }
+
+--
+-- CableLabs CableHome Project Sub-tree Definitions
+-- Reference
+-- CableLabs CableHome Specification
+--
+cabhPsDevMib OBJECT IDENTIFIER
+ -- CableHome MIB module defining the basic management objects for
+ -- the Portal Services logical element of a CableHome compliant
+ -- Residential Gateway device. The PS device parameters describe
+
+```
+
+```
+
+-- general PS Device attributes and behaviour characteristics
+::= { clabProjCableHome 1 }
+
+cabhSecMib OBJECT IDENTIFIER
+-- CableHome MIB module defining the basic management objects for
+-- the firewall and other security features of the Portal Services
+-- element.
+::= { clabProjCableHome 2 }
+
+cabhCapMib OBJECT IDENTIFIER
+-- CableHome MIB module defining the basic management objects for
+-- the CableHome Addressing Portal (CAP) function of the Portal
+-- Services element.
+::= { clabProjCableHome 3 }
+
+cabhCdpMib OBJECT IDENTIFIER
+-- This MIB module supplies the basic management objects for the
+-- CableHome DHCP Portal (CDP) function of the Portal Services
+-- element.
+::= { clabProjCableHome 4 }
+
+cabhCtpMib OBJECT IDENTIFIER
+-- CableHome MIB module supporting the remote LAN diagnostic
+-- features provided by the CableHome Test Portal (CTP) function
+-- of the Portal Services element.
+::= { clabProjCableHome 5 }
+
+cabhQosMib OBJECT IDENTIFIER
+-- CABLEHOME QOS MIB Module (cabhQosMib).
+-- This object identifier points to the MIB module
+-- CABH-QOS-MIB, which is being deprecated by
+-- CABH-QOS2-MIB module (cabhQos2Mib).
+-- Reference:
+-- CableLabs CableHome 1.1 Specification
+::= { clabProjCableHome 6 }
+
+cabhCsaMib OBJECT IDENTIFIER
+-- CableHome MIB module defining management objects for the
+-- configuration and monitoring of CableHome Commercial Services
+-- Annex.
+-- Reference:
+-- CableLabs CableOffice Commercial Services Annex MIB
+-- Specification
+::= { clabProjCableHome 7 }
+
+cabhQos2Mib OBJECT IDENTIFIER
+-- Obsoletes CABH-QOS-MIB module (cabhQosMib)
+-- defined initially in CABLEHOME 1.1 Interface Specification.
+-- This MIB module defines the Quality of Service Management
+-- Information Base (MIUB) for CableHome UPnP QOS-compliant
+-- devices.
+-- Reference:
+-- CableLabs CableHome 1.1 Specification
+::= { clabProjCableHome 8 }
+
+--
+-- CableLabs PacketCable Project Sub-tree Definitions
+--
+pktcMtaMib OBJECT IDENTIFIER
+-- PacketCable MIB module defining the basic management object for
+-- the Multimedia Terminal Adapter (MTA) devices compliant with
+-- PacketCable requirements.
+-- Reference
+-- CableLabs PacketCable MTA Device Provisioning Specification
+
+```
+
+```
+
+ ::= { clabProjPacketCable 1 }
+
+pktcSigMib OBJECT IDENTIFIER
+ -- PacketCable MIB module defining the basic management object for
+ -- the PacketCable MTA Signalling protocols. This version of the MIB
+ -- includes common signalling and Network Call Signalling (NCS)
+ -- related signalling objects.
+ -- Reference
+ -- CableLabs PacketCable MTA Device Provisioning Specification
+ ::= { clabProjPacketCable 2 }
+
+pktcEventMib OBJECT IDENTIFIER
+ -- PacketCable MIB module defining the basic management objects for
+ -- event reporting.
+ -- Reference
+ -- CableLabs PacketCable Management Event Specification
+ ::= { clabProjPacketCable 3 }
+
+pktcSecurity OBJECT IDENTIFIER
+ -- CableLabs OID reserved for security and used to specify errors
+ -- that can be returned for the Kerberos KDC - Provisioning
+ -- Server interface, or the MTA-CMS Kerberized IPsec interface, or
+ -- the MTA-Provisioning Server Kerberized SNMPv3 interface.
+ -- CableLabs PacketCable Security Specification
+ ::= { clabProjPacketCable 4 }
+
+pktcLawfulIntercept OBJECT IDENTIFIER
+ -- CableLabs OID reserved for the PacketCable Electronic
+ -- Surveillance Protocol (PCESP) between the Delivery Function
+ -- and Collection Function. This OID is used to define the ASN.1
+ -- PCESP messages.
+ -- CableLabs PacketCable Electronic Surveillance Protocol
+ -- Specification
+ ::= { clabProjPacketCable 5 }
+
+--
+-- Sub-tree for PacketCable MIB Enhancements
+--
+
+pktcEnhancements OBJECT IDENTIFIER ::= { clabProjPacketCable 6 }
+
+ -- The following MIB OBJECTS are being introduced for
+ -- incorporation of new MIB objects (MIB enhancements)
+ -- proposed to the PacketCable MIB group.
+ -- This includes new MIB objects being introduced
+ -- as part of the PacketCable MIB Enhancement efforts
+ -- and as a place holder for future revisions.
+ -- This sub-division would facilitate easier incorporation
+ -- of proposed IETF Drafts/RFCs by keeping enhancements
+ -- independent of RFC/Draft changes.
+ -- For new MIB tables that use previously used indices, it is
+ -- recommended that the AUGMENT CLAUSE be used to aid SNMP Operations,
+ -- as deemed necessary.
+
+pktcEnMtaMib OBJECT IDENTIFIER
+ -- PacketCable MIB module enhancements to the basic management
+ -- objects defined by the MIB group pktcMtaMib for the Multimedia
+ -- Terminal Adapter (MTA) devices compliant with PacketCable
+ -- requirements.
+ -- Reference:
+ -- CableLabs PacketCable MTA Device Provisioning Specification.
+ ::= { pktcEnhancements 1 }
+
+```
+
+```
+
+pktcEnSigMib OBJECT IDENTIFIER
+-- PacketCable MIB module enhancements to the basic management
+-- objects defined by the MIB group pktcSigMib for the
+-- PacketCable MTA Signalling protocols.
+-- Reference:
+-- CableLabs PacketCable MTA Device Provisioning Specification.
+::= { pktcEnhancements 2 }
+
+pktcEnEventMib OBJECT IDENTIFIER
+-- PacketCable MIB module enhancements to the basic management
+-- objects defined by the MIB group pktcEventMib for event reporting.
+-- Reference:
+-- CableLabs PacketCable Management Event Specification.
+::= { pktcEnhancements 3 }
+
+pktcEnSecurityMib OBJECT IDENTIFIER
+-- PacketCable MIB module enhancements to the basic management
+-- objects defined by the reserved MIB group pktcSecurity.
+-- Reference:
+-- CableLabs PacketCable Security Specification.
+::= { pktcEnhancements 4 }
+
+--
+--
+-- Definition of CableLabs Security Certificate Objects
+--
+clabSrvCPrvdrRootCACert OBJECT-TYPE
+SYNTAX DocsX509ASN1DEREncodedCertificate
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "The X509 DER-encoded CableLabs Service Provider Root CA
+ Certificate."
+REFERENCE
+ "CableLabs CableHome Specification;
+ CableLabs PacketCable Security Specification."
+::= { clabSecCertObject 1 }
+
+clabCVCRootCACert OBJECT-TYPE
+SYNTAX DocsX509ASN1DEREncodedCertificate
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "The X509 DER-encoded CableLabs CVC Root CA Certificate."
+REFERENCE
+ "CableLabs CableHome Specification;
+ CableLabs PacketCable Security Specification."
+::= { clabSecCertObject 2 }
+
+clabCVCCACert OBJECT-TYPE
+SYNTAX DocsX509ASN1DEREncodedCertificate
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "The X509 DER-encoded CableLabs CVC CA Certificate."
+REFERENCE
+ "CableLabs CableHome Specification;
+ CableLabs PacketCable Security Specification."
+::= { clabSecCertObject 3 }
+
+clabMfgCVCCert OBJECT-TYPE
+SYNTAX DocsX509ASN1DEREncodedCertificate
+MAX-ACCESS read-only
+STATUS current
+
+```
+
+```
+
+DESCRIPTION
+ "The X509 DER-encoded Manufacturer CVC Certificate."
+REFERENCE
+ "CableLabs CableHome Specification;
+ CableLabs PacketCable Security Specification."
+ ::= { clabSecCertObject 4 }
+
+clabMfgCACert OBJECT-TYPE
+ SYNTAX DocsX509ASN1DEREncodedCertificate
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The X509 DER-encoded Manufacturer CA Certificate."
+ REFERENCE
+ "CableLabs CableHome Specification;
+ CableLabs PacketCable Security Specification."
+ ::= { clabSecCertObject 5 }
+
+--
+-- CableLabs cross project common MIB sub-tree definitions
+--
+
+clabUpsMib OBJECT IDENTIFIER
+ -- CableLabs cross project MIB module defining the basic management
+ -- objects for the configuration and monitoring of the battery
+ -- backup and UPS functionality for CableLabs compliant devices.
+ ::= { clabCommonMibs 1 }
+
+END
+
+```
+
+# Annex B
+
+## MTA MIB
+
+(This annex forms an integral part of this Recommendation)
+
+The MTA MIB MUST be implemented as defined below.
+
+```
+PKTC-MTA-MIB DEFINITIONS ::= BEGIN
+ IMPORTS
+ MODULE-IDENTITY,
+ OBJECT-TYPE,
+ Integer32, Counter32,
+ BITS, IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
+ TruthValue, RowStatus, DisplayString,
+ MacAddress, TEXTUAL-CONVENTION FROM SNMPv2-TC
+ OBJECT-GROUP, MODULE-COMPLIANCE,
+ NOTIFICATION-GROUP FROM SNMPv2-CONF
+ clabProjPacketCable FROM CLAB-DEF-MIB
+ ifIndex FROM IF-MIB
+ SnmpAdminString FROM SNMP-FRAMEWORK-MIB
+ sysDescr FROM SNMPv2-MIB;
+
+ pktcMtaMib MODULE-IDENTITY
+ LAST-UPDATED "200501280000Z" -- January 28, 2005
+ ORGANIZATION "Packet Cable OSS Group"
+ CONTACT-INFO
+ "Sumanth Channabasappa
+ Postal: Cable Television Laboratories, Inc.
+ 858 Coal Creek Circle
+ Louisville, Colorado 80027-9750
+ U.S.A.
+ Phone: +1 303-661-9100
+ Fax: +1 303-661-9199
+ E-mail: mibs@cablelabs.com"
+ DESCRIPTION
+ "This MIB module supplies the basic management objects
+ for the MTA Device
+ Acknowledgements:
+ Angela Lyda - Arris Interactive
+ Chris Melle - AT&T Broadband Labs
+ Sasha Medvinsky - Motorola
+ Roy Spitzer - Telogy Networks, Inc.
+ Rick Vetter - Motorola
+ Eugene Nechamkin - BroadCom Corp.
+ Satish Kumar - Texas Instruments
+ Copyright 1999-2005 Cable Television Laboratories, Inc.
+ All rights reserved."
+ REVISION "200501280000Z "
+ DESCRIPTION
+ "This revision, published as part of the PacketCable 1.5
+ MIB MTA Specification I01."
+ ::= { clabProjPacketCable 1 }
+
+ -- Textual conventions
+ X509Certificate ::= TEXTUAL-CONVENTION
+ STATUS current
+ DESCRIPTION
+ "An X509 digital certificate encoded as an ASN.1 DER object."
+ SYNTAX OCTET STRING (SIZE (0..4096))
+
+ --
+```
+
+```
+
+-- PacketCable 1.5 only supports Embedded MTAs
+--
+--
+-- The MTA MIB only supports a single provisioning server.
+--
+--
+-- The following group describes the base objects in the MTA
+--
+pktcMtaMibObjects OBJECT IDENTIFIER ::= { pktcMtaMib 1 }
+pktcMtaDevBase OBJECT IDENTIFIER ::= { pktcMtaMibObjects 1 }
+pktcMtaDevServer OBJECT IDENTIFIER ::= { pktcMtaMibObjects 2 }
+pktcMtaDevSecurity OBJECT IDENTIFIER ::= { pktcMtaMibObjects 3 }
+
+--
+-- The following group describes the base objects in the MTA
+--
+pktcMtaDevResetNow OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "Setting this object to true(1) causes the device to reset.
+ Reading this object always returns false(2). When
+ pktcMtaDevResetNow is set to true, the following actions
+ occur:
+ 1. All connections (if present) are flushed locally
+ 2. All current actions such as ringing immediately
+ terminate
+ 3. Requests for notifications such as notification based
+ on digit map recognition are flushed
+ 4. All endpoints are disabled.
+ 5. The provisioning flow is started at step MTA - 1."
+ ::= { pktcMtaDevBase 1 }
+
+pktcMtaDevSerialNumber OBJECT-TYPE
+ SYNTAX SnmpAdminString(SIZE (0..128))
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object specifies the manufacturer's serial number
+ for this MTA. The value of this object MUST be identical
+ to the value specified in DHCP option 43 sub-option 4. "
+ REFERENCE
+ "PacketCable MTA Device Provisioning Specification;
+ RFC 2132, DHCP Options and BOOTP Vendor Extensions"
+ ::= { pktcMtaDevBase 2 }
+
+pktcMtaDevHardwareVersion OBJECT-TYPE
+ SYNTAX SnmpAdminString(SIZE (0..48))
+ MAX-ACCESS read-only
+ STATUS obsolete
+ DESCRIPTION
+ "The manufacturer's hardware version for this MTA."
+ ::= { pktcMtaDevBase 3 }
+
+pktcMtaDevMacAddress OBJECT-TYPE
+ SYNTAX MacAddress
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object specifies the telephony MAC address for
+ this device. The value of this object MUST be identical
+ to the value specified in DHCP option 43 sub-option 11. "
+```
+
+```
+
+REFERENCE
+ "PacketCable MTA Device Provisioning Specification;
+ RFC 2132, DHCP Options and BOOTP Vendor Extensions"
+::= { pktcMtaDevBase 4 }
+
+pktcMtaDevFQDN OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The Fully Qualified Domain Name for this MTA."
+ ::= { pktcMtaDevBase 5 }
+
+pktcMtaDevEndPntCount OBJECT-TYPE
+ SYNTAX Integer32 (1..255)
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The physical end points for this MTA."
+ ::= { pktcMtaDevBase 6 }
+
+pktcMtaDevEnabled OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This object contains the MTA Admin Status of this device.
+ If this object is set to 'true', the MTA is
+ administratively enabled and the MTA MUST be able to
+ interact with PacketCable entities such as CMS,
+ Provisioning Server, KDC, other MTAs and MGs on all
+ PacketCable interfaces.
+ If this object is set to 'false', the MTA is
+ administratively disabled and the MTA MUST perform the
+ following actions for all endpoints:
+ - Shut down all media sessions if present,
+ - Shut down NCS signalling by following the Restart in
+ Progress procedures in the PacketCable NCS
+ specification.
+ Additionally, the MTA MUST maintain the SNMP Interface for
+ management. Also, the MTA MUST NOT continue Kerberized Key
+ Management with CMSes until this object is set to 'true'.
+ Note: MTAs MUST renew the CMS kerberos tickets according
+ to the PacketCable Security Specification"
+ REFERENCE
+ "PacketCable Security Specification;
+ PacketCable MTA Device Provisioning Specification"
+ ::= { pktcMtaDevBase 7 }
+
+pktcMtaDevTypeIdentifier OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This is a copy of the device type identifier used in the
+ DHCP option 60 exchanged between the MTA and the DHCP
+ server."
+ ::= { pktcMtaDevBase 8 }
+
+pktcMtaDevProvisioningState OBJECT-TYPE
+ SYNTAX INTEGER {
+ pass (1),
+ inProgress (2),
+ failConfigFileError (3),
+ }
+
+```
+
+```
+
+ passWithWarnings (4),
+ passWithIncompleteParsing (5),
+ failureInternalError (6),
+ failOtherReason (7)
+ }
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "This object indicates the completion state of the
+ MTA device provisioning process.
+
+ pass:
+ If the configuration file could be parsed successfully
+ and the MTA is able to reflect the same in its
+ MIB, the MTA MUST return the value 'pass'.
+
+ inProgress:
+ If the MTA is in the process of being provisioned,
+ the MTA MUST return the value 'inProgress'.
+
+ failConfigFileError:
+ If the configuration file was in error due to incorrect
+ values in the mandatory parameters, the MTA MUST reject
+ the configuration file and the MTA MUST return the value
+ 'failConfigFileError'.
+
+ passWithWarnings:
+ If the configuration file had proper values for all the
+ mandatory parameters but has errors in any of the optional
+ parameters (this includes any vendor specific OIDs which
+ are incorrect or not known to the MTA), the MTA MUST
+ return the value 'passWithWarnings'.
+
+ passWithIncompleteParsing:
+ If the configuration file is valid, but the MTA cannot
+ reflect the same in its configuration (for example, too
+ many entries caused memory exhaustion), it must accept
+ the CMS configuration entries related and the MTA MUST
+ return the value 'passWithIncompleteParsing'.
+
+ failureInternalError:
+ If the configuration file cannot be parsed due to an
+ internal error, the MTA MUST return the value
+ 'failureInternalError'.
+
+ failureOtherReason:
+ If the MTA cannot accept the configuration file for any
+ other reason than the ones stated above, the MTA MUST
+ return the value 'failureOtherReason'.
+
+ When a final SNMP INFORM is sent as part of Step 25 of
+ the MTA Provisioning process, this parameter is also
+ included in the final INFORM message."
+REFERENCE
+ "PacketCable MTA Device Provisioning Specification"
+::= { pktcMtaDevBase 9 }
+
+pktcMtaDevHttpAccess OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This indicates whether HTTP file access is supported for
+ MTA configuration file transfer."
+
+```
+
+```
+
+ ::= { pktcMtaDevBase 10 }
+
+pktcMtaDevProvisioningTimer OBJECT-TYPE
+ SYNTAX Integer32 (0..30)
+ UNITS "minutes"
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This object defines the time interval for the
+ provisioning flow to complete. The MTA MUST finish
+ all provisioning operations starting from the moment when
+ an MTA receives its DHCP ACK and ending at the moment when
+ the MTA downloads its configuration file (e.g., MTA5 to
+ MTA23 for Secure Flow) within the period of time set by
+ this object. Failure to comply with this condition
+ constitutes the provisioning flow failure. If the
+ object is set to 0, the MTA MUST ignore the provisioning
+ timer condition."
+ REFERENCE
+ "PacketCable MTA Device Provisioning Specification."
+ DEFVAL { 10 }
+ ::= { pktcMtaDevBase 11 }
+
+pktcMtaDevProvisioningCounter OBJECT-TYPE
+ SYNTAX Counter32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object is the count of the number of times the
+ provisioning cycle has looped through step MTA-1 since
+ the last reboot."
+ ::= { pktcMtaDevBase 12 }
+
+--
+
+pktcMtaDevErrorOidsTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcMtaDevErrorOidsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "If pktcMtaDevProvisioningState is reported with anything
+ other than a pass(1) then this table is populated with the
+ necessary information, each pertaining to observations of
+ the configuration file. Even if different parameters
+ share the same error ( Ex: All Realm Names are invalid ),
+ all recognized errors must be reported as different
+ instances."
+ ::= { pktcMtaDevBase 13 }
+
+pktcMtaDevErrorOidsEntry OBJECT-TYPE
+ SYNTAX PktcMtaDevErrorOidsEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This contains the necessary information an MTA must
+ attempt to provide in case the configuration file
+ is not parsed and/or accepted in its entirety."
+ INDEX { pktcMtaDevErrorOidIndex }
+ ::= { pktcMtaDevErrorOidsTable 1 }
+
+PktcMtaDevErrorOidsEntry ::= SEQUENCE {
+ pktcMtaDevErrorOidIndex Integer32,
+ pktcMtaDevErrorOid SnmpAdminString,
+ pktcMtaDevErrorGiven SnmpAdminString,
+ pktcMtaDevErrorReason SnmpAdminString
+}
+
+```
+
+```
+
+}
+
+pktcMtaDevErrorOidIndex OBJECT-TYPE
+ SYNTAX Integer32(1..1024)
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This is the index to pktcMtaDevErrorOidsEntry.
+ This is an integer value and will start from the value 1
+ and be incremented for each error encountered in the
+ configuration file. The indices need not necessarily
+ reflect the order of error occurrences in the
+ configuration file."
+ ::= { pktcMtaDevErrorOidsEntry 1 }
+
+pktcMtaDevErrorOid OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This is the OID associated with the particular error. If
+ the error was not due to an identifiable OID, then this
+ can be populated with impartial identifiers, in hexadecimal
+ or numeric format."
+ ::= { pktcMtaDevErrorOidsEntry 2 }
+
+pktcMtaDevErrorGiven OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "If the error was due to the value associated
+ with the corresponding pktcMtaDevErrorOid, then this
+ contains the value of the OID as interpreted by the MTA in
+ the configuration file provided. If the error was not due
+ to the value of an OID this must be set to an empty
+ string. This is provided to eliminate errors due to
+ misrepresentation/misinterpretation of data."
+ ::= { pktcMtaDevErrorOidsEntry 3 }
+
+pktcMtaDevErrorReason OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This indicates the reason for the error,
+ as per the MTAs interpretation, in human readable form.
+ Example include:
+ VALUE NOT IN RANGE,
+ VALUE DOES NOT MATCH TYPE
+ UNSUPPORTED VALUE
+ LAST 4 BITS MUST BE SET TO ZERO,
+ OUT OF MEMORY, CANNOT STORE etc.
+ This MAY also contain vendor specific errors
+ for vendor specific OIDs and any proprietary error
+ codes/messages which can help diagnose errors
+ better, in a manner the vendor deems fit."
+ ::= { pktcMtaDevErrorOidsEntry 4 }
+
+pktcMtaDevSwCurrentVers OBJECT-TYPE
+ SYNTAX SnmpAdminString
+
+```
+
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+
+"This object identifies the software version currently operating in the MTA.
+The MTA MUST return a string descriptive of the current software load. This object should use the syntax defined by the individual vendor to identify the software version. The data presented in this object MUST be identical with the software version information contained in the sysDescr MIB Object of the MTA.
+The value of this object MUST be identical to the value specified in DHCP option 43 sub-option 6."
+
+### REFERENCE
+
+"PacketCable MTA Device Provisioning Specification;
+RFC 2132, DHCP Options and BOOTP Vendor Extensions"
+::= { pktcMtaDevBase 14 }
+
+-- The following group describes server access and parameters used for
+-- initial provisioning and bootstrapping.
+
+--
+
+ This object is obsolete
+
+### pktcMtaDevServerBootState OBJECT-TYPE
+
+```
+
+SYNTAX INTEGER {
+ operational (1),
+ disabled (2),
+ waitingForDhcpOffer (3),
+ waitingForDhcpResponse (4),
+ waitingForConfig (5),
+ refusedByCmts (6),
+ other (7),
+ unknown (8)
+}
+
+```
+
+MAX-ACCESS read-only
+STATUS obsolete
+DESCRIPTION
+
+"If operational(1), the device has completed loading and processing of configuration parameters and the CMTS has completed the Registration exchange.
+If disabled(2), then the device was administratively disabled, possibly by being refused network access in the configuration file.
+If waitingForDhcpOffer(3), then a DHCP Discover has been transmitted and no offer has yet been received.
+If waitingForDhcpResponse(4), then a DHCP Request has been transmitted and no response has yet been received.
+If waitingForConfig(5), then a request to the config parameter server has been made and no response received.
+If refusedByCmts(6), then the Registration Request/Response exchange with the CMTS failed. "
+
+#### REFERENCE
+
+"DOCSIS Radio Frequency Interface Specification"
+::= { pktcMtaDevServer 1 }
+
+This object is obsolete
+
+### pktcMtaDevServerDhcp OBJECT-TYPE
+
+SYNTAX IpAddress
+MAX-ACCESS read-only
+
+```
+
+STATUS obsolete
+DESCRIPTION
+ "The IP address of the DHCP server that assigned an IP
+ address to this device. Returns 0.0.0.0 if DHCP was not
+ used for IP address assignment."
+ ::= { pktcMtaDevServer 2 }
+
+--
+
+pktcMtaDevServerDns1 OBJECT-TYPE
+ SYNTAX IpAddress
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "The IP address of the primary DNS server to be used by the
+ MTA to resolve the FQDNs and IP addresses."
+ ::= { pktcMtaDevServer 3 }
+
+pktcMtaDevServerDns2 OBJECT-TYPE
+ SYNTAX IpAddress
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "The IP address of the Secondary DNS server to be used by
+ the MTA to resolve the FQDNs and IP addresses. Contains
+ 0.0.0.0 if there is no Secondary DNS server specified
+ for the MTA under consideration."
+ ::= { pktcMtaDevServer 4 }
+
+pktcMtaDevConfigFile OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This object specifies the MTA device configuration file
+ information, including the access method, the server
+ name and the configuration file name. The value of this
+ object is the Uniform Resource Locator (URL) of the
+ configuration file for TFTP or HTTP download.
+ If this object value is a TFTP URL, it must be formatted
+ as defined in RFC 3617.
+ If this object value is an HTTP URL, it must be formatted
+ as defined in RFC 2616.
+ If the MTA SNMP Enrollment mechanism is used, then the MTA
+ must download the file provided by the Provisioning Server
+ during provisioning via an SNMP SET on this object.
+ If the MTA SNMP Enrollment mechanism is not used, this
+ object MUST contain the URL value corresponding to the
+ 'siaddr' and 'file' fields received in the DHCP ACK to
+ locate the configuration file: the 'siaddr' & 'file'
+ fields represent the host and file of the TFTP URL.
+ In this case, the MTA MUST return an
+ 'inconsistentValue' error in response to SNMP SET
+ operations. The MTA MUST return a zero-length string if
+ the server address (host part of the URL) is unknown."
+ REFERENCE
+ "RFC 3617, URI Scheme for TFTP; RFC 2616, HTTP 1.1"
+ ::= { pktcMtaDevServer 5 }
+
+pktcMtaDevSnmpEntity OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object contains the FQDN of the SNMP entity of the
+ Provisioning Server. When the MTA SNMP Enrollment
+
+```
+
+Mechanism is used, this object represents the server the MTA communicates with, to receive the configuration file URL from, and, to send the enrollment notification to. The SNMP entity is also the destination entity for all the provisioning notifications. It may be also used for post-provisioning SNMP operations. During the provisioning phase, this SNMP entity FQDN is supplied to the MTA via the DHCP option 122 sub-option 3 as defined in IETF RFC 3495."
+
+#### REFERENCE
+
+"PacketCable MTA Device Provisioning Specification;
+IETF RFC 3495, DHCP Option for CableLabs Client Configuration."
+::= { pktcMtaDevServer 6 }
+
+### pktcMtaDevProvConfigHash OBJECT-TYPE
+
+SYNTAX OCTET STRING (SIZE(16|20))
+
+MAX-ACCESS read-write
+
+STATUS current
+
+#### DESCRIPTION
+
+"This object contains the hash value of the contents of the config file. If the authentication algorithm is MD5, the length is 128 bits. If the authentication algorithm is SHA-1, the length is 160 bits. The hash calculation MUST follow the requirements defined in the PacketCable Security specification. When the MTA SNMP Enrollment mechanism is used, this hash value is calculated and sent to the MTA prior to sending the config file. This object value is then provided by the Provisioning server via an SNMP SET operation. When the MTA SNMP Enrollment mechanism is not in use, the hash value is provided in the configuration file itself and it is also calculated by the MTA. This object value MUST represent the hash value calculated by the MTA. When the MTA SNMP Enrollment mechanism is not in use, the MTA must reject all SNMP SET operations on this object and return an 'inconsistentValue' error."
+
+#### REFERENCE
+
+"PacketCable MTA Device Provisioning Specification;
+PacketCable Security Specification."
+::= { pktcMtaDevServer 7 }
+
+### pktcMtaDevProvConfigKey OBJECT-TYPE
+
+SYNTAX OCTET STRING (SIZE(0|8))
+
+MAX-ACCESS read-write
+
+STATUS current
+
+#### DESCRIPTION
+
+"This object contains the key used to encrypt/decrypt the configuration file when secure SNMPv3 provisioning is used. It is sent to the MTA prior to sending the config file. If the privacy algorithm is null, the length is 0. If the privacy algorithm is DES, the length is 64 bits. This object must not be used in non secure provisioning mode. In non secure provisioning modes, the MTA MUST return an 'inconsistentValue' in response to SNMP SET operations, and, the MTA MUST return a 'genErr' error in response to SNMP GET operations."
+
+::= { pktcMtaDevServer 8 }
+
+```
+
+pktcMtaDevProvSolicitedKeyTimeout OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This object defines a Kerberos Key Management timer on the
+ MTA. It is the time period during which the MTA saves the
+ nonce and Server Kerberos Principal Identifier to match an
+ AP Request and its associated AP Reply response from the
+ Provisioning Server.
+ After the timeout has been exceeded, the client discards
+ this (nonce, Server Kerberos Principal Identifier) pair,
+ after which it will no longer accept a matching AP Reply.
+ This timer only applies when the Provisioning Server
+ initiated key management for SNMPv3 (with a
+ Wake Up message). This object should not be used in non
+ secure provisioning modes. In non secure provisioning
+ modes, the MTA MUST return an 'inconsistentValue' in
+ response to SNMP SET operations, and the MTA MUST
+ return a 'genErr' error in response to SNMP GET
+ operations."
+ DEFVAL { 120 }
+ ::= { pktcMtaDevServer 9 }
+
+```
+
+Unsolicited Key Updates are based on an exponential backoff mechanism with two timers for AS replies. The fast timers have a maximum timer (pktcMtaDevProvUnsolicitedKeyMaxTimeout seconds) and a nominal timer (pktcMtaDevProvUnsolicitedKeyNomTimeout seconds) from which the backoff timer determinations are made.
+
+Timeouts for unsolicited key management updates are only pertinent before the first SNMPv3 message is sent between the MTA and the Provisioning server and before the configuration file is loaded.
+
+```
+
+pktcMtaDevProvUnsolicitedKeyMaxTimeout OBJECT-TYPE
+
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object defines the timeout value that applies to
+ an MTA-initiated AP-REQ/REP key management exchange with
+ the Provisioning Server in SNMPv3 provisioning.
+ It is the maximum timeout value and it may not be exceeded
+ in the exponential back-off algorithm. If the DHCP option
+ code 122 sub-option 5 is provided to the MTA, it overwrites
+ this value.
+ In non secure provisioning mode, the MTA MUST return
+ a 'genErr' error in response to SNMP GET operations."
+
+```
+
+```
+
+REFERENCE
+ "PacketCable Security Specification"
+DEFVAL {600}
+::= { pktcMtaDevServer 10 }
+
+pktcMtaDevProvUnsolicitedKeyNomTimeout OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object defines the starting value of the timeout
+ for the AP-REQ/REP Backoff and Retry mechanism
+ with exponential timeout in SNMPv3 provisioning.
+ If the DHCP option code 122 sub-option 5 is provided to
+ the MTA, it overwrites this value.
+ In non secure provisioning mode, the MTA MUST return
+ a 'genErr' error in response to SNMP GET operations."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL {30}
+ ::= { pktcMtaDevServer 11 }
+
+pktcMtaDevProvUnsolicitedKeyMeanDev OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-only
+ STATUS obsolete
+ DESCRIPTION
+ "This is the mean deviation for the round trip delay
+ timings."
+ REFERENCE
+ "PacketCable Security Specification"
+ ::= { pktcMtaDevServer 12 }
+
+pktcMtaDevProvUnsolicitedKeyMaxRetries OBJECT-TYPE
+ SYNTAX Integer32 (1..32)
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object contains a retry counter that applies to
+ an MTA-initiated AP-REQ/REP key management exchange with
+ the Provisioning Server in secure SNMPv3 provisioning.
+ It is the maximum number of retries before the MTA stops
+ attempting to establish a Security Association with
+ Provisioning Server.
+ If the DHCP option code 122 sub-option 5 is provided to
+ the MTA, it overwrites this value.
+ In non secure provisioning mode, the MTA MUST return
+ a 'genErr' error in response to SNMP GET operations."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL {8}
+ ::= { pktcMtaDevServer 13 }
+
+pktcMtaDevProvKerbRealmName OBJECT-TYPE
+ SYNTAX SnmpAdminString (SIZE(1..255))
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "For Secure provisioning this object contains the name of
+ the associated provisioning Kerberos realm acquired during
+ the MTA4 provisioning step (DHCP Ack).
+
+```
+
+Additionally this object value is used as an index into the pktcMtaDevRealmTable. In which case, the upper case ASCII representation of the associated Kerberos realm name MUST be used by both the Manager (SNMP entity) and the MTA. The Kerberos realm name for the Provisioning Server is supplied to the MTA via DHCP option code 122 sub-option 6 as defined in RFC 3495.
+
+For non secure provisioning modes, the value of this object MUST contain the value supplied in the DHCP ACK message (option code 122 sub-option 6)."
+
+#### REFERENCE
+
+"PacketCable MTA Device Provisioning Specification;
+RFC 3495, DHCP Option for CableLabs Client Configuration."
+::= { pktcMtaDevServer 14 }
+
+### pktcMtaDevProvState OBJECT-TYPE
+
+SYNTAX INTEGER {
+
+operational (1),
+waitingForSnmpSetInfo (2),
+waitingForTftpAddrResponse (3),
+waitingForConfigFile (4)
+
+}
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+" This object defines the MTA provisioning state.
+
+If the state is:
+
+'operational(1)', the device has completed the loading and processing of the initialization parameters.
+
+'waitingForSnmpSetInfo(2)', the device is waiting on its configuration file download access information. Note that this state is only reported when the MTA SNMP enrollment mechanism is used.
+
+'waitingForTftpAddrResponse(3)', the device has sent a DNS request to resolve the server providing the configuration file and it is awaiting for a response. Note that this state is only reported when the MTA SNMP enrollment mechanism is used.
+
+'waitingForConfigFile(4)', the device has sent a request via TFTP or HTTP for the download of its configuration file and it is awaiting for a response or the file download is in progress."
+
+#### REFERENCE
+
+"PacketCable MTA Device Provisioning Specification,
+PacketCable Security Specification"
+::= { pktcMtaDevServer 15 }
+
+### pktcMtaDevServerDhcp1 OBJECT-TYPE
+
+SYNTAX IpAddress
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+"The IP address of the primary DHCP server which would cater to the MTA during its provisioning. Contains 255.255.255.255 if there was no preference given with respect to the DHCP servers for MTaprovisioning."
+
+::= { pktcMtaDevServer 16 }
+
+### pktcMtaDevServerDhcp2 OBJECT-TYPE
+
+SYNTAX IpAddress
+
+```
+
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION "The IP address of the Secondary DHCP server
+ which could cater to the MTA during its provisioning.
+ Contains 0.0.0.0 if there is no specific secondary DHCP
+ server to be considered during MTA provisioning."
+::= { pktcMtaDevServer 17 }
+
+```
+
+```
+
+pktcMtaDevTimeServer OBJECT-TYPE
+SYNTAX IpAddress
+MAX-ACCESS read-write
+STATUS current
+DESCRIPTION
+ "IP address of the Time Server from which to obtain the
+ time. Contains 0.0.0.0 if the Time Protocol is not used for
+ time synchronization."
+::= { pktcMtaDevServer 18 }
+
+```
+
+```
+
+
+ The following group describes the security objects in the MTA
+
+
+```
+
+```
+
+pktcMtaDevManufacturerCertificate OBJECT-TYPE
+SYNTAX X509Certificate
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ " This object contains the MTA Manufacturer Certificate.
+ The object value must be the ASN.1 DER encoding of the MTA
+ manufacturer's X.509 public key certificate. The MTA
+ Manufacturer Certificate is issued to each MTA
+ manufacturer and is installed into each MTA at the time of
+ manufacture or with a secure code download. The specific
+ requirements related to this certificate are defined in
+ the PacketCable Security specification."
+REFERENCE
+ "PacketCable Security Specification."
+::= { pktcMtaDevSecurity 1 }
+
+```
+
+```
+
+pktcMtaDevCertificate OBJECT-TYPE
+SYNTAX X509Certificate
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "ASN.1 DER encoding of the MTA's X.509 public-key
+ certificate issued by the manufacturer and installed
+ into the embedded-MTA in the factory. This certificate,
+ called MTA Device Certificate, contains the MTA's MAC
+ address. It cannot be updated by the provisioning server."
+::= { pktcMtaDevSecurity 2 }
+
+```
+
+```
+
+
+ THIS OBJECT IS OBSOLETE
+
+pktcMtaDevSignature OBJECT-TYPE
+SYNTAX OCTET STRING (SIZE (0..256))
+MAX-ACCESS read-only
+STATUS obsolete
+
+```
+
+```
+
+DESCRIPTION
+ "A unique signature created by the MTA for each SNMP
+ Inform or SNMP Trap or SNMP GetResponse message exchanged
+ prior to enabling SNMPv3 security ASN.1 encoded Digital
+ signature in the Cryptographic message syntax (includes
+ nonce). "
+ ::= { pktcMtaDevSecurity 3 }
+
+pktcMtaDevCorrelationId OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Random value generated by the MTA for use in registration
+ authorization. It is for use only in the MTA initialization
+ messages and for MTA configuration file download "
+ ::= { pktcMtaDevSecurity 4 }
+
+
+
+ pktcMtaDevSecurityTable
+
+ The pktcMtaDevSecurityTable shows security association information
+ relating to a particular MTA endpoint. The MTA endpoint is indexed
+ with ifIndex.
+
+
+
+
+ THIS TABLE IS OBSOLETE
+
+
+pktcMtaDevSecurityTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcMtaDevSecurityEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete
+ DESCRIPTION
+ "Contains per endpoint security information."
+ ::= { pktcMtaDevSecurity 5 }
+
+pktcMtaDevSecurityEntry OBJECT-TYPE
+ SYNTAX PktcMtaDevSecurityEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete
+ DESCRIPTION
+ "List of security attributes for a single PacketCable
+ endpoint interface."
+ INDEX { ifIndex }
+ ::= { pktcMtaDevSecurityTable 1 }
+
+PktcMtaDevSecurityEntry ::= SEQUENCE {
+ pktcMtaDevServProviderCertificate X509Certificate,
+ pktcMtaDevTelephonyCertificate X509Certificate,
+ pktcMtaDevKerberosRealm OCTET STRING,
+ pktcMtaDevKerbPrincipalName DisplayString,
+ pktcMtaDevServGracePeriod Integer32,
+ pktcMtaDevLocalSystemCertificate X509Certificate,
+ pktcMtaDevKeyMgmtTimeout1 Integer32,
+ pktcMtaDevKeyMgmtTimeout2 Integer32
+}
+
+pktcMtaDevServProviderCertificate OBJECT-TYPE
+ SYNTAX X509Certificate
+ MAX-ACCESS read-write
+
+```
+
+```
+
+STATUS obsolete
+DESCRIPTION
+ "ASN.1 DER encoding of the Telephony Service
+ Provider's X.509 public-key certificate, called
+ Telephony Service Provider Certificate. It serves
+ as the root of the intra-domain trust hierarchy.
+ Each MTA is configured with this certificate so
+ that it can authenticate TGSs owned by the same
+ service provider. The provisioning server needs
+ the ability to update this certificate in the MTAs
+ via both SNMP and configuration files"
+ ::= { pktcMtaDevSecurityEntry 1 }
+
+pktcMtaDevTelephonyCertificate OBJECT-TYPE
+ SYNTAX X509Certificate
+ MAX-ACCESS read-write
+ STATUS obsolete
+ DESCRIPTION
+ "ASN.1 DER encoding of the MTA's X.509 public-key
+ certificate issued by the Service Provider with either
+ the Service Provider CA or a Local System CA. This
+ certificate, called MTA Telephony Certificate, contains
+ the same public key as the MTA Device Certificate issued
+ by the manufacturer. It is used to authenticate the
+ identity of the MTA to the TGS (during PKINIT exchanges).
+ The provisioning server needs the ability to update this
+ certificate in the MTAs via both SNMP and configuration
+ files"
+ ::= { pktcMtaDevSecurityEntry 2 }
+
+pktcMtaDevKerberosRealm OBJECT-TYPE
+ SYNTAX OCTET STRING (SIZE (0..1280))
+ MAX-ACCESS read-write
+ STATUS obsolete -- moved to realm table
+ DESCRIPTION
+ "Specifies a Kerberos realm (i.e., administrative domain),
+ required for Packet Cable key management."
+ ::= { pktcMtaDevSecurityEntry 3 }
+
+pktcMtaDevKerbPrincipalName OBJECT-TYPE
+ SYNTAX DisplayString (SIZE(0..40))
+ MAX-ACCESS read-write
+ STATUS obsolete
+ DESCRIPTION
+ "Kerberos principal name for the Call Agent. This
+ information is required in order for the MTA to obtain
+ Call Agent Kerberos tickets. This principal name does not
+ include the realm, which is specified as a separate field
+ in this configuration file. A Single Kerberos principal
+ name MAY be shared among several Call Agents."
+ ::= { pktcMtaDevSecurityEntry 4 }
+
+pktcMtaDevServGracePeriod OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "minutes"
+ MAX-ACCESS read-write
+ STATUS obsolete -- moved to realm table
+ DESCRIPTION
+ "The MTA MUST obtain a new Kerberos ticket (with a PKINIT
+ exchange), many minutes before the old ticket expires.
+ The minimum allowable value is 15 mins. The default is
+ 30 mins."
+ DEFVAL { 30 }
+ ::= { pktcMtaDevSecurityEntry 5 }
+
+```
+
+```
+
+pktcMtaDevLocalSystemCertificate OBJECT-TYPE
+ SYNTAX X509Certificate
+ MAX-ACCESS read-write
+ STATUS obsolete
+ DESCRIPTION
+ "The Telephony Service Provider CA may delegate the
+ issuance of certificates to a regional Certification
+ Authority called Local System CA (with the corresponding
+ Local System Certificate). This parameter is the ASN.1
+ DER encoding of the Local System Certificate. It MUST have
+ a non-empty value when the MTA Telephony certificate is
+ signed by a Local System CA. Otherwise, the value MUST
+ be of length 0."
+ ::= { pktcMtaDevSecurityEntry 6 }
+
+```
+
+```
+
+pktcMtaDevKeyMgmtTimeout1 OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-write
+ STATUS obsolete -- moved to cms table
+ DESCRIPTION
+ "This timeout applies only when the MTA initiated key
+ management. It is the period during which the MTA will
+ save a nonce (inside the sequence number field) from the
+ sent out AP Request and wait for the matching AP Reply
+ from the CMS."
+ REFERENCE
+ "PacketCable Security Specification"
+ ::= { pktcMtaDevSecurityEntry 7 }
+
+```
+
+```
+
+pktcMtaDevKeyMgmtTimeout2 OBJECT-TYPE
+ SYNTAX Integer32 (15..600)
+ UNITS "seconds"
+ MAX-ACCESS read-write
+ STATUS obsolete -- changed to adaptive backoff and moved to
+ -- cms table
+ DESCRIPTION
+ "This timeout applies only when the CMS initiated key
+ management (with a Wake Up or Rekey message).
+ It is the period during which the MTA will
+ save a nonce (inside the sequence number field) from
+ the sent out AP Request and wait for the matching AP
+ Reply from the CMS."
+ REFERENCE
+ "PacketCable Security Specification"
+ ::= { pktcMtaDevSecurityEntry 8 }
+
+```
+
+--
+
+-- Ticket Granting Server information
+
+--
+
+```
+
+-----
+----- THIS TABLE IS OBSOLETE -----
+-----
+
+```
+
+```
+
+pktcMtaDevTgsTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcMtaDevTgsEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete -- Secure Provisioning ECR
+ DESCRIPTION
+ "Contains per endpoint Ticket Granting Server information."
+ ::= { pktcMtaDevSecurityEntry 8 }
+
+```
+
+```
+
+pktcMtaDevTgsEntry OBJECT-TYPE
+ SYNTAX PktcMtaDevTgsEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete -- Secure Provisioning ECR
+ DESCRIPTION
+ "List of Tgs attributes for a single packet cable
+ endpoint interface."
+ INDEX { ifIndex, pktcMtaDevTgsIndex }
+ ::= { pktcMtaDevTgsTable 1 }
+
+PktcMtaDevTgsEntry ::= SEQUENCE {
+ pktcMtaDevTgsIndex Integer32,
+ pktcMtaDevTgsLocation DisplayString,
+ pktcMtaDevTgsStatus RowStatus
+}
+
+pktcMtaDevTgsIndex OBJECT-TYPE
+ SYNTAX Integer32 (1..2147483647)
+ MAX-ACCESS not-accessible
+ STATUS obsolete -- Secure Provisioning ECR
+ DESCRIPTION
+ "Index into the TGS table for TGS locations.
+ IfType specifies the endpoint, TgsIndex specifies a TGS."
+ ::= { pktcMtaDevTgsEntry 1 }
+
+pktcMtaDevTgsLocation OBJECT-TYPE
+ SYNTAX DisplayString (SIZE (0..255))
+ MAX-ACCESS read-create
+ STATUS obsolete -- Secure Provisioning ECR
+ DESCRIPTION
+ "Name of the TGS Ticket Granting Server, which is the
+ Kerberos Server. This parameter is a FQDN or Ipv4 address.
+ There may be multiple entries of this type. The order
+ in which these entries are listed is the priority order
+ in which the MTA will attempt to contact them for this
+ endpoint."
+ ::= { pktcMtaDevTgsEntry 2 }
+
+pktcMtaDevTgsStatus OBJECT-TYPE
+ SYNTAX RowStatus
+ MAX-ACCESS read-create
+ STATUS obsolete -- Secure Provisioning ECR
+ DESCRIPTION
+ "This object contains the Row Status associated with
+ the pktcMtaDevTgsTable."
+ ::= { pktcMtaDevTgsEntry 3 }
+
+pktcMtaDevTelephonyRootCertificate OBJECT-TYPE
+ SYNTAX X509Certificate
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "ASN.1 DER encoding of the IP Telephony Root X.509
+ public-key certificate stored in the MTA non-volatile
+ memory and updateable with a code download. This
+ certificate is used to validate the initial AS Reply
+ from the KDC received during the MTA initialization."
+ ::= { pktcMtaDevSecurity 9 }
+
+=====
+--
+-- Procedures for setting up security associations:
+--
+-- A security association may be set up either via configuration or via
+
+```
+
+-- NCS signalling.
+
+##### -- I. Security association setup via configuration.
+
+-- The realm must be configured first. Associated with the realm is a KDC. The realm table (pktcMtaDevRealmTable) indicates information about realm (e.g., name, organization name) and parameters associated with KDC communications (e.g., grace periods, AS request/AS reply adaptive backoff parameters).
+
+-- Once the realm is established, one or more servers may be defined in the realm. For PacketCable, these are Call Management Servers (CMSs). Associated with each CMS entry in the pktcMtaDevCmsTable is an explicit reference to a Realm via the realm index (pktcMtaDevCmsKerbRealmName), the FQDN of the CMS, and parameters associated with IPSec management with the CMS (e.g., clock skew, AP request/AP reply adaptive backoff parameters).
+
+##### -- II. Security association setup via NCS signalling
+
+-- NOTE - The following process is done automatically by the MTA. The NCS is not involved in creating signalled entries. The current CMS signalling association being used by an endpoint is marked as active in CMS MAP table. If NCS signalling requests a change of signalling association to a different FQDN, the MTA checks the current CMS MAP table entries for the affected endpoint. If the entry exists in the CMS MAP table, the current CMS MAP table entry is marked inactive and the newly chosen CMS MAP table entry is marked active.
+
+-- If the entry does not exist in the CMS MAP table, the CMS table is checked to determine whether or not it contains the CMS specified by CMS signalling (possibly a redirection). If the desired CMS entry is defined, then a corresponding entry is created and an entry in the CMS MAP table is created. If the MTA does not have current associations with that CMS, it will now perform key management to establish required security associations. Once the desired CMS entry is established, the current CMS MAP table entry is marked inactive and the newly created CMS MAP table entry is marked active. Otherwise the current CMS MAP table entry remains active and the newly created CMS MAP table entry is marked inactive.
+
+-- If the entry does not exist in the CMS MAP table and the CMS entry does not exist in the CMS table, a new CMS table entry should be created. This CMS entry should use the same realm as used by this endpoint. The default values for the clock skew and AP request/AP reply adaptive backoff parameters should be used. The MTA will now perform key management to establish required security associations. Once the desired CMS entry is established, the current CMS MAP table entry is marked inactive and the newly created CMS MAP table entry is marked active.
+
+```
+
+-- Otherwise the current CMS MAP table entry remains
+-- active and the newly created CMS MAP table entry is
+-- marked inactive.
+--
+-- III. When the MTA receives wake-up or rekey messages from a CMS,
+-- it performs key management based on the corresponding entry
+-- in the CMS table. If the matching CMS entry does not exist,
+-- it must ignore the wake-up or rekey messages.
+--
+--=====
+
+```
+
+```
+
+--=====
+--
+-- pktcMtaDevRealmTable
+--
+-- The pktcMtaDevRealmTable shows the KDC realms. The table is
+-- indexed withpktcMtaDevRealmName. The Realm Table is used in conjunction
+-- with any server which needs a security association with an
+-- server MTA. The table (today the CMS) has a security association.
+-- Each server-MTA security association is associated with a
+-- single Realm. This allows for multiple realms, each
+-- with its own security association.
+--
+--=====
+
+```
+
+```
+
+pktcMtaDevRealmTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcMtaDevRealmEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "Contains per Kerberos realm security parameters."
+ ::= { pktcMtaDevSecurity 16 }
+
+pktcMtaDevRealmEntry OBJECT-TYPE
+ SYNTAX PktcMtaDevRealmEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "List of security parameters for a single Kerberos realm."
+ INDEX { IMPLIED pktcMtaDevRealmName }
+ ::= { pktcMtaDevRealmTable 1 }
+
+PktcMtaDevRealmEntry ::= SEQUENCE {
+ pktcMtaDevRealmName SnmpAdminString,
+ pktcMtaDevRealmPkinitGracePeriod Integer32,
+ pktcMtaDevRealmTgsGracePeriod Integer32,
+ pktcMtaDevRealmOrgName OCTET STRING,
+ pktcMtaDevRealmUnsolicitedKeyMaxTimeout Integer32,
+ pktcMtaDevRealmUnsolicitedKeyNomTimeout Integer32,
+ pktcMtaDevRealmUnsolicitedKeyMeanDev Integer32,
+ pktcMtaDevRealmUnsolicitedKeyMaxRetries Integer32,
+ pktcMtaDevRealmStatus RowStatus
+}
+
+pktcMtaDevRealmName OBJECT-TYPE
+ SYNTAX SnmpAdminString(SIZE(1..255))
+ MAX-ACCESS not-accessible
+ STATUS current
+
+```
+
+#### DESCRIPTION
+
+"The corresponding Kerberos Realm name. This is used as an index into pktcMtaDevRealmTable. When used as an index, it is used by both the Manager(SNMPv3 Entity) and the MTA."
+::= { pktcMtaDevRealmEntry 1 }
+
+### pktcMtaDevRealmPkinitGracePeriod OBJECT-TYPE
+
+SYNTAX Integer32 (15..600)
+UNITS "minutes"
+MAX-ACCESS read-create
+STATUS current
+DESCRIPTION
+"For the purposes of the key management with an Application Server (CMS or Provisioning Server), the MTA MUST obtain a new Kerberos ticket (with a PKINIT exchange), many minutes before the old ticket expires. The minimum allowable value is 15 mins. The default is 30 mins. This parameter MAY also be used with other Kerberized applications."
+DEFVAL { 30 }
+::= { pktcMtaDevRealmEntry 2 }
+
+### pktcMtaDevRealmTgsGracePeriod OBJECT-TYPE
+
+SYNTAX Integer32 (1..600)
+UNITS "minutes"
+MAX-ACCESS read-create
+STATUS current
+DESCRIPTION
+"When the MTA implementation uses TGS Request/TGS Reply Kerberos messages for the purpose of the key management with an Application Server (CMS or Provisioning Server), the MTA MUST obtain a new service ticket for the Application Server (with a TGS Request), many minutes before the old ticket expires. The minimum allowable value is 1 min. The default is 10 mins. This parameter MAY also be used with other Kerberized applications."
+DEFVAL { 10 }
+::= { pktcMtaDevRealmEntry 3 }
+
+### pktcMtaDevRealmOrgName OBJECT-TYPE
+
+SYNTAX OCTET STRING (SIZE (1..64))
+MAX-ACCESS read-create
+STATUS current
+DESCRIPTION
+"The value of the X.500 organization name attribute in the subject name of the Service provider certificate"
+::= { pktcMtaDevRealmEntry 4 }
+
+-----
+--
+-- Unsolicited Key Updates are based on an exponential backoff
+-- mechanism with two timers for AS replies. The backoff timers have a
+-- maximum value of pktcMtaDevRealmUnsolicitedKeyMaxTimeout seconds
+-- and a nominal timer has a pktcMtaDevRealmUnsolicitedKeyNomTimeout
+-- seconds from which the backoff timer determinations are made.
+-- After pktcMatDevRealmUnsolicitedMaxRetries have occurred no more
+-- attempts are made.
+--
+-----
+
+```
+
+pktcMtaDevRealmUnsolicitedKeyMaxTimeout OBJECT-TYPE
+ SYNTAX Integer32 (1..600)
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This timeout applies only when the MTA initiated key
+ management. The maximum timeout is the value which may not
+ be exceeded in the exponential backoff algorithm. If
+ provided, DHCP-Option-122-Sub-option 4 overrides this value."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 30 }
+ ::= { pktcMtaDevRealmEntry 5 }
+
+pktcMtaDevRealmUnsolicitedKeyNomTimeout OBJECT-TYPE
+ SYNTAX Integer32 (100..600000)
+ UNITS "milliseconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "Defines the starting value of the timeout for the AS-REQ/REP
+ Backoff and Retry mechanism with exponential timeout. If
+ provided, DHCP-Option-122-Sub-option 4 overrides this
+ value."
+ REFERENCE
+ "PacketCable Security Specification,
+ PacketCable Provisioning Specification"
+ DEFVAL { 10000 }
+ ::= { pktcMtaDevRealmEntry 6 }
+
+pktcMtaDevRealmUnsolicitedKeyMeanDev OBJECT-TYPE
+ SYNTAX Integer32 (1..600)
+ UNITS "seconds"
+ MAX-ACCESS read-only
+ STATUS obsolete
+ DESCRIPTION
+ "This is a measurement of the mean deviation for the round
+ trip delay timings."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 2 }
+ ::= { pktcMtaDevRealmEntry 7 }
+
+pktcMtaDevRealmUnsolicitedKeyMaxRetries OBJECT-TYPE
+ SYNTAX Integer32 (0..1024)
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This is the maximum number of retries before the MTA
+ gives up attempting to establish a security association.
+ If provided, DHCP-Option-122-Sub-option 4 overrides this
+ value."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 5 }
+ ::= { pktcMtaDevRealmEntry 8 }
+
+pktcMtaDevRealmStatus OBJECT-TYPE
+ SYNTAX RowStatus
+ MAX-ACCESS read-create
+ STATUS current
+
+```
+
+#### DESCRIPTION
+
+"This object contains the Row Status associated with
+the pktcMtaDevRealmTable."
+
+::= { pktcMtaDevRealmEntry 9 }
+
+=====
+
+--
+
+-- pktcMtaDevCmsTable
+
+--
+
+-- The pktcMtaDevCmsTable shows the IPSec key management policy
+
+-- relating to a particular CMS. The table is indexed with
+
+-- pktcMtaDevCmsFQDN.
+
+--
+
+=====
+
+pktcMtaDevCmsTable OBJECT-TYPE
+
+SYNTAX SEQUENCE OF PktcMtaDevCmsEntry
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+#### DESCRIPTION
+
+"Contains per CMS key management policy."
+
+::= { pktcMtaDevSecurity 17 }
+
+pktcMtaDevCmsEntry OBJECT-TYPE
+
+SYNTAX PktcMtaDevCmsEntry
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+#### DESCRIPTION
+
+"List of key management parameters for a single MTA-CMS
+interface."
+
+INDEX { IMPLIED pktcMtaDevCmsFqdn }
+
+::= { pktcMtaDevCmsTable 1 }
+
+PktcMtaDevCmsEntry ::= SEQUENCE {
+
+pktcMtaDevCmsFqdn SnmpAdminString,
+
+pktcMtaDevCmsKerbRealmName SnmpAdminString,
+
+pktcMtaDevCmsSolicitedKeyTimeout Integer32,
+
+pktcMtaDevCmsMaxClockSkew Integer32,
+
+pktcMtaDevCmsUnsolicitedKeyMaxTimeout Integer32,
+
+pktcMtaDevCmsUnsolicitedKeyNomTimeout Integer32,
+
+pktcMtaDevCmsUnsolicitedKeyMeanDev Integer32,
+
+pktcMtaDevCmsUnsolicitedKeyMaxRetries Integer32,
+
+pktcMtaDevCmsStatus RowStatus,
+
+pktcMtaDevCmsIpsecCtrl TruthValue
+
+}
+
+pktcMtaDevCmsFqdn OBJECT-TYPE
+
+SYNTAX SnmpAdminString (SIZE(1..255))
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+#### DESCRIPTION
+
+"This object specifies the fully qualified
+domain name of the CMS.
+
+When used as an index, the upper case ASCII
+representation of the associated CMS FQDN
+
+MUST be used by both the SNMP Manager and the MTA."
+
+::= { pktcMtaDevCmsEntry 1 }
+
+pktcMtaDevCmsKerbRealmName OBJECT-TYPE
+
+SYNTAX SnmpAdminString (SIZE(1..255))
+
+MAX-ACCESS read-create
+
+STATUS current
+
+```
+
+DESCRIPTION
+ "The Kerberos Realm Name of the associated CMS. This is
+ the index into the pktcMtaDevRealmTable.
+ When used as an index, the upper case ASCII
+ representation of the associated CMS FQDN
+ must be used by both the SNMP Manager and the MTA "
+ ::= { pktcMtaDevCmsEntry 2 }
+
+```
+
+```
+
+pktcMtaDevCmsMaxClockSkew OBJECT-TYPE
+ SYNTAX Integer32 (1..1800)
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This is the maximum allowable clock skew between the
+ MTA and CMS"
+ DEFVAL { 300 }
+ ::= { pktcMtaDevCmsEntry 3 }
+
+```
+
+```
+
+pktcMtaDevCmsSolicitedKeyTimeout OBJECT-TYPE
+ SYNTAX Integer32 (100..30000)
+ UNITS "milliseconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This timeout applies only when the CMS initiated key
+ management(with a Wake Up or Rekey message). It is the
+ period during which the MTA will save a nonce (inside the
+ sequence number field) from the sent out AP Request and
+ wait for the matching AP Reply from the CMS."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 1000 }
+ ::= { pktcMtaDevCmsEntry 4 }
+
+```
+
+--
+-- Unsolicited Key Updates are based on an exponential backoff
+-- mechanism with two timers for AP replies. The
+-- backoff timers have a maximum value of
+-- pktcMtaDevCmsUnsolicitedKeyMaxTimeout
+-- seconds and a nominal timer has
+-- pktcMtaDevCmsUnsolicitedKeyNomTimeout seconds from which the
+-- backoff timer determinations are made. After
+-- pktcMatDevCmsUnsolicitedMaxRetries have occurred no more
+-- attempts are made.
+--
+
+```
+
+pktcMtaDevCmsUnsolicitedKeyMaxTimeout OBJECT-TYPE
+
+ SYNTAX Integer32 (1..600)
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This timeout applies only when the MTA initiated key.
+ The maximum management timeout is the value which may not
+ be exceeded in the exponential backoff algorithm."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 8 }
+ ::= { pktcMtaDevCmsEntry 5 }
+
+```
+
+```
+
+pktcMtaDevCmsUnsolicitedKeyNomTimeout OBJECT-TYPE
+ SYNTAX Integer32 (100..30000)
+ UNITS "milliseconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "Defines the starting value of the timeout for the
+ AP-REQ/REP Backoff and Retry mechanism with exponential
+ timeout for CMS."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 500 }
+ ::= { pktcMtaDevCmsEntry 6 }
+
+pktcMtaDevCmsUnsolicitedKeyMeanDev OBJECT-TYPE
+ SYNTAX Integer32 (1..600)
+ UNITS "seconds"
+ MAX-ACCESS read-only
+ STATUS obsolete
+ DESCRIPTION
+ "This is the measurement of the mean deviation for the
+ round trip delay timings."
+ REFERENCE
+ "PacketCable Security Specification"
+ ::= { pktcMtaDevCmsEntry 7 }
+
+pktcMtaDevCmsUnsolicitedKeyMaxRetries OBJECT-TYPE
+
+ SYNTAX Integer32 (0..1024)
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This is the maximum number of retries before the MTA
+ gives up attempting to establish a security association."
+ REFERENCE
+ "PacketCable Security Specification"
+ DEFVAL { 5 }
+ ::= { pktcMtaDevCmsEntry 8 }
+
+pktcMtaDevCmsStatus OBJECT-TYPE
+
+ SYNTAX RowStatus
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the Row Status associated with the
+ pktcMtaDevCmsTable."
+ ::= { pktcMtaDevCmsEntry 9 }
+
+pktcMtaDevCmsIpsecCtrl OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The value of 'true(1)' indicates that IPSEC and IPSEC
+ KeyManagement MUST be used to communicate with the CMS.
+ The value of 'false(2)' indicates that IPSEC Signalling
+ Security is disabled for both the IPSEC Key Management and
+ IPSECprotocol (for the specific CMS)."
+ DEFVAL { true }
+ ::= { pktcMtaDevCmsEntry 10 }
+
+```
+
+```
+
+=====
+--
+-- pktcMtaCmsMapTable
+--*** this table is obsolete ***
+--
+--
+-- The pktcMtaCmsMapTable contains the signalling associations
+-- between MTA endpoints and CMSs. It maps the endpoint to
+-- zero or more entries in pktcMtaDevCmsTable.
+--
+-- The table contains the following indexes and rows:
+--
+-- ifIndex - the index of the physical port
+--
+-- pktcMtaCmsMapCmsIndex - the index of the CMS entry in the
+-- pktcMtaDevCmsTable. Valid indices are equal to current
+-- pktcMtaDevCmsIndex values.
+--
+-- pktcMtaCmsMapOperStatus - this value indicates which signalling
+-- association the endpoint is actively using
+--
+-- pktcMtaCmsMapAdminStatus - this flag indicates whether or not
+-- an endpoint should use a particular CMS and its security
+-- association. By setting this flag to inhibit, this associated
+-- CMS cannot provide signalling to the referenced endpoint.
+--
+-- pktcMtaCmsMapRowStatus - allows for the creation and deletion of
+-- endpoint mappings via the NMS
+--
+--
+=====
+
+```
+
+```
+
+pktcMtaCmsMapTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcMtaCmsMapEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete
+ DESCRIPTION
+ "Contains per endpoint CMS signalling associations."
+ ::= { pktcMtaDevSecurity 18 }
+
+```
+
+```
+
+pktcMtaCmsMapEntry OBJECT-TYPE
+ SYNTAX PktcMtaCmsMapEntry
+ MAX-ACCESS not-accessible
+ STATUS obsolete
+ DESCRIPTION
+ "List of signalling associations."
+ INDEX { ifIndex, pktcMtaCmsMapCmsFqdn }
+ ::= { pktcMtaCmsMapTable 1 }
+
+```
+
+```
+
+PktcMtaCmsMapEntry ::= SEQUENCE {
+ pktcMtaCmsMapCmsFqdn DisplayString,
+ pktcMtaCmsMapOperStatus INTEGER,
+ pktcMtaCmsMapAdminStatus INTEGER,
+ pktcMtaCmsMapRowStatus RowStatus
+}
+
+```
+
+```
+
+pktcMtaCmsMapCmsFqdn OBJECT-TYPE
+ SYNTAX DisplayString (SIZE(1..255))
+ MAX-ACCESS not-accessible
+ STATUS obsolete
+
+```
+
+```
+
+DESCRIPTION
+ "The index for the associated CMS. Valid indices
+ are equal to current pktcMtaDevCmsFqdn values."
+ ::= { pktcMtaCmsMapEntry 1 }
+
+pktcMtaCmsMapOperStatus OBJECT-TYPE
+ SYNTAX INTEGER {
+ inactive (1),
+ active (2)
+ }
+ MAX-ACCESS read-only
+ STATUS obsolete
+ DESCRIPTION
+ "The operational status of signalling association. The
+ meaning of the status is as follows:
+ inactive - signalling is not currently active
+ active - signalling is active."
+ ::= { pktcMtaCmsMapEntry 2 }
+
+pktcMtaCmsMapAdminStatus OBJECT-TYPE
+ SYNTAX INTEGER {
+ inhibit (1),
+ allow (2)
+ }
+ MAX-ACCESS read-create
+ STATUS obsolete
+ DESCRIPTION
+ "The administrative status for signalling over the indicated
+ security association. The meaning of the status is as
+ follows:
+ inhibit -signalling is not currently allowed
+ allow - signalling is allowed."
+ ::= { pktcMtaCmsMapEntry 3 }
+
+pktcMtaCmsMapRowStatus OBJECT-TYPE
+ SYNTAX RowStatus
+ MAX-ACCESS read-create
+ STATUS obsolete
+ DESCRIPTION
+ "This object is used for creating and deleting an entry
+ in this table via an element manager."
+ ::= { pktcMtaCmsMapEntry 4 }
+
+pktcMtaDevResetKrbTickets OBJECT-TYPE
+ SYNTAX BITS {
+ invalidateProvOnReboot (0),
+ invalidateAllCmsOnReboot (1)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This object defines a Kerberos Ticket Control Mask that
+ instructs the MTA to invalidate the specific Application
+ Server Kerberos Ticket(s) that are stored locally in the
+ MTA NVRAM (non-volatile or persistent memory).
+ If the MTA does not store Kerberos tickets in NVRAM, it
+ MUST ignore setting of this object, and MUST report a BITS
+ value of zero when the object is read.
+ If the MTA supports Kerberos tickets storage in NVRAM, the
+ object value is encoded as follows:
+ - Setting the invalidateProvOnReboot bit (bit 0) to 1
+ means that the MTA MUST invalidate the Kerberos
+ Application Ticket(s) for the Provisioning Application
+ at the next MTA reboot (if secure SNMP provisioning mode
+
+```
+
+is used). In non secure provisioning modes, the MTA MUST return an 'inconsistentValue' in response to SNMP SET operations with a bit 0 set to 1.
+
+- Setting the invalidateAllCmsOnReboot bit (bit 1) to 1 means that the MTA MUST invalidate the Kerberos Application Ticket(s) for all CMSes currently assigned to the MTA endpoints."
+
+#### REFERENCE
+
+"PacketCable Security Specification"
+
+DEFVAL {{ }} }
+
+::= { pktcMtaDevSecurity 19 }
+
+--
+
+-- notification group is for future extension.
+
+--
+
+pktcMtaNotificationPrefix OBJECT IDENTIFIER ::= { pktcMtaMib 2 }
+
+pktcMtaNotification OBJECT IDENTIFIER ::= {
+
+pktcMtaNotificationPrefix 0 }
+
+pktcMtaConformance OBJECT IDENTIFIER ::= { pktcMtaMib 3 }
+
+pktcMtaCompliances OBJECT IDENTIFIER ::= { pktcMtaConformance 1 }
+
+pktcMtaGroups OBJECT IDENTIFIER ::= { pktcMtaConformance 2 }
+
+--
+
+-- Notification Group
+
+--
+
+pktcMtaDevProvisioningEnrollment NOTIFICATION-TYPE
+
+```
+
+ OBJECTS {
+ sysDescr,
+ pktcMtaDevSwCurrentVers,
+ pktcMtaDevTypeIdentifier,
+ pktcMtaDevMacAddress,
+ pktcMtaDevCorrelationId
+ }
+
+```
+
+STATUS current
+
+DESCRIPTION
+
+"This INFORM notification is issued by the MTA to initiate the PacketCable provisioning process when the MTA SNMP enrollment mechanism is used.
+
+It contains the system description, the current software version, the MTA device type identifier, the MTA MAC address (obtained in the MTA ifTable in the ifPhysAddress object that corresponds to the ifIndex 1) and a correlation ID."
+
+::= { pktcMtaNotification 1 }
+
+pktcMtaDevProvisioningStatus NOTIFICATION-TYPE
+
+```
+
+ OBJECTS {
+ pktcMtaDevMacAddress,
+ pktcMtaDevCorrelationId,
+ pktcMtaDevProvisioningState
+ }
+
+```
+
+STATUS current
+
+DESCRIPTION
+
+"This INFORM notification may be issued by the MTA to confirm the completion of the PacketCable provisioning process, and to report its provisioning completion status.
+
+It contains the MTA MAC address (obtained in the MTA ifTable in the ifPhysAddress object that corresponds to the ifIndex 1), a correlation ID and the MTA provisioning state as defined in pktcMtaDevProvisioningState."
+
+::= { pktcMtaNotification 2 }
+
+-- compliance statements
+
+```
+
+pktcMtaBasicCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION
+ "The compliance statement for devices that implement
+ MTA feature."
+ MODULE --pktcMtaMib
+-- unconditionally mandatory groups
+ MANDATORY-GROUPS {
+ pktcMtaGroup,
+ pktcMtaNotificationGroup
+ }
+ ::= { pktcMtaCompliances 3 }
+pktcMtaGroup OBJECT-GROUP
+ OBJECTS {
+ pktcMtaDevResetNow,
+ pktcMtaDevSerialNumber,
+ pktcMtaDevMacAddress,
+ pktcMtaDevFQDN,
+ pktcMtaDevEndPntCount,
+ pktcMtaDevEnabled,
+ pktcMtaDevTypeIdentifier,
+ pktcMtaDevProvisioningState,
+ pktcMtaDevHttpAccess,
+ pktcMtaDevCertificate,
+ pktcMtaDevCorrelationId,
+ pktcMtaDevManufacturerCertificate,
+ pktcMtaDevServerDhcp1,
+ pktcMtaDevServerDhcp2,
+ pktcMtaDevServerDns1,
+ pktcMtaDevServerDns2,
+ pktcMtaDevTimeServer,
+ pktcMtaDevConfigFile,
+ pktcMtaDevSnmpEntity,
+ pktcMtaDevRealmPkinitGracePeriod,
+ pktcMtaDevRealmTgsGracePeriod,
+ pktcMtaDevRealmOrgName,
+ pktcMtaDevRealmUnsolicitedKeyMaxTimeout,
+ pktcMtaDevRealmUnsolicitedKeyNomTimeout,
+ pktcMtaDevRealmUnsolicitedKeyMaxRetries,
+ pktcMtaDevRealmStatus,
+ pktcMtaDevCmsKerbRealmName,
+ pktcMtaDevCmsUnsolicitedKeyMaxTimeout,
+ pktcMtaDevCmsUnsolicitedKeyNomTimeout,
+ pktcMtaDevCmsUnsolicitedKeyMaxRetries,
+ pktcMtaDevCmsSolicitedKeyTimeout,
+ pktcMtaDevCmsMaxClockSkew,
+ pktcMtaDevCmsStatus,
+ pktcMtaDevProvUnsolicitedKeyMaxTimeout,
+ pktcMtaDevProvUnsolicitedKeyNomTimeout,
+ pktcMtaDevProvUnsolicitedKeyMaxRetries,
+ pktcMtaDevProvKerbRealmName,
+ pktcMtaDevProvSolicitedKeyTimeout,
+ pktcMtaDevProvConfigHash,
+ pktcMtaDevProvConfigKey,
+ pktcMtaDevProvState,
+ pktcMtaDevProvisioningTimer,
+ pktcMtaDevTelephonyRootCertificate,
+ pktcMtaDevErrorOid,
+ pktcMtaDevErrorGiven,
+ pktcMtaDevErrorReason,
+ pktcMtaDevSwCurrentVers,
+ pktcMtaDevResetKrbTickets,
+ pktcMtaDevCmsIpsecCtrl,
+ pktcMtaDevProvisioningCounter
+ }
+}
+
+```
+
+```
+
+STATUS current
+DESCRIPTION
+ "Group of objects for PacketCable MTA MIB."
+::= { pktcMtaGroups 1 }
+pktcMtaNotificationGroup NOTIFICATION-GROUP
+NOTIFICATIONS {
+ pktcMtaDevProvisioningStatus,
+ pktcMtaDevProvisioningEnrollment
+}
+STATUS current
+DESCRIPTION
+ "These notifications deal with change in status of
+ MTA Device."
+::= { pktcMtaGroups 2 }
+
+pktcMtaObsoleteGroup OBJECT-GROUP
+OBJECTS {
+ pktcMtaDevHardwareVersion,
+ pktcMtaDevSignature,
+ pktcMtaDevServProviderCertificate,
+ pktcMtaDevTelephonyCertificate,
+ pktcMtaDevKerberosRealm,
+ pktcMtaDevKerbPrincipalName,
+ pktcMtaDevServGracePeriod,
+ pktcMtaDevLocalSystemCertificate,
+ pktcMtaDevKeyMgmtTimeout1,
+ pktcMtaDevTgsLocation,
+ pktcMtaDevTgsStatus,
+ pktcMtaDevServerBootState,
+ pktcMtaCmsMapOperStatus,
+ pktcMtaCmsMapAdminStatus,
+ pktcMtaCmsMapRowStatus,
+ pktcMtaDevRealmUnsolicitedKeyMeanDev,
+ pktcMtaDevCmsUnsolicitedKeyMeanDev,
+ pktcMtaDevProvUnsolicitedKeyMeanDev,
+ pktcMtaDevServerDhcp,
+ pktcMtaDevKeyMgmtTimeout2
+}
+STATUS obsolete
+DESCRIPTION
+ "Group of obsolete objects for PacketCable MTA MIB."
+::= { pktcMtaGroups 3 }
+
+END
+
+```
+
+## Annex C
+
+### Network call signalling MIB
+
+(This annex forms an integral part of this Recommendation)
+
+The NCS MIB MUST be implemented as defined below.
+
+PKTC-SIG-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+
+MODULE-IDENTITY,
+OBJECT-TYPE,
+Integer32,
+IpAddress,
+BITS
+ FROM SNMPv2-SMI
+TEXTUAL-CONVENTION,
+RowStatus,
+TruthValue
+ FROM SNMPv2-TC
+OBJECT-GROUP,
+MODULE-COMPLIANCE
+ FROM SNMPv2-CONF
+SnmpAdminString
+ FROM SNMP-FRAMEWORK-MIB
+clabProjPacketCable
+ FROM CLAB-DEF-MIB
+ifIndex
+ FROM IF-MIB;
+
+pktcSigMib MODULE-IDENTITY
+ LAST-UPDATED "200501280000Z" -- January 28, 2005
+ ORGANIZATION "CableLabs -- PacketCable OSS Group"
+ CONTACT-INFO
+ "Sumanth Channabasappa
+ Postal: CableLabs, Inc.
+ 858 Coal Creek Circle
+ Louisville, CO 80027-9750
+ U.S.A.
+ Phone: +1 303-661-9100
+ Fax: +1 303-661-9199
+ E-mail: mibs@cablelabs.com"
+
+DESCRIPTION
+
+"This MIB module supplies the basic management object for the PacketCable Signalling protocols. This version of the MIB includes common signalling and Network Call Signalling (NCS) related signalling objects.
+Acknowledgements:
+Angela Lyda Arris Interactive
+Sasha Medvinsky Motorola
+Roy Spitzer Telogy Networks, Inc.
+Rick Vetter Motorola
+Itay Sherman Texas Instruments
+Klaus Hermans Cisco Systems
+Eugene Nechamkin Broadcom Corp.
+Satish Kumar Texas Instruments
+Copyright 1999-2005 Cable Television Laboratories, Inc.
+All rights reserved."
+
+REVISION "200501280000Z"
+
+DESCRIPTION
+
+"This revision, published as part of the PacketCable
+1.5 Signalling MIB I01 Specification."
+
+::= { clabProjPacketCable 2 }
+
+PktcCodecType ::= TEXTUAL-CONVENTION
+
+STATUS current
+
+DESCRIPTION
+
+"Textual Convention defines various types of CODECs that MAY be supported. The list of CODECs MUST be consistent with the Codec RTP MAP Parameters Table in the PacketCable CODEC specification. In-line embedded comments below contain the Literal Codec Name for each CODEC. The Literal Codec Name corresponds to the second column of the Codec RTP MAP Parameters Table. The Literal Codec Name Column contains the CODEC name that is used in the LCD of the NCS messages CRCX/MDX, and is also used to identify the CODEC in the CMS Provisioning Specification. The RTP Map Parameter Column of the Codec RTP MAP Parameters Table contains the string used in the media attribute line ('a=') of the SDP parameters in NCS messages."
+
+REFERENCE
+
+"PacketCable CODEC Specification"
+
+SYNTAX INTEGER {
+
+other (1),
+unknown (2),
+g729 (3), -- G729
+reserved (4), -- reserved for future use
+g729E (5), -- G729E
+pcmu (6), -- PCMU
+g726at32 (7), -- G726-32
+g728 (8), -- G728
+pcma (9), -- PCMA
+g726at16 (10), -- G726-16
+g726at24 (11), -- G726-24
+g726at40 (12), -- G726-40
+ilbc (13), -- iLBC
+bv16 (14) -- BV16
+}
+
+PktcRingCadence ::= TEXTUAL-CONVENTION
+
+STATUS current
+
+DESCRIPTION
+
+"This object represents a ring cadence in bit string format. The ring cadence representation starts with the first 1 in the pattern (the leading 0s in the MSB are padding and are to be ignored). Each bit represents 100 ms of tone; 1 is tone, 0 is no tone. 64 bits MUST be used for cadence representation, LSB 4 bits are used for representing repeatable characteristics. 0000 means repeatable, and 1000 means non repeatable. During SNMP SET operations 64 bits MUST be used, otherwise MTA MUST reject the value. As an example, the hex representation of a ring cadence of 0.5 secs on; 4 secs off; repeatable would be:0x0001F000000000000000."
+
+SYNTAX BITS {
+
+interval1 (0),
+interval2 (1),
+interval3 (2),
+interval4 (3),
+interval5 (4),
+interval6 (5),
+
+```
+
+ interval7 (6),
+ interval8 (7),
+ interval9 (8),
+ interval10 (9),
+ interval11 (10),
+ interval12 (11),
+ interval13 (12),
+ interval14 (13),
+ interval15 (14),
+ interval16 (15),
+ interval17 (16),
+ interval18 (17),
+ interval19 (18),
+ interval20 (19),
+ interval21 (20),
+ interval22 (21),
+ interval23 (22),
+ interval24 (23),
+ interval25 (24),
+ interval26 (25),
+ interval27 (26),
+ interval28 (27),
+ interval29 (28),
+ interval30 (29),
+ interval31 (30),
+ interval32 (31),
+ interval33 (32),
+ interval34 (33),
+ interval35 (34),
+ interval36 (35),
+ interval37 (36),
+ interval38 (37),
+ interval39 (38),
+ interval40 (39),
+ interval41 (40),
+ interval42 (41),
+ interval43 (42),
+ interval44 (43),
+ interval45 (44),
+ interval46 (45),
+ interval47 (46),
+ interval48 (47),
+ interval49 (48),
+ interval50 (49),
+ interval51 (50),
+ interval52 (51),
+ interval53 (52),
+ interval54 (53),
+ interval55 (54),
+ interval56 (55),
+ interval57 (56),
+ interval58 (57),
+ interval59 (58),
+ interval60 (59),
+ interval61 (60),
+ interval62 (61),
+ interval63 (62),
+ interval64 (63)
+ }
+
+```
+
+```
+
+PktcSigType ::= TEXTUAL-CONVENTION
+ STATUS current
+ DESCRIPTION
+
+```
+
+"These are the various types of signalling that may be supported.
+ ncs - network call signalling a derivation of MGCP
+ (Media Gateway Control Protocol) version 1.0
+ dcs - distributed call signalling a derivation
+ of SIP (Session Initiation Protocol) RFC 3261"
+
+```
+SYNTAX INTEGER {
+ other(1),
+ unknown(2),
+ ncs(3),
+ dcs(4)
+}
+```
+
+```
+pktcSigMibObjects OBJECT IDENTIFIER
+ ::= { pktcSigMib 1 }
+pktcSigDevConfigObjects OBJECT IDENTIFIER
+ ::= { pktcSigMibObjects 1 }
+pktcNcsEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcSigMibObjects 2 }
+pktcSigEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcSigMibObjects 3 }
+pktcDcsEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcSigMibObjects 4 }
+```
+
+```
+--
+-- The pktcSigDevCodecTable defines the codecs supported by this
+-- Media Terminal Adapter (MTA). There is one entry for each
+-- codecs supported.
+--
+```
+
+```
+pktcSigDevCodecTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcSigDevCodecEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This table describes the MTA supported codec types."
+ ::= { pktcSigDevConfigObjects 1 }
+```
+
+```
+pktcSigDevCodecEntry OBJECT-TYPE
+ SYNTAX PktcSigDevCodecEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "List of supported codecs types for the MTA."
+ INDEX { pktcSigDevCodecIndex }
+ ::= { pktcSigDevCodecTable 1 }
+```
+
+```
+PktcSigDevCodecEntry ::= SEQUENCE {
+ pktcSigDevCodecIndex Integer32,
+ pktcSigDevCodecType PktcCodecType,
+ pktcSigDevCodecMax Integer32
+}
+```
+
+```
+pktcSigDevCodecIndex OBJECT-TYPE
+ SYNTAX Integer32 (1..16383)
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The index value which uniquely identifies an entry
+ in the pktcSigDevCodecTable."
+ ::= { pktcSigDevCodecEntry 1 }
+```
+
+```
+pktcSigDevCodecType OBJECT-TYPE
+```
+
+```
+
+SYNTAX PktcCodecType
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "A codec type supported by this MTA."
+::= { pktcSigDevCodecEntry 2 }
+
+pktcSigDevCodecMax OBJECT-TYPE
+ SYNTAX Integer32(1..16383)
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The maximum number of simultaneous sessions of the
+ specific codec that the MTA can support"
+ ::= { pktcSigDevCodecEntry 3 }
+
+--
+-- These are the common signalling related definitions that affect
+-- the entire MTA device.
+--
+
+pktcSigDevEchoCancellation OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object specifies if the device is capable
+ of echo cancellation."
+ ::= { pktcSigDevConfigObjects 2 }
+
+pktcSigDevSilenceSuppression OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object specifies if the device is capable of
+ silence suppression (Voice Activity Detection)."
+ ::= { pktcSigDevConfigObjects 3 }
+
+pktcSigDevConnectionMode OBJECT-TYPE
+ SYNTAX BITS {
+ voice(0),
+ fax(1),
+ modem(2)
+ }
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object specifies the connection modes that the
+ MTA device can support."
+ ::= { pktcSigDevConfigObjects 4 }
+
+--
+-- In the United States Ring Cadences 0, 6, and 7 are custom
+-- ring cadences definable by the user. The following three
+-- objects are used for these definitions.
+--
+
+pktcSigDevR0Cadence OBJECT-TYPE
+ SYNTAX PktcRingCadence
+ MAX-ACCESS read-write
+ STATUS current
+
+```
+
+
+
+```
+
+SYNTAX Integer32 (0..63)
+MAX-ACCESS read-write
+STATUS current
+DESCRIPTION
+
+ "This object contains the default value used in the IP
+ header for setting the Type of Service (TOS) for media
+ stream packets. The MTA MUST NOT update this object with
+ the value supplied by the CMS in the NCS messages (if
+ present). When the value of this object is updated by
+ SNMP, the MTA MUST use the new value as a default starting
+ from the new connection. Existing connections are not
+ affected by the value's update."
+REFERENCE
+
+ "Refer to NCS specification"
+DEFVAL { 0 }
+::= { pktcSigDevConfigObjects 9 }
+
+pktcSigTosFormatSelector OBJECT-TYPE
+ SYNTAX INTEGER {
+ ipv4TOSOctet(1),
+ dscpCodepoint(2)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+
+ "The format of the default signalling and media
+ Type of Service (TOS) values."
+ DEFVAL { ipv4TOSOctet }
+ ::= { pktcSigDevConfigObjects 10 }
+
+--
+-- pktcSigCapabilityTable - This table defines the valid signalling
+-- types supported by this MTA.
+--
+
+pktcSigCapabilityTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcSigCapabilityEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+
+ "This table describes the signalling types by this MTA."
+ ::= { pktcSigDevConfigObjects 11 }
+
+pktcSigCapabilityEntry OBJECT-TYPE
+ SYNTAX PktcSigCapabilityEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+
+ "Entries in pktcMtaDevSigCapabilityTable - List of
+ supported signalling types, versions and vendor extensions
+ for this MTA. Each entry in the list provides for one
+ signalling type and version combination. If the device
+ supports multiple versions of the same signalling type -
+ it will require multiple entries."
+ INDEX { pktcSignallingIndex }
+ ::= { pktcSigCapabilityTable 1 }
+
+PktcSigCapabilityEntry ::= SEQUENCE {
+ pktcSignallingIndex Integer32,
+ pktcSignallingType PktcSigType,
+ pktcSignallingVersion SnmpAdminString,
+ pktcSignallingVendorExtension SnmpAdminString
+}
+
+```
+
+```
+
+pktcSignallingIndex OBJECT-TYPE
+ SYNTAX Integer32 (1..16383)
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "The index value which uniquely identifies
+ an entry in the pktcSigCapabilityTable."
+ ::= { pktcSigCapabilityEntry 1 }
+
+pktcSignallingType OBJECT-TYPE
+ SYNTAX PktcSigType
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The Type identifies the type of signalling
+ used, this can be NCS, DCS, etc. This value
+ has to be associated with a single signalling
+ version - reference pktcMtaDevSignallingVersion."
+ ::= { pktcSigCapabilityEntry 2 }
+
+pktcSignallingVersion OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "Provides the version of the signalling type -
+ reference pktcSignallingType. Examples
+ would be 1.0 or 2.33 etc."
+ ::= { pktcSigCapabilityEntry 3 }
+
+pktcSignallingVendorExtension OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The vendor extension allows vendors to
+ provide a list of additional capabilities,
+ vendors can decide how to encode these
+ Extensions, although space separated text is
+ suggested."
+ ::= { pktcSigCapabilityEntry 4 }
+
+pktcSigDefNcsReceiveUdpPort OBJECT-TYPE
+ SYNTAX Integer32 (1025..65535)
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object contains the MTA User Datagram Protocol
+ (UDP) receive port that is being used for NCS call
+ signalling. This object should only be changed by the
+ configuration file."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 2427 }
+ ::= { pktcSigDevConfigObjects 12 }
+
+pktcSigServiceClassNameUS OBJECT-TYPE
+ SYNTAX SnmpAdminString (SIZE (0..15))
+ MAX-ACCESS read-write
+ STATUS obsolete
+
+```
+
+#### DESCRIPTION
+
+"This object contains a string indicating the Service Class name to create an Upstream Service (US) Flow for NCS. If the object has an empty string value then the upstream NCS SF is not created and the best effort SF is used for upstream NCS data. The creation of the NCS SF primary occurs before Voice Communication Service is activated on the device. If this object is set to a non-empty (non-zero length) string, the MTA MUST create the NCS SF if it does not currently exist and the pktcSigServiceClassNameMask object has a non-zero value. If this object is subsequently set to an empty (zero-length) string, the MTA MUST delete the NCS SF if it exists. Setting this object to a different value does not cause the Upstream Service Flow to be re-created. The string MUST contain printable ASCII characters. The length of the string does not include a terminating zero. The MTA MUST append a terminating zero when the MTA creates the service flow. "
+
+::= { pktcSigDevConfigObjects 13 }
+
+### pktcSigServiceClassNameDS OBJECT-TYPE
+
+SYNTAX SnmpAdminString (SIZE (0..15))
+
+MAX-ACCESS read-write
+
+STATUS obsolete
+
+#### DESCRIPTION
+
+"This object contains a string indicating the Service Class Name to create a Downstream Service Flow for NCS. If the object has an empty string value, then the NCS SF is not created and the best effort primary SF is used for downstream NCS data. The creation of the NCS SF occurs before Voice Communication Service is activated on the device. If this object is set to a non-empty (non-zero length) string, the MTA MUST create the NCS SF if it does not currently exist and the pktcSigServiceClassNameMask object has a non-zero value. If this object is subsequently set to an empty (zero-length) string, the MTA MUST delete the NCS SF if it exists. Setting this object to a different value does not cause the Downstream Service Flow to be re-created. The string MUST contain printable ASCII characters. The length of the string does not include a terminating zero. The MTA MUST append a terminating zero when the MTA creates the service flow. "
+
+::= { pktcSigDevConfigObjects 14 }
+
+### pktcSigServiceClassNameMask OBJECT-TYPE
+
+SYNTAX Integer32
+
+MAX-ACCESS read-write
+
+STATUS obsolete
+
+#### DESCRIPTION
+
+"This object contains a value for the Call Signalling Network Mask. The value is used as the NCS Call Signalling classifier mask. The object is used to delete the NCS SF when set to zero. When the object is set to a non-zero value by the SNMP Manager, the NCS SF is to be created."
+
+DEFVAL { 0 }
+
+::= { pktcSigDevConfigObjects 15 }
+
+### pktcSigNcsServiceFlowState OBJECT-TYPE
+
+SYNTAX INTEGER {
+
+notactive (1),
+
+active (2),
+
+error (3)
+
+}
+
+
+
+
+
+
+
+```
+
+-- The NCS End Point Config Table is used to define attributes that
+-- are specific to connection EndPoints.
+--
+--
+
+```
+
+```
+
+pktcNcsEndPntConfigTable OBJECT-TYPE
+
+```
+
+```
+
+ SYNTAX SEQUENCE OF PktcNcsEndPntConfigEntry
+
+```
+
+```
+
+ MAX-ACCESS not-accessible
+
+```
+
+```
+
+ STATUS current
+
+```
+
+```
+
+ DESCRIPTION
+
+```
+
+```
+
+ "This table describes the PacketCable EndPoint selected
+ signalling type. The number of entries in this table
+ represents the number of provisioned end points.
+
+```
+
+```
+
+ For each conceptual row of pktcSigEndPntConfigTable
+ defined, an associated row MUST be defined in one of
+ the specific signalling tables such as
+
+```
+
+```
+
+ pktcNcsEndPntConfigTable."
+
+```
+
+```
+
+ ::= { pktcNcsEndPntConfigObjects 1 }
+
+```
+
+```
+
+pktcNcsEndPntConfigEntry OBJECT-TYPE
+
+```
+
+```
+
+ SYNTAX PktcNcsEndPntConfigEntry
+
+```
+
+```
+
+ MAX-ACCESS not-accessible
+
+```
+
+```
+
+ STATUS current
+
+```
+
+```
+
+ DESCRIPTION
+
+```
+
+```
+
+ "Entries in pktcNcsEndPntConfigTable - Each entry
+ describes what signalling type a particular endpoint uses."
+
+```
+
+```
+
+ INDEX { ifIndex }
+
+```
+
+```
+
+ ::= { pktcNcsEndPntConfigTable 1 }
+
+```
+
+```
+
+PktcNcsEndPntConfigEntry ::= SEQUENCE {
+
+```
+
+```
+
+ pktcNcsEndPntConfigCallAgentId SnmpAdminString,
+
+```
+
+```
+
+ pktcNcsEndPntConfigCallAgentUdpPort Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigPartialDialTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigCriticalDialTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigBusyToneTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigDialToneTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMessageWaitingTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigOffHookWarnToneTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigRingingTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigRingBackTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigReorderToneTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigStutterDialToneTO Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigTSMax Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMax1 Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMax2 Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMax1QEnable TruthValue,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMax2QEnable TruthValue,
+
+```
+
+```
+
+ pktcNcsEndPntConfigMWD Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigTdinit Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigTdmin Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigTdmax Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigRtoMax Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigRtoInit Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigLongDurationKeepAlive Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigThist Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigStatus RowStatus,
+
+```
+
+```
+
+ pktcNcsEndPntConfigCallWaitingMaxRep Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntConfigCallWaitingDelay Integer32,
+
+```
+
+```
+
+ pktcNcsEndPntStatusCallIpAddress IpAddress,
+
+```
+
+```
+
+ pktcNcsEndPntStatusError INTEGER
+
+```
+
+```
+
+}
+
+```
+
+```
+
+pktcNcsEndPntConfigCallAgentId OBJECT-TYPE
+ SYNTAX SnmpAdminString(SIZE (3..255))
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains a string indicating the call agent
+ name(e.g.,: ca@abc.def.com). The call agent name
+ after the character '@', MUST be a fully qualified
+ domain name and MUST have a corresponding
+ pktcMtaDevCmsFqdn entry in the pktcMtaDevCmsTable. For
+ each particular end-point, the MTA MUST use the current
+ value of this object to communicate with the corresponding
+ CMS. The MTA MUST update this object with the value of the
+ 'Notified Entity' parameter of the NCS message. If the
+ Notified Entity parameter does not contain a CallAgent
+ port, the MTA MUST update this object with default value
+ of 2727. Because of the high importance of this object to
+ the ability of the MTA to maintain reliable NCS
+ communication with the CMS, it is highly recommended not
+ to change this object's value through management station
+ during normal operations."
+
+ ::= { pktcNcsEndPntConfigEntry 1 }
+
+pktcNcsEndPntConfigCallAgentUdpPort OBJECT-TYPE
+ SYNTAX Integer32 (1025..65535)
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the current value of the User
+ Datagram Protocol (UDP) receive port on which the call
+ agent will receive NCS signalling from the endpoint.
+ For each particular end-point, the MTA MUST use
+ the current value of this object to communicate with the
+ corresponding CMS. The MTA MUST update this
+ object with the value of the 'Notified Entity' parameter
+ of the NCS message. If the Notified Entity
+ parameter does not contain a CallAgent port, the MTA MUST
+ update this object with default value of 2727.
+ Because of the high importance of this object to the
+ ability of the MTA to maintain reliable NCS communication
+ with the CMS, it is highly recommended not to change this
+ object's value through management station during normal
+ operations."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 2727 }
+ ::= { pktcNcsEndPntConfigEntry 2 }
+
+pktcNcsEndPntConfigPartialDialTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains maximum value of the partial
+ dial time out."
+ REFERENCE
+ "Refer to PacketCable NCS specification"
+ DEFVAL { 16 }
+ ::= { pktcNcsEndPntConfigEntry 3 }
+
+```
+
+```
+
+pktcNcsEndPntConfigCriticalDialTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the maximum value of the critical
+ dial time out."
+ REFERENCE
+ "Refer NCS specification"
+ DEFVAL { 4 }
+ ::= { pktcNcsEndPntConfigEntry 4 }
+
+pktcNcsEndPntConfigBusyToneTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for busy
+ tone. The MTA MUST NOT update this object with the
+ value provided in the NCS Message (if present).
+ If the value of the object is modified by the
+ SNMP Management Station, the MTA MUST use the new value as
+ a default only for a new signal requested by the NCS
+ message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 30 }
+ ::= { pktcNcsEndPntConfigEntry 5 }
+
+pktcNcsEndPntConfigDialToneTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for dial
+ tone. The MTA MUST NOT update this object with
+ the value provided in the NCS Message (if present).
+ If the value of the object is modified by the
+ SNMP Management Station, the MTA MUST use the new value
+ as a default only for a new signal requested by the NCS
+ message."
+ REFERENCE
+ "Refer to NCS specification "
+ DEFVAL { 16 }
+ ::= { pktcNcsEndPntConfigEntry 6 }
+
+pktcNcsEndPntConfigMessageWaitingTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for
+ message waiting indicator. The MTA MUST NOT
+ update this object with the value provided in the NCS
+ Message (if present). If the value of the object
+ is modified by the SNMP Management Station, the MTA MUST
+ use the new value as a default only for a new signal
+ requested by the NCS message."
+
+```
+
+```
+
+REFERENCE
+ "Refer to NCS specification"
+DEFVAL { 16 }
+::= { pktcNcsEndPntConfigEntry 7 }
+
+pktcNcsEndPntConfigOffHookWarnToneTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for the
+ off hook Warning tone. The MTA MUST NOT update
+ this object with the value provided in the NCS Message (if
+ present). If the value of the object is modified
+ by the SNMP Management Station, the MTA MUST use the new
+ value as a default only for a new signal requested by the
+ NCS message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 0 }
+ ::= { pktcNcsEndPntConfigEntry 8 }
+
+pktcNcsEndPntConfigRingingTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for
+ ringing. The MTA MUST NOT update this object with
+ the value provided in the NCS Message (if present).
+ If the value of the object is modified by the
+ SNMP Management Station, the MTA MUST use the new value
+ as a default only for a new signal requested by the NCS
+ message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 180 }
+ ::= { pktcNcsEndPntConfigEntry 9 }
+
+pktcNcsEndPntConfigRingBackTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for ring
+ back. The MTA MUST NOT update this object with
+ the value provided in the NCS Message (if present).
+ If the value of the object is modified by the
+ SNMP Management Station, the MTA MUST use the new value as
+ a default only for a new signal requested by the NCS
+ message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 180 }
+ ::= { pktcNcsEndPntConfigEntry 10 }
+
+pktcNcsEndPntConfigReorderToneTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+
+```
+
+```
+
+DESCRIPTION
+ "This object contains the default timeout value for
+ reorder tone. The MTA MUST NOT update this
+ object with the value provided in the NCS Message (if
+ present). If the value of the object is modified
+ by the SNMP Management Station, the MTA MUST use the new
+ value as a default only for a new signal requested by
+ the NCS message."
+REFERENCE
+ "Refer to NCS specification"
+DEFVAL { 30 }
+::= { pktcNcsEndPntConfigEntry 11 }
+
+pktcNcsEndPntConfigStutterDialToneTO OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default timeout value for
+ stutter dial tone. The MTA MUST NOT update this
+ object with the value provided in the NCS Message (if
+ present). If the value of the object is modified
+ by the SNMP Management Station, the MTA MUST use the new
+ value as a default only for a new signal requested by the
+ NCS message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 16 }
+ ::= { pktcNcsEndPntConfigEntry 12 }
+
+pktcNcsEndPntConfigTSMax OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the max time in seconds since the
+ sending of the initial datagram."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 20 }
+ ::= { pktcNcsEndPntConfigEntry 13 }
+
+pktcNcsEndPntConfigMax1 OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the suspicious error threshold
+ for signalling messages."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 5 }
+ ::= { pktcNcsEndPntConfigEntry 14 }
+
+pktcNcsEndPntConfigMax2 OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the disconnect error
+ threshold for signalling messages."
+
+```
+
+```
+
+REFERENCE
+ "Refer to NCS specification"
+DEFVAL { 7 }
+::= { pktcNcsEndPntConfigEntry 15 }
+
+pktcNcsEndPntConfigMax1QEnable OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object enables/disables the Max1 Domain Name
+ Server (DNS) query operation when Max1 expires."
+ DEFVAL { true }
+ ::= { pktcNcsEndPntConfigEntry 16 }
+
+pktcNcsEndPntConfigMax2QEnable OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object enables/disables the Max2 DNS query
+ operation when Max2 expires."
+ DEFVAL { true }
+ ::= { pktcNcsEndPntConfigEntry 17 }
+
+pktcNcsEndPntConfigMWD OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "Maximum Waiting Delay (MWD) contains the maximum
+ number of seconds a MTA waits after a restart."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 600 }
+ ::= { pktcNcsEndPntConfigEntry 18 }
+
+pktcNcsEndPntConfigTdinit OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the initial number of seconds
+ a MTA waits after a disconnect."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 15 }
+ ::= { pktcNcsEndPntConfigEntry 19 }
+
+pktcNcsEndPntConfigTdmin OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the minimum number of seconds a
+ MTA waits after a disconnect."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 15 }
+ ::= { pktcNcsEndPntConfigEntry 20 }
+
+```
+
+```
+
+pktcNcsEndPntConfigTdmax OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the maximum number of seconds
+ a MTA waits after a disconnect."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 600 }
+ ::= { pktcNcsEndPntConfigEntry 21 }
+
+pktcNcsEndPntConfigRtoMax OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the maximum number of seconds
+ for the retransmission timer."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 4 }
+ ::= { pktcNcsEndPntConfigEntry 22 }
+
+pktcNcsEndPntConfigRtoInit OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "milliseconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the initial number of seconds
+ for the retransmission timer."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 200 }
+ ::= { pktcNcsEndPntConfigEntry 23 }
+
+pktcNcsEndPntConfigLongDurationKeepAlive OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "minutes"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "Specifies a timeout value in minutes for sending
+ long duration call notification message."
+ REFERENCE
+ "Refer to NCS specification"
+ DEFVAL { 60 }
+ ::= { pktcNcsEndPntConfigEntry 24 }
+
+pktcNcsEndPntConfigThist OBJECT-TYPE
+ SYNTAX Integer32
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "Timeout period in seconds before no response is
+ declared."
+ REFERENCE
+ "Refer to NCS specification"
+
+```
+
+```
+
+DEFVAL { 30 }
+::= { pktcNcsEndPntConfigEntry 25 }
+
+pktcNcsEndPntConfigStatus OBJECT-TYPE
+ SYNTAX RowStatus
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the Row Status associated with
+ the pktcNcsEndPntConfigTable."
+ ::= { pktcNcsEndPntConfigEntry 26 }
+
+pktcNcsEndPntConfigCallWaitingMaxRep OBJECT-TYPE
+ SYNTAX Integer32 (0..10)
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the default value of the maximum
+ number of repetitions of the call waiting tone that the
+ MTA will play from a single CMS request. The MTA
+ MUST NOT update this object with the information provided
+ in the NCS Message (if present). If the value of
+ the object is modified by the SNMP Management Station,
+ the MTA MUST use the new value as a default only for a new
+ signal requested by the NCS message."
+ DEFVAL { 1 }
+ ::= { pktcNcsEndPntConfigEntry 27 }
+
+pktcNcsEndPntConfigCallWaitingDelay OBJECT-TYPE
+ SYNTAX Integer32 (1..100)
+ UNITS "seconds"
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This object contains the delay between repetitions
+ of the call waiting tone that the MTA will play from
+ a single CMS request."
+ DEFVAL { 10 }
+ ::= { pktcNcsEndPntConfigEntry 28 }
+
+pktcNcsEndPntStatusCallIpAddress OBJECT-TYPE
+ SYNTAX IpAddress
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object contains the IP address of the CMS
+ currently being used for this endpoint. This IP
+ address is used to create the appropriate security
+ association."
+ ::= { pktcNcsEndPntConfigEntry 29 }
+
+pktcNcsEndPntStatusError OBJECT-TYPE
+ SYNTAX INTEGER {
+ operational (1),
+ noSecurityAssociation (2),
+ disconnected (3)
+ }
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object contains the error status for this interface.
+ The operational state indicates that all operations
+ necessary to put the line in service have occurred and the CMS
+ has acknowledged the RSIP message successfully."
+
+```
+
+If 'pktcMtaDevCmsIpsecCtrl' is enabled for the associated Call Agent, the noSecurityAssociation status indicates that no Security Association (SA) yet exists for this endpoint. Otherwise, the state is unused. The disconnected status indicates one of the following two:
+
+1. If 'pktcMtaDevCmsIpsecCtrl' is disabled then no security association is involved with this endpoint: the NCS signalling Software is in process of establishing the NCS signalling Link via an RSIP exchange.
+2. Otherwise, pktcMtaDevCmsIpsecCtrl is enabled, the security Association has been established and the NCS signalling Software is in process of establishing the NCS signalling Link via an RSIP exchange."
+
+::= { pktcNcsEndPntConfigEntry 30 }
+
+--
+
+-- notification group is for future extension.
+
+--
+
+pktcSigNotificationPrefix OBJECT IDENTIFIER ::= { pktcSigMib 2 }
+
+pktcSigNotification OBJECT IDENTIFIER ::= {
+
+ pktcSigNotificationPrefix 0 }
+
+pktcSigConformance OBJECT IDENTIFIER ::= { pktcSigMib 3 }
+
+pktcSigCompliances OBJECT IDENTIFIER ::= { pktcSigConformance 1 }
+
+pktcSigGroups OBJECT IDENTIFIER ::= { pktcSigConformance 2 }
+
+-- compliance statements
+
+pktcSigBasicCompliance MODULE-COMPLIANCE
+
+ STATUS current
+
+ DESCRIPTION
+
+ "The compliance statement for devices that implement Signalling on the MTA."
+
+MODULE -- pktcSigMib
+
+-- unconditionally mandatory groups
+
+MANDATORY-GROUPS {
+
+ pktcSigGroup
+
+}
+
+ GROUP pktcNcsGroup
+
+ DESCRIPTION
+
+ "This group is mandatory for any MTA implementing NCS signalling"
+
+ ::={ pktcSigCompliances 1 }
+
+-- units of conformance
+
+pktcSigGroup OBJECT-GROUP
+
+ OBJECTS {
+
+ pktcSigDevCodecType,
+
+ pktcSigDevCodecMax,
+
+ pktcSigDevEchoCancellation,
+
+ pktcSigDevSilenceSuppression,
+
+ pktcSigDevConnectionMode,
+
+ pktcSigDevR0Cadence,
+
+ pktcSigDevR6Cadence,
+
+ pktcSigDevR7Cadence,
+
+ pktcSigDefCallSigTos,
+
+ pktcSigDefMediaStreamTos,
+
+ pktcSigTosFormatSelector,
+
+ pktcSignallingType,
+
+ pktcSignallingVersion,
+
+```
+
+ pktcSignallingVendorExtension,
+ pktcSigEndPntCapabilityIndex,
+ pktcSigDefNcsReceiveUdpPort,
+ pktcSigDevR1Cadence,
+ pktcSigDevR2Cadence,
+ pktcSigDevR3Cadence,
+ pktcSigDevR4Cadence,
+ pktcSigDevR5Cadence,
+ pktcSigDevRgCadence,
+ pktcSigDevRsCadence,
+ pktcSigDevRtCadence
+ }
+ STATUS current
+ DESCRIPTION
+ "Group of objects for the common portion of the
+ PacketCable Signalling MIB."
+ ::= { pktcSigGroups 1 }
+
+pktcNcsGroup OBJECT-GROUP
+ OBJECTS {
+ pktcNcsEndPntConfigCallAgentId,
+ pktcNcsEndPntConfigCallAgentUdpPort,
+ pktcNcsEndPntConfigPartialDialTO,
+ pktcNcsEndPntConfigCriticalDialTO,
+ pktcNcsEndPntConfigBusyToneTO,
+ pktcNcsEndPntConfigDialToneTO,
+ pktcNcsEndPntConfigMessageWaitingTO,
+ pktcNcsEndPntConfigOffHookWarnToneTO,
+ pktcNcsEndPntConfigRingingTO,
+ pktcNcsEndPntConfigRingBackTO,
+ pktcNcsEndPntConfigReorderToneTO,
+ pktcNcsEndPntConfigStutterDialToneTO,
+ pktcNcsEndPntConfigTSMax,
+ pktcNcsEndPntConfigMax1,
+ pktcNcsEndPntConfigMax2,
+ pktcNcsEndPntConfigMax1QEnable,
+ pktcNcsEndPntConfigMax2QEnable,
+ pktcNcsEndPntConfigMWD,
+ pktcNcsEndPntConfigTdinit,
+ pktcNcsEndPntConfigTdmin,
+ pktcNcsEndPntConfigTdmax,
+ pktcNcsEndPntConfigRtoMax,
+ pktcNcsEndPntConfigRtoInit,
+ pktcNcsEndPntConfigLongDurationKeepAlive,
+ pktcNcsEndPntConfigThist,
+ pktcNcsEndPntConfigStatus,
+ pktcNcsEndPntConfigCallWaitingMaxRep,
+ pktcNcsEndPntConfigCallWaitingDelay,
+ pktcNcsEndPntStatusCallIpAddress,
+ pktcNcsEndPntStatusError
+ }
+ STATUS current
+ DESCRIPTION
+ "Group of objects for the NCS portion of the
+ PacketCable Signalling MIB. This is mandatory for
+ NCS signalling."
+ ::= { pktcSigGroups 2 }
+
+pktcSigObsoleteGroup OBJECT-GROUP
+ OBJECTS {
+ pktcSigServiceClassNameUS,
+ pktcSigServiceClassNameDS,
+ pktcSigServiceClassNameMask,
+ pktcSigNcsServiceFlowState
+ }
+
+```
+
+```
+
+ }
+ STATUS obsolete
+ DESCRIPTION
+ " Collection of obsolete objects for PacketCable
+ Signalling MIB."
+ ::= { pktcSigGroups 3 }
+END
+
+```
+
+# Annex D
+
+## Management Event MIB
+
+(This annex forms an integral part of this Recommendation)
+
+The Management Event MIB MUST be implemented as defined below.
+
+```
+PKTC-EVENT-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+ MODULE-IDENTITY,
+ OBJECT-TYPE,
+ Unsigned32,
+ NOTIFICATION-TYPE,
+ BITS FROM SNMPv2-SMI
+ DateAndTime FROM SNMPv2-TC
+ clabProjPacketCable FROM CLAB-DEF-MIB
+ SnmpAdminString FROM SNMP-FRAMEWORK-MIB
+ OBJECT-GROUP,
+ MODULE-COMPLIANCE,
+ NOTIFICATION-GROUP FROM SNMPv2-CONF
+ ifPhysAddress FROM IF-MIB
+ InetAddressType,
+ InetAddress,
+ InetPortNumber FROM INET-ADDRESS-MIB ;
+
+pktcEventMib MODULE-IDENTITY
+ LAST-UPDATED "200501280000Z -- 01/28/2005"
+ ORGANIZATION "Cable Television Laboratories, Inc"
+ CONTACT-INFO
+ "Sumanth Channabasappa
+ Postal: Cable Television Laboratories, Inc.
+ 858 Coal Creek Circle
+ Louisville, Colorado 80027
+ U.S.A.
+
+ Phone: +1 303-661-9100
+ Fax: +1 303-661-9199
+ E-mail: mibs@cablelabs.com"
+
+ DESCRIPTION
+ "This MIB module supplies the basic management objects
+ for event reporting
+
+ Acknowledgements:
+ Eugene Nechamkin - Broadcom Corp
+ John Berg - CableLabs, Inc.
+ Kevin Marez - Motorola, Inc.
+ Satish Kumar - Texas Instruments
+ Venkatesh Sunkad - CableLabs, Inc."
+
+ ::= { clabProjPacketCable 3 }
+
+--
+--
+pktcDevEventControl OBJECT IDENTIFIER ::= { pktcEventMib 1 }
+pktcDevEventThrottle OBJECT IDENTIFIER ::= { pktcEventMib 2 }
+pktcDevEventStatus OBJECT IDENTIFIER ::= { pktcEventMib 3 }
+pktcDevEventDescr OBJECT IDENTIFIER ::= { pktcEventMib 4 }
+pktcDevEventLog OBJECT IDENTIFIER ::= { pktcEventMib 5 }
+pktcDevEvNotification OBJECT IDENTIFIER ::= { pktcEventMib 6 }
+--
+```
+
+---
+
+--- Event Reporting control objects
+
+---
+
+pktcDevEvControl OBJECT-TYPE
+
+SYNTAX BITS {
+ resetEventLogTable(0),
+ resetEventDescrTable(1)
+} MAX-ACCESS read-write
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB object defines the actions related to the event log configuration.
+
+The MTA MUST take the appropriate action whenever a bit is set to a value of '1'.
+
+Setting the resetEventLogTable(0) bit to a value of '1' clears the entire event log (Deletes all entries in pktcDevEventLogTable).
+
+Setting resetEventDescrTable(1) to a value of '1' resets the pktcDevEventDescrTable to the factory default values.
+
+Setting a control bit to a value of '0' MUST not result in any action.
+
+Reading this MIB object MUST always return '00'."
+
+::= { pktcDevEventControl 1 }
+
+pktcDevEvSyslogAddrType OBJECT-TYPE
+
+SYNTAX InetAddressType
+
+MAX-ACCESS read-write
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object defines the address type of the Syslog server.
+
+PacketCable devices implementing this MIB MUST support an InetAddressType of ipv4(1).
+
+PacketCable devices MAY optionally implement other address types.
+
+If an unsupported InetAddressType is used to set this object, the PacketCable device MUST reject it and report an SNMP error stating 'wrong value'.
+
+If an SNMP SET results in a type that does not match the value contained in the MIB Object pktcDevEvSyslogAddress, the PacketCable device MUST reject the SNMP SET with an 'inconsistent value' error."
+
+::= { pktcDevEventControl 2 }
+
+pktcDevEvSyslogAddress OBJECT-TYPE
+
+SYNTAX InetAddress
+
+MAX-ACCESS read-write
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object contains the IP address of the Syslog server. If this is set to either 0.0.0.0 or 255.255.255.255 the device MUST inhibit syslog transmission.
+
+The use of FQDNs is syntactically allowed, but discouraged since a failure to resolve them in a
+
+timely manner may leave the device without access to the Syslog daemon during critical network events. The type of address this object represents is defined by the MIB Object pktDevEvSyslogAddrType.
+
+If an SNMP SET results in a type that does not match that indicated by the MIB Object pktDevEvSyslogAddrType, the PacketCable device MUST reject the SNMP SET with an 'inconsistent value' error."
+
+::= { pktDevEventControl 3 }
+
+pktDevEvSyslogUdpPort OBJECT-TYPE
+
+SYNTAX InetPortNumber
+
+MAX-ACCESS read-write
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object contains the UDP Port Number of the Syslog Server. The PacketCable device must send the Syslog messages to this port on the Syslog Server."
+
+DEFVAL { 514 }
+
+::= { pktDevEventControl 4 }
+
+--
+
+-- Event throttling control
+
+--
+
+pktDevEvThrottleAdminStatus OBJECT-TYPE
+
+SYNTAX INTEGER {
+
+unconstrained(1),
+
+maintainBelowThreshold(2),
+
+stopAtThreshold(3),
+
+inhibited(4)
+
+}
+
+MAX-ACCESS read-write
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object controls the throttling of the transmitted messages upon generation of an event (SNMP/Syslog).
+
+A value of unconstrained(1) causes event messages to be transmitted without regard to the threshold settings.
+
+A value of maintainBelowThreshold(2) causes event messages to be suppressed if the number of transmissions would otherwise exceed the threshold.
+
+A value of stopAtThreshold(3) causes event message transmission to cease at the threshold, and not resume until directed to do so.
+
+A value of inhibited(4) causes all event message Transmission to be suppressed.
+
+An event causing both an SNMP and a Syslog message is still treated as a single event.
+
+Writing to this object resets the thresholding state.
+
+Refer to MIB Objects pktDevEvThrottleThreshold and pktDevEvThrottleInterval for information on throttling."
+
+```
+DEFVAL { unconstrained }
+::= { pktcDevEventThrottle 1 }
+```
+
+```
+pktcDevEvThrottleThreshold OBJECT-TYPE
+```
+
+```
+SYNTAX Unsigned32
+```
+
+```
+MAX-ACCESS read-write
+```
+
+```
+STATUS current
+```
+
+```
+DESCRIPTION
+```
+
+"This MIB Object contains the number of events per
+pktcDevEvThrottleInterval to be transmitted before
+throttling.
+
+An event causing both a SNMP and a syslog message is
+still treated as a single event."
+
+```
+DEFVAL { 2 }
+```
+
+```
+::= { pktcDevEventThrottle 2 }
+```
+
+```
+pktcDevEvThrottleInterval OBJECT-TYPE
+```
+
+```
+SYNTAX Unsigned32
+```
+
+```
+UNITS "seconds"
+```
+
+```
+MAX-ACCESS read-write
+```
+
+```
+STATUS current
+```
+
+```
+DESCRIPTION
+```
+
+"This MIB Object contains the interval over which
+the throttle threshold applies." DEFVAL { 1 }
+
+```
+::= { pktcDevEventThrottle 3 }
+```
+
+```
+---
+```
+
+```
+-- Status Reporting
+```
+
+```
+---
+```
+
+```
+pktcDevEvTransmissionStatus OBJECT-TYPE
+```
+
+```
+SYNTAX BITS {
+```
+
+```
+syslogThrottled(0),
+```
+
+```
+snmpThrottled(1),
+```
+
+```
+validSyslogServerAbsent(2),
+```
+
+```
+validSnmpManagerAbsent(3),
+```
+
+```
+syslogTransmitError(4),
+```
+
+```
+snmpTransmitError(5)
+```
+
+```
+}
+```
+
+```
+MAX-ACCESS read-only
+```
+
+```
+STATUS current
+```
+
+```
+DESCRIPTION
+```
+
+"This MIB Object reflects the status of the event
+transmission.
+
+If a bit corresponding to a state is set to a value
+of:
+
+'1', it indicates that the state is true
+
+'0', it indicates that the state is false
+
+'Event throttling' is based on thresholds and the current
+setting of pktcDevEvThrottleAdminStatus.
+
+'Server/Manager' indicators must be based on the
+availability of valid Syslog server/SNMP managers.
+
+'Transmit Errors' must only be used in cases where the
+PacketCable Device can identify unavailable servers."
+
+::= { pktcDevEventStatus 1 }
+
+---
+
+-- Event Descriptions
+
+---
+
+pktcDevEventDescrTable OBJECT-TYPE
+
+SYNTAX SEQUENCE OF PktcDevEventDescrEntry
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB table contains all the possible events
+that can be generated by the device. This includes
+both PacketCable defined and vendor-specific events."
+
+::= { pktcDevEventDescr 1 }
+
+pktcDevEventDescrEntry OBJECT-TYPE
+
+SYNTAX PktcDevEventDescrEntry
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+DESCRIPTION
+
+"An entry in this table is created for each
+event the PacketCable Device implementing this
+MIB is capable of reporting."
+
+INDEX { pktcDevEventDescrId, pktcDevEventDescrEnterprise }
+
+::= { pktcDevEventDescrTable 1 }
+
+PktcDevEventDescrEntry ::= SEQUENCE {
+
+pktcDevEventDescrId Unsigned32,
+
+pktcDevEventDescrEnterprise Unsigned32,
+
+pktcDevEventDescrFacility INTEGER,
+
+pktcDevEventDescrLevel INTEGER,
+
+pktcDevEventDescrReporting BITS,
+
+pktcDevEventDescrText SnmpAdminString
+
+}
+
+pktcDevEventDescrId OBJECT-TYPE
+
+SYNTAX Unsigned32
+
+MAX-ACCESS not-accessible
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object contains the event identifier for the
+specific event to which the priority and display
+strings belong.
+
+The event identifier can either be PacketCable defined
+or vendor-specific."
+
+::= { pktcDevEventDescrEntry 1 }
+
+pktcDevEventDescrEnterprise OBJECT-TYPE
+
+SYNTAX Unsigned32
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object provides the IANA enterprise number of
+the Organization defining the event. Thus, all PacketCable
+defined events will contain the CableLabs IANA enterprise
+number and for vendor-specific events it will contain
+the IANA enterprise number of the defining organization."
+
+::= { pktcDevEventDescrEntry 2 }
+
+### pktcDevEventDescrFacility OBJECT-TYPE
+
+SYNTAX INTEGER {
+ kernel(0),
+ user(1),
+ mail(2),
+ daemon(3),
+ auth(4),
+ syslog(5),
+ lpr(6),
+ news(7),
+ uucp(8),
+ cron(9),
+ authPriv(10),
+ ftp(11),
+ ntp(12),
+ security(13),
+ console(14),
+ clockDaemon(15),
+ local0(16),
+ local1(17),
+ local2(18),
+ local3(19),
+ local4(20),
+ local5(21),
+ local6(22),
+ local7(23)
+}
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "This MIB Object contains the facility
+ for the event.
+ For PacketCable events this MUST be set to
+ local0(16)."
+::= { pktcDevEventDescrEntry 3 }
+
+### pktcDevEventDescrLevel OBJECT-TYPE
+
+SYNTAX INTEGER {
+ emergency(0),
+ alert(1),
+ critical(2),
+ error(3),
+ warning(4),
+ notice(5),
+ info(6),
+ debug(7)
+}
+MAX-ACCESS read-write
+STATUS current
+DESCRIPTION
+ "This MIB Object contains the priority level that
+ is controlled by this entry.
+ The levels are described as:
+
+ emergency(0) - A condition that makes the system unusable.
+ alert(1) - A service-affecting condition for which
+ immediate action must be taken.
+ critical(2) - A service-affecting critical condition.
+ error(3) - An error condition.
+ warning(4) - A warning condition.
+ notice(5) - A normal but significant condition.
+ info(6) - An informational message.
+ debug(7) - A debug message."
+
+```
+
+ ::= { pktcDevEventDescrEntry 4 }
+
+pktcDevEventDescrReporting OBJECT-TYPE
+ SYNTAX BITS {
+ local(0),
+ syslog(1),
+ snmpTrap(2),
+ snmpInform(3)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This MIB Object defines the action to be taken on
+ occurrence of this event class.
+
+ Setting a bit to a value of '1' indicates that the
+ corresponding action will be taken upon occurrence of
+ this event, provided the required parameters are present.
+ (e.g.,: Syslog Server for Syslog messages, SNMP targets for
+ SNMP traps and SNMP INFORMS etc). If none of the bits
+ is set, then no action is taken upon occurrence of the
+ event.
+
+ The default value of this MIB Object is dependent on the
+ value of the MIB Object 'pktcDevEventDescrLevel', for the
+ corresponding event.
+
+ For the following values of 'pktcDevEventDescrLevel':
+ emergency(0), alert(1), critical(2) and error(3),
+ the PacketCable device MUST set the bits for local(0),
+ syslog(1) and snmpInform(3) to a value of '1' and the rest
+ to a value of '0'.
+
+ For all the remaining values of 'pktcDevEventDescrLevel',
+ the PacketCable device MUST set the bits for local(0) and
+ syslog(1) to a value of '1' and the rest to a value of
+ '0'."
+
+ ::= { pktcDevEventDescrEntry 5 }
+
+pktcDevEventDescrText OBJECT-TYPE
+ SYNTAX SnmpAdminString(SIZE (0..127))
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This MIB Object contains event display
+ string providing a human-readable description of the
+ event."
+
+ ::= { pktcDevEventDescrEntry 6 }
+
+---
+-- Events generated
+---
+
+pktcDevEventLogTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcDevEventLogEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This MIB table contains a log of the events
+ generated by the PacketCable device.
+ A description of all the events that can be
+ generated by the device can be obtained from the
+ MIB table 'pktcDevEventDescrTable'."
+
+ ::= { pktcDevEventLog 1 }
+
+```
+
+```
+
+pktcDevEventLogEntry OBJECT-TYPE
+ SYNTAX PktcDevEventLogEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "Each entry in this table describes an event that
+ has occurred, indexed in the chronological order of
+ generation. The details of the event are borrowed
+ from the parameters associated with the corresponding
+ event entry in 'pktcDevEventDescrTable', at the
+ time of the event generation.
+ While all entries created as such can be cleared using
+ the MIB Object pktcDevEvControl, the Event entries
+ themselves cannot be individually deleted."
+
+ INDEX { pktcDevEvLogIndex }
+ ::= { pktcDevEventLogTable 1 }
+
+PktcDevEventLogEntry ::= SEQUENCE {
+ pktcDevEvLogIndex Unsigned32,
+ pktcDevEvLogTime DateAndTime,
+ pktcDevEvLogEnterprise Unsigned32,
+ pktcDevEvLogId Unsigned32,
+ pktcDevEvLogText SnmpAdminString,
+ pktcDevEvLogEndpointName SnmpAdminString,
+ pktcDevEvLogType BITS,
+ pktcDevEvLogTargetInfo SnmpAdminString,
+ pktcDevEvLogCorrelationId Unsigned32,
+ pktcDevEvLogAdditionalInfo SnmpAdminString
+}
+
+pktcDevEvLogIndex OBJECT-TYPE
+ SYNTAX Unsigned32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This MIB Object provides relative ordering of the
+ objects in the event log.
+ This object will always increase except when
+ (a) the log is reset via pktcDevEvControl,
+ (b) the device reboots and does not implement non-volatile
+ storage for this log,
+ (c) it reaches the value 2^31.
+ The next entry for all the above cases is 0.
+ This also serves as an indicator of event sequence."
+ ::= { pktcDevEventLogEntry 1 }
+
+pktcDevEvLogTime OBJECT-TYPE
+ SYNTAX DateAndTime
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This MIB Object provides a human-readable description
+ of the time at which the event occurred."
+ ::= { pktcDevEventLogEntry 2 }
+
+pktcDevEvLogEnterprise OBJECT-TYPE
+ SYNTAX Unsigned32
+ MAX-ACCESS read-only
+ STATUS current
+
+```
+
+#### DESCRIPTION
+
+"This MIB Object provides the IANA enterprise number of the Organization defining the event. Thus, all PacketCable defined events will contain the CableLabs IANA enterprise number and for vendor-specific events it will contain the IANA enterprise number of the defining organization."
+
+::= { pktcDevEventLogEntry 3 }
+
+### pktcDevEvLogId OBJECT-TYPE
+
+SYNTAX Unsigned32
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object contains the event identifier for the specific event to which the priority and display strings belong.
+
+The event identifier can either be PacketCable defined or vendor-specific."
+
+::= { pktcDevEventLogEntry 4 }
+
+### pktcDevEvLogText OBJECT-TYPE
+
+SYNTAX SnmpAdminString
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object contains the contents of pktcDevEventDescrText, corresponding to the event, at the moment of generation."
+
+::= { pktcDevEventLogEntry 5 }
+
+### pktcDevEvLogEndpointName OBJECT-TYPE
+
+SYNTAX SnmpAdminString
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object provides the endpoint identifier followed by the PacketCable MTA's Fully Qualified Domain Name (FQDN) and the IP Address (IP) of the PacketCable MTA device.
+
+This will be denoted as follows:
+
+aaln/n:/, where 'n' is the Endpoint number.
+
+or
+
+/ if it is not specific to an endpoint."
+
+::= { pktcDevEventLogEntry 6 }
+
+### pktcDevEvLogType OBJECT-TYPE
+
+SYNTAX BITS {
+
+local(0),
+
+syslog (1),
+
+trap (2),
+
+inform (3)
+
+}
+
+MAX-ACCESS read-only
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object contains the kind of actions taken by the PacketCable device when the event under consideration occurred.
+
+A bit with a value of 1 indicates the corresponding action was taken. Setting it to a value of 0 indicates that the corresponding action was not taken.
+
+An event may trigger one or more actions (e.g.: Syslog and SNMP) or may remain as a local event since transmissions could be disabled or inhibited as defined by the Throttle MIB Objects."
+
+::= { pktcDevEventLogEntry 7 }
+
+pktcDevEvLogTargetInfo OBJECT-TYPE
+
+SYNTAX SnmpAdminString
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object contains a comma separated list of the actions taken, along with the target IP address for the generated event.
+
+The syntax is as:
+
+, ,
+
+Where is to be denoted as follows:
+
+For Syslog events:
+
+syslog/
+
+For SNMP traps:
+
+snmpTrap/
+
+For SNMP INFORMS:
+
+snmpInform/
+
+If there are multiple targets for the same type (SNMP Traps sent to multiple IP addresses) or if there are multiple messages sent to the same IP (Syslog and SNMP sent to the same IP address) they need to be reported individually."
+
+::= { pktcDevEventLogEntry 8 }
+
+pktcDevEvLogCorrelationId OBJECT-TYPE
+
+SYNTAX Unsigned32
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+" This MIB Object contains the correlation ID generated by the MTA as per section 5.4.5 of [7] that was being used by the MTA when the event was generated."
+
+::= { pktcDevEventLogEntry 9 }
+
+pktcDevEvLogAdditionalInfo OBJECT-TYPE
+
+SYNTAX SnmpAdminString
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB Object contains additional, useful information in relation to the corresponding event that a PacketCable device might wish to report (for example: parameterized data or debugging information). The format is vendor-specific.
+
+However, the PacketCable device is not required to implement this functionality."
+
+::= { pktcDevEventLogEntry 10 }
+
+```
+
+---
+-- Notifications
+---
+
+pktcDevEvNotificationIndex OBJECT IDENTIFIER ::=
+ { pktcDevEvNotification 0 }
+
+pktcDevEvInform NOTIFICATION-TYPE
+ OBJECTS {pktcDevEvLogIndex, pktcDevEvLogTime,
+ pktcDevEvLogEnterprise,pktcDevEvLogId,
+ pktcDevEvLogEndpointName,pktcDevEvLogCorrelationId,ifPhysAddress}
+ STATUS current
+ DESCRIPTION
+ "This Notification MIB Objects contains the Inform
+ contents for event reporting "
+ ::= { pktcDevEvNotificationIndex 1 }
+
+pktcDevEvTrap NOTIFICATION-TYPE
+ OBJECTS {pktcDevEvLogIndex, pktcDevEvLogTime,
+ pktcDevEvLogEnterprise,pktcDevEvLogId,
+ pktcDevEvLogEndpointName,pktcDevEvLogCorrelationId,ifPhysAddress}
+ STATUS current
+ DESCRIPTION
+ "This Notification MIB Objects contains the Trap contents
+ for event reporting "
+ ::= { pktcDevEvNotificationIndex 2 }
+
+---
+-- Conformance/Compliance
+---
+
+pktcEventConformance OBJECT IDENTIFIER ::= { pktcEventMib 7 }
+pktcEventCompliances OBJECT IDENTIFIER ::= { pktcEventConformance 1 }
+pktcEventGroups OBJECT IDENTIFIER ::= { pktcEventConformance 2 }
+
+pktcEventBasicCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION
+ "The compliance statement for devices that implement
+ Event reporting feature."
+ MODULE --pktcEventMib
+
+MANDATORY-GROUPS {
+ pktcEventGroup,
+ pktcEventNotificationGroup
+}
+
+-- units of conformance
+::= { pktcEventCompliances 3 }
+
+pktcEventGroup OBJECT-GROUP
+ OBJECTS {
+ pktcDevEvControl,
+ pktcDevEvSyslogAddressType,
+ pktcDevEvSyslogAddress,
+ pktcDevEvSyslogUdpPort,
+ pktcDevEvThrottleAdminStatus,
+ pktcDevEvThrottleThreshold,
+ pktcDevEvThrottleInterval,
+ pktcDevEvTransmissionStatus,
+ pktcDevEventDescrEnterprise,
+ pktcDevEventDescrFacility,
+ pktcDevEventDescrLevel,
+ }
+
+```
+
+```
+
+ pktcDevEventDescrReporting,
+ pktcDevEventDescrText,
+ pktcDevEvLogIndex,
+ pktcDevEvLogTime,
+ pktcDevEvLogEnterprise,
+ pktcDevEvLogId,
+ pktcDevEvLogText,
+ pktcDevEvLogEndpointName,
+ pktcDevEvLogType,
+ pktcDevEvLogTargetInfo,
+ pktcDevEvLogCorrelationId,
+ pktcDevEvLogAdditionalInfo
+ }
+
+```
+
+```
+STATUS current
+```
+
+```
+DESCRIPTION
+```
+
+```
+ "Group of MIB objects for PacketCable Management Event
+ MIB."
+```
+
+```
+::= { pktcEventGroups 1 }
+```
+
+```
+pktcEventNotificationGroup NOTIFICATION-GROUP
+```
+
+```
+NOTIFICATIONS { pktcDevEvInform, pktcDevEvTrap }
+```
+
+```
+STATUS current
+```
+
+```
+DESCRIPTION
+```
+
+```
+ "Group of MIB objects for notifications related to
+ change in status of the MTA Device."
+```
+
+```
+::= { pktcEventGroups 2 }
+```
+
+```
+END
+```
+
+## Annex E
+
+## Extension MTA MIB
+
+(This annex forms an integral part of this Recommendation)
+
+The Extension MTA MIB MUST be implemented as defined below.
+
+PKTC-EN-MTA-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+
+| | |
+|---------------------------------|--------------------|
+| MODULE-IDENTITY, OBJECT-TYPE | FROM SNMPv2-SMI |
+| OBJECT-GROUP, MODULE-COMPLIANCE | FROM SNMPv2-CONF |
+| pktcEnhancements | FROM CLAB-DEF-MIB; |
+
+pktcEnMtaMib MODULE-IDENTITY
+
+| | |
+|--------------|--------------------------------------|
+| LAST-UPDATED | "200501280000Z - January 28, 2005" |
+| ORGANIZATION | "Cable Television Laboratories, Inc" |
+
+CONTACT-INFO
+
+"Sumanth Channabasappa
+Postal: Cable Television Laboratories, Inc.
+858 Coal Creek Circle
+Louisville, Colorado 80027-9750
+U.S.A.
+Phone: +1 303-661-9100
+Fax: +1 303-661-9199
+E-mail: mibs@cablelabs.com"
+
+DESCRIPTION
+
+"This MIB module enhances the basic management objects defined for the PacketCable MTA Device by the MIB group pktcMtaMib.
+
+Acknowledgements:
+
+| | | |
+|--------------------|---|----------------------|
+| Rodney Osborne | - | Arris Interactive |
+| Eugene Nechamkin | - | BroadCom Corporation |
+| Satish Kumar | - | Texas Instruments |
+| Jean-Francois Mule | - | CableLabs |
+| Venkatesh Sunkad | - | CableLabs |
+
+Copyright 1999-2005 Cable Television Laboratories, Inc.
+All rights reserved."
+
+REVISION "200501280000Z"
+
+DESCRIPTION
+
+"This revision is being published as part of the PacketCable MTA MIBs enhancements for PacketCable 1.5."
+
+::= { pktcEnhancements 1 }
+
+--
+
+-- PacketCable Enhanced MTA MIB Objects
+
+--
+
+| | |
+|----------------------|-------------------------------------------------|
+| pktcEnMtaMibObjects | OBJECT IDENTIFIER ::= { pktcEnMtaMib 1 } |
+| pktcEnMtaDevBase | OBJECT IDENTIFIER ::= { pktcEnMtaMibObjects 1 } |
+| pktcEnMtaDevServer | OBJECT IDENTIFIER ::= { pktcEnMtaMibObjects 2 } |
+| pktcEnMtaDevSecurity | OBJECT IDENTIFIER ::= { pktcEnMtaMibObjects 3 } |
+
+```
+
+--
+-- Enhanced notification group.
+--
+
+pktcEnMtaNotificationPrefix OBJECT IDENTIFIER ::= { pktcEnMtaMib 2 }
+pktcEnMtaNotification OBJECT IDENTIFIER ::= { pktcEnMtaNotificationPrefix
+0 }
+pktcEnMtaConformance OBJECT IDENTIFIER ::= { pktcEnMtaMib 3 }
+pktcEnMtaCompliances OBJECT IDENTIFIER ::= { pktcEnMtaConformance 1 }
+pktcEnMtaGroups OBJECT IDENTIFIER ::= { pktcEnMtaConformance 2 }
+
+--
+-- Enhancement MIB Objects
+--
+
+pktcEnMtaDevMltplGrantsPerInterval OBJECT-TYPE
+ SYNTAX INTEGER {
+ enablempifunctionality(1),
+ disablempifunctionality(2)
+ }
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ " This object is used to control the Multiple grants functionality
+ on a PacketCable MTA.
+ To indicate enabling of this functionality, a value of
+ enablempifunctionality(1) is used.
+ To indicate disabling of this functionality, a value of
+ disablempifunctionality(2) is used."
+ DEFVAL {disablempifunctionality}
+ ::= { pktcEnMtaDevBase 1 }
+
+--
+-- Compliance statements
+--
+
+pktcEnMtaBasicCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION
+ "The compliance statement for devices that implement
+ MTA feature."
+ MODULE --PKTC-EN-MTA-MIB
+
+--
+-- Mandatory groups
+--
+
+MANDATORY-GROUPS {
+ pktcEnMtaGroup
+}
+::= { pktcEnMtaCompliances 3 }
+
+pktcEnMtaGroup OBJECT-GROUP
+ OBJECTS {
+ pktcEnMtaDevMltplGrantsPerInterval
+ }
+ STATUS current
+ DESCRIPTION
+ "Group of Enhanced objects for the PacketCable MTA MIB."
+ ::= { pktcEnMtaGroups 1 }
+
+END
+
+```
+
+# Annex F
+
+### Signalling Extension MIB
+
+(This annex forms an integral part of this Recommendation)
+
+The Extension Signalling MIB MUST be implemented as defined below.
+
+PKTC-EN-SIG-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+
+MODULE-IDENTITY,
+OBJECT-TYPE,
+Unsigned32, BITS FROM SNMPv2-SMI
+ifIndex FROM IF-MIB
+SnmpAdminString
+FROM SNMP-FRAMEWORK-MIB
+TruthValue
+FROM SNMPv2-TC
+OBJECT-GROUP,
+MODULE-COMPLIANCE
+FROM SNMPv2-CONF
+pktcEnhancements
+FROM CLAB-DEF-MIB
+pktcNcsEndPntConfigEntry
+FROM PKTC-SIG-MIB;
+
+pktcEnSigMib MODULE-IDENTITY
+LAST-UPDATED "200528010000Z" -- January 28, 2005
+ORGANIZATION "Cable Television Laboratories, Inc "
+CONTACT-INFO
+"Sumanth Channabasappa
+Postal: Cable Television Laboratories, Inc.
+858 Coal Creek Circle
+Louisville, Colorado 80027-9750
+U.S.A.
+Phone: +1 303-661-9100
+Fax: +1 303-661-9199
+E-mail: mibs@cablelabs.com"
+
+DESCRIPTION
+
+"This MIB module enhances the basic management
+objects defined for PacketCable Signalling
+protocols by the MIB group pktcSigMib.
+
+Acknowledgements:
+
+Rodney Osborne - Arris Interactive
+Eugene Nechamkin - Broadcom Corporation
+Satish Kumar - Texas Instruments
+Jean-Francois Mule - CableLabs
+
+Copyright 1999-2004 Cable Television Laboratories, Inc.
+All rights reserved."
+
+REVISION "2005028010000Z"
+
+DESCRIPTION
+
+"This revision is being published as part of the PacketCable
+Signalling MIBs enhancements for PacketCable 1.5."
+::= { pktcEnhancements 2 }
+
+```
+
+--
+-- Enhanced MIB Objects and Divisions.
+--
+pktcEnSigMibObjects OBJECT IDENTIFIER
+ ::= { pktcEnSigMib 1 }
+pktcEnSigDevConfigObjects OBJECT IDENTIFIER
+ ::= { pktcEnSigMibObjects 1 }
+pktcEnNcsEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcEnSigMibObjects 2 }
+pktcEnSigEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcEnSigMibObjects 3 }
+pktcEnDcsEndPntConfigObjects OBJECT IDENTIFIER
+ ::= { pktcEnSigMibObjects 4 }
+
+--
+-- Enhanced Notification groups.
+--
+pktcEnSigNotificationPrefix OBJECT IDENTIFIER
+ ::= { pktcEnSigMib 2 }
+pktcEnSigNotification OBJECT IDENTIFIER
+ ::= { pktcEnSigNotificationPrefix 0 }
+pktcEnSigConformance OBJECT IDENTIFIER
+ ::= { pktcEnSigMib 3 }
+pktcEnSigCompliances OBJECT IDENTIFIER
+ ::= { pktcEnSigConformance 1 }
+pktcEnSigGroups OBJECT IDENTIFIER
+ ::= { pktcEnSigConformance 2 }
+
+pktcEnNcsMinimumDtmfPlayout OBJECT-TYPE
+ SYNTAX Unsigned32 (0 | 40..100)
+ UNITS "milliseconds"
+ MAX-ACCESS read-write
+ STATUS deprecated
+ DESCRIPTION
+ "This object defines the minimum playout time for
+ the DTMF digit when IETF RFC 2833 DTMF Relay is used
+ for the egress gateway.
+ If the value set via this pktcEnNcsMinimumDtmfPlayout
+ object is different from that specified in IETF RFC 2833 packet,
+ then the MTA MUST use the maximum of the two values.
+ For example:
+ If the IETF RFC 2833 packet specifies 23 ms and if the object
+ pktcEnNcsMinimumDtmfPlayout is set to 40 ms, then
+ the egress gateway must use a value of 40 ms.
+ Similarly if the IETF RFC 2833 packet specifies
+ 60 ms and if the object pktcEnNcsMinimumDtmfPlayout
+ is set to 40 ms, then the egress gateway must use a
+ value of 60 ms."
+ REFERENCE
+ "PacketCable(tm) Codec Specification"
+ DEFVAL {0}
+ ::= { pktcEnSigDevConfigObjects 1 }
+
+--
+-- The following table enhances the NCS End Point Config Table
+
+```
+
+```
+
+-- (pktcNcsEndPntConfigTable) defined in pktSigMib.
+--
+--
+pktcEnNcsEndPntConfigTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcEnNcsEndPntConfigEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This table augments pktcNcsEndPntConfigTable."
+ ::= { pktcEnNcsEndPntConfigObjects 1 }
+
+pktcEnNcsEndPntConfigEntry OBJECT-TYPE
+ SYNTAX PktcEnNcsEndPntConfigEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "An enhancement to pktcNcEndPntConfigTable - where each
+ entry describes endpoint characteristics."
+ AUGMENTS { pktcNcsEndPntConfigEntry }
+ ::= { pktcEnNcsEndPntConfigTable 1 }
+
+PktcEnNcsEndPntConfigEntry ::=
+ SEQUENCE {
+ pktcEnNcsEndPntQuarantineState INTEGER,
+ pktcEnNcsEndPntHookState INTEGER,
+ pktcEnNcsEndPntFaxDetection TruthValue,
+ pktcEnNcsEndPntStatusReportCtrl INTEGER
+ }
+
+pktcEnNcsEndPntQuarantineState OBJECT-TYPE
+ SYNTAX INTEGER {
+ normal (1),
+ notification (2),
+ lockstep (3),
+ extendedlockstep (4)
+ }
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This object reflects the state of the Endpoint.
+ When the endpoint is in notification, lockstep or
+ values 'extended lockstep' states, the E-MTA MUST report
+ the value of notification(2), lockstep(3) or extendedlockstep(4),
+ respectively. Else, the endpoint MUST report a value
+ of normal(1).
+ 'Extended Lockstep' is defined as the state when the
+ E-MTA is in the lockstep state for longer than 2 minutes.
+ For more description about the states, refer
+ to the PacketCable Network Based Call signalling
+ specification."
+ REFERENCE
+ "PacketCable(tm) Network-Based Call Signalling Protocol
+ Specification,"
+ ::= { pktcEnNcsEndPntConfigEntry 1 }
+
+pktcEnNcsEndPntHookState OBJECT-TYPE
+ SYNTAX INTEGER {
+ onHook (1),
+ onHookPlusNCSActivity (2),
+ offHook (3)
+ }
+
+```
+
+```
+
+ }
+MAX-ACCESS read-only
+STATUS current
+DESCRIPTION
+ "This object reflects the 'hook state' and 'NCS Activity'
+ of an endpoint.
+ 'NCS Activity', by definition includes: an active
+ timeout signal, active brief signal or existence of
+ an NCS connection.
+ The onHook(1) state indicates that the endpoint is
+ 'on hook' and the absence of 'NCS Activity' on that
+ endpoint.
+ The onHookPlusNCSActivity(2) indicates that the endpoint
+ is 'on hook' and the presence of 'NCS Activity' on that
+ endpoint.
+ The offHook(3) state indicates that the endpoint is
+ 'off hook'."
+
+REFERENCE
+ "PacketCable(tm) Network-Based Call Signalling Protocol
+Specification"
+ ::= { pktcEnNcsEndPntConfigEntry 2 }
+
+pktcEnNcsEndPntFaxDetection OBJECT-TYPE
+ SYNTAX TruthValue
+ MAX-ACCESS read-create
+ STATUS current
+ DESCRIPTION
+ "This MIB object is used to configure
+ the distinctive fax calling tone (CNG) detection feature
+ on an MTA endpoint with reference to the analog interface.
+ When set to true, the MTA MUST enable the detection
+ of CNG tones on the specific endpoint.
+ When set to false, the MTA MUST disable the detection
+ of CNG tones on the specific endpoint.
+ If a connection already exists on the endpoint when this
+ MIB Object is modified, then the setting needs to take
+ effect on the next connection."
+
+ DEFVAL {false}
+ ::= { pktcEnNcsEndPntConfigEntry 3 }
+
+pktcEnNcsEndPntStatusReportCtrl OBJECT-TYPE
+ SYNTAX INTEGER {
+ unsupported (1),
+ reportActualStatus (2),
+ reportEndPointAsActive (3)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This MIB object is used to control
+ the Endpoint Status Reporting, if the feature is
+ supported by the MTA and is configurable.
+ The term 'Endpoint Status Reporting' refers to any
+ information that the MTA may provide to External
+ Systems for use in a particular reporting mechanism
+ (Ex: Home Alarm Systems). The definition of the External
+ Systems and reporting mechanism are beyond the scope
+ of this definition (In the example of Home Alarm Systems,
+ this MIB Object will allow Management Stations to
+ temporarily disable outage reporting on an EndPoint
+ during planned downtime).
+
+```
+
+```
+
+If supported, the MTA MUST:
+- reflect the actual Endpoint status when the value
+ is set to 'reportActualStatus(2)'
+- reflect the EndPoint status as being active when the
+ value is set to 'reportEndPointAsActive(3)',
+ irrespective of the actual status.
+If unsupported, the MTA MUST set this value to
+'unsupported(1)' and reject any attempt to set
+this MIB object using SNMP SET to any other value."
+::= { pktcEnNcsEndPntConfigEntry 4}
+
+pktcEnEndPntInfoTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcEnEndPntInfoTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This table includes any additional information
+ associated with PacketCable EndPoints.
+ The number of entries in this table represents the
+ number of available PacketCable EndPoints."
+ ::= { pktcEnNcsEndPntConfigObjects 2 }
+
+pktcEnEndPntInfoTableEntry OBJECT-TYPE
+ SYNTAX PktcEnEndPntInfoTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "An entry in this table MUST be created for each
+ PacketCable EndPoint.
+ The index needs to be the corresponding index in the ifTable
+ for the associated PacketCable EndPoint."
+ INDEX { ifIndex }
+ ::= { pktcEnEndPntInfoTable 1 }
+
+PktcEnEndPntInfoTableEntry ::=
+ SEQUENCE {
+ pktcEnEndPntFgnPotSupport BITS,
+ pktcEnEndPntFgnPotDescr SnmpAdminString,
+ pktcEnEndPntClrFgnPotTsts BITS,
+ pktcEnEndPntRunFgnPotTsts BITS,
+ pktcEnEndPntFgnTestValidity BITS,
+ pktcEnEndPntFgnTestResults BITS
+ }
+
+pktcEnEndPntFgnPotSupport OBJECT-TYPE
+ SYNTAX BITS {
+ fgnPotDetection (0),
+ hazardousFgnPotDetection (1)
+ }
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This MIB object indicates the capabilities of the MTA to
+ detect various conditions related to the presence of
+ foreign potential on an endpoint.
+ The MTA MUST set a value of '1' for each bit corresponding
+ to a supported functionality and a value of '0' for each
+ bit corresponding to an unsupported functionality."
+ ::= { pktcEnEndPntInfoTableEntry 1 }
+
+```
+
+```
+
+pktcEnEndPntFgnPotDescr OBJECT-TYPE
+ SYNTAX SnmpAdminString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "This MIB object provides information related to the
+ various tests for each detection mechanism supported by
+ the MTA. While the actual contents are vendor-specific,
+ the recommended format is:
+ [::::]...
+ Example:
+ ::::;
+ ::::
+ "
+ ::= { pktcEnEndPntInfoTableEntry 2 }
+
+pktcEnEndPntClrFgnPotTsts OBJECT-TYPE
+ SYNTAX BITS {
+ clrFgnPotentialResults (0),
+ clrHazardousPotResults (1)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This MIB object is used to clear the current test
+ results of supported conditions indicated by
+ 'pktcEnEndPntFgnPotSupport'.
+ Setting a bit to a value of '1' clears the corresponding
+ results in the MIB Object 'pktcEnEndPntFgnTestResults' and
+ the validity as indicated by the MIB object
+ 'pktcEnEndPntFgnTestValidity' for the supported
+ conditions only (i.e, the MTA MUST set the corresponding
+ bits to a value of '0' in the indicated tables).
+ If an SNMP SET attempts to set a bit corresponding to an
+ unsupported condition to a value of '1', then the MTA MUST
+ reject the entire SNMP SET and report an 'inconsistent
+ value' error.
+ For all unsupported scenarios, the corresponding bits MUST
+ be set to a value of '0'.
+ Whenever one or more tests are enabled by the MIB Object
+ 'pktcEnEndPntRunFgnPotTests', the MTA MUST also reset the
+ corresponding bits in this MIB Object to a value of '0'."
+ ::= { pktcEnEndPntInfoTableEntry 3 }
+
+pktcEnEndPntRunFgnPotTsts OBJECT-TYPE
+ SYNTAX BITS {
+ runFgnPotentialTsts (0),
+ runHazardousPotTsts (1)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+ "This MIB object is used to initiate one or more test cases
+ associated with a supported foreign potential detection.
+ Thus, whenever one or more BITS corresponding to supported
+ foreign scenario potential detection mechanisms are set to
+ a value of '1', the MTA MUST enable those tests.
+ Once the tests are executed, the MTA MUST:
+ - set the corresponding bit to a value of '0'
+ - update the corresponding BITS in the MIB Objects
+ 'pktcEnEndPntFgnTestValidity' and
+ "
+
+```
+
+'pktcEnEndPntFgnTestResults'.
+
+If an SNMP SET attempts to set a bit corresponding to an unsupported condition to a value of '1', then the MTA MUST reject the entire SNMP SET and report an 'inconsistent value' error.
+
+Whenever a test is being run on an EndPoint the MTA MUST set the corresponding 'ifOperStatus' MIB Object to a value of 'testing(3)' for the whole duration of the test.
+
+When the test is completed, the MTA MUST set the ifOperStatus to the value corresponding to the current state of the line.
+
+Note: Whenever multiple tests are run, the ordering of the tests or the results is vendor-dependent and need not necessarily follow the ordering of BITS in this MIB Object."
+
+::= { pktcEnEndPntInfoTableEntry 4}
+
+pktcEnEndPntFgnTestValidity OBJECT-TYPE
+
+SYNTAX BITS {
+
+ fgnPotTstValidity (0),
+ hazardousPotTstValidity (1)
+
+}
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB object is used to indicate the validity of the corresponding test cases that were initiated using the MIB Object 'pktcEnEndPntRunFgnPotTests'.
+
+An MTA MUST:
+
+- return a value of '1' if the tests were run successfully and the results are valid.
+- return a value of '0' if a particular test was not initiated or if the tests could not be run successfully and hence the results are invalid.
+
+Note: The MTA MUST set all the BITS to '0' as soon as one or more test cases are initiated."
+
+::= { pktcEnEndPntInfoTableEntry 5}
+
+pktcEnEndPntFgnTestResults OBJECT-TYPE
+
+SYNTAX BITS {
+
+ fgnPotentialResults (0),
+ hazardousPotResults (1)
+
+}
+
+MAX-ACCESS read-only
+
+STATUS current
+
+DESCRIPTION
+
+"This MIB object is used to indicate the results of the corresponding test cases that were initiated using the MIB Object 'pktcEnEndPntRunFgnPotTests'.
+
+An MTA MUST:
+
+- set the corresponding bit to a value of '1' if the tests indicated the presence of a foreign potential as per the associated test case.
+- set the corresponding bit to a value of '0' if the tests indicated the absence of a foreign potential as per the associated test case.
+
+Note: The MTA MUST set all the BITS to '0' as soon as one or more test cases are initiated."
+
+::= { pktcEnEndPntInfoTableEntry 6}
+
+```
+
+pktcEnNcsEndPntLVMgmtTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF PktcEnNcsEndPntLVMgmtTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "This MIB table contains the MIB Objects used for
+ managing loop voltage on an MTA. An MTA MUST
+ implement the defined MIB Objects and the associated
+ functionality."
+ ::= { pktcEnNcsEndPntConfigObjects 3 }
+
+pktcEnNcsEndPntLVMgmtTableEntry OBJECT-TYPE
+ SYNTAX PktcEnNcsEndPntLVMgmtTableEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "Each entry in this MIB table consists of the
+ loop voltage management policy for the specified
+ index. The MTA MUST use the ifIndex with a value of '1'
+ to represent the E-MTA and the remaining indices
+ (if used) to represent the endpoints (as specified
+ in [1]).
+
+ When the ifIndex is set to a value of '1', it represents
+ a policy that MUST be applied to all the lines on an MTA.
+
+ A MTA MUST support access to this MIB Object via the
+ ifIndex set to a value of '1' (i.e., per-device policy). "
+ REFERENCE "PacketCable Device Provisioning specification [1]"
+ INDEX { ifIndex }
+ ::= { pktcEnNcsEndPntLVMgmtTable 1 }
+
+PktcEnNcsEndPntLVMgmtTableEntry ::=
+ SEQUENCE {
+ pktcEnNcsEndPntLVMgmtPolicy INTEGER,
+ pktcEnNcsEndPntLVMgmtResetTimer Unsigned32,
+ pktcEnNcsEndPntLVMgmtMaintTimer Unsigned32
+ }
+
+pktcEnNcsEndPntLVMgmtPolicy OBJECT-TYPE
+ SYNTAX INTEGER {
+ voltage_at_all_times(1),
+ voltage_unless_RF_QAM_absent(2),
+ voltage_based_on_service_or_timers(3),
+ voltage_based_on_service(4)
+ }
+ MAX-ACCESS read-write
+ STATUS current
+ DESCRIPTION
+
+ "This MIB Object allows the Service Provider to choose
+ a suitable policy for Loop Voltage behaviour on MTAs.
+
+ Unless overridden by the operator, the MTA MUST use the
+ default value specified in the definition of this MIB
+ Object.
+
+ The MTA MUST adhere to PacketCable signalling
+ requirements, such as the NCS open loop voltage requirement,
+ irrespective of any chosen policy.
+
+```
+
+For MTAs that need to remove loop voltage during the MTA initialization phase, in contradiction to a chosen policy, such a loop voltage removal period MUST NOT exceed 1000 ms.
+
+The MTA MUST retain the value of this MIB Object across hard reboots or soft resets (for a definition of the terms, please refer to ITU-T Rec. J.160).
+
+This MIB object specifies four policies. An informative illustration of the E-MTA behaviour with different policies is presented in Appendix A.
+
+Provisioned line is an MTA Endpoint that has been provided with valid per-line configuration data either via the configuration file (during provisioning) or the SNMP management interface.
+
+When the MIB Object is set to a value of `voltage_at_all_times(1)`, - indicating Policy 1 - the MTA MUST maintain the loop idle voltage on all lines, irrespective of the line status.
+
+When this MIB Object is set to a value of `voltage_unless_RF_QAM_absent(2)`- indicating Policy 2 - the MTA MUST apply loop idle voltage at all times except when it confirms the absence of any RF QAM carrier, following a complete scan of the spectrum (i.e., loop voltage is maintained during the scan). When the MTA detects the presence of any RF QAM carrier, it MUST apply the loop idle voltage. Additionally, the following conditions apply:
+
+- during a hard reboot, this policy applies at all lines until the MTA is successfully provisioned ( i.e., `pktcMtaDevProvisioningState` has a value other than `'inProgress'` )
+- once the MTA is successfully provisioned ( i.e., `pktcMtaDevProvisioningState` has a value of `'pass(1)'`, `'passWithWarnings(4)'` or `'passWithIncompleteParsing(5)'` ), then the policy applies to all provisioned lines
+- upon the onset of a re-initialization due to a soft reset (via SNMP or Rf conditions), the MTA MUST continue to maintain the existing policy and state on previously provisioned lines, unless overridden by a policy or the provisioning process specifies otherwise
+
+This policy is similar to Policy 1, except for the ability to recognize events like cable cuts (due to malicious activities, or otherwise).
+
+The following requirements apply to policies 3 and 4:
+
+- upon the onset of a re-initialization due to a soft reset, the MTA MUST continue to maintain the existing policy and state on provisioned lines, unless overridden by a policy or the provisioning process specifies otherwise
+- once the provisioning process is completed with the value of the MIB Object `pktcMtaDevProvisioningState` set to a value of `'pass(1)'`, `'passWithWarnings(4)'` or `'passWithIncompleteParsing(5)'`, the MTA MUST apply the chosen policy to all the provisioned lines
+
+When this MIB Object is set to a value of voltage\_based\_on\_service\_or\_timers(3) - indicating Policy 3 - the MTA MUST adhere to the requirements that follow at any given point in time:
+
+- when the timer defined by pktcEnNcsEndPntLVMgmtResetTimer has a non-zero value, the MTA MUST apply loop idle voltage under all circumstances (similar to policy 1). Refer to the definition of the MIB Object for the persistence and timer requirements.
+- when the timer defined by pktcEnNcsEndPntLVMgmtMaintTimer has a non-zero value, the MTA MUST maintain a line's loop idle voltage state that was in effect prior to the timer being set to a non-zero value. Refer to the definition of the MIB Object defining the timer for the persistence and timer requirements.
+- When the timers defined by pktcEnNcsEndPntLVMgmtMaintTimer and pktcEnNcsEndPntLVMgmtResetTimer have expired (both have a value of zero), then:
+ - = the MTA MUST apply loop voltage if the provisioning process is completed with the value of pktcMtaDevProvisioningState set to a value of than 'pass(1)', 'passWithWarnings(4)' or 'passWithIncompleteParsing(5)'
+ - = During a T4 timeout (note: the timers have expired), the E-MTA MUST remove loop idle voltage on all lines
+- When both the timers are active (i.e., they both have non-zero values), then the timer defined by the MIB Object pktcEnNcsEndPntLVMgmtMaintTimer takes precedence
+- if none of the above cases applies, the MTA MUST remove loop idle voltage on all lines
+
+When the MIB Object is set to a value of voltage\_based\_on\_service(4) - indicating Policy 4 - the following conditions apply at any given point in time:
+
+- the MTA MUST apply loop idle voltage to all the provisioned lines if the value of the MIB Object 'pktcMtaDevProvisioningState' is set to a value of 'pass(1)', 'passWithWarnings(4)' or 'passWithIncompleteParsing(5)'
+ - in all other cases, the MTA MUST remove loop idle voltage on all lines."
+- REFERENCE "PacketCable Device Provisioning specification [1]"
+- DEFVAL { voltage\_based\_on\_service }
+- ::= { pktcEnNcsEndPntLVMgmtTableEntry 1 }
+
+pktcEnNcsEndPntLVMgmtResetTimer OBJECT-TYPE
+
+SYNTAX Unsigned32 (0..1440)
+
+UNITS "minutes"
+
+MAX-ACCESS read-write
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object specifies the time duration allowed for an MTA to successfully provision and is only applicable when the MIB Object pktcEnNcsEndPntLVMgmtPolicy is set to a value of 'voltage\_based\_on\_service\_or\_timers(3)'." In all other cases, the MTA MUST:
+
+- return a value of '0' upon any retrieval requests
+- return an error of 'inconsistentValue' upon any modification requests
+
+The value contained by this MIB Object is a countdown timer and the MTA MUST start counting down the configured value only upon a hard reboot, a soft reset or a T4 timeout. Once this timer has reached a value of zero, the MTA MUST retain the value (of zero) until successfully configured otherwise. The MTA MUST use a change in the value of this MIB Object only on the next hard reboot, soft reset or T4 timeout.
+
+The MTA MUST persist the last configured value (i.e., not the countdown value) of this MIB Object across hard reboots and soft resets.
+
+Refer to the MIB Object pktcEnNcsEndPntLVMgmtPolicy for usage within 'voltage\_based\_on\_service\_or\_timers(3)'."
+
+DEFVAL { 5 }
+::= { pktcEnNcsEndPntLVMgmtTableEntry 2 }
+
+### pktcEnNcsEndPntLVMgmtMaintTimer OBJECT-TYPE
+
+SYNTAX Unsigned32 (0..1440)
+
+UNITS "minutes"
+
+MAX-ACCESS read-write
+
+STATUS current
+
+#### DESCRIPTION
+
+"This MIB Object allows the operator to specify the time that loop voltage condition will be maintained, irrespective of the changes to the MTA. It is only applicable when the MIB Object pktcEnNcsEndPntLVMgmtPolicy is set to a value of 'voltage\_based\_on\_service\_or\_timers(3)'." In all other cases, the MTA MUST:
+
+- return a value of '0' upon any retrieval requests
+- return an error of 'inconsistentValue' upon any modification requests
+
+The value contained in this MIB Object is a countdown timer and the MTA MUST start counting down the value immediately after a successful configuration to a non-zero value. Once this timer has reached a value of zero, the MTA MUST retain the value (of zero) until successfully configured otherwise.
+
+The MTA MUST retain the value of this MIB Object (i.e., the countdown value) across soft resets. The MTA MUST reset the value of this MIB Object (to its default value) during a hard reboot of the MTA.
+
+Refer to the MIB Object pktcEnNcsEndPntLVMgmtPolicy for information about applicability and usage."
+
+DEFVAL { 0 }
+::= { pktcEnNcsEndPntLVMgmtTableEntry 3 }
+
+--
+
+```
+
+-- Compliance statements
+--
+pktcSigBasicCompliance MODULE-COMPLIANCE
+ STATUS current
+ DESCRIPTION
+ "The compliance statement for devices that implement
+ PacketCable defined Signalling on an MTA."
+
+ MODULE PKTC-EN-SIG-MIB
+
+--
+-- Mandatory groups
+--
+MANDATORY-GROUPS {
+ pktcEnSigGroup
+}
+GROUP pktcEnNcsGroup
+DESCRIPTION
+ "This group is mandatory for any MTA implementing
+ PacketCable signalling."
+ ::= { pktcEnSigCompliances 1 }
+
+--
+-- Conformance group for common Signalling.
+--
+pktcEnSigGroup OBJECT-GROUP
+ OBJECTS {
+ pktcEnNcsMinimumDtmfPlayout
+ }
+ STATUS current
+ DESCRIPTION
+ "Enhanced group of objects for the common portion of the
+ PacketCable Signalling MIB."
+ ::= { pktcEnSigGroups 1 }
+
+--
+-- Conformance group for NCS Signalling.
+--
+pktcEnNcsGroup OBJECT-GROUP
+ OBJECTS {
+ pktcEnNcsEndPntQuarantineState,
+ pktcEnNcsEndPntHookState,
+ pktcEnNcsEndPntFaxDetection,
+ pktcEnEndPntFgnPotSupport,
+ pktcEnEndPntFgnPotDescr,
+ pktcEnEndPntClrFgnPotTsts,
+ pktcEnEndPntRunFgnPotTsts,
+ pktcEnEndPntFgnTestValidity,
+ pktcEnEndPntFgnTestResults
+ }
+ STATUS current
+ DESCRIPTION
+ "Enhanced group of objects for the NCS portion of the
+ PacketCable Signalling MIB. This is mandatory for
+ NCS signalling support."
+ ::= { pktcEnSigGroups 2 }
+
+--
+-- Conformance group for Loop Voltage Management
+--
+
+```
+
+```
+
+pktcEnNcsLVMgmtGroup OBJECT-GROUP
+ OBJECTS {
+ pktcEnNcsEndPntLVMgmtPolicy,
+ pktcEnNcsEndPntLVMgmtResetTimer,
+ pktcEnNcsEndPntLVMgmtMaintTimer
+ }
+ STATUS current
+ DESCRIPTION
+ "Enhanced group of objects for the loop voltage
+ Management of PacketCable MTAs based on Signalling
+ and configured policies."
+ ::= { pktcEnSigGroups 3 }
+
+pktcEnNcsDeprecatedGroup OBJECT-GROUP
+ OBJECTS {
+ pktcEnNcsEndPntStatusReportCtrl
+ }
+ STATUS deprecated
+ DESCRIPTION
+ "This contains a list of deprecated Extension
+ Signalling MIB Objects."
+ ::= { pktcEnSigGroups 4 }
+
+END
+
+```
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/J/T-REC-J.167-200712-I_PDF-E/raw.md b/marked/J/T-REC-J.167-200712-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..20462c395f3235526cca3ef3b6d193720f353d41
--- /dev/null
+++ b/marked/J/T-REC-J.167-200712-I_PDF-E/raw.md
@@ -0,0 +1,2552 @@
+
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**J.167**
+
+(12/2007)
+
+SERIES J: CABLE NETWORKS AND TRANSMISSION
+OF TELEVISION, SOUND PROGRAMME AND OTHER
+MULTIMEDIA SIGNALS
+
+IPCablecom
+
+---
+
+**Media terminal adapter (MTA) device
+provisioning requirements for the delivery of
+real-time services over cable television
+networks using cable modems**
+
+ITU-T Recommendation J.167
+
+
+
+# **ITU-T Recommendation J.167**
+
+# **Media terminal adapter (MTA) device provisioning requirements for the delivery of real-time services over cable television networks using cable modems**
+
+# **Summary**
+
+ITU-T Recommendation J.167 describes the IPCablecom media terminal adapter (MTA) device initialization and provisioning process. It is limited to the provisioning of an IPCablecom embedded-MTA device by a single provisioning and network management provider.
+
+## **Source**
+
+ITU-T Recommendation J.167 was approved on 14 December 2007 by ITU-T Study Group 9 (2005-2008) under the ITU-T Recommendation A.8 procedure.
+
+## 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 permanent 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, establishes 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-T's purview, the necessary standards 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 Recommendation 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 equivalents 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 claimed 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 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 .
+
+© ITU 2008
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+# CONTENTS
+
+###### Page
+
+| | | |
+|------|--------------------------------------------------------------------------------|----|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 2.1 | Normative references..... | 1 |
+| 2.2 | Informative references..... | 2 |
+| 3 | Terms and definitions ..... | 3 |
+| 4 | Abbreviations and conventions..... | 3 |
+| 4.1 | Abbreviations ..... | 3 |
+| 4.2 | Conventions..... | 3 |
+| 5 | Introduction ..... | 4 |
+| 5.1 | Service goals..... | 4 |
+| 5.2 | Specification goals..... | 4 |
+| 5.3 | IP Cablecom reference architecture..... | 5 |
+| 5.4 | Components and interfaces..... | 6 |
+| 6 | Provisioning overview ..... | 10 |
+| 6.1 | Device provisioning..... | 10 |
+| 6.2 | Endpoint provisioning ..... | 10 |
+| 6.3 | Provisioning state transitions..... | 10 |
+| 6.4 | Basic and hybrid flow provisioning state transitions ..... | 11 |
+| 7 | Provisioning flows..... | 11 |
+| 7.1 | Backoff, retries and time-outs ..... | 12 |
+| 7.2 | Embedded-MTA power-on initialization flows ..... | 13 |
+| 7.3 | Embedded-MTA power-on initialization flow (Basic flow)..... | 24 |
+| 7.4 | Embedded-MTA power-on initialization flow (Hybrid flow)..... | 25 |
+| 7.5 | Endpoint provisioning completion notifications ..... | 28 |
+| 7.6 | Post initialization incremental provisioning..... | 29 |
+| 7.7 | Reflecting the State of the endpoint interface in the ifTable..... | 32 |
+| 7.8 | Provisioning of the signalling communication path between the MTA and CMS..... | 33 |
+| 7.9 | MTA replacement..... | 33 |
+| 7.10 | Temporary signal loss..... | 33 |
+| 7.11 | MTA hard reboot/soft reset scenarios ..... | 33 |
+| 8 | DHCP options..... | 33 |
+| 8.1 | DHCP option 122: Client configuration option..... | 33 |
+| 8.2 | DHCP option 60: Vendor-client identifier ..... | 38 |
+| 8.3 | DHCP options 12 and 15..... | 38 |
+| 8.4 | DHCP option 6 ..... | 38 |
+| 8.5 | DHCP option 43 ..... | 38 |
+| 8.6 | DHCP option 1 ..... | 41 |
+
+| | | |
+|-------|-------------------------------------------------------------------------------------------------------|----|
+| 8.7 | DHCP option 3 ..... | 41 |
+| 8.8 | DHCP OPTION CL_V4_PACKETCABLE_MIB_ENV_OPTION..... | 41 |
+| 9 | MTA provisionable attributes..... | 42 |
+| 9.1 | MTA configuration file ..... | 42 |
+| 10 | MTA device capabilities..... | 56 |
+| 10.1 | IP Cablecom version..... | 57 |
+| 10.2 | Number of telephony endpoints ..... | 57 |
+| 10.3 | TGT support ..... | 57 |
+| 10.4 | HTTP download file access method support..... | 57 |
+| 10.5 | MTA24 event SYSLOG notification support..... | 57 |
+| 10.6 | NCS service flow support..... | 58 |
+| 10.7 | Primary line support ..... | 58 |
+| 10.8 | Vendor specific TLV Type(s) ..... | 58 |
+| 10.9 | NVRAM ticket/Ticket information storage support..... | 58 |
+| 10.10 | Provisioning event reporting support ..... | 58 |
+| 10.11 | Supported CODEC(s)..... | 58 |
+| 10.12 | Silence suppression support ..... | 59 |
+| 10.13 | Echo cancellation support..... | 59 |
+| 10.14 | RSVP support..... | 59 |
+| 10.15 | UGS-AD support..... | 59 |
+| 10.16 | MTA's "ifIndex" starting number in "ifTable" ..... | 60 |
+| 10.17 | Provisioning flow logging support..... | 60 |
+| 10.18 | Supported provisioning flows..... | 60 |
+| 10.19 | T38 version support..... | 61 |
+| 10.20 | T38 error correction support..... | 61 |
+| 10.21 | RFC 2833 DTMF support ..... | 61 |
+| 10.22 | Voice metrics support..... | 61 |
+| 10.23 | Device MIB support ..... | 61 |
+| 10.24 | Multiple grants per interval support ..... | 63 |
+| 10.25 | V.152 Support..... | 63 |
+| 11 | TLV-38 SNMP notification receiver specification..... | 64 |
+| 11.1 | Sub-TLVs of TLV-38..... | 64 |
+| 11.2 | Mapping of TLV fields into SNMP tables ..... | 66 |
+| 11.3 | TLV-38 and TLV-11 configuration example ..... | 72 |
+| 12 | SNMPv2c management requirements ..... | 76 |
+| 12.1 | SNMPV2c coexistence mode tables content created by MTA after MTA4
for hybrid and basic flows ..... | 77 |
+| 12.2 | SNMP default entries for SNMPv2 access..... | 78 |
+
+| | Page |
+|-----------------------------------------------------------------------------------------------|-------------|
+| 13 Service interruption impact reporting and other enhanced features support ..... | 80 |
+| 13.1 eDosis requirements support..... | 80 |
+| 13.2 IPCablecom extension MIB ..... | 81 |
+| 13.3 Battery backup MIBs..... | 81 |
+| 13.4 Syslog MIBs ..... | 81 |
+| 13.5 Foreign potential detection ..... | 81 |
+| Appendix I – SNMPv2c coexistence configuration example – Template for service providers ..... | 82 |
+
+
+
+# Media terminal adapter (MTA) device provisioning requirements for the delivery of real-time services over cable television networks using cable modems
+
+# 1 Scope
+
+This Recommendation describes the IPCablecom media terminal adapter (MTA) device initialization and provisioning process. It is limited to the provisioning of an IPCablecom embedded-MTA device by a single provisioning and network management provider.
+
+NOTE – The structure and content of this Recommendation have been organized for ease of use by those familiar with the original source material; as such, the usual style of ITU-T recommendations has not been applied.
+
+# 2 References
+
+## 2.1 Normative 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 indicated 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-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 J.83] ITU-T Recommendation J.83 (2007), *Digital multi-programme systems for television, sound and data services for cable distribution*.
+- [ITU-T J.112.B] ITU-T Recommendation J.112 Annex B (2004), *Data-over-cable service interface specifications: Radio-frequency interface specification*.
+- [ITU-T J.162] ITU-T Recommendation J.162 (2007), *Network call signalling protocol for the delivery of time-critical services over cable television networks using cable modems*.
+- [ITU-T J.166] ITU-T Recommendation J.166 (2007), *IPCablecom Management Information Base (MIB) framework*.
+- [ITU-T J.170] ITU-T Recommendation J.170 (2005), *IPCablecom security specification*.
+- [IETF RFC 2131] IETF RFC 2131 (1997), *Dynamic Host Configuration Protocol*.
+- [IETF RFC 2132] IETF RFC 2132 (1997), *DHCP Options and BOOTP Vendor Extensions*.
+- [IETF RFC 2475] IETF RFC 2475 (1998), *An Architecture for Differentiated Services*.
+- [IETF RFC 2616] IETF RFC 2616 (1999), *Hypertext Transfer Protocol – HTTP/1.1*.
+- [IETF RFC 2833] IETF RFC 2833 (2000), *RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals*.
+- [IETF RFC 2863] IETF RFC 2863 (2000), *The Interfaces Group MIB*.
+- [IETF RFC 3396] IETF RFC 3396 (2002), *Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4)*.
+
+- [IETF RFC 3410] IETF RFC 3410 (2002), *Introduction and Applicability Statements for Internet Standard Management Framework*.
+- [IETF RFC 3411] IETF RFC 3411 (2002), *An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks*.
+- [IETF RFC 3412] IETF RFC 3412 (2002), *Message Processing and Dispatching for the Simple Network Management Protocol (SNMP)*.
+- [IETF RFC 3413] IETF RFC 3413 (2002), *Simple Network Management Protocol (SNMP) Applications*.
+- [IETF RFC 3414] IETF RFC 3414 (2002), *User-based Security Model (USM) for version 3 of the Simple Network Management Protocol (SNMPv3)*.
+- [IETF RFC 3415] IETF RFC 3415 (2002), *View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)*.
+- [IETF RFC 3495] IETF RFC 3495 (2003), *Dynamic Host Configuration Protocol (DHCP) Option for CableLabs Client Configuration*.
+- [IETF RFC 3584] IETF RFC 3584 (2003), *Coexistence between Version 1, Version 2, and Version 3 of the Internet-standard Network Management Framework*.
+- [IETF RFC 3594] IETF RFC 3594 (2003), *PacketCable Security Ticket Control Sub-Option for the DHCP CableLabs Client Configuration (CCC) Option*.
+- [IETF RFC 3617] IETF RFC 3617 (2003), *Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP)*.
+
+## 2.2 Informative references
+
+- [IETF RFC 3315] IETF RFC 3315 (2003), *Dynamic Host Configuration Protocol for IPv6 (DHCPv6)*.
+- [IETF RFC 4682] IETF RFC 4682 (2006), *Multimedia Terminal Adapter (MTA) Management Information Base for PacketCable- and IPCablecom-Compliant Devices*.
+- [IETF RFC 5098] IETF RFC 5098 (2008), *Signaling MIB for PacketCable and IPCablecom Multimedia Terminal Adapters (MTAs)*.
+- [IETF-draft-eventmess] IETF Internet Draft, *Management Event Management Information Base (MIB) for PacketCable- and IPCablecom-compliant Devices*, October 2006, , work in progress.
+- [DOCSIS 3.0] Data-Over-Cable Service Interface Specifications, *DOCSIS 3.0 MAC and Upper Layer Protocols Interface Specification*, CM-SP-MULPIv3.0-I02-061222, June 12, 2006, Cable Television Laboratories, Inc.
+- [ITU-T J.222.2] ITU-T Recommendation J.222.2 (2007), *Third-generation transmission systems for interactive cable television services – IP cable modems: MAC and upper layer protocols*.
+- [CableLabs' DHCP] *CableLabs' DHCP Options Registry Specification*, CL-SP-CANN-DHCP-Reg-I01-070119, January 19, 2007, Cable Television Laboratories, Inc.
+
+# 3 Terms and definitions
+
+This Recommendation defines the following terms:
+
+**3.1 cable modem:** A cable modem is a layer-two termination device that terminates the customer end of the J.112 connection.
+
+**3.2 IPCablecom:** An ITU-T project that includes an architecture and a series of Recommendations that enable the delivery of real-time services (such as telephony) over the cable television networks using cable modems.
+
+# 4 Abbreviations and conventions
+
+## 4.1 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|-------------------------------------|
+| CM | Cable Modem |
+| CMS | Call Management Server |
+| CPE | Customer Premises Equipment |
+| DHCP | Dynamic Host Configuration Protocol |
+| DNS | Domain Name System |
+| FQDN | Fully Qualified Domain Name |
+| HTTP | HyperText Transfer Protocol |
+| IP | Internet Protocol |
+| IPSec | Internet Protocol Security |
+| MAC | Media Access Control |
+| MTA | Media Terminal Adapter |
+| PSTN | Public Switched Telephone Network |
+| SNMP | Simple Network Management Protocol |
+| TFTP | Trivial File Transfer Protocol |
+| TGS | Ticket Granting Server |
+
+## 4.2 Conventions
+
+It is understood that implementing this Recommendation is optional. If this Recommendation is implemented, the key words "MUST" and "SHALL" as well as "REQUIRED" are to be interpreted as indicating a mandatory aspect of this Recommendation. The key words indicating a certain level of significance of particular requirements that are used throughout this Recommendation are summarized below:
+
+| | |
+|------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| "MUST" | This word or the adjective "REQUIRED" means that the item is an absolute requirement of this Recommendation. |
+| "MUST NOT" | This phrase means that the item is an absolute prohibition of this Recommendation. |
+| "SHOULD" | This word or the adjective "RECOMMENDED" means that there may exist valid reasons in particular circumstances to ignore this item, but the full implications should be understood and the case carefully weighed before choosing a different course. |
+
+**"SHOULD NOT"** This phrase means that there may exist valid reasons in particular circumstances when the listed behaviour is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behaviour described with this label.
+
+**"MAY"** This word or the adjective "OPTIONAL" means that this item is truly optional. One vendor may choose to include the item because a particular marketplace requires it or because it enhances the product; for example, another vendor may omit the same item.
+
+# 5 Introduction
+
+## 5.1 Service goals
+
+Cable operators are interested in deploying high-speed data communications systems on cable television networks. The intended service enables voice communications, video and data services based on bidirectional transfer of Internet Protocol (IP) traffic, between the cable system headend and customer locations, over an all-coaxial or hybrid-fibre/coax (HFC) cable network, defined by DOCSIS Recommendations. This is shown in simplified form in Figure 1.
+
+NOTE – The term "DOCSIS" in this Recommendation is understood to refer to DOCSIS version 1.1 (ITU-T Rec. J.112), DOCSIS 2.0 (ITU-T Rec. J.122) or DOCSIS 3.0 (ITU-T Recs J.222.x), unless explicitly specified otherwise. Implementations of eCMs will refer to the corresponding DOCSIS versions and associated requirements in this Recommendation and DOCSIS Recommendations for compliance.
+
+
+
+The diagram illustrates the flow of transparent IP traffic through a data-over-cable system. It shows a sequence of components connected by double-headed arrows representing bidirectional traffic flow. From left to right: a 'Wide area network' box, an 'AN network side interface' label, a 'CMTS' box, a 'Cable network' label, a 'Cable modem (CM)' box, a 'CM customer premises equipment interface' label, and 'Customer premises equipment' (represented by icons of a telephone, computer monitor, and keyboard). A bracket underneath the CMTS, Cable network, and Cable modem (CM) components is labeled 'Transparent IP traffic through the system'. The identifier 'J.167(07)\_F01' is located in the bottom right corner.
+
+Diagram of transparent IP traffic through the data-over-cable system
+
+**Figure 1 – Transparent IP traffic through the data-over-cable system**
+
+The transmission path over the cable system is realized at the headend by a cable modem termination system (CMTS), and at each customer location by a cable modem (CM). The intent is for operators to transfer IP traffic transparently between these interfaces.
+
+## 5.2 Specification goals
+
+Requirements relevant to device provisioning are:
+
+- A single physical device (e.g., embedded-MTA) will be completely provisioned and managed by a single business entity. This provider may establish business relationships with additional providers for services such as data, voice communications and other services.
+- To provision an E-MTA, both the DOCSIS and IPCablecom provisioning steps MUST be performed. The eMTA MUST have its own IP address, different from the IP Address(es) of the eCM. The eMTA MUST also have its own MAC address, different from the MAC address of the eCM. Furthermore, the E-MTA MUST be able to operate in environments where the eMTA IP address may be in the same, or different subnet as the eCM.
+
+- IPCablecom requires a unique FQDN for the MTA-component in the embedded-MTA. This FQDN MUST be included in the DHCP OFFER and DHCP ACK messages to the MTA-component. IPCablecom makes no additional FQDN requirements on the CM component in the embedded-MTA beyond those required by DOCSIS. Mapping of the FQDN to IP address MUST be configured in the network DNS server and be available to the rest of the network.
+- IPCablecom embedded-MTA provisioning MUST use DHCP Option 12 and Option 15 to deliver the MTA FQDN to the E-MTA.
+- IPCablecom embedded-MTA provisioning MUST support two separate configuration files: J.112-specified configuration file for the CM component, and an IPCablecom-specified configuration file for the MTA component.
+- The embedded-MTA is outside the IPCablecom network trust boundary as defined in the IPCablecom architecture J.160.
+- IPCablecom E-MTA MUST support DOCSIS software download as defined in the corresponding eCM DOCSIS Recommendation. A single DOCSIS software download MUST be used to upgrade code for both the eCM and the eMTA.
+- IPCablecom MUST support use of SNMPv2c coexistence for network management operations for devices provisioned under the Basic Flow or the Hybrid Flow and SNMPv3/v2 coexistence for network management operations when the device is provisioned under the Secure Flow.
+- IPCablecom embedded-MTA provisioning minimizes the impact to DOCSIS devices (CM and CMTS) in the network.
+- Standard server solutions (TFTP, SNMP, DNS, etc.) are preferable. It is understood that an application layer may be required on top of these protocols to coordinate IPCablecom embedded-MTA provisioning.
+- Where appropriate, the DOCSIS management protocols are supported (e.g., SNMP).
+
+## 5.3 IPCablecom reference architecture
+
+Figure 2 shows the reference architecture for the IPCablecom Network. Refer to the IPCablecom architecture J.160 for more detailed information on this reference architecture.
+
+
+
+Figure 2 – IPCablecom network component reference model (partial). The diagram shows a central 'Managed IP network' cloud connected to various components. On the left, two 'Embedded MTA' units (each containing an 'MTA' and a 'Cable modem') are connected to 'HFC access network (DOCSIS)' clouds, which are in turn connected to 'CMTS' units. These CMTS units connect to the central Managed IP network. Above the central network is a 'Call management server (CMS)'. To the right of the CMS, a dashed box contains an 'Announcement server' (with 'Announcement controller (ANC)' and 'Announcement player (ANP)'), a 'Signaling gateway (SG)', a 'Media gateway controller (MGC)', and a 'Media gateway (MG)'. The MG connects to a 'PSTN' cloud. Below the MG, an 'OSS backoffice' block contains a list of servers: 'Key distribution centre (KDC)', 'Provisioning server', 'DHCP servers', 'DNS servers', 'TFTP or HTTP servers', 'SYSLOG server', and 'Record keeping server (RKS)'. The OSS backoffice connects to the central Managed IP network. A label 'J.167(07)\_F02' is in the bottom right corner.
+
+Figure 2 – IPCablecom network component reference model (partial)
+
+## 5.4 Components and interfaces
+
+The basic IPCablecom embedded-MTA provisioning reference architecture is shown in Figure 3. This figure represents the components and interfaces discussed in this Recommendation.
+
+
+
+```
+graph TD; P[Provisioning server] -- Pkt-p1 --> E[Embedded-MTA]; E -- Pkt-p2 --> D[DHCP server]; E -- Pkt-p3 --> S[DNS server]; E -- Pkt-p4 --> T[TFTP or HTTP server]; E -- Pkt-p5 --> G[TGS]; E -- Pkt-p6 --> C[CMS]; E -- Pkt-p7 --> Y[SYSLOG server];
+```
+
+The diagram illustrates the central role of the Embedded-MTA in the IPCablecom provisioning architecture. It is connected to seven external components: a Provisioning server (left), a DHCP server (top-left), a DNS server (top), a TFTP or HTTP server (top), a TGS (top-right), a CMS (top-right), and a SYSLOG server (right). Each connection is labeled with a packet type: Pkt-p1 through Pkt-p7. A small label 'J.167(07)\_F03' is located at the bottom right of the diagram.
+
+Diagram of IPCablecom provisioning interfaces showing a central Embedded-MTA connected to various servers via labeled interfaces Pkt-p1 through Pkt-p7.
+
+**Figure 3 – IPCablecom provisioning interfaces**
+
+### 5.4.1 MTA
+
+The MTA MUST conform to the following requirements during the provisioning sequence.
+
+#### 5.4.1.1 MTA security requirements
+
+The MTA MUST conform to the following security requirements during the Secure Flow provisioning sequence:
+
+- The MTA device MIB is structured to represent the assignment of MTA endpoints to a CMS. For more information on the security association between an MTA and a CMS, refer to [ITU-T J.170].
+- CMS Kerberos Principal Name is not explicitly configured in the MTA endpoints. The MTA MUST be able to determine the CMS Kerberos Principal Name based on the CMS FQDN, as specified in [ITU-T J.170].
+- For each unique pair of CMS Kerberos principal Name/Kerberos Realm assigned to an endpoint, the MTA MUST obtain a single Kerberos ticket per [ITU-T J.170].
+- If the MTA already has a valid Kerberos ticket for that CMS, the MTA MUST NOT request an additional Kerberos ticket for that CMS. (Unless the expiration time of the current Kerberos ticket $\leq$ current time + PKINIT Grace Period, in which case the MTA MUST obtain a fresh ticket for the same CMS.)
+- In the case that a CMS FQDN maps to multiple IP addresses, the MTA MUST initially establish a pair of IPSec Security Associations with one of the IP addresses returned by the DNS server. The MTA MAY also initially establish IPSec Security Associations with the additional CMS IP addresses. See [ITU-T J.170] for more information.
+- If the MTA already has a pair of active Security Associations (inbound and outbound) with a particular CMS IP address, the MTA MUST NOT attempt to establish additional Security Associations with the same IP address.
+
+During the provisioning sequence, there are no specific security requirements for the Basic Flow or the Hybrid Flow.
+
+#### 5.4.1.2 MTA SNMP requirements
+
+The MTA MUST conform to the following SNMPv3 requirements during the Secure Flow provisioning sequence:
+
+- MTA SNMPv3 security is separate and distinct from CM SNMPv3 security. USM security information (authentication and privacy keys, and other USM table entries) is set up separately.
+- SNMPv3 initialization MUST be completed prior to the provisioning enrolment inform.
+- In Secure Flow, the MTA MUST support SNMPv3 and SNMPv2 based device management as defined in [IETF RFC 3414] and [IETF RFC 3584].
+
+The MTA MUST conform to the following SNMPv2c requirements during the Hybrid Flow or Basic Flow provisioning sequence:
+
+- SNMPv2c initialization MUST be completed immediately after the DHCP phase.
+- SNMPv2c based device management is defined in [IETF RFC 3584].
+
+The MTA MUST implement the management information base (MIB) modules as described in IETF RFC 1945 and specified in Annexes B, D, E and F of [ITU-T J.166]. If it also implements the IETF MIB modules as specified in [IETF RFC 4682], [IETF RFC 5098] and [IETF-draft-eventmess], the MTA MUST ensure that both sets of MIB modules can coexist without any conflicting or ambiguous behaviour. MTAs implementing multiple MIB environments MUST support the DHCP option 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION' as specified in clauses 7 and 8.8.
+
+It is understood that any MIB module or MIB Object references in this Recommendation refer to either MIB modules unless explicitly specified otherwise, or the MIB Object is specified in only one of them.
+
+### 5.4.2 Provisioning server
+
+The Provisioning Server is made up of the following components:
+
+- Provisioning Application – The Provisioning Application is responsible for coordinating the embedded-MTA provisioning process. This application has an associated SNMP Entity.
+- Provisioning SNMP Entity – The provisioning SNMP entity MUST include a trap/inform handler for provisioning enrolment and the provisioning status traps/informs as well as an SNMP engine for retrieving device capabilities and setting the Configuration filename and access method. Refer to the IPCablecom MTA MIB [ITU-T J.166] or [IETF RFC 4682] for a description of the MIB accessible MTA attributes.
+- The Provisioning Server MUST examine the "Device MIB Support" capability of the MTA (specified in clause 10.23) to choose the MIB modules that can be used to specify the MTA configuration file.
+
+The interface between the Provisioning Application and the associated SNMP Entity is not specified in IPCablecom and is left to vendor implementation. The interface between the Provisioning Server and the TFTP Server is not specified in IPCablecom and is left to vendor implementation.
+
+### 5.4.3 MTA to telephony Syslog server
+
+The IPCablecom MTAs MUST implement Management Event Mechanism as per ITU-T Rec. J.172, which includes the support for Syslog server.
+
+The IPCablecom MTAs MUST also implement all the IPCablecom Provisioning Management Events described in Annex A/J.172.
+
+### 5.4.4 MTA to DHCP server
+
+This interface identifies specific requirements in the DHCP server and the client for IP assignment during the MTA initialization process:
+
+- Both the DHCP server and the embedded-MTA MUST support DHCP option codes 6, 7, 12, 15, 43, 60 and DHCP option code 122 (defined in [IETF RFC 2132]). Option codes 12 (Host Name) and 15 (Domain Name) MUST form a Fully Qualified Domain Name and MUST be resolvable by the DNS server.
+- The DHCP server MUST accept and support broadcast and unicast messages per [IETF RFC 3396] from the MTA DHCP client.
+- The DHCP server MUST include the MTA's assigned FQDN in the DHCP OFFER and DHCP ACK messages to the MTA-component of the embedded-MTA. Refer to [IETF RFC 2131] for details describing the DHCP OFFER message.
+
+### 5.4.5 MTA to provisioning application
+
+This interface identifies specific requirements for the Provisioning Application to satisfy MTA initialization and registration. The Provisioning Application requirements are:
+
+- The MTA MUST generate a correlation ID – An arbitrary value that will be exchanged as part of the device capability data to the Provisioning Application. This value is used as an identifier to correlate related events in the MTA provisioning sequence.
+- The Provisioning Application MUST provide the MTA with its MTA configuration data file. The MTA configuration file is specific to the MTA-component of the embedded-MTA and separate from the CM-component's configuration data file.
+- The configuration data file format is TLV binary data suitable for transport over the specified TFTP or HTTP access method.
+- The Provisioning Application MUST have the capability to configure the MTA with different data and voice service providers.
+- The Provisioning Application MUST use only SNMPv3 to provision devices in the Secure Flow. The support of the Basic and Hybrid Flows is optional for the Provisioning Application. If the Basic and Hybrid Flows are supported, the Provisioning Application MUST use only SNMPv2c to provision devices in the Hybrid or Basic Flow.
+- The Provisioning Application MUST provide SNMPv3 and SNMPv2 for device management.
+- The Provisioning Application MUST support online incremental device/subscriber provisioning using SNMP.
+- MTA MUST Specify all of its Capabilities in DHCP option 60 in accordance with clause 10.
+- Provisioning Application MUST NOT assume any Capabilities, which do not have default values. In case capabilities supplied by the MTA are not consistent in format and/or in number and/or in values, the Provisioning Application MUST use the other means to identify the MTA's capabilities (e.g., SNMPv3 if possible).
+
+### 5.4.6 MTA to CMS
+
+Signalling is the main interface between the MTA and the CMS. Refer to the IPCablecom signalling [ITU-T J.162] for a detailed description of the interface.
+
+- The CMS MUST accept signalling and bearer channel requests from an MTA that has an active security association.
+
+- The CMS MUST NOT accept signalling and bearer channel requests from an MTA that does not have an active security association unless provisioned to do so with information corresponding to the "pktcMtaDevCmsIpsSecCtrl" MIB Object.
+
+### 5.4.7 MTA to security server (KDC)
+
+The interface between the MTA and the key distribution centre (KDC) MUST conform to the [ITU-T J.170] IPCablecom security specification.
+
+AP-REQ/REP exchange backoff and retry mechanism of the Kerberized SNMPv3 key negotiation defined in [ITU-T J.170] is controlled by the values delivered by DHCP option 122 sub-option 5 (see clause 8.1.4).
+
+AS-REQ/REP exchange backoff and retry mechanism of the Kerberized SNMPv3 key negotiation defined in [ITU-T J.170] is controlled by the values delivered by DHCP option 122 sub-option 4 (see clause 8.1.3) or by the default values of the corresponding MIB objects in the Realm Table if sub-option 4 is not present in the DHCP option 122.
+
+### 5.4.8 MTA and configuration data file access
+
+This Recommendation allows for more than one access method to download the configuration data file to the MTA:
+
+- The MTA MUST support the TFTP access method for downloading the MTA configuration data file.
+- The MTA MAY support HTTP access method for downloading the MTA configuration data file.
+- The Provisioning Server MUST provide the MTA with the URL-encoded TFTP/HTTP server address and configuration filename via a SNMPv3 SET for the Secure Flow. The Provisioning Server MUST provide the MTA with the URL-encoded TFTP/HTTP server address via an SNMPv2c SET if it supports the Hybrid Flow provisioning mode. The Basic Flow does not require an SNMP SET to get the configuration file; the Provisioning Server MUST provide the MTA with the TFTP/HTTP server address in the DHCP "file" and "siaddr" fields if it supports the Basic Flow provisioning mode. For additional information, refer to clause 7.3.
+
+### 5.4.9 DOCSIS extensions for MTA provisioning
+
+This Recommendation requires that the following additions to DOCSIS flows for MTA auto-provisioning be supported:
+
+- eCMs that can obtain IP configuration information from multiple DHCP servers MUST use the primary DHCP server – designated to provide the eCM configuration information – for obtaining IPCablecom specific options (refer to [ITU-T J.222.2] for more information).
+- eCMs relying on DHCPv4 for IPCablecom specific information MUST implement DHCP option code 122 (as specified in IETF RFC 3442) and communicate the Telephony Service Provider's DHCPv4 Server information to the eMTA (as per clause 7).
+- eCMs relying on DHCPv6 for IPCablecom specific information MUST implement the DHCP option code OPTION\_VENDOR\_OPTS(17) (as specified in [IETF RFC 3315]) and the "CableLabs Client Configuration" DHCPv6 option code CL\_OPTION\_CCC (as specified in Annex A of [ITU-T J.166]) to communicate the Telephony Service Provider's DHCPv4 Server information to the eMTA.
+
+# 6 Provisioning overview
+
+Provisioning is a subset of configuration management control. The provisioning aspects include, but are not limited to, defining configurable data attributes, managing defined attribute values, resource initialization and registration, managing resource software, and configuration data reporting. The resource (also referred to as the managed resource) always refers to the MTA device. Further, the associated subscriber is also referred to as a managed resource.
+
+## 6.1 Device provisioning
+
+Device provisioning is the process by which an embedded-MTA device is configured to support voice communications service.
+
+Device provisioning involves the MTA obtaining its IP configuration required for basic network connectivity, announcing itself to the network and downloading of its configuration data from its provisioning server.
+
+When the device is provisioned using the "Secure Flow", the MTA device MUST be able to verify the authenticity of the configuration file it downloads from the server. The "Secure Flow" generated configuration file is "signed" and may be "sealed". Refer to [ITU-T J.170] for further information.
+
+Refer to clause 5.4.1 for provisioning rules related to security associations.
+
+When the device is provisioned using the Basic Flow or the Hybrid Flow, a content integrity verification check MUST be conducted on the configuration file by the MTA. For details, refer to clause 9.1.
+
+## 6.2 Endpoint provisioning
+
+Endpoint provisioning is when a provisioned MTA authenticates itself to the CMS and establishes a security association with that server. This allows subsequent call signalling to be protected under the established security association.
+
+The MTA MUST follow the requirements defined in the IPCablecom security specification [ITU-T J.170] for NCS Kerberized Key Management, independently of the provisioning flow (Secure, Hybrid or Basic Flow) the MTA was provisioned with.
+
+## 6.3 Provisioning state transitions
+
+Figure 4 represents logical device states and the possible transitions across these logical states. This representation is for illustrative purposes only and is not meant to imply a specific implementation. The following MTA state transitions do not specify the number of retry attempts or retry time out values:
+
+
+
+```
+
+stateDiagram-v2
+ UNKNOWN --> KNOWN : dhcp OK
+ UNKNOWN --> RESET/INIT : dhcp FAIL
+ KNOWN --> PROVISIONED : Config data OK
+ KNOWN --> UN-PROVISIONED : Config data FAIL
+ PROVISIONED --> AUTHENTICATED : Security exchange OK
+ PROVISIONED --> UN-AUTHENTICATED : Security Exchange FAIL
+ RESET/INIT --> UNKNOWN : RETRY
+ UN-PROVISIONED --> KNOWN : RETRY
+ UN-AUTHENTICATED --> PROVISIONED : RETRY
+
+```
+
+Figure 4: Device states and state transitions for secure flow provisioning. The diagram shows five states: UNKNOWN, KNOWN, PROVISIONED, AUTHENTICATED, RESET/INIT, UN-PROVISIONED, and UN-AUTHENTICATED. Transitions are: UNKNOWN to KNOWN (dhcp OK), UNKNOWN to RESET/INIT (dhcp FAIL), KNOWN to PROVISIONED (Config data OK), KNOWN to UN-PROVISIONED (Config data FAIL), PROVISIONED to AUTHENTICATED (Security exchange OK), PROVISIONED to UN-AUTHENTICATED (Security Exchange FAIL). RETRY transitions go from RESET/INIT to UNKNOWN, UN-PROVISIONED to KNOWN, and UN-AUTHENTICATED to PROVISIONED.
+
+J.167(07)\_F04
+
+**Figure 4 – Device states and state transitions for secure flow provisioning**
+
+## 6.4 Basic and hybrid flow provisioning state transitions
+
+Figure 5 represents logical device states and the possible transitions across these logical states. This representation is for illustrative purposes only and is not meant to imply a specific implementation. The following MTA state transitions do not specify the number of retry attempts or retry time out values.
+
+
+
+```
+
+stateDiagram-v2
+ UNKNOWN --> KNOWN : dhcp OK
+ UNKNOWN --> RESET/INIT : dhcp FAIL
+ KNOWN --> PROVISIONED : Config data OK
+ KNOWN --> UN-PROVISIONED : Config data FAIL
+ RESET/INIT --> UNKNOWN : RETRY
+ UN-PROVISIONED --> KNOWN : RETRY
+
+```
+
+Figure 5: Device states and state transitions for basic and hybrid flow provisioning. The diagram shows four states: UNKNOWN, KNOWN, PROVISIONED, RESET/INIT, and UN-PROVISIONED. Transitions are: UNKNOWN to KNOWN (dhcp OK), UNKNOWN to RESET/INIT (dhcp FAIL), KNOWN to PROVISIONED (Config data OK), KNOWN to UN-PROVISIONED (Config data FAIL). RETRY transitions go from RESET/INIT to UNKNOWN and UN-PROVISIONED to KNOWN.
+
+J.167(07)\_F05
+
+**Figure 5 – Device states and state transitions for basic and hybrid flow provisioning**
+
+# 7 Provisioning flows
+
+An IPCablecom MTA is provisioned via one of three provisioning flows:
+
+- The Secure Flow supports Kerberos mutual authentication between the MTA and the provisioning system, as well as Kerberized SNMPv3 messaging. The Secure Flow **MUST** be supported by IPCablecom MTAs and the Provisioning Applications.
+- The Basic Flows are a simplified DOCSIS-like provisioning flows with no Kerberos or SNMPv3 security and no SNMP enrolment via SNMP INFORM. The Basic Flows **SHOULD** be supported by IPCablecom MTAs and Provisioning Applications.
+- The Hybrid Flows are essentially the Secure flow with the Kerberos message exchanges removed, and SNMPv2c substituted for SNMPv3. The Hybrid Flows **SHOULD** be supported by IPCablecom MTAs and Provisioning Applications.
+
+Any mention of SNMP in this Recommendation without a specific reference to the SNMP protocol version must be interpreted as follows:
+
+- For the Secure Flow, the MTA MUST support 'SNMPv3 only' for Provisioning and SNMPv3/v2c coexistence for Network Management and/or Monitoring operations. The SNMPv3/v2c coexistence MUST be supported and is configured using the values of TLV-38, or TLV-11 and TLV-64 in the MTA configuration file.
+- For the Hybrid or Basic Flows, the MTA MUST support SNMPv2c for Provisioning, Network Management and/or Monitoring operations. The level of SNMPv2c access MUST be supported according to the values of TLV-38 or TLV-11 and TLV-64 in the MTA configuration file.
+
+An MTA can also be configured with additional SNMPv2c targets via its configuration file by using TLV-38 or TLV-11 and TLV-64.
+
+An MTA is commanded to execute a specific flow via the contents of DHCP option 122 sub-option 6, as described in clause 8.1.5. Each of these flows begins with a common set of flow steps.
+
+An MTA is required to implement the IPCablecom specified MIBs, and optionally may implement the IETF MIBs. For an MTA supporting both, the operator may wish to provide a preference for usage. An MTA that supports multiple MIB environments MUST request an appropriate DHCPv4 option. The DHCPv4 option "CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION (4)", as specified in the CableLabs' DHCP Options Registry could be used. The Provisioning Server MAY indicate an operator preference by responding with the DHCPv4 option "CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION (4)". The MTA requirements associated with this option are specified in clause 8.8.
+
+In all the provisioning flows indicated in this clause, the following requirements apply:
+
+- if an MTA encounters DHCP options that it does not recognize – in the DHCP OFFER or DHCP ACK messages – it MUST ignore such options and proceed with provisioning as though they were not provided (i.e., MTA operation is unaffected);
+- if an IPCablecom Provisioning Server receives SNMP INFORMs from MTAs that contain Object Identifiers that it does not recognize, it SHOULD acknowledge them. Further, upon receiving any SNMP notifications containing unrecognized Object Identifiers, the Provisioning Server MUST comply with the behaviour specified in this Recommendation (i.e., Provisioning Server operation is unaffected).
+
+## 7.1 Backoff, retries and time-outs
+
+Backoff mechanisms help the network to throttle device registration during a typical or mass registration condition when the MTA client requests are not serviced within the protocol-specified time-out values. The details of provisioning behaviour under mass-registration is beyond the scope of IPCablecom; however, this clause provides the following recommendations and requirements:
+
+- Throttling of registrations MAY be based on DOCSIS CM registration.
+- The MTA MUST follow DHCP [IETF RFC 2131] and HTTP specification time-out and retry mechanisms. It is recommended to follow [IETF RFC 3413] for SNMP timeout and retry mechanisms.
+- The MTA MUST use an adaptive time-out for TFTP as specified in DOCSIS (ITU-T Rec. J.112/J.122).
+
+- The MTA MUST follow backoff and retry recommendations that are defined in [ITU-T J.170] security specification for the security message flows.
+- All Provisioning Flows (Secure, Basic and Hybrid) are described in clauses 7.2, 7.3 and 7.4.
+ - Provisioning timer MUST start immediately after the receipt of DHCP ACK and MUST end with the completion of TFTP/HTTP configuration file response.
+ - In case the provisioning timer expires before the completion of TFTP/HTTP configuration file response, the MTA MUST return to MTA1.
+ - MTA MUST NOT wait until the Provisioning Timer expires before acting on each Provisioning step's failure condition. For example, in Secure Flow, if step MTA19 fails, the MTA must not wait until the Provisioning Timer expires but must return to MTA1 immediately when the failure condition is discovered.
+- In the Secure Provisioning Flow – If a failure occurs in any of the steps related to the PROV\_SNMP\_ENTITY (MTA13, MTA14, MTA15, MTA19) before the MTA obtains the Device configuration file – and the MTA resolved multiple IP addresses for the PROV\_SNMP\_ENTITY (FQDN received in option 122 sub-option 3), then it MUST retry the steps with all the resolved IP addresses before returning to MTA1, unless directed otherwise by [ITU-T J.170]. However, it is to be noted that once the MTA selects a resolved IP address for use in MTA13, it MUST use the same IP address in steps MTA15 and MTA25.
+- In the Hybrid Provisioning Flow – If a failure occurs in any of the steps related to the PROV\_SNMP\_ENTITY (H-MTA15, H-MTA19) before the MTA obtains the Device configuration file – and the MTA resolved multiple IP addresses for the PROV\_SNMP\_ENTITY (FQDN received in option 122 sub-option 3), then it MUST retry the steps with all the resolved IP addresses before returning to MTA1. However, it is to be noted that once the MTA selects a resolved IP address for use in H-MTA15, it MUST use the same IP address in H-MTA25.
+
+## 7.2 Embedded-MTA power-on initialization flows
+
+Table 1 shows the mandatory message flow that the embedded-MTA device MUST follow during power-on initialization (unless stated explicitly otherwise). It is understood that these flows do not imply implementation or limit functionality.
+
+Although these flows show the MTA configuration file download from a TFTP Server, the descriptive text details the requirements to support the MTA configuration file download from an HTTP Server.
+
+Note in the flow details below that certain steps may appear to be a loop in the event of a failure. In other words, the step to proceed to if a given step fails is to retry that step again. However, it is recommended that if the desired number of backoff and retry attempts does not allow the step to successfully complete, the device detecting the failure should generate a failure event notification.
+
+In the flow details below (see Figure 6 and Table 1), the calculation of the Hash and the Encryption/Decryption of the MTA's Configuration File MUST follow the requirements in [ITU-T J.170].
+
+The provisioning flow for an eCM utilizing DHCPv4 for IP configuration is shown on Figure 6 and explained in clause 7.2.1. The provisioning flow for an eCM utilizing DHCPv6 for IP configuration is shown on Figure 6a and explained in clause 7.2.2. The provisioning flows for an eMTA remain the same, irrespective of the eCM provisioning mode.
+
+### 7.2.1 Embedded-MTA secure power-on initialization flow (IPv4 eCM)
+
+
+
+| Flow | CM/MTA | CMTS | DOCSIS DHCP | DOCSIS TFTP | DOCSIS ToD | Prov Server | PKT DHCP | PKT DNS | PKT TFTP | MSO KDC | SYSLOG |
+|----------------------------------------------------------|--------|------------------------------------------------------------------------------------------------------------------------|-------------|-------------|------------|-------------|----------|---------|----------|---------|--------|
+| Start with DOCSIS 1.1 Initialization/Registration | | | | | | | | | | | |
+| CM-1 | | DHCP Broadcast Discover (Request Option Code 122) | | | | | | | | | |
+| CM-2 | | DHCP Offer (Option Code 122 w/ telephony service provider's DHCP server address) | | | | | | | | | |
+| CM-3 | | DHCP Request | | | | | | | | | |
+| CM-4 | | DHCP Ack | | | | | | | | | |
+| CM-5 | | DOCSIS 1.1 CM config file request | | | | | | | | | |
+| CM-6 | | DOCSIS 1.1 config file | | | | | | | | | |
+| CM-7 | | ToD Request | | | | | | | | | |
+| CM-8 | | ToD Response | | | | | | | | | |
+| CM-9 | | CM registration with CMTS | | | | | | | | | |
+| CM-10 | | CMTS Registration ACK | | | | | | | | | |
+| Complete DOCSIS 1.1 Initialization/Registration | | | | | | | | | | | |
+| MTA-1 | | DHCP Broadcast Discover (Includes Option code 60 w/ MTA device identifier, Option code 43, & requests Option code 122) | | | | | | | | | |
+| MTA-2 | | DHCP Offer (option code 122 w/ name of provisioning realm) | | | | | | | | | |
+| MTA-3 | | DHCP Request | | | | | | | | | |
+| MTA-4 | | DHCP Ack | | | | | | | | | |
+| MTA-5 | | DNS Request | | | | | | | | | |
+| MTA-6 | | DNS Srv (KDC host name associated with the provisioning REALM) | | | | | | | | | |
+| MTA-7 | | DNS Request | | | | | | | | | |
+| MTA-8 | | DNS Response (KDC IP Address) | | | | | | | | | |
+| MTA-9 | | AS Request | | | | | | | | | |
+| MTA-10 | | AS Reply | | | | | | | | | |
+| MTA-11 | | TGS Request | | | | | | | | | |
+| MTA-12 | | TGS Reply | | | | | | | | | |
+| MTA-13 | | AP Request (KeyMgmtProtVers., Protocol ID, KRB_AP_REQ., Ciphersuites, SHA-1/HMAC ) | | | | | | | | | |
+| MTA-14 | | AP Reply (KeyMgmtProtVers., Protocol ID, KRB_AP_REP., ciphersuite selected, key lifetime, Ack req., HMAC) | | | | | | | | | |
+| MTA-15 | | SNMP Inform (see table for data list) | | | | | | | | | |
+| MTA-16 | | SNMP Get Request(s) for MTA device capabilities (optional/iterative) | | | | | | | | | |
+| MTA-17 | | SNMP Get Response(s) containing MTA device capabilities (optional/iterative) | | | | | | | | | |
+| MTA-18 | | MTA config file | | | | | | | | | |
+| MTA-19 | | SNMP Set with URL encoded file download access method (TFTP or HTTP), filename, hash, and encryption key (if required) | | | | | | | | | |
+| MTA-20 | | Resolve TFTP server FQDN | | | | | | | | | |
+| MTA-21 | | TFTP server IP address | | | | | | | | | |
+| MTA-22 | | Telephony config file request | | | | | | | | | |
+| MTA-23 | | Telephony config file | | | | | | | | | |
+| MTA-24 | | MTA sends telephony service provider SYSLOG a notification of provisioning completed (Optional) | | | | | | | | | |
+| MTA-25 | | Notify completion of telephony provisioning (MTA MAC address, ESN, pass/fail) | | | | | | | | | |
+
+Figure 6 – Embedded-MTA secure power-on initialization flow (IPv4 eCM)
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|-----------------------------------------|
+| CM1 | The client device begins device registration by having the CM component send a broadcast DHCP discover message.
Included in this message is option code 60 (Vendor Specific Option) in the format "docsis1.1:xxxxxxx". This message MUST request option 122 in option 55, the request parameter list. The remainder of this message MUST conform to the DHCP discover data as defined in the DOCSIS Recommendations.
| Initial
MUST step in sequence
| Per DOCSIS |
+| CM2 | The DOCSIS DHCP Server, if it has been configured to support MTA devices, MUST include option code 122 with sub-option 1 and, possibly, sub-option 2 as per clause 8.1. If it is configured to prevent the MTA portion of the device from provisioning, then sub-option 1 in option code 122 MUST contain a DHCP server address of value 0.0.0.0.
DOCSIS DHCP Servers without any prior knowledge of MTA devices MAY respond with DHCP OFFER without including option 122.
| CM2
MUST occur after CM1 completion
| Per DOCSIS |
+| CM3 | Upon receiving a DHCP OFFER, the CM MUST check for the requested option 122. If it is not present, then it MUST retry the DHCP DISCOVER process (CM1) exponentially for 3 attempts (e.g., 2-, 4-, 8-second intervals). Upon failing to receive any DHCP OFFER with option 122 after the exponential retry mechanism, it MUST consider OFFERs without option code 122 and accept one of them as per the DHCP specification [IETF RFC 2131]. The client device (CM) MUST then send a DHCP REQUEST broadcast message to the DHCP server whose OFFER is accepted as specified in the DHCP specification [IETF RFC 2131].
| CM3
MUST occur after CM2 completion
| Per DOCSIS |
+| CM4 | The DHCP server sends the client device CM component a DHCP ACK message to confirm acceptance of the offered data. Upon receiving the DHCP ACK, the CM MUST check again for option 122. The absence of option 122 in the DHCP ACK message, which was accepted by the CM, implies that it MUST NOT initialize the embedded MTA. The presence of option 122 implies that it MUST initialize the MTA and pass sub-option 1 and, possibly, sub-option 2.
If the option content of this DHCP ACK differs from the preceding DHCP OFFER, the option content of this DHCP ACK MUST be treated as authoritative (per [IETF RFC 2131]).
| CM4
MUST occur after CM3 completion
| Per DOCSIS |
+| CM5-CM10 | The client device's CM component completes the remainder of the CM specified registration sequence. This includes downloading the CM configuration file, requesting time of day registration and registering with the CMTS.
| CM5-CM10
MUST occur after CM4 completion
| Per DOCSIS |
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|-----------------------------------------------------|
+| MTA1 | DHCP Broadcast Discover. The MTA MUST send a broadcast DHCP DISCOVER message. This message MUST include option code 60 (Vendor Specific Option) in the format "pktc1.0:xxxxxx". The MTA MUST include the DHCP option code 43 in the DHCP DISCOVER message as defined in clause 8.5. The MTA MUST request in DHCP option 55 the following: 1, 3, 6, 7, 12, 15 and 122 options. If the CM DHCP option code 122 sub-option 1 (passed by the CM to the MTA) contains a DHCP server of value of 0.0.0.0, then the MTA MUST not attempt to provision and MUST remain dormant until it is reinitialized by the CM.
| MTA1
MUST NOT occur before completion of CM4
| If failure per DHCP protocol, repeat MTA1
|
+| MTA2 | DHCP OFFER
The MTA may receive multiple DHCP OFFERs (during its wait period as per [IETF RFC 2131]).
The following requirements apply to the MTA and/or the Provisioning Applications.
- 1) The MTA MUST only accept a valid DHCP OFFER message. A valid DHCP OFFER MUST be sent by the primary or secondary DHCP servers returned in DHCP option code 122 sub-options 1 and 2 as obtained by the E-MTA via the CM provisioning step CM4. A valid DHCP OFFER MUST also include the following options: 1, 3, 6, 7, 12, 15, 122 with DHCP option 122 sub-options 3 and 6. DHCP option 122 MAY contain the additional sub-options 4, 5, 7, 8 and 9.
- 2) If the DHCP option 122 sub-option 6 returned by a valid DHCP server indicates that the Basic or Hybrid flow must be performed, the MTA MUST ignore the DHCP option 122 sub-options 4, 5, 7 and 9 if they are present.
- 3) If the DHCP option 122 sub-option 6 returned by a valid DHCP server indicates that the Basic Flow must be performed, the Provisioning Server MUST include the configuration file location in the 'siaddr' and 'file' fields in the DHCP responses.
- 4) If the DHCP option 122 sub-option 6 returned by a valid DHCP server indicates the Secure flow must be performed, the MTA MUST process the DHCP option 122 sub-options 4, 5, 7 and 9.
The MTA next applies the following rules to the set of valid DHCP OFFERs:
- a) The MTA MUST check the value of the DHCP option 122 sub-option 3. If all valid OFFERs contain 0.0.0.0 in DHCP option 122 sub-option 3, then the MTA MUST not further the DHCP process and it MUST shut down until it is reinitialized. Otherwise, the MTA MUST further restrict its set of valid OFFERs to those with a non-zero value in the DHCP option 122 sub-option 3.
| MTA2
MUST occur after MTA1 completion
| If failure per DHCP protocol, return to MTA1
|
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|-----------------------------------------------------|
+| MTA2 | b) The MTA MUST check the value of the DHCP option 122 sub-option 6 for indication of the Secure Flow. If no valid DHCP OFFER message directs the MTA to the Secure flow, the MTA MUST retry the DHCP DISCOVER process (MTA1) exponentially for 3 attempts (e.g., 2-, 4-, 8-second intervals). Upon failing to receive any valid DHCP OFFER indicating the Secure flow, the MTA MUST select a valid Hybrid Flow DHCP OFFER, or a valid Basic Flow OFFER in that order.
If no valid DHCP OFFER is received, the MTA MUST fail the corresponding provisioning flow step.
NOTE – In the case of Secure Flow, if an MTA supports TGTs and receives the DHCP option 122 sub-option 7 set to a FALSE value, it MUST NOT request TGTs. If an MTA supports TGTs and receives the DHCP option 122 sub-option 7 set to a TRUE value, it MUST request TGTs. MTAs that do not support TGTs MUST ignore the DHCP option 122 sub-option 7.
| | |
+| MTA3 | DHCP Broadcast REQUEST
Once the MTA has selected a valid DHCP OFFER, the MTA MUST send a DHCP REQUEST broadcast message to accept the DHCP OFFER per [IETF RFC 2131].
| MTA3
MUST occur after MTA2 completion
| If failure per DHCP protocol, return to MTA1
|
+| MTA4 | DHCP ACK
The DHCP server sends a DHCP ACK message to the MTA. The DHCP ACK message MUST include all options and sub-options which had been sent in MTA2 (DHCP OFFER). If the option and sub-option values of this DHCP ACK differ from the preceding DHCP OFFER (MTA2), the option and sub-option values of this DHCP ACK MUST be treated as authoritative (per [IETF RFC 2131]).
If the DHCP ACK is not valid as per the criteria established in MTA2, the MTA MUST fail this step.
NOTE – The provisioning flow forks into one of three directions as follows:
If the MTA4 DHCP ACK indicates the Basic Flow, the MTA MUST proceed to flow step B-MTA-22 described in clause 7.3.
If the MTA4 DHCP ACK indicates the Hybrid Flow, the MTA MUST proceed to flow step H-MTA-15 described in clause 7.4.
Otherwise, the Secure Flow is indicated and the MTA MUST proceed to step MTA5 below.
| MTA4
MUST occur after MTA3 completion
| If failure per DHCP protocol, return to MTA1
|
+| MTA5 | DNS Srv Request
The MTA requests the MSO KDC host name for the Kerberos realm.
| MTA5
MUST occur after MTA4 completion
| MTA1
|
+| MTA6 | DNS Srv Reply
Returns the MSO KDC host name associated with the provisioning REALM.
| MTA6
MUST occur after MTA5 completion
| MTA1
|
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|----------------------------------------------------------------------------------------|
+| MTA7 | DNS Request
The MTA now requests the IP Address of the MSO KDC. | MTA7
MUST occur after MTA6 completion | MTA1 |
+| MTA8 | DNS Reply
The DNS Server returns the IP Address of the MSO KDC. | MTA8
MUST occur after MTA7 completion | MTA1 |
+| MTA9 | AS Request
The AS Request message is sent to the MSO KDC to request a Kerberos ticket. | If MTA9 occurs, it MUST occur after MTA8 completion | MTA1
The failure conditions are defined by the security specification [ITU-T J.170] |
+| MTA10 | AS Reply
The AS Reply Message is received from the MSO KDC containing the Kerberos ticket.
NOTE 1 – The KDC must map the MTA MAC address to the FQDN before sending the AS Reply.
NOTE 2 – Flows MTA11-MTA12 are optional in some cases, refer to the security specification ([ITU-T J.170]).
NOTE 3 – SNMPv3 entity (FQDN) MUST be resolved to an IP address anywhere during flows MTA5 to MTA12.
NOTE 4 – If an IP address is provided in the Additional information field of the DNS-SRV response (MTA6), MTA MAY use the same and skip the flows MTA7 and MTA8.
NOTE 5 – If the MTA has valid provisioning application server ticket saved in NVRAM, then it MUST skip the flows MTA5 to MTA12 in successive MTA resets (flows MTA1 to MTA25). | MTA10
MUST occur after MTA9 completion | MTA1 |
+| MTA11 | TGS Request
If MTA obtained TGT in MTA10, the TGS Request message is sent to the MSO KDC. | If MTA11 occurs, it MUST occur after MTA10 completion | MTA1 |
+| MTA12 | TGS Reply
The TGS Reply message is received from the MSO KDC. | MTA12
MUST occur after MTA11 completion | MTA1 |
+| MTA13 | AP Request
The AP Request message is sent to the Provisioning Server to request the keying information for SNMPv3. | MTA13
MUST occur after MTA12 or MTA10 completion | MTA1
The failure conditions are defined by the security specification [ITU-T J.170] |
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
+| MTA14 | AP Reply
The AP Reply message is received from the Provisioning Server containing the keying information for SNMPv3.
NOTE – The SNMPv3 keys must be established before the next step using the information in the AP Reply.
| MTA14
MUST occur after MTA13 completion
| MTA1 |
+| MTA15 | SNMP Enrolment INFORM
The MTA MUST send an SNMPv3 Enrollment INFORM to the PROV_SNMP_ENTITY (specified in the DHCP option 122 sub-option 3). The SNMP INFORM MUST contain a "PktcMtaDevProvisioningEnrolment" object as defined in [ITU-T J.166].
The PROV_SNMP_ENTITY notifies the Provisioning Application that the MTA has entered the management domain.
NOTE – The provisioning server can reset the MTA at this point in the flows. The MTA is part of the security domain and MUST respond to management requests, the SNMP INFORM of MTA15 is the indicator, see clause 5.4.1.2.
| MTA15
MUST occur after MTA14 completion
| If failure per SNMP protocol, return to MTA1.
SNMP server MUST send response to SNMP-INFORM.
|
+| MTA16 | SNMPv3 GET Request (Optional). If any additional MTA device capabilities are needed by the PROV_APP, the PROV_APP requests these from the MTA via SNMPv3 Get Requests. This is done by having the PROV_APP send the PROV_SNMP_ENTITY a "get request" Iterative: The PROV_SNMP_ENTITY sends the MTA one or more SNMPv3 GET requests to obtain any needed MTA capability information. The Provisioning Application may use a GETBulk request to obtain several pieces of information in a single message.
| MTA16 is optional, can occur after MTA15 completion
| N/A |
+| MTA17 | SNMPv3 GET Response
Iterative:
MTA sends the PROV_SNMP_ENTITY a response for each GET Request. After all the Gets, or the GetBulk, finish, the PROV_SNMP_ENTITY sends the requested data to the PROV_APP.
| MTA17
MUST occur after MTA16 completion if MTA16 is performed
| N/A |
+| MTA18 | This Protocol is not defined by IPCablecom. The PROV_APP MAY use the information from MTA16 and MTA17 to determine the contents of the MTA Configuration Data file. Mechanisms for sending, storing and, possibly, creating the configuration file are outlined in MTA19.
| MTA18
SHOULD occur after MTA15 completion unless MTA16 is performed, then it SHOULD be after MTA17 has completed
| N/A |
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|
+| MTA19 | SNMPv3 SET
The PROV_APP MAY create the configuration file at this point, or send a predefined one. A hash MUST be run on the contents of the configuration file. The configuration file MAY be encrypted. The hash and the encryption key (if the configuration file is encrypted) MUST be sent to the MTA. The PROV_APP MUST store the configuration file on the appropriate TFTP server.
The PROV_APP then instructs the PROV_SNMP_ENTITY to send an SNMP SET message to the MTA containing the following variables (defined in [ITU-T J.166]).
pktcMtaDevConfigFile pktcMtaDevProvConfigHash
and
pktcMtaDevProvConfigKey (This MUST NOT be included if the MTA configuration file is unencrypted).
NOTE 1 – In the case of file download using the HTTP access method, the filename MUST be URL-encoded with a URL format compliant with [IETF RFC 2616] with the exception stated below in Note 3.
NOTE 2 – In the case of file download using the TFTP access method, the filename MUST be URL-encoded with a URL format compliant with [IETF RFC 3617] with the exception stated below in Note 3.
NOTE 3 – MTA MUST accept IPv4 addresses embedded in URL encoded format with or without square brackets.
| MTA19 MUST occur after MTA18 completion | If failure per SNMP protocol, return to MTA1 |
+| MTA20 | DNS Request
If the URL-encoded access method contains a FQDN instead of an IPv4 address, the MTA MUST use the service provider network's DNS server to resolve the FQDN into an IPv4 address of either the TFTP Server or the HTTP Server.
| MTA20 MUST occur after MTA19 completion if FQDN is used | If failure per DNS protocol, return to MTA1 |
+| MTA21 | DNS Reply
DNS Response: DNS server returns the IP address against MTA20 DNS request.
| MTA21 MUST occur after MTA20 completion if FQDN is used | If failure per DNS protocol, return to MTA1 |
+| MTA22 | TFTP/HTTP Configuration file Request
The MTA MUST perform either the TFTP or HTTP protocol exchange, as specified in step MTA19, to download its configuration file. For specific details of each protocol, see [IETF RFC 3415] and [IETF RFC 3412].
| MTA22 MUST occur:
After MTA19 if DNS resolution is not required.
After MTA21 if DNS resolution is required.
| If failure per TFTP or HTTP protocols, return to MTA1 |
+
+**Table 1 – Embedded-MTA power-on initialization flow description (IPv4 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| MTA23 | TFTP/HTTP Configuration file Request
The TFTP/HTTP Server MUST send the requested configuration file to the MTA. Specific details of each protocol are found in [IETF RFC 3415] and [IETF RFC 3412]. The hash of the downloaded configuration file is calculated by the MTA and compared to the value received in step MTA19. If the hashes do not match, the MTA MUST fail this step. If encrypted, the configuration file MUST be decrypted.
Refer to clause 9.1 for MTA configuration file contents.
| MTA23 MUST occur after MTA22 completion | If the configuration file download failed per TFTP or HTTP protocols, return to MTA1.
Otherwise, proceed to MTA24 or MTA25, and send the failed response if the MTA configuration file itself is in error.
|
+| MTA24 | SYSLOG Notification
If a SYSLOG server is configured and enabled as part of the Provisioning Process (Refer to step MTA2 for DHCP Options and ITU-T Rec. J.172, [ITU-T J.166] and [IETF-draft-eventness] for configuration using the MEM-MIB), then the MTA MUST send the voice service provider's SYSLOG a "provisioning complete" event indicating the status of the provisioning operation. This notification will include the pass-fail result of the provisioning operation. The general format of this notification is as defined in clause 5.4.3.
| MTA24 MUST occur after MTA23 completion if SYSLOG is configured | The MTA MAY retry this step before proceeding to MTA25 |
+| MTA25 | SNMP INFORM
The MTA MUST send the PROV_SNMP_ENTITY (specified in DHCP option 122 sub-option 3) an SNMP INFORM containing a "provisioning complete" notification. The receipt of the inform is acknowledged by the response message as defined in [IETF RFC 3414].
The SNMP INFORM MUST contain a "pktcMtaDevProvisioningStatus" MIB object.
NOTE 1 – At this stage, the MTA device provisioning data is sufficient to provide any minimal services as determined by the service provider (e.g., 611).
NOTE 2 – Depending on the TLV-38 configuration, there might be multiple SNMP INFORMs sent to the configured SNMP Management stations.
| MTA25 MUST occur after MTA24 if SYSLOG is used, otherwise MUST occur after MTA23 completion | MTA MAY generate a Provisioning Failure event notification to the Service Provider's Fault Management server.
Provisioning process stops; manual interaction required.
SNMP server MUST send response to SNMP-INFORM.
|
+
+### 7.2.2 Embedded-MTA secure power-on initialization flow (IPv6 eCM)
+
+
+
+The diagram is a sequence diagram titled "eCM provisioning in IPv6 mode". It shows the following sequence of messages:
+
+- Start with DOCSIS Initialization/Registration** (highlighted in yellow)
+- CM1v6: CMTS sends DHCPv6 SOLICIT (w/IPv6 CL Option Code CL\_OPTION\_ORO(1) with CL\_OPTION\_CCC) to DOCSIS DHCP.
+- CM2v6: DOCSIS DHCP responds with DHCPv6 ADVERTISE (w/DHCPv6 OPTION\_VENDOR\_OPTS(17) including the CL Option Code CL\_OPTION\_CCC(122)) to CMTS.
+- CM3v6: CMTS sends DHCPv6 REQUEST to DOCSIS DHCP.
+- CM4v6: DOCSIS DHCP responds with DHCPv6 REPLY to CMTS.
+- CM5v6: CMTS sends DOCSIS 3.0 CM config file request to DOCSIS TFTP.
+- CM6v6: DOCSIS TFTP responds with DOCSIS 3.0 config file to CMTS.
+- CM7v6: CMTS sends ToD Request to DOCSIS ToD.
+- CM8v6: DOCSIS ToD responds with ToD Response to CMTS.
+- CM9v6: CMTS sends CM registration with CMTS to DOCSIS DHCP.
+- CM10v6: DOCSIS DHCP responds with CMTS Registration ACK to CMTS.
+- Complete DOCSIS Initialization/Registration** (highlighted in yellow)
+- After CM10v6, arrows point from CM/MTA, CMTS, DOCSIS DHCP, DOCSIS TFTP, DOCSIS ToD, Prov Server, PKT DHCP, PKT DNS, PKT TFTP, MSO KDC, and SYSLOG to the right, indicating the flow continues.
+
+Sequence diagram showing the eCM provisioning flow in IPv6 mode. The diagram illustrates the interaction between CM/MTA, CMTS, DOCSIS DHCP, DOCSIS TFTP, DOCSIS ToD, Prov Server, PKT DHCP, PKT DNS, PKT TFTP, MSO KDC, and SYSLOG. The flow starts with DOCSIS Initialization/Registration (CM1v6 to CM10v6) and ends with the completion of the flow.
+
+Figure 6a – eCM provisioning in IPv6 mode
+
+Table 1a – Embedded-MTA power-on initialization flow description (IPv6 eCM)
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|-----------------------------------------|
+| NOTE – Refer to [ITU-T J.222.2] for a complete description of the eCM Provisioning Flows. This only provides IP configuration retrieval using DHCPv6. | | | |
+| CM1v6 | As specified in DOCSIS, an eCM trying to obtain IP configuration information from a DHCPv6 server transmits a DHCPv6 SOLICIT message. The following requirements apply to the message: - – The eCM MUST include all the DHCPv6 Options required by [ITU-T J.222.2].
- – The eCM MUST request option CL_OPTION_CCC(122) within the "CableLabs Option Request Option", CL_OPTION_ORO(1), as specified in Annex A of [ITU-T J.166].
- – The eCM MUST include the CableLabs vendor specific options from CL_OPTION_DEVICE_TYPE(2) until CL_OPTION_VENDOR_NAME(10), inclusive, as specified in Annex A of [ITU-T J.166].
- – The eCM MUST include CL_OPTION_DEVICE_ID(36) as specified in Annex A of [ITU-T J.166].
| Initial
MUST step in sequence | Per DOCSIS |
+| CM2v6 | The DOCSIS DHCPv6 server, if it has been configured to support E-MTA devices, MUST respond with a DHCPv6 ADVERTISE message. The following requirements apply to the message: - – The DOCSIS DHCPv6 server MUST include all the DHCPv6 options specified in [ITU-T J.222.2].
- – The DOCSIS DHCPv6 server MUST include the option OPTION_VENDOR_OPTS(17) containing option CL_OPTION_CCC with sub-option 1 and, possibly, sub-option 2.
| CM2v6 MUST occur after CM1v6 completion, unless two-message rapid commit message exchange is used | Per DOCSIS |
+
+**Table 1a – Embedded-MTA power-on initialization flow description (IPv6 eCM)**
+
+| Flow | Embedded-MTA power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|-----------------------------------------|
+| | - – A DOCSIS DHCPv6 server configured to prevent eMTAs from provisioning MUST include a value of 0.0.0.0 within sub-option 1 of CL_OPTION_CCC.
- – A DOCSIS DHCPv6 server without any prior knowledge of eMTA devices MAY respond with DHCP ADVERTISE messages without the CL_OPTION_CCC option.
Refer to clause 8.1 for more information on sub-options 1 and 2.
| | |
+| CM3v6 | Upon receiving a DHCPv6 ADVERTISE by the eCM, the following requirements apply:
- – the eCM MUST check for the requested option CL_OPTION_CCC. If it is not present, the eCM MUST exponentially retransmit the DHCPv6 SOLICIT message (CM1v5) for three attempts (e.g., in two-, four-, eight-second intervals).
- – If the eCM does not receive any DHCPv6 ADVERTISE message with option CL_OPTION_CCC within the retry attempts, it MUST select a DHCPv6 ADVERTISE message without the option code CL_OPTION_CCC.
- – Once a DHCPv6 ADVERTISE message has been selected, the eCM MUST send a DHCPv6 REQUEST message to indicate acceptance, as specified in [IETF RFC 3315].
| CM3v6 MUST occur after CM2v6 completion, unless two-message rapid commit message exchange is used
| Per DOCSIS |
+| CM4v6 | The DOCSIS DHCPv6 server, upon receiving a DHCPv6 REQUEST message indicating its presence, MUST respond with a DHCPv6 REPLY message.
Upon receiving this message by an eCM, the following requirements apply:
- – the eCM MUST check again for the presence of option CL_OPTION_CCC. If it is not present, the eCM MUST NOT initialize the MTA. If it is present and the value of sub-option 1 is not set to a value of 0.0.0.0, the eCM MUST initialize the MTA and transmit the values pertaining to the Telephony Service Provider's DHCP server information (sub-option 1 and sub-option 2). If it is present and the value of sub-option 1 is set to a value of 0.0.0.0, the eCM MUST NOT initialize the MTA.
- – The eCM MUST treat the contents of the DHCPv6 REPLY message as authoritative over the DHCPv6 ADVERTISE message.
| CM4v6 MUST occur after CM3v6 or CM1v6 (if rapid commit is used)
| Per DOCSIS |
+| CM5v6-CM10v6 | The eCM MUST complete the remainder of the DOCSIS specified registration sequence.
| CM5v6-CM10v6 MUST occur after CM4v6 completion
| Per DOCSIS |
+| MTA1-MTA25 | The eMTA MUST complete the remainder of the flow as indicated in clause 7.2.1.
| MTA1-MTA25 MUST occur after CM10v6 completion
| |
+
+## 7.3 Embedded-MTA power-on initialization flow (Basic flow)
+
+The Basic MTA provisioning flow is very similar to the DOCSIS CM provisioning flow. See Figure 7 and Table 2.
+
+
+
+Sequence diagram showing the Embedded-MTA basic power-on initialization flow. The diagram shows four steps: B-MTA-22 (Telephony config file request), B-MTA-23 (Telephony config file), B-MTA-24 (TA send telephony service provider SYSLOG a notification of provisioning completed (Optional)), and B-MTA-25 (Notify completion of telephony provisioning (MTA MAC address, ESN, pass/fail) - OPTIONAL). Arrows indicate the flow between CM/MTA, CM/MTS, DOCSIS DHCP, DOCSIS TFTP, DOCSIS ToD, Prov Server, PKT DHCP, PKT DNS, PKT TFTP, MSO KDC, and SYSLOG.
+
+Figure 7 – Embedded-MTA basic power-on initialization flow
+
+Table 2 – Embedded-MTA basic power-on initialization flow description
+
+| Flow | Embedded-MTA basic power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| NOTE – The FQDN provided in the DHCP ACK in DHCP option 122 sub-option 3 (Provisioning Entity Address) MUST be resolved to an IP address before step B-MTA-22. | | | |
+| B-MTA-22 | TFTP Configuration File Request
The MTA MUST perform a TFTP protocol exchange to download its configuration file. The 'siaddr' and 'file' fields of the DHCP ACK are used to locate the configuration file. Specific details of the TFTP protocol can be found in [IETF RFC 3415]. | B-MTA-22 MUST occur after MTA4. | If failure per TFTP protocol, return to MTA1 |
+| B-MTA-23 | TFTP Configuration File Response
The TFTP server MUST send the requested configuration file to the MTA. Specific details of the TFTP protocol can be found in [IETF RFC 3415].
The downloaded configuration file MUST contain the MIB object 'pktcMtaDevConfigHash'. The MTA MUST calculate the hash of the downloaded configuration file per clause 9.1 and compare this value to the value contained in the 'pktcMtaDevConfigHash' object. If these values do not match, this step MUST fail.
Refer to clause 9.1 for MTA configuration file contents. | B-MTA-23 MUST occur after B-MTA-22 | If the configuration file download failed per TFTP protocols, return to MTA1.
Otherwise, proceed to B-MTA-24 and send the failed response if the MTA configuration file itself is in error. |
+| B-MTA-24 | SYSLOG Notification
If a SYSLOG server is configured and enabled as part of the Provisioning Process (refer to step MTA2 for DHCP options and ITU-T Rec. J.172, [ITU-T J.166] and [IETF-draft-eventmess] for configuration using the MEM-MIB), then the MTA MUST send the voice service provider's SYSLOG a "provisioning complete" event indicating the status of the provisioning operation. The general format of this notification is as defined in clause 5.4.3. | B-MTA-24 MUST occur after B-MTA-23 completion if SYSLOG is configured | The MTA MAY retry this step before proceeding to B-MTA-25 |
+
+**Table 2 – Embedded-MTA basic power-on initialization flow description**
+
+| Flow | Embedded-MTA basic power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
+| B-MTA-25 | SNMPv2c Provisioning Status INFORM (optional)
If commanded by DHCP option 122 sub-option 6, the MTA MUST send the PROV_SNMP_ENTITY (specified in DHCP option 122 sub-option 3) an SNMP INFORM containing a "provisioning complete" notification. The receipt of the SNMP INFORM is acknowledged.
The SNMP INFORM MUST contain a "pktcMtaDevProvisioningStatus" MIB object.
The SNMPv2c community name used in the status SNMP INFORM MUST have a value "private" (taken without the quotation mark).
NOTE 1 – At this stage, the MTA device provisioning data is sufficient to provide any minimal services as determined by the service provider (e.g., 611).
NOTE 2 – Depending on the TLV-38 configuration value pairs, there might be multiple SNMP INFORMs sent to the configured SNMP Management stations.
| B-MTA-25 is optional, MAY occur after B-MTA-24 if SYSLOG is used, otherwise MAY occur after B-MTA-23 completion | Provisioning process stops; Manual interaction required. SNMP server MUST send response to SNMP-INFORM. |
+
+## **7.4 Embedded-MTA power-on initialization flow (Hybrid flow)**
+
+The Hybrid Provisioning Flow (Hybrid Flow) is essentially the Secure Flow with Kerberos exchanges removed and SNMPv2c substituted for SNMPv3. The SNMPv2c community name, used in the SNMP INFORM messages sent by the MTA in steps H-MTA-15 and H-MTA-25 below, MUST have a value "private" (taken without the quotation mark). See Figure 8 and Table 3.
+
+
+
+```
+
+sequenceDiagram
+ participant CM_MTA as CM/MTA
+ participant CMTS
+ participant DOCSIS_DHCP as DOCSIS DHCP
+ participant DOCSIS_TFTP as DOCSIS TFTP
+ participant DOCSIS_ToD as DOCSIS ToD
+ participant Prov_Server as Prov Server
+ participant PKT_DHCP as PKT DHCP
+ participant PKT_DNS as PKT DNS
+ participant PKT_TFTP as PKT TFTP
+ participant MSO_KDC as MSO KDC
+ participant SYSLOG
+
+ Note over CM_MTA, Prov_Server: H-MTA-15: SNMP Inform (see table for data list)
+ CM_MTA->>Prov_Server: SNMP Inform
+ Note over CM_MTA, Prov_Server: H-MTA-16: SNMP Get Request(s) for MTA device capabilities (optional/iterative)
+ Prov_Server->>CM_MTA: SNMP Get Request
+ Note over CM_MTA, Prov_Server: H-MTA-17: SNMP Get Response(s) containing MTA device capabilities (optional/iterative)
+ CM_MTA->>Prov_Server: SNMP Get Response
+ Note over Prov_Server, PKT_TFTP: H-MTA-18: MTA config file
+ Prov_Server->>PKT_TFTP: MTA config file
+ Note over CM_MTA, Prov_Server: H-MTA-19: SNMP Set with URL encoded file download access method (TFTP or HTTP), filename, and hash
+ Prov_Server->>CM_MTA: SNMP Set
+ Note over CM_MTA, PKT_DNS: H-MTA-20: Resolve TFTP server FQDN
+ CM_MTA->>PKT_DNS: Resolve TFTP server FQDN
+ Note over CM_MTA, PKT_DNS: H-MTA-21: TFTP server IP address
+ PKT_DNS->>CM_MTA: TFTP server IP address
+ Note over CM_MTA, PKT_TFTP: H-MTA-22: Telephony config file request
+ CM_MTA->>PKT_TFTP: Telephony config file request
+ Note over CM_MTA, PKT_TFTP: H-MTA-23: Telephony config file
+ PKT_TFTP->>CM_MTA: Telephony config file
+ Note over CM_MTA, SYSLOG: H-MTA-24: MTA send telephony service provider SYSLOG a notification of provisioning completed (Optional)
+ CM_MTA->>SYSLOG: SYSLOG notification
+ Note over CM_MTA, Prov_Server: H-MTA-25: Notify completion of telephony provisioning (MTA MAC address, ESN, pass/fail) - OPTIONAL
+ CM_MTA->>Prov_Server: Notify completion
+
+```
+
+Sequence diagram for Embedded-MTA hybrid power-on initialization flow (Hybrid flow).
+
+**Figure 8 – Embedded-MTA hybrid power-on initialization flow**
+
+**Table 3 – Embedded-MTA hybrid power-on initialization flow description**
+
+| Flow | Embedded-MTA hybrid power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
+| NOTE – The FQDN provided in the DHCP ACK in DHCP option 122 sub-option 3 (Provisioning Entity Address) MUST be resolved to an IP address before step H-MTA-15. | | | |
+| H-MTA-15 | SNMPv2c Enrolment INFORM
The MTA MUST send a SNMPv2c Enrolment INFORM to PROV_SNMP_ENTITY (specified in the DHCP option 122 sub-option 3). The SNMP INFORM MUST contain a 'PktcMtaDevProvisioningEnrollment' object as defined in [ITU-T J.166].
The PROV_SNMP_ENTITY notifies the PROV_APP that the MTA has entered the management domain.
| H-MTA-15 MUST occur after MTA4 completion | If failure per SNMP protocol, return to MTA1. SNMP server MUST send response to SNMP-INFORM. |
+| H-MTA-16 | SNMPv2c GET Request (optional)
The Provisioning Application may request additional MTA device capabilities from the MTA via SNMPv2c GET requests. This is done by having the Provisioning Application send the PROV_SNMP_ENTITY an SNMP GET request.
Iterative:
The PROV_SNMP_ENTITY sends the MTA one or more SNMPv2c GET requests to obtain any needed MTA capability information. The Provisioning Application may use a GETBulk request to obtain several pieces of information in a single message.
| H-MTA-16 is optional, can occur after H-MTA-15 completion | N/A |
+| H-MTA-17 | SNMPv2c GET Response (optional)
Iterative:
MTA sends the PROV_SNMP_ENTITY a Get Response for each Get Request.
After all the Gets, or the GetBulk, finish, the PROV_SNMP_ENTITY sends the requested data to the Provisioning Application.
| H-MTA-17 MUST occur after H-MTA-16 completion if H-MTA-16 is performed | N/A |
+| H-MTA-18 | This protocol is not defined by IPCablecom.
The Provisioning Application MAY use the information from H-MTA-15, -16, and -17 to determine the contents of the MTA configuration data file. Mechanisms for sending, storing and, possibly, creating the configuration file are outlined in H-MTA-19.
| H-MTA-18 SHOULD occur after H-MTA-15 completion unless H-MTA-16 is performed, then it SHOULD be after H-MTA-17 has completed | N/A |
+
+**Table 3 – Embedded-MTA hybrid power-on initialization flow description**
+
+| Flow | Embedded-MTA hybrid power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|--------------------------------------------------------|
+| H-MTA-19 | SNMPv2c Configuration File Set
The Provisioning Application MAY create the configuration file at this point, or send a predefined one. The Provisioning Application MUST calculate SHA-1 hash on the contents of the configuration file. The Provisioning Application MUST store the configuration file on the appropriate TFTP server.
The Provisioning Application then instructs the PROV_SNMP_ENTITY to send an SNMPv2c SET message to the MTA, containing the following varbindings (defined in [ITU-T J.166]):
pktcMtaDevConfigFile
pktcMtaDevProvConfigHash
Unlike the Secure Flow, the pktcMtaDevProvConfigKey MIB object MUST NOT be included. If the pktcMtaDevProvConfigKey MIB object is included, the MTA MUST return an 'inconsistent value' error (refer to [IETF RFC 3413] for more information regarding SNMP SET Responses).
NOTE 1 – In the case of file download using the HTTP access method, the filename MUST be URL-encoded with a URL format compliant with [IETF RFC 2616] with the exception stated below in Note 3.
NOTE 2 – In the case of file download using the TFTP access method, the filename MUST be URL-encoded with a URL format compliant with [IETF RFC 3617] with the exception stated below in Note 3.
NOTE 3 – MTA MUST accept IPv4 addresses embedded in URL encoded format with or without square brackets.
| H-MTA-19 MUST occur after H-MTA-18 completion | If failure per SNMP protocol, return to MTA1 |
+| H-MTA-20 | DNS Request (optional)
If the URL-encoded access method contains a FQDN instead of an IPv4 address, the MTA MUST use the service provider network's DNS server to resolve the FQDN into an IPv4 address of either the TFTP Server or the HTTP Server.
| H-MTA-20 MUST occur after H-MTA-19 completion if FQDN is used | If failure per DNS protocol, return to MTA1 |
+| H-MTA-21 | DNS Reply (optional)
DNS Response: DNS server returns the IP address against H-MTA-20 DNS request.
| H-MTA-21 MUST occur after H-MTA-20 completion if FQDN is used | If failure per DNS protocol, return to MTA1 |
+| H-MTA-22 | TFTP/HTTP Configuration file Request
The MTA MUST perform either the TFTP or HTTP protocol exchange, as specified in step H-MTA-19, to download its configuration file. For specific details of each protocol, see [IETF RFC 3415] and [IETF RFC 3412].
| H-MTA-22 MUST occur after H-MTA-19 unless FQDN is specified then MUST be after H-MTA-21. | If failure per TFTP or HTTP protocols, return to MTA1. |
+
+**Table 3 – Embedded-MTA hybrid power-on initialization flow description**
+
+| Flow | Embedded-MTA hybrid power-on initialization flow description | Normal flow sequencing | MUST proceed to here if this step fails |
+|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| H-MTA-23 | TFTP/HTTP Configuration file Response
TFTP/HTTP server MUST send the requested configuration file to the MTA. Specific details of each protocol are found in [IETF RFC 3415] and [IETF RFC 3412].
The hash of the downloaded configuration file is calculated by the MTA and compared to the value received in step H-MTA-19. If the hashes do not match, this step MUST fail.
Refer to clause 9.1 for MTA configuration file contents.
| H-MTA-23 MUST occur after H-MTA-22 | If the configuration file download failed per TFTP or HTTP protocols, return to MTA1.
Otherwise, proceed to MTA24 or MTA25, and send the failed response if the MTA configuration file itself is in error.
|
+| H-MTA-24 | SYSLOG Notification
If a SYSLOG server is configured and enabled as part of the Provisioning Process (Refer to step MTA2 for DHCP Options and ITU-T Rec. J.172, [ITU-T J.166] and [IETF-draft-eventmess] for configuration using the MEM-MIB), then the MTA MUST send the voice service provider's SYSLOG a "provisioning complete" event indicating the status of the provisioning operation. This notification will include the pass-fail result of the provisioning operation. The general format of this notification is as defined in clause 5.4.3.
| H-MTA-24 MUST occur after H-MTA-23 completion if SYSLOG is configured | The MTA MAY retry this step before proceeding to H-MTA-25 |
+| H-MTA-25 | SNMPv2c Provisioning Status Inform (optional)
If commanded by DHCP 122 sub-option 6, the MTA MUST send the PROV_SNMP_ENTITY (specified in DHCP option 122 sub-option 3) a SNMPv2C Provisioning Status INFORM containing a "provisioning complete" notification. The receipt of the inform is acknowledged.
The inform MUST contain a 'pktcMtaDevProvisioningStatus' MIB object.
NOTE 1 – At this stage, the MTA device provisioning data is sufficient to provide any minimal services as determined by the service provider (e.g., 611).
NOTE 2 – Depending on the TLV-38 configuration, there might be multiple SNMPv2c INFORM sent to the configured SNMP Management stations.
| H-MTA-25 is optional. It MAY occur after H-MTA-24 if SYSLOG is used, otherwise it MAY occur after H-MTA-23 completion | Provisioning process stops; manual interaction required. SNMP server MUST send response to SNMP-INFORM |
+
+## 7.5 Endpoint provisioning completion notifications
+
+After the MTA has been provisioned successfully regardless of the selected provisioning flow, the MTA will set up the necessary security association for the related CMS configured realms (KDCs). The MTA NCS signalling software will initiate the establishment of the IPsec security association to the configured CMS clusters. Event notifications are triggered if security associations cannot be established (based on [ITU-T J.170]).
+
+With the selected Basic, Hybrid, or Secure flow complete, and after any required security associations are established, the MTA NCS signalling software determines whether a signalling path can be set up with an RSIP message and the associated ACK. Coming from a link down situation, the MTA will send an SNMP Link Up Trap when the RSIP has been properly acknowledged. This indicates that the endpoint is provisioned. If the same CMS is used for multiple endpoints, a SNMP link up message will be sent for each associated endpoint. If not all endpoints use the same CMS, the same process needs to be repeated for each endpoint needing a different configured CMS.
+
+## **7.6 Post initialization incremental provisioning**
+
+This clause describes the flows allowing the Provisioning Application to perform incremental provisioning of individual voice communications endpoints after the MTA has been initialized. Post-initialization incremental provisioning MAY involve communication with a customer service representative (CSR).
+
+### **7.6.1 Synchronization of provisioning attributes with configuration file**
+
+Incremental provisioning includes adding, deleting and modifying subscriber services on one or more endpoints of the embedded-MTA. Services on an MTA endpoint MUST be modified using SNMP via the MTA MIB [ITU-T J.166] and [IETF RFC 4682]. The back office applications SHOULD support a "flow-through" provisioning mechanism that synchronizes all device provisioning information on the embedded-MTA with the appropriate back office databases and servers. Synchronization is required in the event that provisioning information needs to be recovered in order to reinitialize the device. Although the details of the back office synchronization are beyond the scope of this Recommendation, it is expected that, at a minimum, the following information be updated: customer records and the MTA configuration file on the TFTP or HTTP server.
+
+### **7.6.2 Adding/Enabling telephone services on an MTA endpoint**
+
+The Telephony Services may be added and/or enabled on an MTA endpoint. Telephony Services may be added to MTA endpoints that have not been previously provisioned.
+
+Whenever such an MTA endpoint is added/enabled:
+
+- The MTA MUST have been provisioned with the 'device level' configuration data via the configuration file (as described in clause 9.1.1).
+- The authorized SNMP Management Station MUST provision all required configuration attributes as described in clauses 9.1.3, 9.1.4 and 9.1.5 using SNMP SET operations to update the provisioning attributes on the device for the specific telephony port being enabled.
+
+Telephony Services may be enabled for MTA endpoints with services provisioned, but disabled (refer to clauses 7.6.3 and 9.1.1 for more details). To enable previously disabled telephony services on the MTA endpoint, an authorized SNMP Management Station MUST use appropriate SNMP SET operations to achieve both of the following:
+
+- Ensure that the row status MIB Object (pktcNcsEndPntConfigStatus) for the row corresponding to the endpoint is set to a value of "active (1)" (modify it appropriately if it is set to any other value).
+- Ensure that the value of "ifAdminStatus" corresponding to the endpoint being enabled has a value of "up(2)" (modify it appropriately if it is set to any other value).
+
+When an endpoint is provisioned or enabled, the MTA MUST perform the following steps (not necessarily in this order):
+
+- Follow the procedures described in clause 7.1.1.2.5 of the security specification [ITU-T J.170].
+- Modify the "ifOperStatus" MIB Object according to clause 7.7.
+
+If "pktcMtaDevEnabled" MIB Object is set to "true (1)", the MTA MUST follow the above steps for all configured endpoints.
+
+It is to be noted that, given the nature of the MIB Object controlling the absence or presence of IPsec Security Associations with a Call Management Server, Endpoint Provisioning cannot be used to change the IPsec status (refer to Annex B of [ITU-T J.166] and [IETF RFC 4682] for more information). Thus, enabling new services with a Call Management Server whose status has not been indicated earlier (via the configuration file) will result in IPsec being enabled, upon assignment to an endpoint.
+
+As an example of enabling telephony services on an endpoint, consider the case where a subscriber has requested service on an endpoint that has not been previously provisioned.
+
+NOTE – This example assumes the service provider's account creation process has been completed, and shows only the components critical for the flows. For instance, account creation and billing database creation are assumed to be available and integrated in the back office application suite.
+
+
+
+| Flow | MTA | SNMP |
+|------|---------------------------------------------------------------------|------|
+| EN-1 | Update endpoint service provisioning information using SNMP set(s). | |
+| EN-2 | Sends Link Up Trap | |
+
+Sequence diagram showing two flows (EN-1 and EN-2) between an MTA and an SNMP Management Station. EN-1: MTA sends an 'Update endpoint service provisioning information using SNMP set(s)' message to the SNMP station. EN-2: The SNMP station sends a 'Sends Link Up Trap' message back to the MTA.
+
+J.167\_F09
+
+**Figure 9 – Enabling services on an MTA endpoint**
+
+**Table 4 – Enabling services on an MTA endpoint flow description**
+
+| Flow | Enabling services on an MTA endpoint flow description | Normal flow sequencing |
+|------|-------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
+| EN-1 | Authorized SNMP Management Station performs required SNMP SET operations to add services on the MTA Endpoint. | If Endpoint configuration is desired, EN-1 MUST occur after successful completion of power-on initialization flow |
+| EN-2 | The MTA MUST send a Link Up trap to the configured SNMP Management Stations. Refer to clause 7.7 and the IF-MIB [IETF RFC 2863] for more information. | EN-2 MUST occur after EN-1 |
+
+### 7.6.3 Deleting/Disabling telephony services on an MTA endpoint
+
+Provisioned and enabled Telephony Services can be disabled (taken out of service) or deleted if required using SNMP via the MTA MIB ([ITU-T J.166] and [IETF RFC 4682]) and the Signaling MIB ([ITU-T J.166] and [IETF RFC 5098]) on a per-endpoint basis.
+
+Whenever a telephony service is desired to be deleted on an endpoint, the authorized SNMP Management Station MUST delete appropriate configuration attributes described in clauses 9.1.3, 9.1.4 and 9.1.5 using SNMP SET operations for the corresponding endpoint.
+
+To disable the services on an MTA endpoint, an authorized SNMP Management Station MUST use SNMP SET operations to accomplish one or more of the following conditions:
+
+- For the particular endpoint, modify the row status object to a value other than "active (1)" in "pktcNcsEndPntConfigTable".
+- Modify the value of "ifAdminStatus" to "down (2)", for the particular endpoint.
+
+If the endpoint is being deleted or disabled while a call is in progress, the MTA MUST:
+
+- Shut down all media sessions if present.
+- Shut down NCS signalling by following the Restart in Progress procedures in the IPCablecom NCS Specification [ITU-T J.162].
+- Set the pktcNcsEndPntStatusError MIB Object for the particular endpoint to the "disconnected (3)" state.
+
+If "pktcMtaDevEnabled" MIB Object is set to "false (2)", the MTA MUST follow the above procedure for all configured endpoints.
+
+As an example of disabling telephony services on an endpoint, consider the case where a subscriber has requested disabling telephony services on a previously configured endpoint.
+
+NOTE 1 – It is assumed that the service provider's account update process has been completed and shows only the applications critical to MTA operation.
+
+NOTE 2 – This example assumes the service provider's account update process has been completed and shows only the applications critical to MTA operation.
+
+
+
+| Flow | MTA | SNMP |
+|------|---------------------------------------------------------------------|------|
+| DS-1 | Delete endpoint service provisioning information using SNMP set(s). | |
+| DS-2 | Sends Link Down Trap | |
+
+Sequence diagram showing two flows, DS-1 and DS-2, between an MTA and an SNMP Management Station. DS-1 involves the MTA deleting endpoint service provisioning information using an SNMP set(s). DS-2 involves the MTA sending a Link Down Trap to the SNMP Management Station.
+
+J.167\_F10
+
+**Figure 10 – Disabling services on an MTA endpoint**
+
+**Table 5 – Disabling services on an MTA endpoint flow description**
+
+| Flow | Disabling services on an MTA endpoint flow description | Normal flow sequencing |
+|------|---------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| DS-1 | Authorized SNMP Management Station performs required SNMP SET operations to disable services on the MTA Endpoint. | DS-1 MUST occur after the endpoint is brought to enabled state either immediately after the initial provisioning or after the per-endpoint incremental provisioning. |
+| DS-2 | The MTA MUST send a Link Down trap to the configured SNMP Management Stations. Refer to clause 7.7 and the IF-MIB [IETF RFC 2863] for more information. | DS-2 MUST occur after DS-1 |
+
+### 7.6.4 Modifying telephone services on an MTA endpoint
+
+Telephony Services may be modified on a currently provisioned 'MTA Endpoint'. This is accomplished using SNMP via the MTA MIB ([ITU-T J.166] and [IETF RFC 4682]), and the Signalling MIB ([ITU-T J.166], and [IETF RFC 5098]) on a per-endpoint basis. If such a
+
+modification to an endpoint changes the CMS association (pktcNcsEndPntConfigCallAgentId) and/or the port (pktcNcsEndPntConfigCallAgentUdpPort), the endpoint is treated as being taken out of service (as per clause 7.6.3), followed by placing the endpoint back in service (as per clause 7.6.2).
+
+The MTA MUST also follow the procedures described in clause 7.1.1.2.5 of the security specification [ITU-T J.170].
+
+It is to be noted that:
+
+- Modification to call service features requires modifications in the CMS, not in the MTA.
+- Modification to service level parameters related to the eCM component of the eMTA may require rebooting of the E-MTA.
+
+## 7.7 Reflecting the State of the endpoint interface in the ifTable
+
+The operational state of each 'MTA Endpoint' is reflected in the "ifOperStatus" MIB Object of the MTA. This is influenced by the following conditions:
+
+- The corresponding administrative status for the endpoint, reflected in the "ifAdminStatus" table.
+- The state of the telephony service assigned to the corresponding endpoint.
+- The presence or absence of the IPSec security associations on the corresponding endpoint, provided IPSec is enabled (i.e., the MIB Object "pktcMtaDevCmsIpsSecCtrl" set to a value of "true(1)" for that endpoint).
+
+Whenever an MTA reinitializes (following a reboot or a reset), it MUST immediately set the "ifAdminStatus" entries corresponding to all available physical endpoints to a value of 'up (1)'. However, entries in the configuration file or the SNMP Management station can change this status. The MTA MUST further reflect the above conditions in the operational status of each endpoint as explained below.
+
+For each entry corresponding to an endpoint in the "ifTable" MIB, the MTA MUST set the "ifOperStatus" to a value of:
+
+- "down(2)", if the corresponding endpoint is disabled or deleted, or the corresponding "ifAdminStatus" is set to a value of "down(2)";
+- "up(1)", if the corresponding "ifAdminStatus" has a value of "up(1)", the telephony services have been added/enabled for the particular endpoint, and IPSec is disabled with the assigned Call Management Server;
+- "up(1)", if the corresponding "ifAdminStatus" has a value of "up(1)", the telephony services have been added/enabled for the particular endpoint, IPSec is enabled for the assigned Call Management Server, and the IPSec Security association has been established;
+- "dormant(3)", if the corresponding "ifAdminStatus" has a value of "up(1)", the telephony services have been added/enabled for the particular endpoint, IPSec is enabled for the assigned Call Management Server, but the IPSec Security association has not been established.
+
+Further, the MTA MUST not set the 'ifOperStatus' to a value of 'dormant(3)' for endpoints on which IPSec is disabled. Refer to [ITU-T J.166] for more details on enabling/disabling IPSec, clause 7.6.2 for more details on adding/enabling endpoints, and clause 7.6.3 for more details on deleting/disabling endpoints.
+
+The MTA MUST be able to enable or disable the 'Link Up Trap' and 'Link Down Trap' by using the "ifLinkUpDownTrapEnable" MIB Object (Refer to the IF-MIB [IETF RFC 2863] for more details).
+
+## 7.8 Provisioning of the signalling communication path between the MTA and CMS
+
+All issues related to the creation and handling of the NCS Service Flows are considered to be resolved by the DOCSIS means and are out of the scope of this Recommendation.
+
+## 7.9 MTA replacement
+
+IP Cablecom has no requirement to specify MTA replacement procedures. However, the provisioning sequence flows detailed within this Recommendation provide sufficient coverage and flexibility to support replacement. In fact, the initialization sequence for a replacement MTA could be the same as the original MTA's first time initialization. Back office procedures related to migration of subscriber profiles from one MTA to another are specific to individual service provider's network operations. As a result of this wide variance, discussion of these back office procedures are beyond the scope of this Recommendation.
+
+## 7.10 Temporary signal loss
+
+If the eCM (in an E-MTA) resets due to any Rf condition (for example Temporary Rf loss), then the associated IPCablecom eMTA MUST also reset.
+
+NOTE – This will impact calls in progress.
+
+## 7.11 MTA hard reboot/soft reset scenarios
+
+Hard Reboot is defined as a 'power cycle' of the entire E-MTA device. Soft Reset is defined as an 'SNMP reset' of the eMTA, an SNMP reset of the eCM (resulting in the reset of the associated eMTA) or an Rf condition that results in a reset of the eCM, i.e., CM1 or CM1v6 (resulting in the reset of the associated eMTA).
+
+The eMTA MUST NOT differentiate between a 'Hard Reboot' and a 'Soft Reset', unless explicitly specified otherwise. To be more specific, the eMTA MUST have the same initialization parameters (for example, SNMP tables) and follow any requirements regarding persistent information (e.g., NVRAM ticket storage) the same way in either scenario, unless specified otherwise.
+
+# 8 DHCP options
+
+DHCP ([IETF RFC 2131] and [IETF RFC 3315]) is used to obtain the IP configuration data for both the eCM and the eMTA. For IPv4 addressing mode, if total number of octets in any DHCP option exceeds 255 octets, then the MTA MUST follow [IETF RFC 3396] to split the DHCP message into multiple sub-messages.
+
+DHCP option code 122 is used to specify the IPCablecom-specific options to the eCM and eMTA components of an E-MTA. This is conveyed as option 122 within DHCPv4. For eCMs obtaining information from DHCPv6 server, this is conveyed as CL\_OPTION\_CCC(122) within the "CableLabs Option Request Option", CL\_OPTION\_ORO(1), as specified in Annex A of [ITU-T J.166].
+
+## 8.1 DHCP option 122: Client configuration option
+
+DHCP option code 122 is the RFCed replacement for the former option 177 (which was intended as a temporary code). CM and MTA MUST NOT request option 177 in their DHCP DISCOVER or REQUEST message in option 55 (parameter request list). In the case that a CM or MTA requests both options 122 and 177:
+
+- The provisioning server MUST respond with DHCP option 122.
+- The provisioning server MUST NOT respond with DHCP option 177.
+- CM and MTA MUST treat DHCP option 122 as authoritative.
+
+DHCP option code 122 is used in both the CM and MTA DHCP OFFER/ACK messages to provide the addresses of valid IPCablecom network servers and various device configuration data.
+
+Full details of DHCP option 122 encoding can be found in [IETF RFC 3495] and [IETF RFC 3594].
+
+The following clauses provide additional semantic details of each sub-option in DHCP option 122.
+
+**Table 6 – Server options**
+
+| Option | Sub-option | Description and comments | Sub-option required or optional | Default value |
+|---------------|-------------------|----------------------------------------------------------------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 122 | 1 | Service Provider's Primary DHCP Server Address
Required by CM only. | Required | N/A |
+| | 2 | Service Provider's Secondary DHCP Server Address
Optional requirement for CM. | Optional | Empty String |
+| | 3 | Service Provider's Provisioning Entity Address | Required | N/A |
+| | 4 | AS-REQ/REP Exchange Backoff and Retry for SNMPv3 Key Management | Optional | As per the following MIB Objects:
"pktcMtaDevRealmUnsolicitedKeyNomTimeout",
"pktcMtaDevRealmUnsolicitedKeyMaxTimeout",
"pktcMtaDevRealmUnsolicitedKeyMaxRetries" |
+| | 5 | AP-REQ/REP Kerberized Provisioning Backoff and Retry | Optional | As per the following MIB Objects:
"pktcMtaDevProvUnsolicitedKeyNomTimeout"
"pktcMtaDevProvUnsolicitedKeyMaxTimeout"
"pktcMtaDevProvUnsolicitedKeyMaxRetries" |
+| | 6 | Kerberos Realm of SNMP Entity | Required | N/A |
+| | 7 | Ticket Granting Server Usage | Optional | N/A – if MTA does not implement TGT.0 – otherwise. |
+| | 8 | Provisioning Timer | Optional | As per "pktcMtaDevProvisioningTimer" MIB Object (10 minutes) |
+| | 9 | Security Ticket Invalidation | Optional | 0 – apply normal ticket invalidation rules per [ITU-T J.170] |
+
+MTA MUST be able to retrieve and process the data from all sub-options in the above table. Provisioning Server MUST supply to the MTA all "required" sub-options and MAY supply all "optional" sub-options.
+
+If an "optional" sub-option is not supplied by the Provisioning Server, the MTA MUST use the default value of the sub-option.
+
+If the "required" sub-option is not supplied by the Provisioning Server, the MTA MUST reject the corresponding DHCP OFFER/ACK.
+
+If the sub-option contains wrong (invalid) value, the MTA MUST:
+
+- reject the corresponding DHCP OFFER/ACK in case of "required" sub-option;
+- use the default value in case of "optional" sub-option. For any sub-option with multiple parameters (e.g., option 122 sub-option 4 or option 122 sub-option 5), the MTA MUST apply the corresponding default value only to the parameter (or parameters) that contains the wrong value.
+
+An MTA MUST ignore any other sub-option in option 122 except those listed in the above table.
+
+### 8.1.1 Service provider's DHCP address (sub-option 2)
+
+The Service Provider's DHCP Server Address identifies the DHCP servers that a DHCP OFFER will be accepted from in order to obtain an MTA-unique IP address for a given service provider's network administrative domain.
+
+The encoding of these sub-options is defined in [IETF RFC 3495].
+
+Sub-option 1 MUST be included in the DHCP OFFER/ACK to the CM and it indicates the Primary DHCP server's IP address. The value contained in sub-option 1 MUST be a valid IP address, a value of 255.255.255.255 or a value of 0.0.0.0. The value contained in sub-option 2 MUST be a valid IP address.
+
+The MTA MUST follow the logic in Table 7 when defining its DHCP strategy regardless of the Provisioning Flow used:
+
+**Table 7 – Service provider's DHCP address (sub-option 2)**
+
+| Value of sub-option 1 | Value of sub-option 2 | |
+|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
+| | Valid IP – DHCP Server is Responding | Valid IP – DHCP is not responding |
+| Valid IP – DHCP Server is Responding | MTA MUST accept DHCP OFFERs coming only from the IP Address in the sub-option 1. | MTA MUST accept DHCP OFFERs coming only from the IP Address in the sub-option 1. |
+| Valid IP – DHCP is NOT responding | MTA MUST try exponentially at least three times before accepting the DHCP OFFER coming from the DHCP Server pointed out by sub-option 2. | MTA MUST return to MTA1 step. |
+| 255.255.255.255 | MTA MUST select the OFFERs according to the logic of [IETF RFC 2131]. Value in the sub-option 2 MUST be ignored. | MTA MUST select the OFFERs according to the logic of [IETF RFC 2131]. Value in the sub-option 2 MUST be ignored. |
+| 0.0.0.0 | MTA MUST stop all provisioning attempts as well as all other activities. | MTA MUST stop all provisioning attempts as well as all other activities. |
+
+### **8.1.2 Service provider's provisioning entity address (sub-option 3)**
+
+The Service Provider's Provisioning Entity Address is the network address of the provisioning server for a given voice service provider's network administrative domain.
+
+The encoding of this sub-option is defined in [IETF RFC 3495]. This address MUST be configured as an FQDN only.
+
+An FQDN value of 0.0.0.0 in sub-option 3 of a valid MTA DHCP OFFER/ACK specifies that the MTA MUST shut down and not try to provision unless it is reinitialized by the CM. This is explained in step MTA2 of the provisioning flow process of clause 7.2.
+
+The Service Provider's provisioning Entity Address component MUST be capable of accepting SNMP traps.
+
+Sub-option 3 MUST be included in the DHCP OFFER to the MTA.
+
+### **8.1.3 AS-REQ/REP exchange backoff and retry for SNMPv3 key management (sub-option 4)**
+
+The MTA MUST use the DHCP option 122 sub-option 4, if supplied in Secure Flow only. AS-REQ/REP exchange backoff and retry mechanism of the Kerberized SNMPv3 key negotiation defined in [ITU-T J.170] is controlled by the values delivered in this sub-option or by the default values of the corresponding MIB objects in the Realm Table if this sub-option is not present in the DHCP Option 122.
+
+The encoding of this sub-option is defined in [IETF RFC 3495].
+
+The sub-option's nominal timeout value corresponds to the:
+pktcMtaDevRealmUnsolicitedKeyNomTimeout MIB object in the pktcMtaDevRealmTable.
+
+The sub-option's maximum timeout value corresponds to the:
+pktcMtaDevRealmUnsolicitedKeyMaxTimeout MIB object in the pktcMtaDevRealmTable.
+
+The sub-option's max retry count corresponds to the pktcMtaDevRealmUnsolicitedKeyMaxRetries MIB object in the pktcMtaDevRealmTable.
+
+An MTA MUST be able to retrieve the above parameters from this sub-option, if they are supplied by the Provisioning Server.
+
+Provisioning Server MAY provision an MTA with the above parameters using this sub-option.
+
+If any of the values defined in this sub-option are "FFFFFFFF" (hexadecimal), then the default value of the corresponding column from the Realm Table MUST be used.
+
+### **8.1.4 AP-REQ/REP kerberized provisioning backoff and retry (sub-option 5)**
+
+The MTA MUST use the DHCP option 122 sub-option 5, if supplied in Secure Flow only. AP-REQ/REP backoff and retry mechanism of the Kerberized SNMPv3 key negotiation defined in the security specification [ITU-T J.170] is controlled by the values delivered by this sub-option.
+
+The encoding of this sub-option is defined in [IETF RFC 3495].
+
+The sub-option's nominal timeout value corresponds to the:
+pktcMtaDevProvUnsolicitedKeyNomTimeout MIB object.
+
+The sub-option's maximum timeout value corresponds to the:
+pktcMtaDevProvUnsolicitedKeyMaxTimeout MIB object.
+
+The sub-option's max retry count corresponds to the pktcMtaDevProvUnsolicitedKeyMaxRetries MIB object.
+
+An MTA MUST be able to retrieve the above parameters from this sub-option, if they are supplied by the Provisioning Server.
+
+Provisioning Server MAY provision an MTA with the above parameters using this sub-option.
+
+If any of the values defined in this sub-option are "FFFFFFFF" (hexadecimal), then the default value of the corresponding MIB Object MUST be used.
+
+### 8.1.5 Kerberos realm of SNMP Entity (sub-option 6)
+
+In conjunction with the Provisioning Entity Address, the Kerberos Realm is used as a means of contacting a SNMP Entity in the provisioning realm. The realm name is used to perform a DNS SRV lookup for the realm's KDC.
+
+The DHCP option 122 sub-option 6 MUST be included in the DHCP OFFER to the MTA. For the Secure Flow, the DHCP option 122 sub-option 6 MUST only contain the realm name in the format of FQDN (type = 0 as per [IETF RFC 3495]).
+
+The MTA MUST select the corresponding Provisioning Flow as per Table 8 (the DHCP option 122 sub-option 6 content comparison is case-sensitive and MUST be in all capital letters).
+
+**Table 8 – MTA device provisioning flow selection**
+
+| Content of the DHCP option 122 sub-option 6 | MTA device provisioning flow selection |
+|---------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
+| BASIC.1 | If the DHCP option 122 sub-option 6 value is BASIC.1, the MTA MUST execute the Basic flow without the provisioning complete SNMP INFORM. |
+| BASIC.2 | If the DHCP option 122 sub-option 6 value is BASIC.2, the MTA MUST execute the Basic flow with the provisioning complete SNMP INFORM. |
+| HYBRID.1 | If the DHCP option 122 sub-option 6 value is HYBRID.1, the MTA MUST execute the Hybrid flow without the provisioning complete SNMP INFORM. |
+| HYBRID.2 | If the DHCP option 122 sub-option 6 value is HYBRID.2, the MTA MUST execute the Hybrid flow with the provisioning complete SNMP INFORM. |
+
+The MTA MUST use the Secure Flow if any other value is provided in the DHCP option 122 sub-option 6. For Secure Flow, the encoding of the DHCP option 122 sub-option 6 is defined in [IETF RFC 3495].
+
+#### 8.1.5.1 SNMPv3 key establishment
+
+The SNMPv3 Key Establishment is applicable for Secure Flow only. The AP Request/AP Reply described in Figure 6, the accompanying flow description and the security specification are used by the MTA in the initial provisioning phase to establish keys with the SNMPv3 USM User "MTA-Prov-xx:xx:xx:xx:xx:xx", where xx:xx:xx:xx:xx:xx represents the MAC address of the MTA and MUST be uppercase. The MTA MUST instantiate this user in the USM MIB described in [IETF RFC 3414], with the ability to be keyed using the IPCablecom Kerberized key management method described in the security specification. SNMPv3 authentication is required and privacy is optional. For the list of allowed SNMPv3 authentication and privacy algorithms, see [ITU-T J.170].
+
+Additionally, the usmUserSecurityName MUST be set to the string "MTA-Prov-xx:xx:xx:xx:xx:xx" (quotation marks not included), where xx:xx:xx:xx:xx:xx represents the MAC address of the MTA and MUST be uppercase. This ensures a unique usmUserSecurityName is created for each MTA.
+
+The MTA must first obtain a service ticket for the provisioning realm as described in step MTA9. USM key management is performed over UDP, as specified in [ITU-T J.170]. The SNMPv3 keys are established prior to any SNMPv3 communication and therefore SNMPv3 messages MUST be authenticated at all times (with privacy being optional). The MTA MUST use the USM user created above in the initial INFORM.
+
+### **8.1.6 Ticket granting server usage (sub-option 7)**
+
+The MTA MUST use the DHCP option 122 sub-option 7 if supplied for the provisioning kerberized key management in Secure Flow only. This sub-option contains a Boolean, which when true, indicates that the MTA SHOULD get its TGT (ticket granting ticket).
+
+Sub-option 7 MAY be included in the DHCP OFFER/ACK to the MTA.
+
+The encoding of this sub-option is defined in [IETF RFC 3495].
+
+### **8.1.7 Provisioning timer (sub-option 8)**
+
+Sub-option 8 defines the value to be used for the provisioning timer. Sub-option 8 MAY be included in the DHCP OFFER/ACK to the MTA.
+
+The encoding of this sub-option is defined in [IETF RFC 3495].
+
+### **8.1.8 Security ticket invalidation (sub-option 9)**
+
+Sub-option 9 contains a bit mask that directs the MTA to invalidate specific application server security tickets. Sub-option 9 MAY be included in the DHCP OFFER/ACK to the MTA. The encoding of this sub-option is defined in [IETF RFC 3594].
+
+## **8.2 DHCP option 60: Vendor-client identifier**
+
+Option code 60 contains a string identifying Capabilities of the MTA. The MTA MUST send the following ASCII Coded String in DHCP option code 60: "pktc1.0:xxxxxx", where xxxxxx MUST be an ASCII representation of the hexadecimal encoding of the MTA TLV Encoded Capabilities, as defined in clause 10.
+
+## **8.3 DHCP options 12 and 15**
+
+MTA FQDN MUST be sent to the E-MTA in option 12 and option 15. Option 12 MUST contain "Host Name" part of the FQDN, and option 15 MUST contain "Domain Name" part of the FQDN.
+
+For example, if MTA FQDN is "mta1.pclab.com", then option 12 must contain "mta1" and option 15 must contain "pclab.com".
+
+## **8.4 DHCP option 6**
+
+DHCP option 6 MUST be used to provide the MTA with its list of DNS server addresses. Option 6 MUST contain at least one DNS server address. Option 6 MAY contain a secondary DNS server address. If this option contains more than two DNS servers, the MTA MUST use the first two addresses.
+
+## **8.5 DHCP option 43**
+
+The MTA MUST send the DHCP option 43 in the DHCP DISCOVER and DHCP REQUEST for the Secure, Hybrid and Basic Flows.
+
+DHCP option 43 contains the number of sub-options defined to provide the MTA device specific information to the back-office systems. The DHCP option 43 sub-options 1 through 10, 31 and 32 are specified by IPCablecom, sub-options 11-30 are reserved for the IPCable2Home Recommendations (ITU-T J.19x-series), sub-options 33 through 50 are reserved for IPCablecom, sub-options 51 through 127 are reserved for future standardized use, and sub-options 128 and above are reserved for vendor use. The IPCablecom DHCP option 43 sub-options MUST be present in the format of "Encapsulated vendor-specific extensions" [IETF RFC 2132].
+
+Table 9 contains the sub-options of the DHCP option 43, which the MTA MUST use. The MTA MUST send all required sub-options listed in the table below unless explicitly stated otherwise. If
+
+the total number of octets in all DHCP option 43 sub-options exceeds 255 octets, the MTA MUST follow [IETF RFC 3396] to split the option into multiple smaller options.
+
+**Table 9 – DHCP option 43 syntax**
+
+| MTA DHCP option 43 sub-options | Required/ Not used in option 43 | Value | Description |
+|---------------------------------------|----------------------------------------|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Sub-option 1 | Not Used | | The request sub-option vector is a list of sub-options (within option 43) to be returned to client by the server upon reply to the request. None defined. The DHCP option 43 sub-option 1 MUST NOT be used by the MTA, and if present, it MUST be ignored by the Provisioning Server. |
+| Sub-option 2 | R | | The sub-option 2 contains the device type of the component making the DHCP request. The MTA MUST send the DHCP option 43 sub-option 2.
For IPCablecom MTAs, the allowable device types are:
– "EMTA" – for E-MTAs
– "SMTA" – for S-MTAs |
+| Sub-option 3 | Not Used | | The sub-option 3 contains a colon separated list of all components in the eDOCSIS device. It is used by the eDOCSIS eCM device.
The DHCP option 43 sub-option 3 MUST NOT be sent by the MTA, and if present, it MUST be ignored by the Provisioning Server. |
+| Sub-option 4 | R | | The sub-option 4 contains the device serial number represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 4. The DHCP option 43 sub-option 4 value MUST be identical to the value of the pktcMtaDevSerialNumber MIB Object. |
+| Sub-option 5 | R | | The sub-option 5 contains the hardware version number represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 5. The DHCP option 43 sub-option 5 MUST be identical to the value of the Hardware version number as in field in the MIB-II object sysDescr. |
+| Sub-option 6 | R | | The sub-option 6 contains the software version number represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 6. The DHCP option 43 sub-option 6 value MUST be identical to the value of the pktcMtaDevSwCurrentVers MIB object. |
+
+**Table 9 – DHCP option 43 syntax**
+
+| MTA DHCP option 43 sub-options | Required/ Not used in option 43 | Value | Description |
+|---------------------------------------|----------------------------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Sub-option 7 | R | | The sub-option 7 contains the Boot ROM Version represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 7.
The DHCP option 43 sub-option 7 value MUST be identical to the <Boot ROM version> field in MIB-II object sysDescr.
|
+| Sub-option 8 | R | | The sub-option 8 contains the Organizational Unique Identifier (OUI) represented as a hexadecimal-encoded 3-byte octet string. It MAY match the OUI in the MTA MAC address.
The MTA MUST send the DHCP option 43 sub-option 8.
If omitted, the Provisioning Server SHOULD use the MTA MAC address as the MTA OUI.
|
+| Sub-option 9 | R | | The sub-option 9 contains the MTA Device Model Number represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 9.
The DHCP option 43 sub-option 9 value MUST be identical to <Model Number> field in the MIB-II object sysDescr.
|
+| Sub-option 10 | R | | The sub-option 10 contains the Vendor Name represented as an ASCII string.
The MTA MUST send the DHCP option 43 sub-option 10. The DHCP option 43 sub-option 10 value MUST be identical to <Vendor Name> field in the MIB-II object sysDescr.
|
+| Sub-options 11-30 | | | Reserved for CableHome |
+| Sub-option 31 | R | | The sub-option 31 contains the MTA MAC Address encoded as a 6-byte octet string.
The MTA MUST send the DHCP option 43 sub-option 31. The DHCP option 43 sub-option 31 value MUST be identical to the content of the pktcMtaDevMacAddress MIB object.
|
+
+**Table 9 – DHCP option 43 syntax**
+
+| MTA DHCP option 43 sub-options | Required/ Not used in option 43 | Value | Description |
+|---------------------------------------|----------------------------------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Sub-option 32 | R | | The sub-option 32 contains the Correlation ID number encoded as 4-byte INTEGER in the network order.
The MTA MUST send the DHCP option 43 sub-option 32.
The DHCP option 43 sub-option 32 value MUST be identical to the content of the pktcMtaDevCorrelationId MIB object.
|
+| Sub-options 33-50 | | | Reserved for IPCablecom. |
+| Sub-options 51 to 127 | | | Reserved for CableLabs. |
+| Sub-options 128 to 254 | | | Reserved for vendors. |
+
+## 8.6 DHCP option 1
+
+DHCP option 1 is defined in [IETF RFC 2132].
+
+## 8.7 DHCP option 3
+
+DHCP option 3 is defined in [IETF RFC 2132].
+
+## 8.8 DHCP OPTION CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION
+
+The Provisioning Server can provide the option 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION' within the DHCP OFFER and ACK messages to indicate preference of the MIB module for MTAs implementing both the IPCablecom and IETF MIBs. The following requirements apply:
+
+- if it is not provided the MTA MUST assume a value of 0x01 (CableLabs);
+- if 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION' is set to a value of 0x01, the MTA MUST use the CableLabs issued MIB modules specified in clause 10.23.2 for provisioning flows (for example, MTA1 through MTA25 for the secure provisioning flow) and default values for all the MIB Objects;
+- if 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION' is set to a value of 0x02, the MTA MUST use the IETF issued MIB modules specified in clause 10.23.3, if implemented, for provisioning flows (for example, MTA1 through MTA25 for the secure provisioning flow) and default values for all the MIB Objects;
+- irrespective of the preference indicated within: 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION', the Provisioning Server MAY use any MIB environment supported by the MTA (as specified in clause 10.23);
+- while providing the configuration file information (for example, MTA19), the Provisioning Server MUST use the MIB environment used by the MTA while requesting the configuration file (for example, MTA15), irrespective of the value provided in 'CL\_V4\_PACKETCABLE\_MIB\_ENV\_OPTION'.
+
+# 9 MTA provisionable attributes
+
+This clause includes the list of attributes and their associated properties used in device provisioning. All of the provisionable attributes specified in this clause MAY be updated via the MTA configuration data file, or on a per-attribute basis using SNMP.
+
+IP Cablecom requires that an MTA configuration data file MUST be provided to all embedded-MTAs during the registration sequence. Endpoint voice services do not have to be enabled at the time of device initialization. MTA device level configuration data MUST be provisioned during initialization. These items are contained in clause 9.1.1.
+
+The MTA configuration data URL generated by the Provisioning Application MUST be less than 255 bytes in length and cannot be NULL. Since this filename is provided to the MTA by the Provisioning Application during the registration sequence, it is not necessary to specify a file-naming convention.
+
+## 9.1 MTA configuration file
+
+This clause explains the format and contents of an MTA configuration file. This file contains a series of "type length and value" (TLV) parameters. Each TLV parameter in the configuration file describes an MTA or endpoint attribute. The configuration data file includes TLVs that have read-write, read-only, and no MIB access. Unless specifically indicated, all MIB-accessible configuration file parameters MUST be defined using DOCSIS TLV type 11, the IP Cablecom type 64, or IP Cablecom TLV type 38. TLV-64 is an IP Cablecom defined TLV where the length value is 2 bytes long instead of the 1 byte for DOCSIS TLV type 11. The TLV type 64 MUST be used when the length is greater than 254 bytes. If desired, vendor-specific information may be added to the configuration file using the vendor-specific TLV-43. This TLV has been specified by the DOCSIS specification (ITU-T Rec. J.112). Vendors MUST NOT provision vendor-specific information using TLV type 11 or 64. TLV-38 is an IP Cablecom defined TLV, analogous to TLV-38 used by DOCSIS and IP Cable2Home. The MTA MUST be able to process the TLVs given in Table 10:
+
+**Table 10 – MTA configuration file**
+
+| Type | Length | Value |
+|------------------------------------------------------------------------------------|-----------------------|-----------------------------------------------------------------|
+| 11 | n, where n is 1 byte | variable binding |
+| 64 | m, where m is 2 bytes | variable binding |
+| 38 | n, where n is 1 byte | Composite (Contains sub TLVs) |
+| 254 | 1 byte | 0x01 for beginning of the file and 0xFF for the end of the file |
+| NOTE – The use of TLV type 11 rather than TLV-64 is recommended wherever possible. | | |
+
+In the future, new TLVs introduced in IP Cablecom must have a "length field" size of 2 bytes.
+
+The VarBind is encoded in ASN.1 Basic Encoding Rules, just as it would be if part of an SNMP Set request.
+
+The MTA configuration file MUST start with the "telephony configuration file start" tag and MUST end with the "telephony configuration file end" tag. These tags enable the MTA TLV parameters to be distinguished from DOCSIS TLV parameters. These tags also provide deterministic indications for start and stop of the MTA configuration file.
+
+The MTA configuration file MUST contain the attributes identified as "required" in the Device Level Configuration Data table, which appears in clause 9.1.1; failing which, the MTA MUST reject the configuration file and take the necessary steps as defined in clause 7.2 (failure of step MTA23 due to 'Configuration file error'). The MTA configuration file MAY contain any of the non-required attributes which appear in the Device Level Configuration Data table. If the configuration file does
+
+not contain required attributes, it MUST be rejected. The MTA configuration file MUST be sent to the embedded-MTA every time this device is powered on.
+
+The Device Level Service Data MAY be sent to the MTA as part of the MTA configuration file or it MAY be sent to the MTA using SNMP. If included in the configuration file, it MUST contain all of attributes identified as 'required' in the Device Level service data, if any. The MTA configuration file MAY additionally contain any of the non-required attributes that appear in the Device Level Service Data table.
+
+If voice services are required on the MTA on any endpoint, the following MUST be done:
+
+- 1) pktcMtaDevEnabled MUST be set to TRUE;
+- 2) per endpoint configuration data MUST be supplied either through the MTA configuration file (during provisioning) or through endpoint provisioning (using SNMP) in the post-provisioning phase.
+
+The Endpoint details, when included, MUST contain the attributes identified as "required" in the Per-Endpoint Configuration Data table, which appears in clause 9.1.3. The MTA configuration file MAY contain any of the non-required attributes which appear in the Per-Endpoint Configuration Data table in clause 9.1.3. The Per-Endpoint Configuration Data MUST be sent to the MTA when voice communications service is activated.
+
+It is to be noted that the Device Level Service Data and Per-Endpoint Configuration Data MAY also be sent to the MTA via incremental provisioning, using SNMP. The MTA MUST support incremental provisioning.
+
+The MTA MUST be able to process all TLV-11 and TLV-64 values with variable bindings containing all MIB objects defined in [ITU-T J.166], unless stated otherwise.
+
+The Device Level Configuration data parameter 'pktcMtaDevEnabled' is used to actually enable or disable voice services on an MTA.
+
+Refer to clause 7.6.1 for a discussion concerning synchronization of provisioning attributes with back office systems.
+
+For the Secure and Hybrid Provisioning Flows, the MTA MUST authenticate the configuration file according to IPCablecom security specification [ITU-T J.170]; the MTA MUST reject the configuration file if the configuration file authentication fails and take the necessary steps as defined in clause 7.2 for the Secure Flow and clause 7.4 for the Hybrid Flow. If the configuration file contains the MIB object 'pktcMtaDevProvConfigHash' in the Secure Flow or the Hybrid Flow, the MTA MUST ignore the value of this MIB object and proceed with further processing of the configuration file and report passWithWarnings and populate the Error OID table (pktcMtaDevErrorOidsTable).
+
+For the Basic Flow, the Provisioning Server and the MTA MUST support the configuration file data verification process as described below:
+
+- 1) When the Provisioning Server creates a new MTA Configuration File or modifies an existing one, to be served for an MTA intended to go through the Basic Flow, it MUST calculate a SHA-1 hash value of the contents of the entire MTA Configuration File including start and end markers, taken as a byte string.
+- 2) The Provisioning Server MUST add the hash value, calculated in Step 1 to the MTA Configuration File as a TLV-11 triplet corresponding to the 'pktcMtaDevProvConfigHash' MIB Object. The Provisioning Server MUST insert the TLV-11 triplet before the Configuration file end-marker. The Provisioning Server MUST NOT change the order of the TLVs in the configuration file after the hash has been calculated. The MTA Configuration File is then made available to the MTA through the appropriate TFTP/HTTP server.
+
+- 3) Upon receiving the configuration file, the MTA MUST do the following: If the MIB object 'pktcMtaDevProvConfigHash' is absent, the MTA MUST reject the configuration file and MUST report 'failOtherReason'.
+
+If the MIB object 'pktcMtaDevProvConfigHash' is present, then the MTA MUST:
+
+- a) Calculate SHA-1 over the contents of the file without TLV-11 triplet containing the 'pktcMtaDevProvConfigHash' and MUST populate the calculated value into 'pktcMtaDevProvConfigHash' MIB object. The MTA must maintain the order of the TLVs for the hash calculation to be correct.
+- b) If the computed hash and the value of the 'pktcMtaDevProvConfigHash' MIB object are the same, the MTA Configuration File integrity is verified and the MTA MUST accept the configuration file for further processing; otherwise, the MTA MUST reject the Configuration File and the MTA MUST report 'failOtherReason'.
+
+The MTA must also check for errors in the configuration file. As described above, errors in any of the mandatory parameters MUST be treated as an error in the configuration file and appropriate steps taken (failure of step MTA23 due to 'Configuration file error').
+
+If there are errors in the non-required OIDs then the MTA MUST accept the configuration file, but report the same in the status (MTA25).
+
+If the Configuration file contains per-cms data and per-endpoint parameters related to CMSs which are not associated to endpoints, an MTA MUST NOT establish SAs till an endpoint gets associated with that particular CMS (either using SNMP or via NCS redirection).
+
+The MTA MUST report the state of the configuration file it received in the 'Provisioning complete Inform' (step MTA25 in the provisioning process) as given below:
+
+- If the configuration file could be parsed successfully and the MTA is able to reflect the same in its MIB, it must return: 'pass'.
+- If the configuration file was in error due to incorrect values in the mandatory parameters, the MTA MUST reject the configuration file and return: 'failConfigFileError'.
+- It MUST also populate 'pktcMtaDevErrorOidsTable' with the parameter containing the incorrect value and MAY also populate it with other OID errors/warnings if it parsed the file completely.
+- If the configuration file had proper values for all the mandatory parameters but has errors in any of the optional parameters (this includes any vendor-specific OIDs which are incorrect or not known to the MTA), it must return: 'passWithWarnings'.
+- It MUST also populate 'pktcMtaDevErrorOidsTable' with a list of all the parameters which were rejected and the reason for the same. The MTA MUST also use the default values for all such parameters, unless they were overridden by some other means like DHCP, in which case it must use the overridden values.
+- If the configuration file is proper, but the MTA cannot reflect the same in its MIB (for example, too many entries leading to memory exhaustion), it MUST accept details related to the CMSs associated with the endpoints and return: 'passWithIncompleteParsing'.
+- It MUST also populate 'pktcMtaDevErrorOidsTable' with a list of all the parameters which cannot be reflected in the MIB.
+- If the configuration file cannot be parsed due to an internal error, it must return 'failureInternalError'. It SHOULD try to populate 'pktcMtaDevErrorOidsTable' for parameters which lead to failure.
+- If the configuration file contains overlapping MIB Object references from multiple MIB environments (for example, CableLabs and IETF), the MTA MUST use the preference provided via DHCP, if such a preference is provided and supported by the MTA (see
+
+clause 8.8). In the absence of any preference via DHCP, the MTA MUST use the last recognized occurrence (vendor specific) of such objects in the configuration file. The MTA MUST also indicate any rejected configuration file entries as warnings (provisioning state 'passWithWarnings', unless other conditions exist) and populate the error OIDs table (pktcMtaDevErrorOidsTable).
+
+- If the MTA cannot accept the configuration file for any reason other than the one stated above, it must return 'failureOtherReason'. It SHOULD try to populate 'pktcMtaDevErrorOidsTable' for parameters, which lead to the failure.
+
+The MTA Configuration File MUST contain Per-Realm Configuration Data. In the case of the Secure Provisioning Flow, per-Realm Configuration Data MUST contain at least the data for the Provisioning Realm that is identified in DHCP option 122, sub-option 6.
+
+In the case of the Secure Provisioning Flow, after receiving the MTA Configuration File, an MTA MUST validate the following:
+
+- "pktcMtaDevRealmName" MIB Object of the Realm Table MUST be the same as the Realm Name supplied to the MTA in DHCP option 122, sub-option 6.
+- "pktcMtaDevRealmOrgName" MIB Object of the Realm Table MUST be the same as the "Organization Name" attribute in the Service Provider Certificate.
+- Encryption and Authentication of the MTA Configuration File as per [ITU-T J.170].
+
+An MTA MUST treat any of the above validation failures as failure of the MTA23 Provisioning Flow and the MTA MUST discard the Configuration File.
+
+If the MTA encounters a vendor-specific TLV-43 with a vendor ID that the MTA does not recognize as its own, the MTA must ignore the TLV-43 and the MTA MUST continue to process the configuration file. If the MTA detects the presence of an unrecognized TLV (TLV type other than TLV-11, TLV-43, TLV-64, TLV-38, or TLV-254), the MTA MUST ignore the TLV assuming the length field of the unrecognized TLV is 2 bytes and proceed with further processing. The MTA MUST report a provisioning state of 'passWithWarnings' and populate the error OID table (pktcMtaDevErrorOidsTable) if it detects the presence of an unrecognized TLV. If the MTA encounters an unrecognized variable binding in a TLV-11 or TLV-64, it MUST ignore this binding, MUST report a provisioning state of 'passWithWarnings' and populate the error OID table (pktcMtaDevErrorOidsTable). It is strongly recommended for the vendors to give serious considerations to backward compatibility issues when modifying existing or introducing new sub-TLVs for TLV-43.
+
+The MTA MUST attempt to accept configuration file that contains valid set of per-realm and per-CMS configuration data identified in clauses 9.1.4 and 9.1.5, even if the MTA endpoints are not associated with the CMS in the per-CMS configuration data.
+
+IPCablecom MIB objects in MTA-MIB ([ITU-T J.166] and [IETF RFC 4682]), Signaling-MIB ([ITU-T J.166] and [IETF RFC 5098]) and Event-MIB ([ITU-T J.166] and [IETF draft-eventmess]) of type RowStatus MUST NOT be included in the MTA configuration file. If any IPCablecom MIB objects (MTA MIB, Signaling MIB and Event MIB) of type 'RowStatus' are included in the configuration file, the MTA MUST ignore the value supplied in any RowStatus object, report a 'passWithWarnings' and populate the MIB table 'pktcMtaDevErrorOidsTable' appropriately. Regardless of the action taken by the MTA, it MUST properly populate the Error OIDs table with the RowStatus OID. Non-IPCablecom MIB objects type RowStatus can be present or absent in the MTA configuration file and MTA MUST process these objects according to the corresponding RFCs for the particular MIB objects (for example SNMPv2c table).
+
+IPCablecom MIB object pktcEnMtaDevMltplGrantsPerInterval if included in the configuration file is set to enable multiple grants per interval (MGPI) functionality and if the MTA does not support
+
+this functionality, then the MTA MUST ignore the object and report 'PassWithWarnings' and populate the ErrorOidsTable.
+
+### 9.1.1 Device level configuration data
+
+Refer to the MTA MIB ([ITU-T J.166] and [IETF RFC 4682]) for more detailed information concerning these attributes and their default values (see Table 11).
+
+- The MTA Manufacturer Certificate validates the MTA Device Certificate.
+
+**Table 11 – Device level configuration**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | Comments |
+|-----------------------------------|------------|---------------------------------------------------------------------------------------------------|-------------|----------------|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Telephony Config File Start | Integer | W, required | None | N/A | N/A | Type Length Value
254 1 1
The MTA config file MUST start with this attribute. |
+| Telephony Config File End | Integer | W, required | None | N/A | N/A | Type Length Value
254 1 255
This MUST be the last attribute in the MTA config file. |
+| Telephony MTA Admin State | ENUM | W, required | R/W | MTA Device MIB | pktcMtaDev Enabled | Used to enable/disable all telephony ports on the MTA. Applies to the MTA side of the embedded-MTA or the entire stand-alone MTA. Allows blanket management of all telephony ports (external interfaces) on the device. The state of the MTA is controlled by this MIB Object. For more information about this object, refer to the MTA MIB [ITU-T J.166]. |
+| Realm Organization Name | String | W, Required
(Secure Provisioning Flow)
W, Optional
(Basic and Hybrid Provisioning Flows) | R/W | MTA Device MIB | pktcMtaDev RealmOrg Name | The value of the X.500 name organization name attribute in the subject name of the service provider certificate. |
+| Solicited Key Timeout | Integer | W, optional | R/W | N/A | pktcMtaDev ProvSolicitdKey Timeout | This timeout applies only when the Provisioning Server initiated key management (with a Wake Up message) for SNMPv3. It is the period during which the MTA will save a nonce (inside the sequence number field) from the sent out AP Request and wait for the matching AP Reply from the Provisioning Server. Since there is a default value, this is optional. |
+| Reset Kerberos ticket information | Integer 32 | W, optional | R/W | MTA Device MIB | pktcMtaDev ResetKrb Tickets | Security Specification [ITU-T J.170] allows the Kerberos tickets associated with any of the application server (Provisioning Server or CMS) to be stored in the MTA NVRAM until ticket expiry. In order to control the invalidation of the tickets stored in NVRAM, this MIB attribute is used to communicate the required action to the MTA. Upon receiving this attribute in the config file, an MTA MUST take the specified action. Refer to [ITU-T J.166] for |
+
+**Table 11 – Device level configuration**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | Comments |
+|-----------|--------|----------------------|-------------|----------|--------|-------------------|
+| | | | | | | more information. |
+
+### 9.1.2 Device level service data
+
+Refer to the MTA MIB [ITU-T J.166] and [IETF RFC 4682], the NCS MIB [ITU-T J.166] and [IETF RFC 5098] the NCS Call Signalling specification [ITU-T J.162] and [IETF RFC 2475] for more detailed information concerning these attributes and their default values (see Table 12).
+
+**Table 12 – Device level service**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | pkteDevEvSyslog comments |
+|-----------------------------------|-----------------------|----------------------|-------------|--------------------|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| NCS Default Call Signalling TOS | Integer | W, optional | R/W | MTA Signalling MIB | pkteSigDef CallSigTos | The default value used in the IP header for setting the TOS value for NCS call signalling. |
+| NCS Default Media Stream TOS | Integer | W, optional | R/W | MTA Signalling MIB | pkteSigDef MediaStream Tos | The default value used in the IP header for setting the TOS value for NCS media stream packets. |
+| MTA UDP receive port used for NCS | Integer (1025..65535) | W, optional | R/O | MTA Signalling MIB | pkteSigDef NcsReceive UdpPort | This object contains the MTA User Datagram Protocol Receive Port that is used for NCS call signalling. This object should only be changed by the configuration file. |
+| NCS TOS Format Selector | ENUM | W, optional | R/W | MTA Signalling MIB | pkteSigTos FormatSelector | The format of the default NCS signalling and media TOS values.
Allowed values are "IPv4 TOS octet" or "DSCP codepoint". Refer to [IETF RFC 2475]. |
+| R0 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pkteSigDev R0Cadence | User-defined field where each bit represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence.
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| R6 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pkteSigDev R6Cadence | User-defined bit field where each bit represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence.
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+
+**Table 12 – Device level service**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | pktcDevEvSyslog comments |
+|------------|-----------|----------------------|-------------|--------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| R7 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R7Cadence | User-defined bit field where each bit represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence.
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| R1 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R1Cadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| R2 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R2Cadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| R3 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R3Cadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| R4 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R4Cadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+
+**Table 12 – Device level service**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | pktcDevEvSyslog comments |
+|------------|-----------|----------------------|-------------|--------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| R5 cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev R5Cadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| Rg cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev RgCadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1= active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| Rt cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev RtCadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+| Rs cadence | Bit-field | W, optional | R/W | MTA Signalling MIB | pktcSigDev RsCadence | User-defined field where each bit (least significant bit) represents a duration of 100 ms (6 s total)
1 = active ringing, 0 = silence
64 bits are used for representation; MSB 60 bits for ring cadence. Bit 61 is used to represent repeatable (when set to ZERO) and non-repeatable (when set to ONE). Other three bits are reserved for future use, and currently set to 000. |
+
+### **9.1.3 Per-endpoint configuration data**
+
+Refer to the NCS MIB ([ITU-T J.166] and [IETF RFC 5098]), the NCS specification [ITU-T J.162], the security specification [ITU-T J.170] and the MTA MIB ([ITU-T Rec. J.166] and [IETF RFC 4682]) for more detailed information concerning these attributes and their default values (see Table 13).
+
+- MTA sends KDC the MTA/CMS certificate, MTA's FQDN, CMS-ID. The KDC returns the MTA a "Kerberos Ticket" that says "this MTA is assigned to this CMS".
+- The Telephony Service Provider Certificate validates the MTA Telephony Certificate.
+- If two different endpoints share the same Kerberos Realm and the same CMS FQDN, then these four attributes **MUST** be identical: PKINIT grace period, KDC name list, MTA telephony certificate, telephony service provider certificate.
+
+**Table 13 – Per-endpoint configuration**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | Comments |
+|---------------------------------|---------|----------------------|-------------|------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Port Admin State | ENUM | W, optional | R/W | IF-MIB [IETF RFC 2863] | ifAdmin Status | The administrative state of the port the operator can access to either enable or disable service to the port. The administrative state can be used to disable access to the user port without de-provisioning the subscriber. Allowed values for this attribute are:
up(1) or down(2).
For SNMP access, ifAdminStatus is found in the ifTable of MIB-II. |
+| Call Management Server Name | String | W, required | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig CallAgentId | This attribute is a string indicating the name of the CMS assigned to the endpoint. The call agent name after the character '@' MUST be a fully qualified domain name and MUST have a corresponding conceptual row in the pktcMtaDevCmsTable. DNS support is assumed to support multiple CMSs as described in the NCS spec. [ITU-T J.162]. |
+| Call Management Server UDP Port | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig CallAgentUdpPort | UDP port for the CMS. |
+| Partial dial time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig PartialDialTO | Time-out value in seconds for partial dial time-out. |
+| Critical dial time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig CriticalDialTO | Time-out value in seconds for critical dial time-out. |
+| Busy tone time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig BusyToneTO | Time-out value in seconds for busy tone. |
+| Dial tone time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig DialToneTO | Time-out value in seconds for dial tone. |
+| Message waiting time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig MessageWaitingTO | Time-out value in seconds for message waiting. |
+| Off-hook warning time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig OffHookWarnToneTO | Time-out value in seconds for off-hook warning. |
+| Ringing time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig RingingTO | Time-out value in seconds for ringing. |
+| Ringback time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig RingBackTO | Time-out value in seconds for ringback. |
+| Reorder tone time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEnd PntConfig ReorderToneTO | Time-out value in seconds for reorder tone. |
+
+**Table 13 – Per-endpoint configuration**
+
+| Attribute | Syntax | Configuration access | SNMP access | MIB file | Object | Comments |
+|-------------------------|---------|----------------------|-------------|------------------------|------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Stutter dial time-out | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigStutterDialToneTO | Time-out value in seconds for stutter dial tone. |
+| TS Max | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigTSMax | Contains the maximum time in seconds since the sending of the initial datagram. |
+| Max1 | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigMax1 | The suspicious error threshold for each endpoint retransmission. |
+| Max2 | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigMax2 | The disconnect error threshold per endpoint retransmission. |
+| Max1 Queue Enable | Enum | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigMax1QEnable | Enables/disables the Max1 DNS query operation when Max1 expires. |
+| Max2 Queue Enable | Enum | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigMax2QEnable | Enables/disables the Max2 DNS query operation when Max2 expires. |
+| MWD | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigMWD | Number of seconds to wait to restart after a restart is received. |
+| Tdinit | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigTdinit | Number of seconds to wait after a disconnect. |
+| TDMin | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigTdmin | Minimum number of seconds to wait after a disconnect. |
+| TDMax | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigTdmax | Maximum number of seconds to wait after a disconnect. |
+| RTO Max | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigRtoMax | Maximum number of seconds for the retransmission timer. |
+| RTO Init | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigRtoInit | Initial value for the retransmission timer. |
+| Long Duration Keepalive | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigLongDurationKeepAlive | Time-out in minutes for sending long duration call notification messages. |
+| Thist | Integer | W | R/W | MTA Signalling MIB | pktcNcsEndPntConfigThist | The time-out period in seconds before no response is declared. |
+| Call Waiting Max Reps | Integer | W, optional | R/W | MTA Signalling MIB | pktcNcsEndPntConfigCallWaitingMaxRep | This object contains the maximum number of repetitions of the call waiting that the MTA will play from a single CMS request. A value of zero (0) will be used when the CMS invokes any play repetition. |
+| Call Waiting Delay | Integer | W, optional | R/W | IF-MIB (IETF RFC 2863) | pktcNcsEndPntConfigCallWaitingDelay | This object contains the delay between repetitions of the call waiting that the MTA will play from a single CMS request. |
+
+### **9.1.4 Per-realm configuration data**
+
+Refer to the MTA MIB [ITU-T J.166] and [IETF RFC 4682] for more detailed information concerning these attributes and their default values. Refer to the security Recommendation [ITU-T J.170] for more information on the use of Kerberos realms. There MUST be at least one conceptual row in the pktcMtaDevRealmTable to establish service upon completion of configuration. These configuration parameters are optional in the config file, but if included the config file MUST contain at least one Realm name to permit proper instantiation of the table. There may be more than one set of entries if multiple realms are supported.
+
+**Table 14 – Per-realm configuration data**
+
+| Attribute | Syntax | Access | SNMP access | MIB file | Object | Comments |
+|------------------------------------|---------|-------------|-------------|----------------|-----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Pkinit Grace Period | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevRealmPkinitGracePeriod | For the purpose of IPSec key management with a CMS, the MTA MUST obtain a new Kerberos ticket (with a PKINIT exchange), many minutes before the old ticket expires. The minimum allowable value is 15 min. The default is 30 min. This parameter MAY also be used with other Kerberized applications. |
+| TGS Grace Period | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevRealmTgsGracePeriod | When the MTA implementation uses TGS Request/TGS Reply Kerberos messages for the purpose of IPSec key management with the CMS, the MTA MUST obtain a new service ticket for the CMS (with a TGS request), many minutes before the old ticket expires. The minimum allowable value is 1 min. The default is 10 min. This parameter MAY also be used with other Kerberized applications. |
+| Realm Org Name | Integer | W, required | R/W | MTA Device MIB | pktcMtaDevRealmOrgName | The value of the X.500 organization name attribute in the subject name of the Service provider certificate. |
+| Unsolicited Keying max Timeout | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevRealmUnsolicitedKeyMaxTimeout | This timeout applies only when the MTA initiated key management. The maximum timeout is the value which may not be exceeded in the exponential backoff algorithm. |
+| Unsolicited Keying Nominal Timeout | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevRealmUnsolicitedKeyNomTimeout | This timeout applies only when the MTA initiated key management. Typically this is the average roundtrip time between the MTA and the KDC. |
+| Unsolicited Keying Max Retries | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevRealmUnsolicitedKeyMaxRetries | This is the maximum number of retries before the MTA gives up attempting to establish a Security Association. |
+
+### 9.1.5 Per-CMS configuration data
+
+Refer to the MTA MIB ([ITU-T J.166] and [IETF RFC 4682]) for more detailed information concerning these attributes and their default values. There MUST be at least one conceptual row in the pktcDevCmsTable to establish service upon completion of configuration. These configuration parameters are optional in the config file, but if included the config file MUST identify at least one CMS and its corresponding Kerberos Realm Name. There may be more than one set of entries if multiple CMSs are supported.
+
+As per [ITU-T J.170], the IPSec signalling security must be controlled by the Operator depending on the deployment and operational conditions. As the IPSec Security Association is established between the MTA and the CMS, the IPSec enabling/disabling control should also be on a per CMS basis. Enabling/Disabling of the IPSec Signalling Security MUST be defined only by the information in the MTA's Configuration File when the file is being downloaded, and the enable/disable toggling MUST be done only as a result of the MTA Reset.
+
+For more details on the MIB Object controlling the IPSec enabling/disabling, refer to the MTA MIB ([ITU-T J.166] and [IETF RFC 4682]).
+
+**Table 15 – Per-CMS configuration data**
+
+| Attribute | Syntax | Access | SNMP access | MIB file | Object | Comments |
+|-------------------------------------------------------------------------------------------------------------|---------|--------------------|-------------|----------------|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Kerberos Realm Name | String | W, required (Note) | R/W | MTA Device MIB | pktcMtaDevCmsKerbRealm Name | The name for the associated Kerberos Realm. This is the corresponding Kerberos Realm Name in the Per Realm Configuration Data. |
+| CMS Maximum Clock Skew | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevCmsMaxClockSkew | This is the maximum allowable clock skew between the MTA and CMS. |
+| CMS Solicited Key Timeout | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevCmsSolicitedKey Timeout | This timeout applies only when the CMS initiated key management (with a Wake Up or Rekey message). It is the period during which the MTA will save a nonce (inside the sequence number field) from the sent out AP Request and wait for the matching AP Reply from the CMS. |
+| Unsolicited Key Max Timeout | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevCmsUnsolicited KeyMaxTimeout | This timeout applies only when the MTA initiated key management. The maximum timeout is the value which may not be exceeded in the exponential backoff algorithm. |
+| Unsolicited Key Nominal Timeout | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevCmsUnsolicited KeyNomTimeout | This timeout applies only when the MTA initiated key management. Typically this is the average roundtrip time between the MTA and the CMS. |
+| Unsolicited Key Max Retries | Integer | W, optional | R/W | MTA Device MIB | pktcMtaDevCmsUnsolicited KeyMaxRetries | This is the maximum number of retries before the MTA gives up attempting to establish a security association. |
+| IPSec Control | Integer | W, optional | R/O | MTA Device MIB | pktcMtaDevCmsIpsecCtrl | IPSec Control for each CMS: controls the IPSec establishment and IPSec related Key Management. |
+| NOTE – If any data from the Per-CMS Data Table is included in the config file, this entry MUST be included. | | | | | | |
+
+### 9.1.6 Exclusion of MIB objects in configuration file
+
+The following MIB objects MUST NOT be sent in the configuration file since the values of these objects can be either set only by the MTA or by DHCP options during provisioning. If an MTA receives the following MIB objects in its configuration file, the MTA MUST ignore the object and report "passWithWarnings" and populate the Error OIDs Table.
+
+- PktcMtaDevSnmpEntity
+- PktcMtaDevProvKerbRealmName
+- PktcMtaDevFqdn
+- PktcMtaDevSerialNumber
+- PktcMtaDevMacAddress
+- PktcMtaDevEndPntCount
+- PktcMtaDevTypeIdentifier
+- PktcEnNcsEndPntQuarantineState
+- PktcEnNcsEndPntHookState
+- pktcEnEndPntInfoTable
+- pktcDevEventDescrEnterprise
+- pktcDevEventDescrFacility
+- pktcDevEventDescrText
+- pktcDevEvLogIndex
+- pktcDevEvLogTime
+- pktcDevEvLogLevel
+- pktcDevEvLogId
+- pktcDevEvLogText
+- pktcDevEvLogEndpointName
+- pktcDevEvLogType
+- pktcDevEvLogTargetInfo
+- pktcDevEvLogCorrelationId
+- pktcMtaDevProvConfigKey
+
+NOTE – For Syslog entries, specifically the MIB Objects "pktcDevEvSyslogAddressType" and "pktcDevEvSyslogAddress", the MTA MUST validate the 'type' provided (or stored) with the provided (or stored) 'Syslog Address' – if they are inconsistent, it MUST ignore any such entries in the configuration file, report a 'passWithWarnings' and populate the Error OIDs Table.
+
+# 10 MTA device capabilities
+
+MTA Capabilities string is supplied to the Provisioning Server in Option code 60 (Vendor Class Identifier) – to allow the Back-Office to differentiate between MTAs during the Provisioning Process. Use of Capabilities information by the Provisioning Application is optional.
+
+Capabilities string is encoded as an ASCII string containing the Capabilities information in Type/Length/Value (TLV) Format.
+
+For example, the ASCII encoding of the first two TLVs (IPCablecom Version 1.0 and Number of Telephony Endpoints = 2) of an MTA would be 05nn0101020102. Note that many more TLVs are required for IPCablecom MTA, and the field "nn" will contain the length of all the TLVs. This example shows only two TLVs for simplicity.
+
+The "value" field describes the capabilities of a particular modem, i.e., implementation dependent limits on the particular features or number of features, which the modem can support. It is composed from a number of encapsulated TLV fields. The encapsulated sub-types define the specific capabilities for the MTA. Note that the sub-type fields defined are only valid within the encapsulated capabilities configuration setting string.
+
+| Type | Length | Value |
+|------|--------|-------|
+| 5 | n | |
+
+The set of possible encapsulated fields is described below.
+
+MTA MUST Send Capabilities String in option 60 of the DHCP DISCOVER request.
+
+## 10.1 IPCablecom version
+
+This TLV MUST be supplied in the Capabilities String.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|-----------------|---------------|
+| 5.1 | 1 | 0 | PacketCable 1.0 | NONE |
+| | | 1 | PacketCable 1.5 | |
+
+## 10.2 Number of telephony endpoints
+
+This TLV of sub-type 5.2 (Number of telephony Endpoints) MUST be supplied in the Capabilities String.
+
+| Type | Length | Value | Comment | Default |
+|------|--------|-------|---------------------|---------|
+| 5.2 | 1 | n | Number of endpoints | NONE |
+
+## 10.3 TGT support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.3 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.4 HTTP download file access method support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.4 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.5 MTA24 event SYSLOG notification support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.5 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+## 10.6 NCS service flow support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-----------|----------|---------------|
+| 5.6 | 1 | Undefined | Reserved | Undefined |
+
+Sub-type 5.6, which was previously used to indicate support for NCS Service Flow functionality, is currently undefined and reserved for future usage.
+
+## 10.7 Primary line support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.7 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.8 Vendor specific TLV Type(s)
+
+This TLV can be supplied in the Capabilities String if an MTA requires a specific processing of the Vendor Specific TLV Type(s).
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|----------------|-------------------|---------------|
+| 5.8 | n | {seq-of-bytes} | One type per byte | 43 |
+
+Sub-type 5.8 which was previously used to indicate vendor specific TLV support by MTAs is currently obsolete, and the sub-type (5.8) is reserved for future usage. This MUST not be used by MTAs.
+
+## 10.9 NVRAM ticket/Ticket information storage support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.9 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+## 10.10 Provisioning event reporting support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.10 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+## 10.11 Supported CODEC(s)
+
+This TLV MUST be supplied in the Capabilities String.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|----------------|-----------------|---------------|
+| 5.11 | n | {seq-of-bytes} | One ID per byte | NONE |
+
+CODEC ID is the value represented by the Enumerated Type of "PktcCodecType" TEXTUAL CONVENTION in MTA MIB:
+
+- 1: other;
+- 2: unknown;
+- 3: G.729;
+- 4: reserved;
+- 5: G.729E;
+- 6: PCMU;
+- 7: G.726-32;
+- 8: G.728;
+- 9: PCMA;
+- 10: G.726-16;
+- 11: G.726-24;
+- 12: G.726-40;
+- 13: iLBC;
+- 14: BV16;
+- 15: telephone-event.
+
+Telephone-event represents [IETF RFC 2833] DTMF events. For more information, refer to ITU-T Rec. J.161.
+
+## 10.12 Silence suppression support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.12 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.13 Echo cancellation support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.13 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.14 RSVP support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-----------|---------------------------|---------------|
+| 5.14 | 1 | Undefined | Reserved for future usage | Undefined |
+
+Sub-Type 5.14 which was previously used to indicate RSVP support is currently undefined and reserved for future usage.
+
+## 10.15 UGS-AD support
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.15 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.16 MTA's "ifIndex" starting number in "ifTable"
+
+This TLV contains the value of the "ifIndex" for the first MTA Telephony Interface in "ifTable" MIB Table. The TLV MUST be supplied in the Capabilities String.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------------------|---------------|
+| 5.16 | 1 | n | first MTA Interface | 9 |
+
+## 10.17 Provisioning flow logging support
+
+This capability is set to a corresponding value depending on the support of the logging capability of the Provisioning Flow (as per clause 5.4.3).
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.17 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.18 Supported provisioning flows
+
+An MTA MUST include this TLV of sub-type 5.18 (Supported Provisioning flows) in the Capabilities String. This TLV indicates the provisioning flows the MTA supports (Basic, Hybrid and Secure). It contains a bitmask indicating all the provisioning flows supported by the MTA.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|------------|-----------|---------------|
+| 5.18 | 2 | {bit-mask} | See below | NONE |
+
+The Value field is an unsigned 16-bit integer encoded in network byte order. Each bit represents a specific provisioning flow. If a bit is set to 1, the MTA supports the corresponding flow. If a bit is set to 0 (zero), the MTA does not support the flow.
+
+Bit assignments:
+
+Bit 0 – Secure Flow (Full Secure Provisioning Flow)
+
+Bit 1 – Hybrid Flow
+
+Bit 2 – Basic Flow
+
+The MTA MUST set all unused bits in the bitmask to 0. The MTA MUST set bit 0 in the TLV to 1 to indicate that it supports the Secure Flow. The MTA MUST set bits 1 and 2 in the TLV to indicate whether it supports the Basic and Hybrid Flows. An example: if an MTA supports Secure and Basic Provisioning Flows, the integer value of the mask is 0x0005, and the capability will be encoded in option 60 as the following sequence of octets (in HEX notation): 12 02 00 05.
+
+To provide backward compatibility prior to the introduction of the Basic & Hybrid Flows, the absence of this TLV indicates that the MTA only supports the Secure Flow.
+
+## 10.19 T38 version support
+
+An MTA MUST include this TLV of sub-type 5.19 (T38 Version Support) in the Capabilities String. This TLV indicates the version of T.38 the MTA supports. For more details, refer to ITU-T Rec. J.161.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|------------------|---------------|
+| 5.19 | 1 | 0 | 0: Unsupported: | 1 |
+| | | 1 | 1: Version Zero | |
+| | | 2 | 2: Version One | |
+| | | 3 | 3: Version Two | |
+| | | 4 | 4: Version Three | |
+
+## 10.20 T38 error correction support
+
+An MTA MUST include this TLV of sub-type 5.20 (T38 Error Correction Support) in the Capabilities String. This TLV indicates the type of error correction the MTA supports for T.38. For more details, refer to ITU-T Rec. J.161.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------------|---------------|
+| 5.20 | 1 | 0 | 0: None | 1 |
+| | | 1 | 1: Redundancy | |
+| | | 2 | 2: FEC | |
+
+If you support FEC, it means you also support Redundancy. For more information, refer to ITU-T Rec. J.161.
+
+## 10.21 RFC 2833 DTMF support
+
+An MTA MUST include this TLV of sub-type 5.21 (RFC 2833 DTMF Support) in the Capabilities String. This TLV indicates the support for RFC 2833 DTMF relay. For more details, refer to ITU-T Rec. J.161.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.21 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+## 10.22 Voice metrics support
+
+An MTA MUST include this TLV of sub-type 5.22 (Voice Metrics Support) in the Capabilities String. This TLV indicates the support for voice metrics as defined in [IETF RFC 3611].
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.22 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+## 10.23 Device MIB support
+
+An MTA MUST include this TLV of sub-type 5.23 (Device MIB support) in the Capabilities String. This TLV indicates the various MIBs supported by the MTA.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|----------------|---------------------------------------------|---------------|
+| 5.23 | n | {seq-of-bytes} | MIB Support encoded as 'length-value' pairs | NONE |
+
+The 'length-value' pairs are defined as follows:
+
+[L1] [OCTET-1] [OCTET-2][OCTET-3] ...[OCTET-L1],
+
+[L2] [OCTET-1] [OCTET-2][OCTET-3] ...[OCTET-L2]
+
+(And other Length-Value pairs as deemed appropriate)
+
+Where:
+
+'L1' and 'L2' denote lengths.
+
+The first OCTET (OCTET-1) always represents the MIB issuing organization (Example, CableLabs, IETF, etc.).
+
+The remaining OCTETS are always placed in network-byte order to form a bit string where each bit represents a particular MIB. Setting a bit (to a value of 1) indicates support for the representative MIB and unsetting a bit (to a value of 0) indicates absence of support for the representative MIB.
+
+MTAs MUST NOT use any 'reserved assignments' unless defined by IPCablecom or assigned as 'vendor specific'.
+
+### 10.23.1 Issuing organization assignments
+
+OCTET-1 of the 'length-value' pair indicates the MIB issuing organization and the assignments are as follows:
+
+| Assignment | Organization indicator |
+|------------|------------------------|
+| 0 | CableLabs |
+| 1 | IETF |
+| 2 | EuroCableLabs |
+| 3-9 | *reserved* |
+| 10-63 | *vendor-specific* |
+
+NOTE – The higher order two bits of OCTET-1 are reserved allowing for 64 possibilities.
+
+### 10.23.2 Representing CableLabs MIBs
+
+For CableLabs issued MIBs (OCTET-1 = 0), the bit mask is defined as follows:
+
+| | |
+|-------|-------------------------------------------|
+| Bit 0 | PacketCable 1.5 MTA MIB. |
+| Bit 1 | PacketCable 1.5 Signalling MIB. |
+| Bit 2 | PacketCable 1.5 Management Event MIB. |
+| Bit 3 | PacketCable 1.5 MTA Extension MIB. |
+| Bit 4 | PacketCable 1.5 Signalling Extension MIB. |
+| Bit 5 | PacketCable 1.5 MEM Extension MIB. |
+| Bit 6 | *reserved* |
+| Bit 7 | *reserved* |
+
+Where the bits are placed as follows:
+
+7 6 5 4 3 2 1 0
+
+Given only one octet is used currently for the bit mask, the length for this length-value pair MUST be two (one each for the Organization Indicator and the bit mask, respectively).
+
+### 10.23.3 Representing IETF MIBs
+
+For MIBs represented as IETF RFCs (OCTET-1 = 1), the bit mask is defined as follows:
+
+| | |
+|-------|-----------------------|
+| Bit 0 | MTA MIB. |
+| Bit 1 | Signalling MIB. |
+| Bit 2 | Management Event MIB. |
+| Bit 3 | *reserved* |
+| Bit 4 | *reserved* |
+| Bit 5 | *reserved* |
+| Bit 6 | *reserved* |
+| Bit 7 | *reserved* |
+
+Given only one octet is used currently for the bit mask, the length for this length-value pair MUST be two (One each for the Organization Indicator and the bit mask, respectively).
+
+#### Example
+
+For an MTA that supports all defined IETF MIBs (MTA, Signalling and MEM) and all defined IPCablecom 1.5 extension MIBs (MTA extension, Signalling extension and MEM extension), this sub-option would be encoded (in Hex) as follows (taken as a snapshot of option 60):
+
+| | | | | | | | | | | | |
+|-----|-----|----|----|----|----|----|----|----|----|-----|-----|
+| ... | ... | 17 | 06 | 02 | 00 | 38 | 02 | 01 | 07 | ... | ... |
+|-----|-----|----|----|----|----|----|----|----|----|-----|-----|
+
+NOTE – As of this writing, only one of the proposed IETF drafts has received the status of RFC and this reference has been used only as an example.
+
+## 10.24 Multiple grants per interval support
+
+An MTA MUST include this TLV of sub-type 5.24 (Multiple Grants Per Interval Support) in the Capabilities String. This TLV indicates the support for Multiple Grants per interval. For more details, refer to ITU-T Rec. J.163.
+
+| Type | Length | Value | Comment | Default value |
+|------|--------|-------|---------|---------------|
+| 5.24 | 1 | 0 | 0: No | 0 |
+| | | 1 | 1: Yes | |
+
+## 10.25 V.152 Support
+
+An MTA MUST include this TLV of sub-type 5.25 (V.152 Support) in the Capabilities String. This TLV indicates the support for V.152.
+
+| Type | Length | Value | Comment | Default Value |
+|------|--------|-------|---------|---------------|
+| 5.25 | 1 | 0 | 0: No | 1 |
+| | | 1 | 1: Yes | |
+
+# 11 TLV-38 SNMP notification receiver specification
+
+This IPCablecom TLV-38 specifies one or more Network Management Stations that must receive notifications from the MTA (MTA25 or H-MTA-25 or B-MTA-25 and post-provisioning, if required). If TLV-38 and its sub-TLVs defined in this clause contain incorrect value in 'Length' field, the MTA MUST reject the configuration file and report a "failConfigFile" error. If TLV-38 contains sub-types with wrong values, then the MTA MUST follow the requirements specified below in each sub-TLV.
+
+In addition, if the MTA encounters unknown sub-TLVs within TLV-38, it MUST:
+
+- Assume the length field size of 1 byte for the sub-TLV;
+- Ignore the sub-TLV and continue with further processing; and
+- Report a provisioning state of 'passWithWarnings' and populate Error Oid Table.
+
+| Type | Length | Value |
+|------|--------|-------------------------------|
+| 38 | N | Composite (contains sub-TLVs) |
+
+Unless specified or configured otherwise, the MTA MUST send the notifications to the default provisioning system (defined in DHCP option 122 sub-option 3).
+
+## 11.1 Sub-TLVs of TLV-38
+
+### 11.1.1 SNMP notification receiver IP address
+
+This sub-TLV specifies the IP address of the notification receiver.
+
+| Type | Length | Value |
+|------|--------|--------------------------------------------------|
+| 38.1 | 4 | 4 bytes of an IPv4 address in network byte order |
+
+If TLV-38 is present in the configuration file and the sub-TLV 38.1 is absent, the MTA MUST ignore TLV-38 and proceed with further processing of the configuration file and MUST report a provisioning state of 'passWithWarnings' and populate the error OID table (pktcMtaDevErrorOidsTable).
+
+### 11.1.2 SNMP notification receiver UDP port number
+
+This sub-TLV specifies the Port number on the notification receiver to receive the notifications.
+
+| Type | Length | Value |
+|------|--------|-----------------|
+| 38.2 | 2 | UDP Port Number |
+
+If TLV-38 is present and the sub-TLV 38.2 is absent, then a default value of 162 MUST be used.
+
+### 11.1.3 SNMP notification receiver type
+
+This sub-TLV specifies the SNMP Notification Receiver Type; it is the type of SNMP notifications the MTA MUST send to the associated SNMP Notification Receiver.
+
+| Type | Length | Value |
+|------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 38.3 | 2 | 1: SNMPv1 trap in an SNMPv1 packet
2: SNMPv2c trap in an SNMPv2c packet
3: SNMP INFORM in an SNMPv2c packet
4: SNMP trap in an SNMPv3 packet
5: SNMP INFORM in a SNMPv3 packet |
+
+If TLV-38 is present in the configuration file but sub-TLV 38.3 is absent, the MTA MUST ignore the entire TLV-38 and proceed with further processing of the configuration file and MUST report 'passWithWarnings' and populate the Error OID table (pktcMtaDevErrorOidsTable). The MTA and Provisioning Server MUST support notification type values 2 and 3, and MAY support notification type values 1, 4 or 5 from the above table. If an unsupported or invalid notification type value is received, the MTA MUST ignore the entire TLV-38 that contains this entry and MUST report 'passWithWarnings' and populate the error OID table (pktcMtaDevErrorOidsTable). If the notification types of 4 or 5 are used in the Basic or Hybrid provisioning flows, SNMPv3 communication is assumed to be implemented as per SNMPv3 recommendations and is outside the scope of this Recommendation.
+
+### 11.1.4 SNMP notification receiver timeout
+
+This sub-TLV specifies the wait time before a retry is attempted when the sender of an SNMP INFORM fails to receive an acknowledgement. Note that the number of retries is defined in sub-TLV 38.5.
+
+| Type | Length | Value |
+|------|--------|----------------------|
+| 38.4 | 2 | Time in milliseconds |
+
+If TLV-38 is present in the configuration file and the sub-TLV 38.4 is absent, the MTA MUST assume a default value of 15000 milliseconds. This corresponds to the default value of 1500 hundredths of a second defined for the snmpTargetAddrTimeout MIB object (see [IETF RFC 3413]).
+
+### 11.1.5 SNMP notification receiver retries
+
+This sub-TLV specifies the maximum number of times the MTA MUST retry sending an SNMP INFORM message if an acknowledgement is not received. Note that the wait time before each retry is defined by sub-TLV 38.4.
+
+| Type | Length | Value |
+|------|--------|-------------------|
+| 38.5 | 2 | Number of retries |
+
+If not present, the MTA MUST use a default value of 3. The maximum number of retries that can be specified is 255.
+
+### 11.1.6 SNMP notification receiver filtering parameters
+
+This sub-TLV specifies the filtering scheme for notifications and contains the root OID of the MIB sub-tree that defines the notifications to be sent to the Notification Receiver. The MTA MUST filter notifications being sent to the SNMP manager specified in sub-TLV 38.1 using the information
+
+provided. If this sub-TLV is not present, the MTA MUST use the default OID value for the 'iso' root.
+
+| Type | Length | Value |
+|------|--------|---------------------------------------------------|
+| 38.6 | n | Filter OID
(ASN.1 formatted Object Identifier) |
+
+The encoding of this TLV value field starts with the ASN.1 Universal type 6 (Object Identifier) followed by the ASN.1 length field and is terminated by the ASN.1 encoded object identifier component.
+
+### 11.1.7 SNMPv3 notification receiver security name
+
+This sub-TLV specifies the SNMPv3 Security Name to use when sending an SNMPv3 Notification. This sub-TLV is only being used if MTA supports sub-TLV 38.3 (Notification Receiver Type) types 4 and 5. The MTA MUST ignore this sub-TLV 38.7 if a Notification Receiver Type (sub-TLV 38.3) other than 4 or 5 is received in the configuration file.
+
+The following requirements apply to MTAs that support Notification Receiver Type values of 4 or 5 in sub-TLV 38.3:
+
+- If this sub-TLV 38.7 is omitted, then the SNMPv3 Notifications MUST be sent in the noAuthNoPriv security level using the security name "@mtaconfig".
+- If this sub-TLV is included, the MTA verifies that the value of the Security Name exists for the MTA local authoritative SNMP engine and creates an entry to further associate with the notification receiver authoritative engine (using the security levels and keys from the existing Security Name). If the Security Name of this sub-TLV does not exist for the local engine, the entire TLV-38 MUST be ignored and the MTA MUST report 'passWithWarnings' and populate the Error OID table (pktcMtaDevErrorOidsTable) for the entire TLV-38 and associated sub-TLVs that are ignored.
+
+| Type | Length | Value |
+|------|--------|---------------|
+| 38.7 | 2-26 | Security Name |
+
+## 11.2 Mapping of TLV fields into SNMP tables
+
+The following clauses detail the MTA configuration file TLV-38 "PacketCable SNMP Notification Receiver" mapping onto SNMP functional tables.
+
+Upon receiving each TLV-38 value, the MTA MUST make entries to the following tables in order to cause the desired SNMP TRAP or INFORM transmission: snmpNotifyTable, snmpTargetAddrTable, snmpTargetAddrExtTable, snmpTargetParamsTable, snmpNotifyFilterProfileTable, snmpNotifyFilterTable, snmpCommunityTable, usmUserTable, vacmSecurityToGroupTable, vacmAccessTable, and vacmViewTreeFamilyTable. An MTA MUST support a minimum of ten TLV-38 elements in a configuration file.
+
+### 11.2.1 Mapping of TLV fields into created SNMP table rows
+
+The tables in this clause show how the fields from the Configuration file TLV element (the tags in angle brackets <>) are placed into the SNMP tables.
+
+The correspondence between the tags and the sub-TLVs themselves is as shown below:
+
+| | |
+|--------------|----------|
+| | TLV 38.1 |
+| | TLV 38.2 |
+| | TLV 38.3 |
+
+ TLV 38.4
+ TLV 38.5
+ TLV 38.6
+ TLV 38.7
+
+The creation of rows with column values or indices containing the suffix "n" in the tables below indicates that these entries are created with the (n – 1)th TLV-38 found in the MTA configuration file.
+
+#### 11.2.1.1 snmpNotifyTable
+
+If TLV-38 elements are present and irrespective of the number of elements, the MTA MUST create two rows with fixed values as described in Table 16.
+
+**Table 16 – snmpNotifyTable**
+
+| snmpNotifyTable
(RFC 3413, SNMP-
NOTIFICATION-MIB) | First row | Second row |
+|-------------------------------------------------------------------|---------------------|-------------------|
+| Column Name (* = Part of Index) | Column Value | Column Value |
+| * snmpNotifyName | "@mtaconfig_inform" | "@mtaconfig_trap" |
+| snmpNotifyTag | "@mtaconfig_inform" | "@mtaconfig_trap" |
+| snmpNotifyType | inform (2) | trap (1) |
+| snmpNotifyStorageType | Volatile | Volatile |
+| snmpNotifyRowStatus | active (1) | active (1) |
+
+#### 11.2.1.2 snmpTargetAddrTable
+
+For each TLV-38 element in the configuration file, the MTA MUST create one row according to Table 17.
+
+**Table 17 – snmpTargetAddrTable**
+
+| snmpTargetAddrTable
(RFC 3413, SNMP-TARGET-MIB) | New row |
+|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpTargetAddrName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| snmpTargetAddrTDomain | snmpUDPDomain = snmpDomains.1 |
+| snmpTargetAddrTAddress
(IP Address and UDP Port of
the Notification Receiver) | OCTET STRING (6)
Octets 1-4:
Octets 5-6: |
+| snmpTargetAddrTimeout | from the TLV |
+| snmpTargetAddrRetryCount | from the TLV |
+| snmpTargetAddrTagList | If = 2
"@mtaconfig_trap"
Else If = 3
"@mtaconfig_inform" |
+
+**Table 17 – snmpTargetAddrTable**
+
+| snmpTargetAddrTable
(RFC 3413, SNMP-TARGET-MIB) | New row |
+|------------------------------------------------------------|---------------------------------------------------|
+| snmpTargetAddrParams | "@mtaconfig_n" (Same as snmpTargetAddrName value) |
+| snmpTargetAddrStorageType | Volatile |
+| snmpTargetAddrRowStatus | active (1) |
+
+#### **11.2.1.3 snmpTargetAddrExtTable**
+
+For each TLV-38 element in the configuration file, the MTA MUST create one row according to Table 18.
+
+**Table 18 – snmpTargetAddrExtTable**
+
+| snmpTargetAddrExtTable
(RFC 3584, SNMP-COMMUNITY-MIB) | New row |
+|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpTargetAddrName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| snmpTargetAddrTMask | |
+| snmpTargetAddrMMS | 0 |
+
+#### **11.2.1.4 snmpTargetParamsTable**
+
+For each TLV-38 element in the configuration file, the MTA MUST create one row according to Table 19.
+
+**Table 19 – snmpTargetParamsTable**
+
+| snmpTargetParamsTable
(RFC 3413, SNMP-TARGET-MIB) | New row |
+|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpTargetParamsName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| snmpTargetParamsMPModel
SYNTAX:
snmpMessageProcessingModel | SNMPv2c (1) |
+| snmpTargetParamsSecurityModel
SYNTAX: snmpSecurityModel | SNMPv2c (2)
NOTE – The mapping of SNMP protocol types to value here is different from snmpTargetParamsMPModel |
+| snmpTargetParamsSecurityName | "@mtaconfig" |
+| snmpTargetParamsSecurityLevel | NoAuthNoPriv |
+| snmpTargetParamsStorageType | Volatile |
+| snmpTargetParamsRowStatus | active (1) |
+
+#### 11.2.1.5 snmpNotifyFilterProfileTable
+
+For each TLV-38 element in the configuration file with non-zero value of TLV-38 sub-type 6, the MTA MUST create one row according to Table 20.
+
+**Table 20 – snmpNotifyFilterProfileTable**
+
+| snmpNotifyFilterProfileTable
(RFC 3413, SNMP-NOTIFICATION-MIB) | New row |
+|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpTargetParamsName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| snmpNotifyFilterProfileName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| snmpNotifyFilterProfileStorageType | volatile |
+| snmpNotifyFilterProfileRowStatus | active (1) |
+
+#### 11.2.1.6 snmpNotifyFilterTable
+
+For each TLV-38 element in the configuration file with non-zero value of TLV-38 sub-type 6, the MTA MUST create one row according to Table 21.
+
+**Table 21 – snmpNotifyFilterTable**
+
+| snmpNotifyFilterTable
(RFC 3413, SNMP-NOTIFICATION-MIB) | New row |
+|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpNotifyFilterProfileName | "@mtaconfig_n" Where n ranges from 0 to m – 1 where m is the number of notification receiver TLV elements in the Configuration file |
+| * snmpNotifyFilterSubtree | from the TLV |
+| snmpNotifyFilterMask | |
+| snmpNotifyFilterType | included (1) |
+| snmpNotifyFilterStorageType | Volatile |
+| snmpNotifyFilterRowStatus | active (1) |
+
+#### 11.2.1.7 snmpCommunityTable
+
+If TLV-38 elements are present and irrespective of the number of elements, the MTA MUST create one row with fixed values as described in Table 22.
+
+**Table 22 – snmpCommunityTable**
+
+| snmpCommunityTable
(RFC 3584, SNMP-COMMUNITY-MIB) | First row |
+|--------------------------------------------------------------|----------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpCommunityIndex | "@mtaconfig" |
+| snmpCommunityName | "public" |
+| snmpCommunitySecurityName | "@mtaconfig" |
+| snmpCommunityContextEngineID | |
+| snmpCommunityContextName | |
+| snmpCommunityTransportTag | |
+| snmpCommunityStorageType | Volatile |
+| snmpCommunityStatus | active (1) |
+
+#### 11.2.1.8 usmUserTable
+
+The usmUserTable is defined in [IETF RFC 3414]. The entries in the table specify the user name on the remote notification receiver to which notification is to be sent. Rows in usmUserTable are created in two different ways when (sub-TLV 38.3) values 4 and 5 are supported by the MTA and is included in TLV-38.
+
+- If (TLV-38.7) is not included, irrespective of the number of TLV-38 elements in the configuration file, the MTA MUST create one entry row with fixed values as described by the first column ("Static row") in Table 23.
+- If (TLV-38.7) is included, the MTA MUST create additional entry rows as described by the second column ("Other Rows") in Table 23. In this case, the creation of additional rows in usmUserTable occurs each time the engine ID of a notification receiver needs to be discovered (see [IETF RFC 3414] for more details).
+
+**Table 23 – usmUserTable**
+
+| usmUserTable
(RFC 3414,
SNMP-USER-BASED-SM-MIB) | Static row
Case 1 | Other rows
Case 2 |
+|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value | Column Value |
+| * usmUserEngineID | 0x00, create a new row on each time the EngineID of the Authoritative Notification Receiver is discovered. | 0x00, create a new row on each time the EngineID of the Authoritative Notification Receiver is discovered. |
+| usmUserName | "@mtaconfig". | When other rows are created, this is replaced with the field from the TLV element. |
+| usmUserSecurityName | "@mtaconfig" | When other rows are created, this is replaced with the field from the TLV element. |
+| usmUserCloneFrom | (zerodotZero)
This row is not created by cloning mechanism | (zerodotZero)
This row is not created by cloning mechanism. |
+
+**Table 23 – usmUserTable**
+
+| usmUserTable
(RFC 3414,
SNMP-USER-BASED-SM-MIB) | Static row
Case 1 | Other rows
Case 2 |
+|----------------------------------------------------------------|-------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| usmUserAuthProtocol | None
(usmNoAuthProtocol) | When other rows are created, this is replaced with none (usmNoAuthProtocol), or MD5 (usmHMACMD5AuthProtocol), or SHA (usmHMACSHAAuthProtocol) depending on the security level of the SNMPv3 user. |
+| usmUserAuthKeyChange | Empty | Empty |
+| usmUserOwnAuthKeyChange | Empty | Empty |
+| usmUserPrivProtocol | Case 1:
none (usmNoPrivProtocol) | When other rows are created this is replaced with none (usmNoPrivProtocol) or DES (usmDESPrivProtocol), depending on the security level of the SNMPv3 user. |
+| usmUserPrivKeyChange | Empty | Empty |
+| usmUserOwnPrivKeyChange | Empty | Empty |
+| usmUserPublic | Empty | Empty |
+| usmUserStorageType | volatile (2) | volatile (2) |
+| usmUserStatus | active (1) | Active (1) |
+
+#### **11.2.1.9 vacmSecurityToGroupTable**
+
+If TLV-38 elements are present and irrespective of the number of elements, the MTA MUST create "Second Row" column and MAY create "First Row" or "Third Row" columns with fixed values as described in Table 24. MTA MUST populate "Second Row" and "Third Row" columns for Secure Provisioning Flow only.
+
+**Table 24 – vacmSecurityToGroupTable**
+
+| vacmSecurityToGroupTable
(RFC 3415,
SNMP-VIEW-BASED-ACM-MIB) | First row | Second row | Third row |
+|-----------------------------------------------------------------------------|------------------|-------------------|------------------|
+| Column Name (* = Part of Index) | Column Value | Column Value | Column Value |
+| * vacmSecurityModel | SNMPV1 (1) | SNMPV2c (2) | SNMPUSM (3) |
+| * vacmSecurityName | "@mtaconfig" | "@mtaconfig" | "@mtaconfig" |
+| vacmGroupName | "@mtaconfigV1" | "@mtaconfigV2" | "@mtaconfigUSM" |
+| vacmSecurityToGroupStorageType | volatile (2) | volatile (2) | volatile (2) |
+| vacmSecurityToGroupStatus | Active (1) | active (1) | active (1) |
+
+#### 11.2.1.10 vacmAccessTable
+
+If TLV-38 elements are present and irrespective of the number of elements, the MTA MUST create "Second Row" column and MAY create "First Row" or "Third Row" columns with fixed values as described in Table 25. MTA MUST populate "Second Row" and "Third Row" columns for Secure Provisioning Flow only.
+
+**Table 25 – vacmAccessTable**
+
+| vacmAccessTable
(RFC 3415,
SNMP-VIEW-BASED-ACM-MIB) | First row | Second row | Third row |
+|--------------------------------------------------------------------|------------------|-------------------|------------------|
+| Column Name (* = Part of Index) | Column Value | Column Value | Column Value |
+| * vacmGroupName | "@mtaconfigV1" | "@mtaconfigV2" | "@mtaconfigUSM" |
+| * vacmAccessContextPrefix | Empty | Empty | Empty |
+| * vacmAccessSecurityModel | SNMPv1 (1) | SNMPv2c (2) | USM (3) |
+| * vacmAccessSecurityLevel | noAuthNoPriv (1) | noAuthNoPriv (1) | noAuthNoPriv (1) |
+| vacmAccessContextMatch | exact (1) | exact (1) | exact (1) |
+| vacmAccessReadViewName | Empty | Empty | Empty |
+| vacmAccessWriteViewName | Empty | Empty | Empty |
+| vacmAccessNotifyViewName | "@mtaconfig" | "@mtaconfig" | "@mtaconfig" |
+| vacmAccessStorageType | volatile (2) | volatile (2) | volatile (2) |
+| vacmAccessStatus | active (1) | active (1) | active (1) |
+
+#### 11.2.1.11 vacmViewTreeFamilyTable
+
+If TLV-38 elements are present and irrespective of the number of elements, the entry below as defined in Table 26 MUST be created. Note that this entry is already created at MTA initialization.
+
+**Table 26 – vacmViewTreeFamilyTable**
+
+| vacmViewTreeFamilyTable
(RFC 3415, SNMP-VIEW-BASED-ACM-MIB) | First row |
+|------------------------------------------------------------------------|--------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * vacmViewTreeFamilyViewName | "@mtaconfig" |
+| * vacmViewTreeFamilySubtree | 1.3 |
+| vacmViewTreeFamilyMask | |
+| vacmViewTreeFamilyType | included (1) |
+| vacmViewTreeFamilyStorageType | Volatile |
+| vacmViewTreeFamilyStatus | active (1) |
+
+## 11.3 TLV-38 and TLV-11 configuration example
+
+This clause presents configuration examples for the generation of TLV-38 and TLV-11 for the purpose of SNMP framework configuration based on the framework model and message processing defined in [IETF RFC 3410], [IETF RFC 3411] and [IETF RFC 3412].
+
+### 11.3.1 TLV-38 example
+
+This clause is informative. The example below presents the usability of TLV-38. One of the objectives of this clause is to illustrate the usage of @mtaConfig\_n. The following assumptions are made:
+
+- MTA ignores entries with 1 and supports 2, 3, 4 and 5.
+- MTA already via a configuration process has an entry with usmUserName and usmUserSecurityName which is 'mtaUser' and another entry set for 'superUser'. For simplification, no VACM entries associated to this profile are included.
+
+Table 27 contains the Configuration File elements. Empty cells means use default values when applicable.
+
+**Table 27 – Example configuration file elements**
+
+| Sub-TLV | | | | | |
+|-----------------------------------------------|-----------------|------------------------------|-----------------|-----------------|-------------------------------|
+| TLV-38 order in the configuration file | TLV-38 Number 1 | TLV-38 Number 2 | TLV-38 Number 3 | TLV-38 Number 4 | TLV-38 Number 5 |
+| SNMP Notification Receiver IP Address | 10.0.5.9 | 10.0.5.9 | 10.0.4.9 | 10.0.4.9 | 10.0.8.9 |
+| SNMPv2c Notification Receiver UDP Port Number | | 162 | | 57000 | |
+| SNMPv2c Notification Receiver Trap Type | 2 | 3 | 1 | 4 | 5 |
+| SNMPv2c Notification Receiver Timeout | 1500 | | 2000 | | |
+| SNMPv2c Notification Receiver Retries | 3 | 1 | 2 | | |
+| Notification Receiver Filtering Parameters | org | pktcMtaDevProvisioningStatus | mib-2 | pktcMtaMib | pktcMtaDevProvisioning Status |
+| Notification Receiver Security Name | | notused | | SuperUser | mtaUser |
+| @mta@config_n | 0 | 1 | 2 | 3 | 4 |
+
+### 11.3.2 Content of the SNMP framework tables after processing of the above example TLV-38s
+
+Based on the above assumptions and the contents of TLV-38 specified in previous clauses, this clause illustrates the tables the MTA should create. The MTA ignores TLV-38 number 1 (notification type = 1), therefore @mtaconfig\_2 entries do not exist; the Security Name in TLV n = 2 is ignored.
+
+**Table 28 – snmpCommunityTable**
+
+| Index | [@mtaconfig] |
+|-----------------|----------------|
+| Name | "public" |
+| SecurityName | @mtaconfig |
+| ContextEngineID | |
+| ContextName | "" |
+| TransportTag | "" |
+| StorageType | volatile |
+| Status | active |
+
+**Table 29 – snmpTargetAddrExtTable**
+
+| Index | [@mtaconfig_0] | [@mtaconfig_1] | [@mtaconfig_2] | [@mtaconfig_3] | [@mtaconfig_4] | [@mtaconfig_5] |
+|-------|----------------|----------------|----------------|----------------|----------------|----------------|
+| TMask | "" | "" | "" | "" | "" | "" |
+| MMS | 0 | 0 | 0 | 0 | 0 | 0 |
+
+**Table 30 – usmUserTable**
+
+| Index | [0x00][@mtaconfig] | {[mtaUser] | {[superUser] | [0x00]{[mtaUser] | [0x00]{[superUser] |
+|------------------|--------------------|----------------------------|------------------------------|---------------------------------------|-----------------------------------------|
+| SecurityName | @mtaconfig | MtaUser | superUser | mtaUser | superUser |
+| CloneFrom | ZeroDotZero | ZeroDotZero | zeroDotZero | zeroDotZero | zeroDotZero |
+| AuthProtocol | usmNoAuthProtocol | usmNoAuthProtocol | usmHMACMD5AuthProtocol | usmNoAuthProtocol | usmHMACMD5AuthProtocol |
+| AuthKeyChange | "" | "" | "" | "" | "" |
+| OwnAuthKeyChange | "" | "" | "" | "" | "" |
+| PrivProtocol | usmNoPrivProtocol | usmNoPrivProtocol | usmDESPrivProtocol | usmNoPrivProtocol | usmDESPrivProtocol |
+| PrivKeyChange | "" | "" | "" | "" | "" |
+| OwnPrivKeyChange | "" | "" | "" | "" | "" |
+| Public | "" | "" | "" | "" | "" |
+| StorageType | Volatile | Volatile | Volatile | Volatile | Volatile |
+| Status | active | active | active | active | active |
+
+**Table 31 – vacmContextTable**
+
+| Index |
+|-----------------|
+| VacmContextName |
+
+**Table 32 – vacmSecurityToGroupTable**
+
+| Index | [1][@mtaconfig] | [2][@mtaconfig] | [3][@mtaconfig] |
+|----------------------------|-----------------|-----------------|-----------------|
+| GroupName | @mtaconfigV1 | @mtaconfigV2 | @mtaconfigUSM |
+| SecurityToGroupStorageType | Volatile | Volatile | Volatile |
+| SecurityToGroupStatus | active | active | active |
+
+**Table 33 – vacmAccessTable**
+
+| Index | [@mtaconfigV1][1][noAuthNoPriv] | [@mtaconfigV2][2][noAuthNoPriv] | [@mtaconfigUSM][3][noAuthNoPriv] |
+|----------------|----------------------------------------|----------------------------------------|-----------------------------------------|
+| ContextMatch | exact | exact | exact |
+| ReadViewName | "" | "" | "" |
+| WriteViewName | "" | "" | "" |
+| NotifyViewName | @mtaconfig | @mtaconfig | @mtaconfig |
+| StorageType | Volatile | Volatile | Volatile |
+| Status | active | active | active |
+
+**Table 34 – vacmViewTreeFamilyTable**
+
+| Index | [@mtaconfig][org] |
+|--------------|--------------------------|
+| Mask | "" |
+| Type | Included |
+| StorageType | Volatile |
+| Status | Active |
+
+**Table 35 – snmpNotifyTable**
+
+| Index | [@mtaconfig_inform] | [@mtaconfig_trap] |
+|--------------|----------------------------|--------------------------|
+| Tag | @mtaconfig_inform | @mtaconfig_trap |
+| Type | Inform | Trap |
+| StorageType | Volatile | Volatile |
+| RowStatus | Active | Active |
+
+**Table 36 – snmpTargetAddrTable**
+
+| Index | [@mtaconfig_0] | [@mtaconfig_1] | [@mtaconfig_3] | [@mtaconfig_4] |
+|--------------|-----------------------|-----------------------|-----------------------|-----------------------|
+| TDomain | snmpUDPDomain | snmpUDPDomain | snmpUDPDomain | snmpUDPDomain |
+| TAddress | "0A 00 05 09 00 82" | "0A 00 05 09 00 82" | "0A 00 04 09 DE A8" | "0A 00 08 09 00 82" |
+| Timeout | 1500 | 1500 | 1500 | 1500 |
+| RetryCount | 3 | 1 | 3 | 3 |
+| TagList | @mtaconfig_trap | @mtaconfig_inform | @mtaconfig_trap | @mtaconfig_inform |
+| Params | @mtaconfig_0 | @mtaconfig_1 | @mtaconfig_3 | @mtaconfig_4 |
+| StorageType | Volatile | Volatile | Volatile | Volatile |
+| RowStatus | active | active | active | active |
+
+**Table 37 – snmpTargetParamsTable**
+
+| Index | [@mtaconfig_0] | [@mtaconfig_1] | [@mtaconfig_3] | [@mtaconfig_4] |
+|---------------|-----------------------|-----------------------|-----------------------|-----------------------|
+| MPModel | 1 | 1 | 3 | 3 |
+| SecurityModel | 2 | 2 | 3 | 3 |
+| SecurityName | @mtaconfig | @mtaconfig | @mtaconfig | @mtaconfig |
+| SecurityLevel | noAuthNoPriv | noAuthNoPriv | noAuthNoPriv | NoAuthNoPriv |
+| StorageType | Volatile | Volatile | Volatile | Volatile |
+| RowStatus | active | active | active | active |
+
+**Table 38 – snmpNotifyFilterProfileTable**
+
+| Index | [@mtaconfig_0] | [@mtaconfig_1] | [@mtaconfig_3] | [@mtaconfig_4] |
+|--------------|-----------------------|-----------------------|-----------------------|-----------------------|
+| Name | [@mtaconfig_0] | [@mtaconfig_1] | [@mtaconfig_3] | [@mtaconfig_4] |
+| StorType | Volatile | Volatile | Volatile | Volatile |
+| RowStatus | active | active | active | active |
+
+**Table 39 – snmpNotifyFilterTable**
+
+| Index | [@mtaconfig_0]
[org] | [@mtaconfig_1]
[pktcMtaProvision-
ingStatus] | [@mtaconfig_3]
[PktcMtaMib] | [@mtaconfig_4]
[pktcMtaProvision-
ingStatus] |
+|--------------|---------------------------------|-------------------------------------------------------------|----------------------------------------|-------------------------------------------------------------|
+| Mask | "" | "" | "" | "" |
+| Type | Included | Included | Included | Included |
+| StorageType | Volatile | Volatile | Volatile | Volatile |
+| RowStatus | Active | Active | Active | Active |
+
+# 12 SNMPv2c management requirements
+
+The management of an MTA device using SNMPv2c can be configured if required by an operator by setting the proper coexistence tables (using TLV-11) in the MTA configuration file or via post-provisioning management.
+
+- In the Basic and Hybrid Flows, the MTA MUST configure the tables described in clauses 12.1 and 12.2 after MTA4 to provide SNMPv2c read/write access to the default management system (provisioning entity provided in DHCP option 122 sub-option 3).
+- In the Secure Flow, the MTA MUST configure the tables in clause 12.2 if the configuration file contains TLV-11 varbindings with the data of snmpCommunityTable. Additionally, in order to restrict SNMP access to the MTA in the inbound direction, the configuration file may also contain TLV-11 varbindings for snmpTargetAddrTable and/or snmpTargetAddrExtTab.
+
+Appendix I provides an example template for operators to enable SNMPv2c management.
+
+## 12.1 SNMPV2c coexistence mode tables content created by MTA after MTA4 for hybrid and basic flows
+
+See Tables 40 to 42.
+
+**Table 40 – snmpCommunityTable Content**
+
+| snmpCommunityTable
(RFC 3584, SNMP-COMMUNITY-MIB) | Read write access |
+|--------------------------------------------------------------|---------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpCommunityIndex | "@mtaprov" |
+| snmpCommunityName | "private" |
+| snmpCommunitySecurityName | "@mtaprov" |
+| snmpCommunityContextEngineID | |
+| snmpCommunityContextName | Empty |
+| snmpCommunityTransportTag | "@mtaprovTag" |
+| snmpCommunityStorageType | volatile (2) |
+| snmpCommunityStatus | active (1) |
+
+**Table 41 – snmpTargetAddrTable Content**
+
+| snmpTargetAddrTable
(RFC 3413, SNMP-TARGET-MIB) | First row |
+|----------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
+| Column Name (* = Part of Index) | Column Value |
+| * snmpTargetAddrName | "@mtaprov" |
+| snmpTargetAddrTDomain | snmpUDPDomain = snmpDomains.1 |
+| snmpTargetAddrTAddress
(IP Address non-Authoritative SNMP entity) | OCTET STRING (6)
Octets 1-4:
Octets 5-6:
any 2-byte port value |
+| snmpTargetAddrTimeout | Ignore,