IP Data Delivery in HBB-Next Network Architecture

. Digital television enables IP data delivery using various protocols. Hybrid television HbbTV enhances digital television with applications delivery. HBB-Next is an architecture which enhances HbbTV with additional features. However it does not specify IP data delivery despite it has access to both broadcast and broadband channel. This paper proposes architecture and protocols for IP data delivery in HBB-Next. To achieve this goal we designed new node (Application Data Handler - ADH) in HBB-Next architecture and new communication protocols (Application Data Handler Control Protocol - ADHCP, and Hybrid Encapsulation Protocol - HEP) for data transmission. We created Stochastic Petri Net (SPN) model of designed protocols and implemented them in ns2 network simulator to verify our solution. Results of SPN model simulation and ns2 network simulation are discussed and HEP protocol is compared to existing encapsulation protocols used in DVB systems.


Introduction
Evolution from digital television to hybrid television started with Multimedia Home Platform (MHP) [1]. It was later surpassed by hybrid television standard -Hybrid Broadcast Broadband Television (HbbTV) [2]. HbbTV applications are CE-HTML based and can take advantage of broadband return channel. HbbTV applications can be interactive and mostly serve for TV providers as enhanced EPG (Electronic Program Guide) applications (archive, informations about movies and shows, trailers etc.). HbbTV applications can not only serve as TV information portals, but can be also used in other areas such as in e-learning [3].
To enhance HbbTV application capabilities, HBB-Next platform was designed [4]. It provides additional features as user recognition (by face or voice etc.), content recommendation and user management. As in HbbTV, HBB-Next terminals are connected to broadband Internet which is used for application data or media streams delivery. In HBB-Next, service provider has access to broadcast channel, but it is used only for media streaming.
HBB-Next platform does not specify IP data delivery. Protocols for IP data delivery in digital television could be used, but they were not designed to utilize both broadcast and broadband channel. In this paper we propose enhancement to HBB-Next architecture and we design protocols to deliver IP data from applications to terminals using both broadcast and broadband channel. We compare it to similar solutions and describe its advantages.
This paper is organized as follows: the second section describes protocols used for IP data delivery in DVB systems and current state of next generation of hybrid television. The third section proposes Application Data Handler (ADH) node and ADH-Control Protocol (ADHCP). In fourth section Hybrid Encapsulation Protocol (HEP) and HEP Hash Table (HHT) protocols are described. The fifth section describes Stochastic Petri Net (SPN) model of designed communication, its properties and results of simulations. The sixth section describes implementation of designed protocols in ns2 network simulator and results of simulations. The seventh section concludes this paper.

IP Data Delivery in DVB and in HBB-Next
In this section we describe current state of IP data delivery in DVB systems and current state of HBB-Next architecture.

IP Data Delivery in DVB
Multi-Protocol Encapsulation (MPE) protocol was designed for IP data delivery in first generation DVB systems (DVB-S/C/T) [5]. It is the most used protocol to receive IP data over broadcast channel in areas without connection or with limited broadband connection. MPE can work in two modes. In padding mode, MPE frame's unused data are filled with invalid data. In packing mode, MPE frame's unused data are filled with next packet. Padding mode is available to all devices with MPE support, however MPE packing mode is optional. Packing mode is more effective but is not supported by all end-devices.
Unidirectional Lightweight Encapsulation (ULE) protocol was designed as lightweight alternative to MPE protocol [6]. It has reduced header (header size: MPE -16 B, ULE -4 B) and is using packing mode by default.
For second generation DVB systems (DVB-S2 etc.), new protocol for IP data delivery can be used [7]. Generic Stream Encapsulation (GSE) protocol is the most effective in DVB-S2 systems, but it is not compatible with first generation of DVB systems. Despite GSE's highest efficiency, MPE is still used in many cases. During transition to DVB-S2, providers stayed with MPE protocol because it had wider support in consumers' end-devices and was still used by DVB-S systems.

HBB-Next
HBB-Next is platform of next-generation hybrid television. It was designed to provide additional features to hybrid television. HBB-Next architecture consists of three main layers: application provider, service provider and terminal ( Fig. 1).

Fig. 1. HBB-Next architecture (high-level view)
Application provider layer represents application, its data and frontend. Applications can be HbbTV compatible and can take advantage of features of Service provider layer.
Service provider is HBB-Next core architecture provider. Service provider layer consist of multiple nodes. It is designed to provide advanced features such as user recognition (Multi-modal Interface) [8], content recommendation, enhanced identity management (IdM) and security management (SecM), and audio and video synchronisation and delivery (CloudOffloading and AV Sync nodes).
Terminal is end-point device which is able to receive transmission on broadcast channel and is also connected to broadband channel. Broadband channel's bandwidth is not specified but HBB-Next terminal is considered to have enough bandwidth for face recognition data and multimedia streaming reception.
Applications in HBB-Next can send data to terminal by broadband channel. Broadcast channel is solely used for audio and video data delivery. However, this channel could be used for delivery of other application data as well. To provide this feature HBB-Next architecture need to be enhanced.
HBB-Next does not specify IP data delivery in its core. Standard DVB encapsulation protocols (MPE, ULE, GSE) could be used for IP data delivery in HBB-Next only by bypassing its core. HBB-Next platform could take advantage of its core and its connection to broadcast and broadband channels to transfer IP data from applications to terminals.

Application Data Handler (ADH) and ADH-Control Protocol (ADHCP)
HBB-Next architecture is not suitable for delivery of application data through broadcast channel. Only node which is connected to both broadband and broadcast channel is AV Sync node. For applications to be able to deliver IP data we created a new node -Application Data Handler (ADH) in service layer (Fig. 2).

Fig. 2. HBB-Next architecture with ADH node
ADH node is used to receive application data and send them through appropriate broadcast or broadband channel according to applications' needs.
Data are sent from application to ADH node using ADHCP protocol (Fig. 3). This protocol was designed to allow application data encapsulation (data field, <1435 B), link type selection (link type field) and addressing (address type and address fields). Hash field in ADHCP headers is used as checksum for encapsulated data. ADHCP communication is based on request and reply messages and they use two different header formats. Application is requesting data transfer from ADH ((1) in Fig. 3). ADHCP request header consist of link type, address type, address (optional), data (encapsulated data) and hash value (of encapsulated data). ADH node response in case of failure with response ADHCP message ((2) in Fig. 3). ADHCP response header consists of hash value of message which was not delivered correctly and response code. Response code is: -00 -refused: in case of ADH refuse to transmit data over selected link, -11 -retransmission request: in case any of terminals failed to receive data and they are no longer in ADH cache, -01 and 10 -reserved.
In Fig. 3 part A there is ADHCP messages exchange when there is insufficient bandwidth on broadcast channel (ADH refuses to send data). Part B shows correct data transmission with ADHCP to ADH. In part C ADHCP messages exchange in case of transmission failure on broadcast channel is shown.
HBB-Next's Application layer is considered to be connected with Service provider layer with sufficient bandwidth. ADHCP is encapsulated in TCP/IP to achieve reliable transmission.

Hybrid Encapsulation Protocol (HEP) and HEP Hash Table (HHT) Protocol
To transmit data from ADH to terminal, new lightweight protocol was designed. Hybrid Encapsulation Protocol (HEP) can be used either in DVB broadcast channels encapsulated in MPEG-TS or in broadband channel over TCP/IP. Broadcast channels are not reliable medium. To check correct reception of received data, HASH values are sent from ADH to terminal using HEP Hash- Table -HHT ((1) in Fig. 4). HHT consist of list of items. One item consist of fields (size of field in brackets): -hash value (256 b) -hash value of data received from application, -link type (4 b) -expected link to receive HEP frame, -reception time (32 b) -expected time of HEP frame reception, in Unix time format, and -sequence number (20 b) -position in terminals reception stack.
One or multiple items may be send in one HHT message. HHT is sent to selected terminal by broadband channel using TCP/IP and it consists only from items addressed to selected terminal.
After HHT communication, HEP message is sent to terminal ((2) in Fig. 4). HEP message consists of encapsulated data sent from ADH (originally from application). For HEP messages received from broadcast channel terminal counts Hash value and check if the message was received correctly. Counted value is compared to one terminal received in HHT. If received correctly, counted Hash value will match to one from terminals HHT list. In case of transmission error, counted Hash value will not match any of items in HHT list. Terminal periodically checks reception time and requests frames ((3) in Fig. 4) which were not delivered within reception time in terminals HHT. Requesting HEP message consist of number of requested frames with their hash values following. After ADH receives HEP request, it can either resend data (if still cached) or request application for retransmission with ADHCP response ((4) in Fig. 4).
HEP encapsulation was designed to be more efficient then previously used protocols. ULE protocol was designed to reduce MPE's header to achieve higher efficiency [9,10]. GSE protocol is even more efficient, but it is used only in second generation DVB channels [11]. HEP's encapsulation over broadcast channel is more efficient as MPE, ULE or GSE because it has no header. It is using HHT protocol instead which is solely transmitted over broadband channel and therefore saves broadcast channel bandwidth.  Firing a transition (t 1 -Fig. 5) can move token between connected places (from p 0 ) in a direction of an arc (to p 1 ). Stochastic Petri Nets enable transitions to be fired with given probability or rate. To verify properties of designed protocols, we created model of their communication using Stochastic Petri Nets (Fig. 5, Table 1). We verified its selected properties using PIPE tool [12]. Place p K was used to simulate broadcast link capacity. Transitions t Y and t N were stochastic transition set to simulate broadcast channel error rate -t Y was executed every 2 times, t N was executed every 8 times what represents 20 % error rate on a broadcast channel.
Results showed that PN is not safe and can be dead-locked -which means that sent messages can be delivered and halt in terminal's last state p 4 -correct data reception. This is considered as correct protocol behavior, because it represents that data can be delivered to final destination (p 4 -correct data reception). There was no other dead-lock identified. We tested boundedness for places representing link capacity (p K ) and results showed that these places are bounded, therefore communication can not overload link capacity. Boundedness for whole model was also tested and results showed that the whole model is bounded.
Using Snoopy [13] we simulated SPN model sending 10 and 1000 messages (Fig. 6). Simulation results show correct reception of all messages -purple line

Simulation in ns2
In order to simulate our protocols, we implemented their version using ns2 network simulator. Application (APP) was sending its messages using ADH node broadcasting to 100 terminals through DVB gateway (DVB GW). We set terminals' error reception rate on broadcast channel to various percentages (0-99 %). Terminal Term (0) had 0 % error rate reception, terminal Term (1) had 1 % error rate reception, and so forth. Simulation scenarion was set to requeste every erroneous message again over broadband channel through IP gateway -IP GW (Fig. 7).  (Fig. 8) show dependence of received frames on broadcast channel error. Red line represent percentage of messages received through broadcast channel and green line represents percentage of messages received through broadband channel. Independently on broadcast channel error rate, summary of both line (channels) gives 100 % reception of messages on terminal. Results verified correct transmission and retransmission behaviour of designed protocols in network simulator.

Conclusion
In this paper we proposed architecture and protocols for IP data delivery in DVB broadcast channels in next generation hybrid television -HBB-Next. We identified missing specification for IP data delivery in HBB-Next, which could take advantage of broadband channel.
We designed new node in HBB-Next architecture -Application Data Handler (ADH). ADH receives all application data and transmits them to terminals using either broadcast or broadband channels. In order to communicate with ADH we designed ADH-Control Protocol (ADHCP). For data delivery to terminals through different channels we designed Hybrid Encapsulation Protocol (HEP) and HEP Hash- Table (HHT) protocols.
We created Stochastic Petri Net (SPN) model of communication with designed protocols. We analysed properties of SPN model and simulated its behaviour. Results showed desired properties and simulations verified correct transmission and retransmission of messages. Later we implemented our protocols in network simulator and simulated communication with multiple terminals with different error rate on broadcast channel. Results showed correct data transmission over broadcast channel and retransmission over broadband channel.
Our work enables IP data delivery in HBB-Next from applications to terminals over HBB-Next service provider layer. Applications can not only serve as multimedia provider and HbbTV content provider, but with our changes they can also behave as IP data providers. Our HEP encapsulation has also reduced frames' header overhead on DVB broadcast channels. Instead it is using broadband channel to deliver HHT (header-like data).
Future work includes further comparison of SPN simulations with network simulations, testing of parallel transmission in various complex scenarios and implementation and testing on real hardware.