1 / 12

經濟部學研聯合研究計畫 台灣雲端運算應用實驗中心計畫

經濟部學研聯合研究計畫 台灣雲端運算應用實驗中心計畫. 分項子 計畫 :P2P video streaming. 主持人 : 李宗南 研究助理 : 高詠證 高惠翔 蔡宗銘 陳盈村. 分項子計畫 :P2P video streaming 預期完成進度.

Download Presentation

經濟部學研聯合研究計畫 台灣雲端運算應用實驗中心計畫

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 經濟部學研聯合研究計畫台灣雲端運算應用實驗中心計畫經濟部學研聯合研究計畫台灣雲端運算應用實驗中心計畫 分項子計畫:P2P video streaming 主持人:李宗南 研究助理:高詠證 高惠翔 蔡宗銘 陳盈村

  2. 分項子計畫:P2P video streaming 預期完成進度 1 Quarter: 完成Client/Server 互動電視,包括伺服器建立,節目播放,使用介面設計; 機制部分完成服務代理元件做視訊串流分合.2 Quarter: 建立點對點互動電視 ,包括頻道收集,點對點拓樸建置; 機制部分完成搜尋雲端最佳伺服器.3 Quarter: 移植至XEN平台; 機制部分完成SVC視訊合流.4 Quarter: 點對點互動電視實地測試; 機制部分完成QoS及流量監控.

  3. 分項子計畫:P2P video streaming 實做部分 預期完成進度 1 Quarter: 完成Client/Server 互動電視,包括伺服器建立,節目播放,使用介面設計.2 Quarter: 建立點對點互動電視 ,包括頻道收集,點對點拓樸建置.3 Quarter: 移植至XEN平台.4 Quarter: 點對點互動電視實地測試.

  4. 分項子計畫:P2P video streaming 實做部分 目前完成進度

  5. 1. 完成Client/Server 互動電視,包括伺服器建立,節目播放,使用介面設計。 客戶端使用介面設計如下

  6. 2. 移植至XEN平台 工作包括 • Write video data into Hadoop Distributed File System(HDFS) and backup the data on three cloud nodes. • Build the video server to read video data from HDFS.

  7. 移植至Hadoop與 XEN平台 Architecture • Hadoop 0.20.1 in Ubuntu 9.04

  8. 移植至Hadoop與 XEN平台Video Access via HDFS • VideoWriter: write video data into HDFS • VideoReader: read video data from HDFS • VideoPlayer: play video data from server which is built in Hadoop

  9. 移植至Hadoop與 XEN平台實做 之VideoWritercode • public class HadoopServerWrite { • public static void main( String[] args ) throws Exception { • String filePath = "./video_file/spool"; • String dstPath = "hdfs://wushoupong-desktop:9000/user/wushoupong/p2p/output"; • InputStreaminFile = new BufferedInputStream( new FileInputStream(filePath) ); • Configuration conf = new Configuration(); • FileSystemfs = FileSystem.get(URI.create(dstPath), conf); • OutputStream out = fs.create(new Path(dstPath), new Progressable() { … } • IOUtils.copyBytes(inFile, out, 4096, true); • …

  10. 移植至Hadoop 與 XEN平台實做 之 VideoReadercode • public static void main(String[] args) throws Exception { • String uri = "hdfs://wushoupong-desktop:9000/user/wushoupong/p2p/output"; • String outPath = "./HadoopDownload/spool"; • Configuration conf = new Configuration(); • FileSystemfs = FileSystem.get(URI.create(uri), conf); • InputStream in = null; • FileOutputStreamoutFile = new FileOutputStream(outPath); • try { • in = fs.open(new Path(uri)); IOUtils.copyBytes(in, outFile, 4096, false); } finally { …. }

  11. 移植至Hadoop 與 XEN平台實地啟動Hadoop

  12. 分項子計畫:P2P video streaming 討論 • 原預期完成進度 較難以顯現雲端運算之優勢,目前著重video streaming運算與處理

More Related