+ All Categories
Home > Documents > 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes...

1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes...

Date post: 17-Jan-2016
Category:
Upload: edmund-norman-ferguson
View: 216 times
Download: 0 times
Share this document with a friend
22
1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4
Transcript
Page 1: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

1

Nagi Reddy GatlaAdvisor: Dr.Yanqing Zhang

09-14-2015

Stream Oriented Communication

Lecture Notes – 4.4

Page 2: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

2

Stream Oriented Communication:

We have till now seen communication which concentrated on exchanging more-or less independent and complete units of information. In this Stream Oriented Communication Stream protocols like TCP send a continuous flow of data.

A phone call is stream oriented as there is a continuous flow of audio throughout the call.

Introduction

Page 3: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

3

Continuous Media Support

Support for the exchange of time-dependent information is often formulated as support for continuous media. A medium refers to the means by which information is conveyed. These means include storage and transmission media, presentation media such as a monitor, and so on.

Important type of medium is the way that information is represented. In other words, how is information encoded in a computer system?

Motion can be represented by a series of images in which successive images must be displayed at a uniform spacing T in time, typically 30-40 m sec per image.

Page 4: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

4

Data Stream – Transmission Mode

• Data Stream: A data stream is nothing but a sequence of data units. Data streams can be applied to discrete as well as continuous media. But timing is important for continuous media

• Three transmission modes are distinguished to capture timing aspects of the data streams:

1. Synchronous mode2. Asynchronous mode3. Isochronous mode

• Here we consider only continuous data streams using isochronous transmission, which we will refer to simply as streams.

Page 5: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

5

Streams

Streams:A simple stream consists of only a single sequence of data, whereas a complex stream consists of several related simple streams, called sub streams. The relation between the sub streams in a complex stream is often also time dependent.

Stereo Audio stream: Complex stream consisting of two sub streams, each used for a single audio channel.

Video Stream: Complex stream consisting of a single video stream, along with two streams for transmitting the sound of the movie in stereo. A fourth stream might contain subtitles for the deaf, or a translation into a different language than the audio. Again, synchronization of the sub streams is important. Two types of video transmission:

1. Stored Video2. Live Video

Page 6: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

6

Streaming Multimedia

Source: Andrew S.Tanenbaum, Maarten Van Steen, “Distributed Systems: Principles and Paradigms”,Prentice-Hall,NJ,USA.

A general architecture for streaming stored multimedia data over network.

Page 7: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

7

Quality of Service

• Timing (and other nonfunctional) requirements are generally expressed as Quality of Service (QoS) requirements.

• These requirements describe what is needed from the underlying distributed system and network to ensure that, for example, the temporal relationships in a stream can be preserved.

• All distributed systems that support stream-oriented communication, are currently built on top of the Internet protocol stack. So much for QoS specifications.

• The Internet provides a means for differentiating classes of data by means of its differentiated services. Classes are:

1. Expedited forwarding class2. Assured forwarding class (Drop packets, Range of priorities)

Page 8: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

8

Distributed System Support

• When packets are transmitted over the network with certain variance then distributed system provides support at the receiver by storing the packets in the buffer.

• This will allow the receiver to pass packets to the application at a regular rate.

Source: Andrew S.Tanenbaum, Maarten Van Steen, “Distributed Systems: Principles and Paradigms”,Prentice-Hall,NJ,USA.

Page 9: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

9

Packet Loss

• When data packets are being transported over the network there could be a packet loss.

• We need to apply error correction techniques.

• A well-known technique is to encode the outgoing packets in such a way that any k out of n received packets is enough to reconstruct k correct packets.

• One problem that may occur is that a single packet contains multiple audio and video frames. As a consequence, when a packet is lost, the receiver may actually perceive a large gap when playing out frames.

Page 10: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

10

Contd..

• This gap in frames can be somewhat circumvented by interleaving frames. In this way, when a packet is lost, the resulting gap in successive frames is distributed over time.

Page 11: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

11

Stream Synchronization

• Synchronization of streams deals with maintaining temporal relations between streams. Two types of synchronization occur.

• The simplest form of synchronization is that between a discrete data stream and a continuous data stream.

Example: Slideshow and relevant audio to slide.

• A more demanding type of synchronization is that between continuous data streams.

Example: A daily example is playing a movie in which the video stream needs to be synchronized with the audio, commonly referred to as lip synchronization.

Page 12: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

12

Contd..

• Synchronization of streams deals with maintaining temporal relations between streams. Two types of synchronization occur.

• The simplest form of synchronization is that between a discrete data stream and a continuous data stream.

Example: Slideshow and relevant audio to slide.

• A more demanding type of synchronization is that between continuous data streams.

Example: A daily example is playing a movie in which the video stream needs to be synchronized with the audio, commonly referred to as lip synchronization.

Page 13: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

13

Stream Synchronization

• Synchronization takes place at the level of the data units of which a stream is made up. In other words, we can synchronize two streams only between data units.

• Let us consider the lip synchronization, Standard video frames are displayed at 29.97Hz which is 33 msec in time units. With an audio frequency of 44100Hz, audio data unit can thus be as large as 1470 samples, or 1l,760 bytes to fit the video frame.

• Hence we can achieve lip synchronization by simply alternating between reading an image and reading a block of 1470 audio samples every 33 ms.

Page 14: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

14

Synchronization Mechanisms

• Synchronization Mechanism requires two issues to be dealt:1. The basic mechanisms for synchronizing two streams.2. Distribution of those mechanisms in a networked environment.

• At the lowest level, Synchronization is done explicitly by operating on the data units of simple streams.

• In essence, there is a process that simply executes read and write operations on several simple streams, ensuring that those operations adhere to specific timing and synchronization constraints.

Page 15: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

15

Contd..

• Drawback of this approach is that the application is made completely responsible for implementing synchronization while it has only low-level facilities available.

• A better approach is to offer an application an interface that allows it to more easily control streams and devices.

• Multimedia middleware offers a collection of interfaces for controlling audio and video streams, including interfaces for controlling devices such as monitors, cameras, microphones, etc.

Page 16: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

16

Contd..

• Receiving Application must have a complete synchronization specification locally available for it to syncronize.

• Common practice is to provide this information implicitly by multiplexing the different streams into a single stream containing all data units, including those for synchronization.

Page 17: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

17

Stream Communication - Innovation

• Global mobile video traffic is predicted to grow explosively in the near future and HD video would be increasingly prevalent over Mobile internet.

• As HD video has higher bit rate and stringent delay constraint it uses multipath video streaming to handle this problem.

• An innovative method was discovered which handles bitrates allocation in heterogeneous wireless networks. In this method rate allocation is done based on relaxing function which relies on pattern search method.

• In this method, basically bit rate allocation happens based on video pattern at the receiver and Quality of Experience of the user. In this way each video is handled differently.

Reference: Zhenjie Deng, Yanwei Liu, Member, IEEE, Jinxia Liu, Xu Zhou, and Song Ci, Senior Member, IEEE, 2015, QoE-Oriented Rate Allocation for Multipath High-Definition Video Streaming Over Heterogeneous Wireless Access Networks, IEEE SYSTEMS JOURNAL 2015

Page 18: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

18

Stream Communication - Innovation

• In video streaming caching of content is required which will lower the user perceived delay and reduce packet jitters.

• But too much caching would put weight on the storage space of the server.

• To avoid this problem, efficient mechanism was devised in which caching is based on user. In this each users’ choices are made foundational to caching decisions, in a way a caching utility is built to identify users choices which then caches based on the results.

Reference: Mingzhe Li †, Jinlin Wang , Xiao Chen , Jun Chen and Jinghong Wu † National Network New ∗ ∗ ∗ ∗ ∗ ∗Media Engineering Research Center, Institute of Acoustics, Chinese Academy of Sciences, Beijing 100190, China † University of Chinese Academy of Sciences, Beijing 100190, China , A User-significance Based Caching Strategy for Edge Streaming Media Servers, The 2014 7th International Congress on Image and Signal Processing .

Page 19: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

19

Stream Communication - Innovation

• Another important area in video streaming is IPTV. Generally IPTV service uses vehicular networks. One challenge in this area is to efficiently utilize limited radio services.

• IPTV uses scalable video coding to encode TV channels and transmit them over radio resources.

• One efficient method to handle bandwidth issue is, to use differentiated modulated scheme profiles for channels of different popularities.

• The principle is to use more robust MCS profiles for more popular channels while to adopt higher efficient MCS profiles for less popular channels. Simulation experiments showed 10% improvement in gross channel availability.

Reference: Junyu Lai, Bing He, Huawei Chen, Wenhong Tian, Kaiyu Qin University of Electronic Science and Technology China, Chengdu 611731, China,aijy|binghe|chenhuawei|tian_wenhong|kyqin}@uestc.edu.cn, A Channel Popularity Oriented Transmission Scheme in Vehicular IPTV Networks, Communication Problem-Solving (ICCP), 2014 IEEE International Conference.

Page 20: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

20

Future Work - Predictions

• One important area of research is to build network which can handle huge bitrates. Along with this network should have the intelligence to allocate bit rate based on the content popularity.

• Another area of research can be to make efficient caching mechanisms on the cloud as well as on the browser though light weight caching on browser, this would improve the content enormously protecting it from jitters.

• Also one more area of interest is to use efficient recommender systems to allocate bandwidths for popular channels, videos and other content. This would improve the quality of service in several areas.

Page 21: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

21

References

• Andrew S. Tanenbaum, Maarten Van Steen, “Distributed Systems: Principles and Paradigms”,Prentice-Hall,NJ,USA.

• http://uclab.khu.ac.kr/lectures/2005-2-ds/DS02_Cummunications.ppt

• https://en.wikipedia.org/wiki/Connection-oriented_communication

• http://lass.cs.umass.edu/~shenoy/courses/spring04/677/lectures/Lec05.pdf

• www.cs.uah.edu/~weisskop/Notes690/A8_Comm-Ch4.ppt

• dpnm.postech.ac.kr/cs600/tanenbaum/stream-communication.ppt

• Zhenjie Deng, Yanwei Liu, Member, IEEE, Jinxia Liu, Xu Zhou, and Song Ci, Senior Member, IEEE, 2015, QoE-Oriented Rate Allocation for Multipath High-Definition Video Streaming Over Heterogeneous Wireless Access Networks, IEEE SYSTEMS JOURNAL 2015.

• Mingzhe Li †, Jinlin Wang , Xiao Chen , Jun Chen and Jinghong Wu † National Network New Media ∗ ∗ ∗ ∗ ∗ ∗Engineering Research Center, Institute of Acoustics, Chinese Academy of Sciences, Beijing 100190, China † University of Chinese Academy of Sciences, Beijing 100190, China , A User-significance Based Caching Strategy for Edge Streaming Media Servers, The 2014 7th International Congress on Image and Signal Processing .

• Junyu Lai, Bing He, Huawei Chen, Wenhong Tian, Kaiyu Qin University of Electronic Science and Technology China, Chengdu 611731, China,aijy|binghe|chenhuawei|tian_wenhong|kyqin}@uestc.edu.cn, A Channel Popularity Oriented Transmission Scheme in Vehicular IPTV Networks, Communication Problem-Solving (ICCP), 2014 IEEE International Conference.

Page 22: 1 Nagi Reddy Gatla Advisor: Dr.Yanqing Zhang 09-14-2015 Stream Oriented Communication Lecture Notes – 4.4.

22


Recommended