Font Size: a A A

The Design And Implementation Of Android Remote-desktop Based On Streaming Media

Posted on:2013-08-12Degree:MasterType:Thesis
Country:ChinaCandidate:C LiFull Text:PDF
GTID:2248330374974932Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
Android has become one of the most attractive open-source operating system.We can seethe shadow of Android in cell phones,lap-tops,smart TV and the industrial medical field.Android’s market share has gone beyond the Apple, and still maintains a rapid developmentspeed.As Android will become a main operating system,the needs of Android remote-desktopare increasing rapidly.The common operating systems such as Windows have mature remotedesktop software, but the Android system don’t have a good one.This paper implements Android remote-desktop based on streaming technology.Wedesign Android remote-desktop in four aspects:display primitives,update strategy, compress-ion algorithm and caching mechanism.The server saves local desktop into images andencoding them into video, then it sends the video streams to the client.The client decodes thevideo stream and displays the video to the user. We use the new-generation video codecstandard H.264to compress and encoding the desktop images,use methods such as a lowerresolution and a lower frame rate to reduce the bandwidth consumption in video streaming. Inorder to improve the system’s compatibility and portability, the system uses the FLV containerto package H.264video data.In the aspect of transmission and processing the controlevents,the client sends local keyboard and mouse events in an agreed format to the server,theserver accept the events,it loads the events into the Linux event struct and write it to thedevice file so it can simulate keyboard and mouse events in the server. In addition, in order toimprove security level of this system,we add the access authentication function and uses AESAlgorithm to encrypt the password. In order to facilitate remote debugging capabilities,weadd file transfer function, the client can send a local file to the remote server.The main contents of this paper are as follows:1. The Research of the Android graphics system principles and double-Framebuffermechanism, and the implementation of saving the Android Front buffer into images.2.The research of using FFmpeg to convert desktop pictures into video stream and theimplementation of sending and receiving the video stream. It includs the implementation ofusing inotify mechanisms to monitor changes in the screenshots, the H.264codec using external library x264and libx264, the method of packeting and depacketing H.264video datain a FLV file, and sending and receiving sequential streaming media using HTTP protocol.3.The research of Linux input subsystem, the simulation of the buttons and touch screenevents in Android at the user layer.
Keywords/Search Tags:Android, Remote-desktop, FFmpeg, H.264, Streaming Media
PDF Full Text Request
Related items