Mercurial > hg > Members > nobuyasu > presen
annotate OpenSourceConference/index.html @ 10:eaf3f3d169fe
modify index.html
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Sep 2011 17:23:58 +0900 |
parents | 95d46a58d75e |
children |
rev | line source |
---|---|
0 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | |
4 <html xmlns="http://www.w3.org/1999/xhtml"> | |
5 | |
6 <head> | |
7 <style> | |
8 .center { | |
9 margin-left: auto; | |
10 margin-right: auto; | |
11 text-align: center; | |
12 } | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
13 .textcenter { |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
14 text-align: center; |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
15 } |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
16 |
0 | 17 </style> |
18 <title>2011/9/6</title> | |
19 <!-- metadata --> | |
20 <meta name="generator" content="S5" /> | |
21 <meta name="version" content="S5 1.1" /> | |
22 <meta name="presdate" content="20110906" /> | |
23 <meta name="author" content="Nobuyasu Oshiro" /> | |
24 <meta name="company" content="University of the Ryukyu" /> | |
25 <!-- meta temporary --> | |
26 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
27 <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
28 <meta http-equiv="Content-Style-Type" content="text/css" /> | |
29 <!-- configuration parameters --> | |
30 <meta name="defaultView" content="slideshow" /> | |
31 <meta name="controlVis" content="hidden" /> | |
32 <!-- configuration extensions --> | |
33 <meta name="tranSitions" content="true" /> | |
34 <meta name="fadeDuration" content="500" /> | |
35 <meta name="incrDuration" content="250" /> | |
36 <!-- configuration autoplay extension --> | |
37 <meta name="autoMatic" content="false" /> | |
38 <meta name="playLoop" content="true" /> | |
39 <meta name="playDelay" content="10" /> | |
40 <!-- configuration audio extension --> | |
41 <meta name="audioSupport" content="false" /> | |
42 <meta name="audioVolume" content="100" /> | |
43 <meta name="audioError" content="false" /> | |
44 <!-- configuration audio debug --> | |
45 <meta name="audioDebug" content="false" /> | |
46 <!-- style sheet links --> | |
47 <link rel="stylesheet" href="ui/default_utf/slides.css" type="text/css" media="projection" id="slideProj" /> | |
48 <link rel="stylesheet" href="ui/default_utf/outline.css" type="text/css" media="screen" id="outlineStyle" /> | |
49 <link rel="stylesheet" href="ui/default_utf/print.css" type="text/css" media="print" id="slidePrint" /> | |
50 <link rel="stylesheet" href="ui/default_utf/opera.css" type="text/css" media="projection" id="operaFix" /> | |
51 <!-- embedded styles --> | |
52 <style type="text/css" media="all"> | |
53 .imgcon {width: 100%; margin: 0 auto; padding: 0; text-align: center;} | |
54 #anim {width: 33%; height: 320px; position: relative;} | |
55 #anim img {position: absolute; top: 0px; left: 0px;} | |
56 </style> | |
57 <!-- S5 JS --> | |
58 <script src="ui/default_utf/slides.js" type="text/javascript"></script> | |
59 </head> | |
60 <body> | |
61 | |
62 <div class="layout"> | |
63 <div id="controls"><!-- DO NOT EDIT --></div> | |
64 <div id="currentSlide"><!-- DO NOT EDIT --></div> | |
65 <div id="header"></div> | |
66 <div id="footer"> | |
67 <h1>ゼミ: 2011/ 9/ 6</h1> | |
68 <h2>並列信頼研</h2> | |
69 </div> | |
70 </div> | |
71 | |
72 <div class="presentation"> | |
73 | |
74 | |
75 <div class="slide"> | |
76 <h1>Java による授業向け画面共有システムの設計と実装 </li> | |
77 <h3></h3> | |
78 <li>大城 信康 谷成 雄</li> | |
79 <h4><a href="http://ie.u-ryukyu.ac.jp/" rel="external">琉球大学 並列信頼研究室</a></h4> | |
80 <div class="handout"></div> | |
81 </div> | |
82 | |
83 | |
84 <!-- PAGE --> | |
85 <div class="slide"> | |
86 <h1>目的と背景</h1> | |
87 <li>大学の講義中、スクリーンに映されている画面は後ろの席程見えずらい。 </li> | |
88 <li>その問題を手元のPCにも写せるようにすることで解決しようと考えた。</li> | |
89 <li class="incremental">60人以上での画面共有を行うことを目標とする。</li> | |
90 </div> | |
91 <!-- PAGE --> | |
92 <div class="slide"> | |
93 <h1>VNCを用いての画面共有</h1> | |
94 <li>画面を共有する方法 -> VNC</li> | |
95 <li>VNC: Virtual Network Computing </br>ネットワークを介してコンピュータを遠隔操作するプログラム </li> | |
96 <li>VNCのリモートPCの画面を写す機能を利用する。</li> | |
97 </div> | |
98 <!-- PAGE --> | |
99 <div class="slide"> | |
100 <h1>通常のVNCの問題点</h1> | |
101 <table class="center"> | |
102 <tr> | |
103 <td width=50% > | |
104 <p style="text-aline: center;" > | |
105 <img clas="scale" src="./pix/NormalVNC3.png" width="450"> | |
106 </p> | |
107 </td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
108 <td width=50% style="text-align: left;"> |
0 | 109 <li><small>VNC Serverの負荷が重い。</small></li> |
110 <li><small>Server側の通信網1本への通信負荷が高い。</small></li> | |
111 </td> | |
112 </tr> | |
113 </table> | |
114 </div> | |
115 <!-- PAGE --> | |
116 <div class="slide"> | |
117 <h1>通常のVNCの問題点</h1> | |
118 <p style="text-align: center;"> | |
119 <li> | |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
120 <samll>1台と48台でVNCをかけた時のスループットとサーバ側のCPU使用率</small> |
0 | 121 </li> |
122 </p> | |
123 <table class="center" class="incremental" border=1> | |
124 <tr> | |
125 <td></td> | |
126 <td>スループット(単位:Byte)</td> | |
127 <td>CPU使用率</td> | |
128 </tr> | |
129 | |
130 <tr> | |
131 <td>1台</td> | |
132 <td>20M</td> | |
133 <td>15%</td> | |
134 </tr> | |
135 | |
136 <tr> | |
137 <td>48台</td> | |
138 <td>0.4M</td> | |
139 <td>100%</td> | |
140 </tr> | |
141 </table> | |
142 <li>VNCに使われるCPUの使用率が100%になり、スループットが5分の1まで下がっている。</li> | |
143 | |
144 </div> | |
145 <!-- PAGE --> | |
146 <div class="slide"> | |
147 <h1>VNCの問題点の解決策</h1> | |
148 <p style="text-align: center;"> | |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
149 <small>クライアントを木構造で接続させる</samll><br> |
0 | 150 <img class="scale" src="./pix/TreeVNC0.png" width="500" heigth="500"><br> |
151 </p> | |
152 </div> | |
153 <!-- PAGE --> | |
154 <div class="slide"> | |
155 <h1>TreeVNCの利点</h1> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
156 <table class="center" width=100% style="text-align: center;"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
157 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
158 <td><small>通常のVNC</small></td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
159 <td><small>TreeVNC</small></td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
160 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
161 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
162 <td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
163 <img class="scale" src="./pix/NormalVNC3.png" width="300"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
164 </td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
165 <td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
166 <img src="./pix/TreeVNC3.png" width="300"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
167 </td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
168 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
169 </p> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
170 </table> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
171 <li>クライアントが増えてもかかる負荷一定。</li> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
172 <li>通信網1本に対する負荷が減り、安定した通信ができる(有線)。</li> |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
173 </div> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
174 </div> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
175 <!-- PAGE --> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
176 <div class="slide"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
177 <h1>TreeVNCの利点</h1> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
178 <table class="center" width=100% style="text-align: center;"> |
0 | 179 <tr> |
180 <td><small>通常のVNC</small></td> | |
181 <td><small>TreeVNC</small></td> | |
182 </tr> | |
183 <tr> | |
184 <td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
185 <img class="scale" src="./pix/NormalVNC3.png" width="300"> |
0 | 186 </td> |
187 <td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
188 <img src="./pix/TreeVNC3.png" width="300"> |
0 | 189 </td> |
190 </tr> | |
191 </p> | |
192 </table> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
193 <table class="center" border=1 cellspacing="0" width=80%> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
194 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
195 <td></td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
196 <td>通常のVNC</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
197 <td>TreeVNC</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
198 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
199 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
200 <td>最大負荷</td> |
5 | 201 <td> N * データ量 (クライアントの数に比例) </td> |
202 <td> (M+1) * データ量</td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
203 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
204 </table> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
205 <p style="text-align: center;"><small>クライアントの数をN、木構造の子供の数をMとする</small> </p> |
0 | 206 </div> |
207 </div> | |
208 <!-- PAGE --> | |
209 <div class="slide"> | |
210 <h1>TreeVNCの設計</h1> | |
211 <li>TreeVNCのクライアントは最初にTop Proxyに接続を行う。</li> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
212 <li>データは木の下へと流れていく。</li> |
0 | 213 <li>tightVNC ViewerのJava版(ver 1.3)を元にTreeVNCの実装を行う。</li> |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
214 <p style="text-align: center;"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
215 <img class="scale" src="./pix/TreeVNC0.png" width="500" heigth="500"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
216 </p> |
0 | 217 </div> |
218 <!-- PAGE --> | |
219 <div class="slide"> | |
220 <h1>発表内容</h1> | |
221 <ul> | |
222 <li>RFB Protocol</li> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
223 <li>データ転送量</li> |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
224 <li>ZRLE Encodingの問題</li> |
0 | 225 <li>データ転送に用いたMulticastQueueについての説明</li> |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
226 <!-- <li>TreeVNCのデモ</li> --> |
0 | 227 <li>木構造の再構築</li> |
228 </ul> | |
229 </div> | |
230 <!-- PAGE --> | |
231 <div class="slide"> | |
232 <h1>RFB protocol</h1> | |
233 <li>Remote Frame Buffer Protocol : <br>GUI操作によるリモートアクセス用の通信プロトコル。VNCで用いられる。</li> | |
234 <li>転送される画面(フレームバッファ)のデータは変更があった部分(差分)だけが矩形単位で送られる。</li> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
235 <table class="center" width=100%> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
236 <tr> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
237 <td> |
5 | 238 <img src="./pix/hadesScreen1.png"> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
239 </td> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
240 <td> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
241 <img src="./pix/rightArrow.png"> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
242 </td> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
243 <td> |
5 | 244 <img src="./pix/hadesScreen2.png"> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
245 </td> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
246 </tr> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
247 </table> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
248 <small> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
249 <p style="text-align: center;"><font color=red>□ </font>で囲まれている矩形のデータだけが送られてくる。 </p> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
250 </small> |
0 | 251 </div> |
252 <!-- PAGE --> | |
253 <div class="slide"> | |
254 <h1>VNC のシーケンス図</h1> | |
255 <table class="scale" width=100% > | |
256 <tr> | |
257 <td width=50%> | |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
258 <img class="scale" src="./pix/VNC-Sequence-.png" height=80%> |
0 | 259 </td> |
260 <td width=50% align="left"> | |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
261 <small> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
262 <li><font color=blue>1~5</font>まではinitial seaquenceとなる。</li> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
263 <li><font color=orange>6</font>以降は繰り返し行われる処理。画面のデータが転送されてくる。</li> |
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
264 </small> |
0 | 265 </td> |
266 </tr> | |
267 </table> | |
268 </div> | |
269 <!-- PAGE --> | |
270 <div class="slide"> | |
271 <h1>RFB Protocol</h1> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
272 <li>FramebufferUpdateRequest:</li> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
273 <li><small>画面に差分が発生したらサーバから教えて貰うためのリクエスト</small></li> |
0 | 274 <small> |
1
5ec6fc187191
add some files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
275 <table> |
0 | 276 <td width=50%> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
277 <table border=1 cellspacing="0"> |
0 | 278 <tr> |
279 <td>バイト数</td> | |
280 <td><pre>型 [値]</pre></td> | |
281 <td>説明 </td> | |
282 </tr> | |
283 | |
284 <tr> | |
285 <td>1</td> | |
286 <td><pre>U8 3</pre></td> | |
287 <td>message-type </td> | |
288 </tr> | |
289 | |
290 <tr> | |
291 <td>1</td> | |
292 <td><pre>U8<pre></td> | |
293 <td>incremental</td> | |
294 </tr> | |
295 | |
296 <tr> | |
297 <td>2</td> | |
298 <td><pre>U16<pre></td> | |
299 <td>x-position</td> | |
300 </tr> | |
301 | |
302 <tr> | |
303 <td>2</td> | |
304 <td><pre>U16<pre></td> | |
305 <td>y-position</td> | |
306 </tr> | |
307 | |
308 <tr> | |
309 <td>2</td> | |
310 <td><pre>U16<pre></td> | |
311 <td>width</td> | |
312 </tr> | |
313 | |
314 <tr> | |
315 <td>2</td> | |
316 <td><pre>U16<pre></td> | |
317 <td>height</td> | |
318 </tr> | |
319 | |
320 </table> | |
321 </td> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
322 </table> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
323 <li>このリクエストはTop Proxyだけが行う。 </li> |
0 | 324 </small> |
325 </div> | |
326 <!-- PAGE --> | |
327 <div class="slide"> | |
328 <h1>RFB Protocol</h1> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
329 <li>FramebufferUpdate: <small>画面の更新データ</small></li> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
330 |
0 | 331 <small> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
332 <table border=1 cellspacing="0" > |
0 | 333 <tr> |
334 <td>バイト数</td> | |
335 <td><pre>型 [値]</pre></td> | |
336 <td>説明 </td> | |
337 </tr> | |
338 | |
339 <tr> | |
340 <td>1</td> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
341 <td><pre>U8 0</pre></td> |
0 | 342 <td>message-type </td> |
343 </tr> | |
344 | |
345 <tr> | |
346 <td>1</td> | |
347 <td><pre>U8<pre></td> | |
348 <td>padding</td> | |
349 </tr> | |
350 | |
351 <tr> | |
352 <td>2</td> | |
353 <td><pre>U16<pre></td> | |
354 <td>number-of-rectangles</td> | |
355 </tr> | |
356 | |
357 </table> | |
358 <li>以下number-of-rectanglesの数だけ矩形のデータが続く</li> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
359 |
0 | 360 <table width=100%> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
361 <td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
362 <table border=1 cellspacing="0" width=50%> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
363 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
364 <td>バイト数</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
365 <td><pre>型 </pre></td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
366 <td>説明 </td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
367 </tr> |
0 | 368 |
369 <tr> | |
370 <td>2</td> | |
371 <td><pre>U16<pre></td> | |
372 <td>x-position</td> | |
373 </tr> | |
374 | |
375 <tr> | |
376 <td>2</td> | |
377 <td><pre>U16<pre></td> | |
378 <td>y-position</td> | |
379 </tr> | |
380 | |
381 <tr> | |
382 <td>2</td> | |
383 <td><pre>U16<pre></td> | |
384 <td>width</td> | |
385 </tr> | |
386 | |
387 <tr> | |
388 <td>2</td> | |
389 <td><pre>U16<pre></td> | |
390 <td>height</td> | |
391 </tr> | |
392 | |
393 <tr> | |
394 <td>4</td> | |
395 <td><pre>U32<pre></td> | |
396 <td>encoding-type</td> | |
397 </tr> | |
398 | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
399 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
400 <td>...</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
401 <td><pre>...<pre></td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
402 <td>PIXEL DATA</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
403 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
404 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
405 |
0 | 406 </table> |
407 </td> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
408 <td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
409 </td> |
0 | 410 |
411 </table> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
412 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
413 |
0 | 414 </small> |
415 </div> | |
416 <!-- PAGE --> | |
417 <div class="slide"> | |
418 <h1>RFB Protocol</h1> | |
5 | 419 <li style="text-align: center;"><small>例:FramebufferUpdate</small></li> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
420 <table class="center" border=1 cellspacing="0" width=50%> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
421 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
422 <td>x-position</td> |
5 | 423 <td>336</td> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
424 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
425 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
426 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
427 <td>y-position</td> |
5 | 428 <td>388</td> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
429 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
430 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
431 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
432 <td>width</td> |
5 | 433 <td>724</td> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
434 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
435 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
436 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
437 <td>height</td> |
5 | 438 <td>449</td> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
439 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
440 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
441 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
442 <td>encoding-type</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
443 <td>16(ZRLE)</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
444 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
445 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
446 <tr> |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
447 <td>ZRLE</td> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
448 <td>...</td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
449 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
450 </table> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
451 |
5 | 452 <table class="center"> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
453 <tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
454 <td> |
5 | 455 <img src="./pix/hadesScreen1.png"> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
456 </td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
457 <td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
458 <img src="./pix/rightArrow.png"> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
459 </td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
460 <td> |
5 | 461 <img src="./pix/hadesScreen2.png"> |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
462 </td> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
463 </tr> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
464 </table> |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
465 |
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
466 </div> |
0 | 467 <!-- PAGE --> |
468 <div class="slide"> | |
2
b332c1050979
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
469 <h1>データ転送量</h1> |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
470 <p style="text-align: center;"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
471 <small>矩形の大きさと描画に必要なデータ量(単位:Byte)</small> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
472 </p> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
473 <table class="center" border=1 cellspacing="0" width=80%> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
474 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
475 <td>矩形の大きさ \ エンコード</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
476 <td>RAW</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
477 <td>ZRLE</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
478 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
479 |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
480 <tr> |
5 | 481 <td>724 * 449</td> |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
482 <!-- |
5 | 483 <td>1300304</td> |
484 <td>796642</td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
485 --> |
5 | 486 <td>1.3M</td> |
487 <td>0.8M</td> | |
4
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
488 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
489 |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
490 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
491 <td>1920 * 64</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
492 <!-- |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
493 <td>491520</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
494 <td>309602</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
495 --> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
496 <td>0.5M</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
497 <td>0.15M</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
498 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
499 |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
500 <tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
501 <td>1920 * 1080</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
502 <!-- |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
503 <td>8294400</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
504 <td>3472780</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
505 --> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
506 <td>8.2M</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
507 <td>3.4M</td> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
508 </tr> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
509 |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
510 </table> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
511 |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
512 <p style="text-align: center;"> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
513 <img src="./pix/dataLength.png" width="450" heigth="325"> <br> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
514 <small>RAW、ZRLE、ZRLEEエンコードのデータ量の比較</small> |
0604a55dd286
add dataLnegth.png. modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
2
diff
changeset
|
515 </p> |
0 | 516 </div> |
517 <!-- PAGE --> | |
518 <div class="slide"> | |
5 | 519 <h1>データ転送量</h1> |
520 <li>クライアントが60台の時の通常のVNCと、2分木構成にしたTreeVNCの通信網への負荷について考える。</li> | |
521 <table class="center" border=1 cellspacing="0" width=80%> | |
522 <tr> | |
523 <td></td> | |
524 <td>通常のVNC</td> | |
525 <td>TreeVNC</td> | |
526 </tr> | |
527 <tr> | |
528 <td>最大負荷</td> | |
529 <td> N * データ量(クライアントの数に比例) </td> | |
530 <td> (M+1) * データ量</td> | |
531 </tr> | |
532 </table> | |
533 <p style="text-align: center;"><small>クライアントの数をN、木構造の子供の数をMとする</small> </p> | |
534 <li>N = 60、 M = 1 となる。</li> | |
535 <li>724 * 449 の画面分のデータ(0.8M)を送信するとする。 </li> | |
536 | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
537 </div> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
538 <!-- PAGE --> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
539 <div class="slide"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
540 <h1>データ転送量</h1> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
541 <li></li> |
5 | 542 <table class="center" border=1 cellspacing="0" width=80%> |
543 <tr> | |
544 <td></td> | |
545 <td>通常のVNC</td> | |
546 <td>TreeVNC</td> | |
547 </tr> | |
548 <tr> | |
549 <td>最大負荷</td> | |
550 <td>48M</td> | |
551 <td>2.4M</td> | |
552 </tr> | |
553 </table> | |
554 | |
555 <table class="center" width=100% style="text-align: center;"> | |
556 <tr> | |
557 <td><small>通常のVNC</small></td> | |
558 <td><small>TreeVNC</small></td> | |
559 </tr> | |
560 <tr> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
561 <td width=50%> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
562 <img class="scale" src="./pix/NormalVNC4.png"> |
5 | 563 </td> |
564 <td> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
565 <img src="./pix/TreeVNC5.png"> |
5 | 566 </td> |
567 </tr> | |
568 </p> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
569 </table> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
570 <small> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
571 <p style="text-align: center">クライアント:60台 TreeVNCは2分木でTreeを構成 </p> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
572 </small> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
573 </div> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
574 <!-- PAGE --> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
575 <div class="slide"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
576 <h1>エンコード</h1> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
577 <li>MacintoshでVNCを行うとZRLEを使うことができる。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
578 <li>データ量がRAWデータの約4分の1のデータ量ですむ。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
579 <li class="incremental">TreeVNCではこのZRLEを扱っている。</li> |
5 | 580 </div> |
0 | 581 <!-- PAGE --> |
582 <div class="slide"> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
583 <h1>ZRLE</h1> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
584 <li>ZRLE : Zlib Run-Length Encoding </li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
585 <ul> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
586 <li>Zlib圧縮(gzip)されたデータ扱うエンコーディング。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
587 </ul> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
588 <li>最初の4バイトにはZlibのデータの長さが、続いてZlibのデータが送られてくる。</li> |
0 | 589 <small> |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
590 <table border=1 width=50% cellspacing="0"> |
0 | 591 <tr> |
592 <td>バイト数</td> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
593 <td><pre>型 </pre></td> |
0 | 594 <td>説明 </td> |
595 </tr> | |
596 <tr> | |
597 <td>4</td> | |
598 <td>U32</td> | |
599 <td>length</td> | |
600 </tr> | |
601 <tr> | |
602 <td>length</td> | |
603 <td>U8 array</td> | |
604 <td>zlibData</td> | |
605 </tr> | |
606 </table> | |
607 </small> | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
608 |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
609 <li>Zlibデータ</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
610 <ul> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
611 <li>Zlibデータは辞書を元にデータの解凍を行う</li> |
0 | 612 </ul> |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
613 <li class="incremental">辞書がなければデータを正しく解凍できない</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
614 </div> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
615 <!-- PAGE --> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
616 <div class="slide"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
617 <h1>ZRLEの問題</h1> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
618 <li>辞書はZlibデータの最初に送られてくる。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
619 <li>ZRLEのデータを最初から送ることができれば、辞書も送ることができる。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
620 <li>データの途中から送ると辞書は送られず、正しく解凍を行うことができない。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
621 <table class="textcenter" width=100%> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
622 <tr> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
623 <td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
624 <img src="./pix/ZRLE.png" width="600" > |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
625 </td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
626 <td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
627 <img src="./pix/ZRLE2.png" width="600" > |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
628 </td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
629 </tr> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
630 </table> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
631 </div> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
632 <!-- PAGE --> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
633 <div class="slide"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
634 <h1>ZRLEE</h1> |
9 | 635 <li>そこで、Top ProxyにZRLEのデータを再度圧縮し直すことで辞書を付けてもらうことにした。以下はその部分のソースである。</li> |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
636 <small> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
637 <pre> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
638 Deflater nDeflater = deflater; // new Deflater(); |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
639 LinkedList<ByteBuffer> out = new LinkedList<ByteBuffer>(); |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
640 unzip(inflater, inputs, 0 , out, INFLATE_BUFSIZE); |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
641 // dump32(inputs); |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
642 int len2 = zip(nDeflater, out, 0, bufs); |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
643 </pre> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
644 </small> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
645 <li>一度再圧縮してしまえば後はどこからデータを流しても問題ない。</li> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
646 <table class="textcenter" width=100%> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
647 <tr> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
648 <td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
649 <img src="./pix/ZRLEE2.png" width="600"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
650 </td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
651 <td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
652 <img src="./pix/ZRLEE3.png" width="600"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
653 </td> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
654 </tr> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
655 </table> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
656 </div> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
657 <!-- PAGE --> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
658 <div class="slide"> |
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
659 <h1>ZRLEE</h1> |
9 | 660 <li>クライアント側は毎回新しいZRLEのストリームを使うようにする。</li> |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
661 <pre> |
9 | 662 if (rfb.updateRectEncoding==RfbProto.EncodingZRLEE) |
663 zrleInStream = null; | |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
664 if (zrleInStream == null) |
9 | 665 zrleInStream = new ZlibInStream(); |
7
7e05f4f580b7
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
5
diff
changeset
|
666 </pre> |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
667 <li>JavaではZlibの辞書の取り出しが実装されていなかった為、このような方法をとることになった。</li> |
0 | 668 </div> |
669 <!-- PAGE --> | |
670 <div class="slide"> | |
671 <h1>MulticastQueue</h1> | |
672 <li>MulticastQueueの図を入れる。 </li> | |
673 <p style="text-align: center;"> | |
674 <small> | |
675 接続されてきた時点からデータの送信が始まる。データは読み込まれるまでメモリ上に残っている。 | |
676 </small> | |
677 </p> | |
678 </div> | |
679 <!-- PAGE --> | |
680 <div class="slide"> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
681 <h1>MulticastQueue</h1> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
682 <li>MulticastQueueからデータを取り出し子供に送っている部分のソース</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
683 <pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
684 LinkedList<ByteBuffer> bufs = c.poll(); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
685 int inputIndex = 0; |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
686 ByteBuffer header = bufs.get(inputIndex); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
687 if (header==null) continue; |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
688 writeToClient(os, bufs, inputIndex); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
689 </pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
690 <li>c.poll(inputIndex) 内部では次の処理を行っている。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
691 <pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
692 latch.await(); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
693 return next; |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
694 </pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
695 <li>次のデータが用意できるまでawait()で待つのである。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
696 </div> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
697 <!-- PAGE --> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
698 <div class="slide"> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
699 <h1>MulticastQueue</h1> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
700 <li>データは作られるとMulticastQueueにputされる。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
701 <p><small>put内部ではつぎの処理が行われる。</small></p> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
702 <pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
703 Node<T> next = new Node<T>(item); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
704 tail.set(next); |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
705 tail = next; |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
706 </pre> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
707 |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
708 <small> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
709 <p> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
710 set()内部ではlatchがcountDown()され、await()で止まっていたスレッドが動き出す。 |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
711 </small> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
712 </div> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
713 <!-- PAGE --> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
714 <div class="slide"> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
715 <h1>MulticastQueue</h1> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
716 <li>MulticastQueueは次の次のデータへの参照を順序良く行うためのクラスである。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
717 <li></li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
718 |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
719 <li>MulticastQueueはjava.util.CountDownLatchを用いて実装されたクラスである。 </li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
720 <li>クライアントから接続されると、データ転送用のスレッド(sender)が走る。 </li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
721 <li>このスレッドは次に流すデータが来るまでは待機して置かなければならない。そして流すべきデータがくるとまた動き始めなければならない。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
722 <li>このスレッドの待機・解放を行うのがMulticastQueueとなる。 </li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
723 <!-- |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
724 <small> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
725 <li>CountDownLatchはカウントを用いてスレッドの待機と解放を行えるクラスである。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
726 </small> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
727 --> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
728 </div> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
729 <!-- PAGE --> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
730 <div class="slide"> |
0 | 731 <h1>MulticastQueueの問題点</h1> |
732 <li>Clientがデータを読み込まないとデータが溜まりメモリを圧迫してしまう。 </li> | |
733 <p style="text-align: center;"> | |
734 <img src="./pix/TimeOut1.png"> | |
735 </p> | |
736 </div> | |
737 <!-- PAGE --> | |
738 <div class="slide"> | |
739 <h1>MulticastQueueの問題点</h1> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
740 <li>TimeOut(TO)スレッドを走らせ、一定の時間データを読み込まなければ代わりにこのTOが読み込むようにする。</li> |
0 | 741 <p style="text-align: center;"> |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
742 <img src="./pix/TimeOut2.png"><br> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
743 解決策 |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
744 </p> |
0 | 745 </div> |
746 <!-- PAGE --> | |
747 <div class="slide"> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
748 <h1>テスト環境の構築</h1> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
749 <li>CUI版のVNCクライアントを作成</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
750 <li>48台あるクラスタでCUI版のクライアントをはしらせてVNCをかけさせる。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
751 <li>最初の1台目と48台めをGUI版のクライアントで接続を行い見比べてみる。 </li> |
0 | 752 </div> |
753 <!-- PAGE --> | |
754 <div class="slide"> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
755 <h1>TreeVNCの発端</h1> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
756 <li>大学のB3でうける授業の1つ、programming4で作り始めたことがきっかけ。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
757 <li>programming4は作りたいものを提案して作る授業。 </li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
758 <li>授業が終わっても改良を加えていた。</li> |
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
759 <li>B4になりこの場で発表してみることになった。</li> |
0 | 760 </div> |
761 <!-- PAGE --> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
762 <!-- |
0 | 763 <div class="slide"> |
764 <h1>既存のプログラムとの比較</h1> | |
765 <li>VNC Reflector</li> | |
766 <ul> | |
767 <li>tightVNCの作者が作成したプログラム</li> | |
768 <li>VNC Reflecotrにクライアントが接続することでVNCを行うことができる</li> | |
769 </ul> | |
770 </div> | |
10
eaf3f3d169fe
modify index.html
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
9
diff
changeset
|
771 --> |
0 | 772 <!-- PAGE --> |
773 </div> | |
774 </body> | |
775 </html> |