Wednesday, 4 March 2020

The Architecture Design of Streaming Media

The Architecture Design of Streaming Media 
With the continuous development of semiconductor technology, the processing ability of mobile terminal continuously was enhanced, and mobile Internet bandwidth was expanded. Mobile terminal streaming media applications has become the main way of traffic consumption. Although many mobile terminal OSs, Android OS has been popular because of its open source. In the second half of 2011, its global share is top-ranked, and it has become one of the most popular mobile OSs [1-3]. Streaming media application for Android has become a hot spot, but the appearance of Android is late, streaming media program development is not mature. At the same time, due to the complexity of the streaming media system, so the multimedia part of Android is not easy to understand, and its expansion is very difficult, obstacling to the development of streaming media applications. In view of the questions in Android multimedia architecture, the thesis designed a kind of steaming media engine which is located between the Linux kernel layer and application program layer of Android, the user-friendly APIs were provided for the development of streaming media applications. It was an open development platform designed for streaming media applications for Android. At last the wisdom medical project was used to verifY the feasibility and show its usage. Linux Kernel ) Android OS bases on Linux 2.6 kernel, and Linux kernel as hardware abstraction of underlying layer provides the services of basic memory management, thread management, network protocol stack and device driver etc. B. Hareware Abstraction The hardware abstraction layer is used to abstract services provided by the underlying Linux kernel layer; it can shield the underlying implement details. C. Libraries and Android Runtime Android libraries provide many basic C/C++ libraries, which are called by applications. They are the ultimaterealization of the upper layer applicaitons. Android Runtime is a set of libraries which provides most of functions of Java programming language. Dalvik virtual machine is included. Every processing has own instance of Dalvik virtual machine. It is used to run the .dex excutive file. D. Application Framework The application framework layer provides a development platform for developers, which facilitates the reuse and replacement of components and the building of all kinds of applications. E. Applications Android application layer provides a range of packages, which contains most of Google's applications, for example, clock, calendar, etc. They are writen by Java.  CodeShoppy
With the continuous development of semiconductor technology, the processing ability of mobile terminal continuously was enhanced, and mobile Internet bandwidth was expanded. Mobile terminal streaming media applications has become the main way of traffic consumption. Although many mobile terminal OSs, Android OS has been popular because of its open source. In the second half of 2011, its global share is top-ranked, and it has become one of the most popular mobile OSs [1-3]. Streaming media application for Android has become a hot spot, but the appearance of Android is late, streaming media program development is not mature. At the same time, due to the complexity of the streaming media system, so the multimedia part of Android is not easy to understand, and its expansion is very difficult, obstacling to the development of streaming media applications. In view of the questions in Android multimedia architecture, the thesis designed a kind of steaming media engine which is located between the Linux kernel layer and application program layer of Android, the user-friendly APIs were provided for the development of streaming media applications. It was an open development platform designed for streaming media applications for Android. At last the wisdom medical project was used to verifY the feasibility and show its usage. Linux Kernel ) Android OS bases on Linux 2.6 kernel, and Linux kernel as hardware abstraction of underlying layer provides the services of basic memory management, thread management, network protocol stack and device driver etc. B. Hareware Abstraction The hardware abstraction layer is used to abstract services provided by the underlying Linux kernel layer; it can shield the underlying implement details. C. Libraries and Android Runtime Android libraries provide many basic C/C++ libraries, which are called by applications. They are the ultimaterealization of the upper layer applicaitons. Android Runtime is a set of libraries which provides most of functions of Java programming language. Dalvik virtual machine is included. Every processing has own instance of Dalvik virtual machine. It is used to run the .dex excutive file. D. Application Framework The application framework layer provides a development platform for developers, which facilitates the reuse and replacement of components and the building of all kinds of applications. E. Applications Android application layer provides a range of packages, which contains most of Google's applications, for example, clock, calendar, etc. They are writen by Java.  
The Architecture Design of Streaming Media
 Codec layer mainly realizes the compression and decompression of streaming media data, it is defined a codec class, which has initialization, codec selecting, data input and output interface. After inheriting the class, developers could call the select 0 function to select different codec algorithm, and avcodecinit 0 to initialize the codec. The algorithm is realized in the input 0 function by different way. The output function is used to get data which has processed. The decoding processing is the contrary. E. Network Transport Network transport layer mainly to complete the transfer function in streaming media systems; it created a network transmission class, including data input and the session initialization interface. According to the requirement, developers inherit the class and initialize the transmition session in mIt 0 function, then using input 0 function, developers can transmit the data to destination. The multi­thread mechanism can be used to achieve the transmission of data. The signal is used to communicate process with thread. F. User Interface The user interface layer is the interface of streaming media engine, and it is a JNI interface package of streaming media engine. Through JNI interface, Java applications can call the corresponding streaming engine functions. APIs implement the parameters control, parameter setting and query interface. The layer controls the flow of message from one layer to another. There is a mapping table between native functions and Android Java functions. It will be registered to Dalvik virtual machine when systemloadLibrary 0 is called. By this way, the time consumption will be reduced [10]. The user interface layer contains start and stop interface of streaming media engine. When the start function is called, the messages are sent from data capture via codec to network transport or from network transport via codec to data output.which one IS selected can be configured by configuration file.These classes in the streaming media engine each layer are compiled into dynamic libraries using Android NDK tools, which can be called by others. The purpose of this is easy to upgrade and reuse each layer. Only through changing the dynamic library, the developers can develop new application.
https://codeshoppy.com/android-app-ideas-for-students-college-project.html

No comments:

Post a Comment