annotate presen/index.html~ @ 7:63b061716258

modify
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sat, 10 Sep 2011 05:46:47 +0900
parents d3785522a5bc
children 9ecd6c8cfb68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 <head>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 <style>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 .center {
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 margin-left: auto;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 margin-right: auto;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 text-align: center;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 }
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 .textcenter {
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 text-align: center;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 }
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 .taninaritop {
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 margin: auto;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 width: 95%;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 font-weight: bold;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 }
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 </style>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 <title>2011/9/6</title>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 <!-- metadata -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 <meta name="generator" content="S5" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 <meta name="version" content="S5 1.1" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 <meta name="presdate" content="20110906" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 <meta name="author" content="Nobuyasu Oshiro" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 <meta name="company" content="University of the Ryukyu" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 <!-- meta temporary -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 <meta http-equiv="Content-Script-Type" content="text/javascript" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 <meta http-equiv="Content-Style-Type" content="text/css" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 <!-- configuration parameters -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 <meta name="defaultView" content="slideshow" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 <meta name="controlVis" content="hidden" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 <!-- configuration extensions -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 <meta name="tranSitions" content="true" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 <meta name="fadeDuration" content="500" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 <meta name="incrDuration" content="250" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 <!-- configuration autoplay extension -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 <meta name="autoMatic" content="false" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 <meta name="playLoop" content="true" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 <meta name="playDelay" content="10" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 <!-- configuration audio extension -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 <meta name="audioSupport" content="false" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 <meta name="audioVolume" content="100" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 <meta name="audioError" content="false" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 <!-- configuration audio debug -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 <meta name="audioDebug" content="false" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 <!-- style sheet links -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 <link rel="stylesheet" href="ui/default_utf/slides.css" type="text/css" media="projection" id="slideProj" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 <link rel="stylesheet" href="ui/default_utf/outline.css" type="text/css" media="screen" id="outlineStyle" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 <link rel="stylesheet" href="ui/default_utf/print.css" type="text/css" media="print" id="slidePrint" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 <link rel="stylesheet" href="ui/default_utf/opera.css" type="text/css" media="projection" id="operaFix" />
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 <!-- embedded styles -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 <style type="text/css" media="all">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 .imgcon {width: 100%; margin: 0 auto; padding: 0; text-align: center;}
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 #anim {width: 33%; height: 320px; position: relative;}
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 #anim img {position: absolute; top: 0px; left: 0px;}
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 </style>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 <!-- S5 JS -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 <script src="ui/default_utf/slides.js" type="text/javascript"></script>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 </head>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 <body>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 <div class="layout">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 <div id="controls"><!-- DO NOT EDIT --></div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 <div id="currentSlide"><!-- DO NOT EDIT --></div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 <div id="header"></div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 <div id="footer">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 <h1>ゼミ: 2011/ 9/ 6</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 <h2>並列信頼研</h2>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 <div class="presentation">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 <h1>Java による授業向け画面共有システムの設計と実装 </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
81 <h3></h3>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 <li>大城 信康 谷成 雄</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
83 <h4><a href="http://ie.u-ryukyu.ac.jp/" rel="external">琉球大学 並列信頼研究室</a></h4>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
84 <div class="handout"></div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
86 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 <div class="slide">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
88 <h1>本日の内容</h1>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
89 <li>友人と作ったJavaによる画面共有システム「TreeVNC」について</li>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
90 <li>TreeVNCを作るにあたって学んだJavaでの並列プログラミングの仕方やVNCのプロトコル話</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
91 </div>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
92 <!-- PAGE -->
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
93 <div class="slide">
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
94 <h1>TreeVNCの目的と背景</h1>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 <li>大学の講義中、スクリーンに映されている画面は後ろの席程見えずらい。 </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 <li>その問題を手元のPCにも写せるようにすることで解決しようと考えた。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 <li class="incremental">60人以上での画面共有を行うことを目標とする。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
100 <div class="slide">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
101 <h1>VNCによる画面共有</h1>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
102 <li>画面を共有する方法 -> VNC</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
103 <li>VNC: Virtual Network Computing </br>ネットワークを介してコンピュータを遠隔操作するプログラム </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
104 <li>VNCのリモートPCの画面を写す機能を利用する。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
105 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 <div class="slide">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
108 <h1>VNCを用いての画面共有</h1>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
109 <li>まず、iMacで複数のPCからVNCをかけてみた。</li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
110 <li class="incremental">-> 10台と繋ぐ前にVNCでの画面がカクカクに... </li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
111 <li class="incremental">さらにCPU使用率も跳ね上がった。</li>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
112 <li class="incremental">原因について考えたみる。</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
113 </div>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
114 <!-- PAGE -->
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
115 <div class="slide">
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 <h1>通常のVNCの問題点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 <table class="center">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 <td width=50% >
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 <p style="text-aline: center;" >
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 <img clas="scale" src="./pix/NormalVNC3.png" width="450">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 <td width=50% style="text-align: left;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 <li><small>VNC Serverの負荷が重い。</small></li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 <li><small>Server側の通信網1本への通信負荷が高い。</small></li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 </table>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
130 <p class="incremental" style="text-align: center;" >実際に測ってみた</p>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
133 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 <h1>通常のVNCの問題点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
135 <p style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 <li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
137 <samll>1台と48台でVNCをかけた時のスループットとサーバ側のCPU使用率</small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
140 <table class="center" class="incremental" border=1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
141 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 <td></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
143 <td>スループット(単位:Byte)</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 <td>CPU使用率</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
145 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
146
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
148 <td>1台</td>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
149 <td>20M<small>(最大速度)</small></td>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
150 <td>55%</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
151 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
152
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
154 <td>48台</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
155 <td>4M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
156 <td>100%</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
157 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 <li>VNCに使われるCPUの使用率が100%になり、スループットが5分の1まで下がっている。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
160
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
161 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
163 <div class="slide">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
164 <h1>通常のVNCの問題点</h1>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
165 <li>サーバへのCPU負荷が高い</li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
166 <li>1本の通信網への負荷が高い</li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
167 </div>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
168 <!-- PAGE -->
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
169 <div class="slide">
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 <h1>VNCの問題点の解決策</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 <p style="text-align: center;">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
172 <small>クライアントを木構造で接続させるTreeVNC</samll><br>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
173 <img class="scale" src="./pix/TreeVNC0.png" width="500" heigth="500"><br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
176 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
178 <h1>TreeVNCの利点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
179 <table class="center" width=100% style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
180 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
181 <td><small>通常のVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
182 <td><small>TreeVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
185 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 <img class="scale" src="./pix/NormalVNC3.png" width="300">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
187 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
189 <img src="./pix/TreeVNC3.png" width="300">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
190 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
191 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
192 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
193 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
194 <li>クライアントが増えてもかかる負荷一定。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 <li>通信網1本に対する負荷が減り、安定した通信ができる(有線)。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
196 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
197 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
198 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
199 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
200 <h1>TreeVNCの利点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
201 <table class="center" width=100% style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
202 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
203 <td><small>通常のVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
204 <td><small>TreeVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
205 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
206 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
207 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
208 <img class="scale" src="./pix/NormalVNC3.png" width="300">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
209 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
210 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
211 <img src="./pix/TreeVNC3.png" width="300">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
212 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
213 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
214 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
215 </table>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
216 <table class="center" border=1 cellspacing="0" width=100%>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
217 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
218 <td></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
219 <td>通常のVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
220 <td>TreeVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
221 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
222 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
223 <td>最大負荷</td>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
224 <td> N*データ量 (クライアントの数に比例) </td>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
225 <td> (M+1) * データ量</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
226 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
228 <p style="text-align: center;"><small>クライアントの数をN、木構造の子供の数をMとする</small> </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
229 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
230 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
231 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
232 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
233 <h1>TreeVNCの設計</h1>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
234 <li>木構造での接続</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
235 <li>TreeVNCのクライアントは最初にTop Proxyに接続を行う。</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
236 <li>データは木の下へと流していくようにする。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
237 <li>tightVNC ViewerのJava版(ver 1.3)を元にTreeVNCの実装を行う。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
238 <p style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
239 <img class="scale" src="./pix/TreeVNC0.png" width="500" heigth="500">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
240 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
242 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 <div class="slide">
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
244 <h1>今回の主な内容</h1>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
245 <ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
246 <li>RFB Protocol</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
247 <li>データ転送量</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
248 <li>ZRLE Encodingの問題</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
249 <li>データ転送に用いたMulticastQueueについての説明</li>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
250 <li>木構造の再構築(谷成さん)</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 </ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
252 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
255 <h1>RFB protocol</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
256 <li>Remote Frame Buffer Protocol : <br>GUI操作によるリモートアクセス用の通信プロトコル。VNCで用いられる。</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
257 <table class="scale" width=100% >
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
258 <tr>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
259 <td width=50%>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
260 <img class="scale" src="./pix/VNC-Sequence-.png" height=80%>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
261 </td>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
262 <td width=50% align="left">
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
263 <small>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
264 <li><font color=blue>1~5</font>まではinitial seaquenceとなる。</li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
265 <li><font color=orange>6</font>以降は繰り返し行われる処理。画面のデータが転送されてくる。</li>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
266 </small>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
267 </td>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
268 </tr>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
269 </table>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
270 </div>
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
271 <!-- PAGE -->
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
272 <div class="slide">
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
273 <h1>画像の更新(FramebufferUpdate)</h1>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
274 <li>転送される画面(フレームバッファ)のデータは変更があった部分(差分)だけが矩形単位で送られる。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
275 <table class="center" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
276 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
277 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
278 <img src="./pix/hadesScreen1.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
279 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
280 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
281 <img src="./pix/rightArrow.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
282 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
283 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
284 <img src="./pix/hadesScreen2.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
285 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
286 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
287 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
288 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289 <p style="text-align: center;"><font color=red>□ </font>で囲まれている矩形のデータだけが送られてくる。 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
290 </small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
291 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
292 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
293 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
294 <h1>RFB Protocol</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
295 <li>FramebufferUpdateRequest:</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
296 <li><small>画面に差分が発生したらサーバから教えて貰うためのリクエスト</small></li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
297 <small>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
298 <table width=100% style="text-align: center;">
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
299 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
300 <table border=1 cellspacing="0">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
301 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
302 <td>バイト数</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
303 <td><pre>型   [値]</pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
304 <td>説明 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
305 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
308 <td>1</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
309 <td><pre>U8 3</pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 <td>message-type </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
311 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
312
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
313 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
314 <td>1</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
315 <td><pre>U8<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
316 <td>incremental</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
318
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
319 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
320 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
321 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
322 <td>x-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
323 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
324
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
325 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
327 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
328 <td>y-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
329 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
330
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
331 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
332 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
333 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
334 <td>width</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
335 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
336
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
337 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
338 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
339 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
340 <td>height</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
341 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
342
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
343 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
344 </td>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
345 <td>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
346 <img src="./pix/TreeVNC1.png" width=90%>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
347 </td>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
348 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
349 </small>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
350 <li><small>このリクエストはTop Proxyだけが行う。</small> </li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
352 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
353 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
354 <h1>RFB Protocol</h1>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
355 <li>FramebufferUpdate:<small>画面の更新データ</small></li>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
356 <table width="100%">
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
357 <td width=50%>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
358 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
359 <table border=1 cellspacing="0" >
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
360 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
361 <td>バイト数</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
362 <td><pre>型   [値]</pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
363 <td>説明 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
364 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
365
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
366 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
367 <td>1</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
368 <td><pre>U8 0</pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
369 <td>message-type </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
370 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
371
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
372 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
373 <td>1</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
374 <td><pre>U8<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
375 <td>padding</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
376 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
377
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
378 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
379 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
380 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
381 <td>number-of-rectangles</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
382 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
383
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
384 </table>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
385 <li><small>以下number-of-rectanglesの数だけ矩形のデータが続く</small></li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
386
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
387 <table width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
388 <td>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
389 <table border=1 cellspacing="0" width=100%>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
390 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
391 <td>バイト数</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
392 <td><pre>型   </pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
393 <td>説明 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
394 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
395
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
396 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
397 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
398 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
399 <td>x-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
400 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
401
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
402 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
403 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
404 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
405 <td>y-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
406 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
407
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
408 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
409 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
410 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
411 <td>width</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
412 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
413
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
414 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
415 <td>2</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
416 <td><pre>U16<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
417 <td>height</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
418 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
419
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
420 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
421 <td>4</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
422 <td><pre>U32<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
423 <td>encoding-type</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
424 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
425
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
426 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
427 <td>...</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
428 <td><pre>...<pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
429 <td>PIXEL DATA</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
430 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
431
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
432
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
433 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
434 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
435 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
436 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
437
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
438 </table>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
439 </small>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
440 </td>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
441 <td width>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
442 <img src="./pix/TreeVNC2.png" width=90%>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
443 </td>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
444 </table>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
445
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
446 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
447 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
448 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
449 <h1>RFB Protocol</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
450 <li style="text-align: center;"><small>例:FramebufferUpdate</small></li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
451 <table class="center" border=1 cellspacing="0" width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
452 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
453 <td>x-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
454 <td>336</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
455 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
456
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
457 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
458 <td>y-position</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
459 <td>388</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
460 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
461
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
462 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
463 <td>width</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
464 <td>724</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
465 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
466
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
467 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
468 <td>height</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
469 <td>449</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
470 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
471
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
472 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
473 <td>encoding-type</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
474 <td>16(ZRLE)</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
475 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
476
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
477 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
478 <td>ZRLE</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
479 <td>...</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
480 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
481 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
482
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
483 <table class="center">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
484 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
485 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
486 <img src="./pix/hadesScreen1.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
487 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
488 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
489 <img src="./pix/rightArrow.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
490 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
491 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
492 <img src="./pix/hadesScreen2.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
493 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
494 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
495 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
496
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
497 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
498 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
499 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
500 <h1>データ転送量</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
501 <p style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
502 <small>矩形の大きさと描画に必要なデータ量(単位:Byte)</small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
503 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
504 <table class="center" border=1 cellspacing="0" width=80%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
505 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
506 <td>矩形の大きさ \ エンコード</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
507 <td>RAW</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
508 <td>ZRLE</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
509 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
510
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
511 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
512 <td>724 * 449</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
513 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
514 <td>1300304</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
515 <td>796642</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
516 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
517 <td>1.3M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
518 <td>0.8M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
519 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
520
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
521 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
522 <td>1920 * 64</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
523 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
524 <td>491520</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
525 <td>309602</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
526 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
527 <td>0.5M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
528 <td>0.15M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
529 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
530
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
531 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
532 <td>1920 * 1080</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
533 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
534 <td>8294400</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
535 <td>3472780</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
536 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
537 <td>8.2M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
538 <td>3.4M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
539 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
540
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
541 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
542
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
543 <p style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
544 <img src="./pix/dataLength.png" width="450" heigth="325"> <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
545 <small>RAW、ZRLE、ZRLEEエンコードのデータ量の比較</small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
546 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
547 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
548 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
549 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
550 <h1>データ転送量</h1>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
551 <li>クライアントが60台とした時、通常のVNCと、2分木構成にしたTreeVNCの通信網への負荷の理論値を考える。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
552 <table class="center" border=1 cellspacing="0" width=80%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
553 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
554 <td></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
555 <td>通常のVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
556 <td>TreeVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
557 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
558 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
559 <td>最大負荷</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
560 <td> N * データ量(クライアントの数に比例) </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
561 <td> (M+1) * データ量</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
562 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
563 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
564 <p style="text-align: center;"><small>クライアントの数をN、木構造の子供の数をMとする</small> </p>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
565 <li>N = 60、 M = 2 、使用するエンコードはZRLEとする。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
566 <li>724 * 449 の画面分のデータ(0.8M)を送信するとする。 </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
567
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
568 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
569 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
570 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
571 <h1>データ転送量</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
572 <p style="text-align: center;"> <small>理論値</small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
573 <table class="center" border=1 cellspacing="0" width=80%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
574 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
575 <td></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
576 <td>通常のVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
577 <td>TreeVNC</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
578 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
579 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
580 <td>最大負荷</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
581 <td>48M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
582 <td>2.4M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
583 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
584 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
585 <table class="center" width=100% style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
586 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
587 <td><small>通常のVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
588 <td><small>TreeVNC</small></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
589 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
590 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
591 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
592 <img class="scale" src="./pix/NormalVNC4.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
593 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
594 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
595 <img src="./pix/TreeVNC5.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
596 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
597 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
598 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
599 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
600 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
601 <p style="text-align: center">クライアント:60台 TreeVNCは2分木でTreeを構成 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
602 </small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
603 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
604 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
605 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
606 <h1>エンコード</h1>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
607 <li>MacintoshでZRLEを使ってVNCを行うことができる</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
608 <li>データ量がRAWデータの約4分の1ですむ。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
609 <li class="incremental">TreeVNCではこのZRLEを扱っている。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
610 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
611 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
612 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
613 <h1>ZRLE</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
614 <li>ZRLE : Zlib Run-Length Encoding </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
615 <ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
616 <li>Zlib圧縮(gzip)されたデータ扱うエンコーディング。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
617 </ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
618 <li>最初の4バイトにはZlibのデータの長さが、続いてZlibのデータが送られてくる。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
619 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
620 <table border=1 width=50% cellspacing="0">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
621 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
622 <td>バイト数</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
623 <td><pre>型 </pre></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
624 <td>説明 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
625 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
626 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
627 <td>4</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
628 <td>U32</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
629 <td>length</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
630 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
631 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
632 <td>length</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
633 <td>U8 array</td>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
634 <td>ZlibData</td>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
635 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
636 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
637 </small>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
638 <li>VNCでZRLEを使う場合は単一のzrleストリームを使ってデータの解凍を行う。</li>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
639 <li class="incremental">問題が発生</li>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
640 </div>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
641 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
642 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
643 <h1>ZRLEの問題</h1>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
644 <li>Zlibデータは辞書を元にデータの解凍を行う</li>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
645 <li class="incremental">辞書がなければデータを正しく解凍できない</li>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
646 </div>
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
647 <div class="slide">
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
648 <h1>ZRLEの問題</h1>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
649 <li>辞書はZlibデータの最初に送られてくる。</li>
4
149f9c8d36f5 change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
650 <li>もしも、ZRLEのデータを最初から送っているのなら、辞書も送ることができる。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
651 <li>データの途中から送ると辞書は送られず、正しく解凍を行うことができない。</li>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
652 <li class="incremental">Zlibデータを扱うZlibInStreamがエラーを吐く</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
653 <table class="textcenter" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
654 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
655 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
656 <img src="./pix/ZRLE.png" width="600" >
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
657 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
658 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
659 <img src="./pix/ZRLE2.png" width="600" >
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
660 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
661 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
662 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
663 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
664 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
665 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
666 <h1>ZRLEE</h1>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
667 <li>そこで、ProxyがZRLEを使ってデータを受け取り圧縮し直して木の下へ流していくことにした。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
668 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
669 <pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
670 Deflater nDeflater = deflater; // new Deflater();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
671 LinkedList<ByteBuffer> out = new LinkedList<ByteBuffer>();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
672 unzip(inflater, inputs, 0 , out, INFLATE_BUFSIZE);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
673 // dump32(inputs);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
674 int len2 = zip(nDeflater, out, 0, bufs);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
675 </pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
676 </small>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
677 <li><small>この圧縮し直したデータはZRLEEと名付けた。</small></li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
678 <table class="textcenter" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
679 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
680 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
681 <img src="./pix/ZRLEE2.png" width="600">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
682 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
683 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
684 <img src="./pix/ZRLEE3.png" width="600">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
685 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
686 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
687 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
688 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
689 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
690 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
691 <h1>ZRLEE</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
692 <li>クライアント側は毎回新しいZRLEのストリームを使うようにする。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
693 <pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
694 if (rfb.updateRectEncoding==RfbProto.EncodingZRLEE)
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
695 zrleInStream = null;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
696 if (zrleInStream == null)
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
697 zrleInStream = new ZlibInStream();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
698 </pre>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
699 <li>Zlibの規約には辞書の取り出し(flush)については書かれている。</li>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
700 <li>Javaでは実装されていなかった為、このような方法をとることになった。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
701 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
702 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
703 <div class="slide">
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
704 <h1>ZRLEEの疑問点</h1>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
705 <li>ZRLEEには毎回辞書が付与されている。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
706 <p class="textcenter">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
707 <img src="./pix/ZRLEE2.png" width="600">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
708 </p>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
709 <li class="incremental">ZRLEに比べるとデータ量は増えないのか...?</li>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
710 <li class="incremental">-> ZRLEと比較してみるとデータ量は変わらないことが判明</li>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
711 </div>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
712 <!-- PAGE -->
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
713 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
714 <h1>ZRLEEのデータ量</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
715 <p style="text-align: center;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
716 <small>1920*1080の描画にかかったデータ量</small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
717 </p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
718 <table class="textcenter" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
719 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
720 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
721 <img src="./pix/dataLength.png" width="450" heigth="325">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
722 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
723 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
724 <table border=1 cellspacing="0" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
725 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
726 <td></td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
727 <td>ZRLE</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
728 <td>ZRLEE</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
729 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
730 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
731 <td>データ量</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
732 <td>3.4M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
733 <td>3.2M</td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
734 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
735 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
736 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
737 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
738 </table>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
739 <li>ZRLEよりデータ量が多くなるどころか少ない。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
740 <li>原因</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
741 <ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
742 <li>ZRLEEは送られるデータ毎で最適な辞書が使われる。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
743 </ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
744 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
745 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
746 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
747 <h1>ZRLEEを使う利点</h1>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
748 <li>データ量が少なくですむ</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
749 <ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
750 <li>ZRLEよりも少なくですむ可能性がある。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
751 <li>圧縮率が高い為プロキシのメモリを食わないですむ。</li>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
752 <li>一度ZRLEEに圧縮してしまえば、データはそのまま流すことができる。</li>
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
753 <li>TreeVNCの設計にある「データを木の下へ流す」の条件を満たす。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
754 </ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
755 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
756 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
757 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
758 <h1>圧縮したデータの転送</h1>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
759 <li>データの転送は複数いる子へ並列に行う。</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
760   <p class="textcenter">
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
761 <img src="./pix/MulticastQueue3.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
762 </p>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
763 <li class="incremental">MulticastQueueクラスを用いた並列な転送を行った。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
764 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
765 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
766 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
767 <h1>MulticastQueue</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
768 <li>MulticastQueue:データを順序よく読み込ませるクラス</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
769 <table class="textcenter" border=1 cellspacing="0" width=100%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
770 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
771 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
772 <img src="./pix/MulticastQueue2.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
773 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
774 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
775 <img src="./pix/MulticastQueue.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
776 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
777 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
778
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
779 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
780 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
781 次のデータがなければwaitする
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
782 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
783 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
784 データがputされ次第読み込みを再開する
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
785 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
786 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
787 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
788 <p><small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
789 MulticastQueueは、java.util.CountDownnLatchにより実装されている。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
790 </small></p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
791 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
792 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
793 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
794 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
795 <h1>MulticastQueue</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
796 <li>MulticastQueueからデータを取り出し子供に送っている部分のソース</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
797 <pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
798 LinkedList<ByteBuffer> bufs = c.poll();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
799 int inputIndex = 0;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
800 ByteBuffer header = bufs.get(inputIndex);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
801 if (header==null) continue;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
802 writeToClient(os, bufs, inputIndex);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
803 </pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
804 <li>c.poll(inputIndex) 内部では次の処理を行っている。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
805 <pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
806 latch.await();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
807 return next;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
808 </pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
809 <li>次のデータが用意できるまでawait()で待つのである。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
810 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
811 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
812 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
813 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
814 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
815 <h1>MulticastQueue</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
816 <li>データは作られるとMulticastQueueにputされる。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
817 <p><small>put内部ではつぎの処理が行われる。</small></p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
818 <pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
819 Node<T> next = new Node<T>(item);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
820 tail.set(next);
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
821 tail = next;
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
822 </pre>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
823
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
824 <small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
825 <p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
826 set()内部ではlatchがcountDown()され、await()で止まっていたスレッドが動き出す。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
827 </small>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
828 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
829 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
830 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
831 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
832 <h1>MulticastQueue</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
833 <table class="textcenter" style="margin-top: 50px" width=100% border=1 cellspacing="0">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
834 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
835 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
836 <img src="./pix/MulticastQueue_proxy2.png" width="600">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
837 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
838 <td style="text-align: left;" width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
839 <li>putでデータの入力</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
840 <li>pollでデータの取り出し</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
841 <li>Proxyは常に最新のデータの参照を渡す</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
842 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
843 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
844 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
845 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
846 <img src="./pix/MulticastQueue_proxy3.png" width="600">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
847 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
848 <td style="text-align: left;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
849 <li>クライアントは最新のデータから読み込み始める。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
850 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
851 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
852 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
853 <p class="textcenter">実際のソースでみてみる</p>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
854 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
855 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
856 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
857 <h1>MulticastQueueの問題点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
858 <li>クライアントがデータを読み込まない時...
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
859 <table class="textcenter" width=100% style="margin-top: 50px; margin-bottom: 50px;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
860 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
861 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
862 <img src="./pix/MCTimeOut1.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
863 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
864 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
865 <img src="./pix/MCTimeOut2.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
866 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
867 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
868 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
869 <li>読み込まれないデータはProxyのメモリに残り続ける。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
870 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
871 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
872 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
873 <h1>MulticastQueueの問題点</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
874 <li>TimeOut(TO)スレッドを走らせ、最新のデータから取得できるようする。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
875 <table class="textcenter" width=100% style="margin-top: 50px; margin-bottom: 50px;">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
876 <tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
877 <td width=50%>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
878 <img src="./pix/MCTimeOut3.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
879 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
880 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
881 <img src="./pix/MCTimeOut4.png">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
882 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
883 </tr>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
884 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
885 <li>どこからも参照されないデータはProxyのメモリから削除される。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
886 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
887 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
888
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
889 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
890 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
891 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
892 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
893 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
894 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
895 <center><img class="scale" src="pix/uml1.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
896 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
897 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
898 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
899 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
900 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
901 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
902 requestHostName();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
903 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
904 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
905 プロキシに対してホストのアドレスを要求する関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
906 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
907 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
908 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
909 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
910 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
911 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
912
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
913
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
914 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
915 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
916 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
917 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
918 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
919 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
920 <center><img class="scale" src="pix/uml2.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
921 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
922 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
923 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
924 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
925 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
926 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
927 transferParentAddress();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
928 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
929 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
930 クライアントに接続先を教える関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
931 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
932 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
933 実際にクライアントにおくっているデータは
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
934 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
935 parentAddress -> 親のアドレス
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
936 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
937 parentNum -> 親の番号
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
938 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
939 treeNum -> 自分の木の番号
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
940 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
941 leaderFlag -> リーダフラグ
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
942 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
943 の4つである。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
944 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
945 リーダーは子供の中で一番若い番号の人がなる。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
946 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
947 リーダーフラグは木の再構成の際に使用する。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
948 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
949 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
950 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
951 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
952 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
953 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
954
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
955
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
956 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
957 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
958 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
959 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
960 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
961 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
962 <center><img class="scale" src="pix/uml3.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
963 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
964 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
965 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
966 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
967 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
968 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
969 connectAndAuthenticate();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
970 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
971 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
972 プロキシから受け取ったデータをもとに接続を開始する関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
973 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
974 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
975 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
976 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
977 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
978 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
979
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
980
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
981 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
982 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
983 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
984 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
985 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
986 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
987 <center><img class="scale" src="pix/uml4.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
988 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
989 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
990 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
991 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
992 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
993 新しいクライアントが来るたびに今まで説明した3つの関数を呼び出す。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
994 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
995 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
996 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
997 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
998 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
999 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1000
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1001
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1002 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1003 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1004 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1005 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1006 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1007 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1008 <center><img class="scale" src="pix/uml5.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1009 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1010 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1011 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1012 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1013 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1014
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1015 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1016 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1017 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1018 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1019 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1020 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1021
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1022
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1023 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1024 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1025 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1026 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1027 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1028 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1029 <center><img class="scale" src="pix/uml6.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1030 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1031 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1032 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1033 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1034 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1035
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1036 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1037 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1038 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1039 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1040 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1041 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1042
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1043
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1044 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1045 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1046 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1047 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1048 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1049 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1050 <center><img class="scale" src="pix/uml7.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1051 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1052 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1053 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1054 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1055 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1056
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1057 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1058 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1059 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1060 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1061 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1062 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1063
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1064
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1065 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1066 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1067 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1068 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1069 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1070 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1071 <center><img class="scale" src="pix/uml8.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1072 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1073 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1074 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1075 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1076 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1077
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1078 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1079 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1080 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1081 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1082 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1083 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1084
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1085
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1086 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1087 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1088 <h1>木の構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1089 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1090 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1091 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1092 <center><img class="scale" src="pix/uml9.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1093 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1094 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1095 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1096 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1097 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1098 ここで接続先がクライアント1になっているがこれはプロキシ側で
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1099 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1100 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1101 親の番号 = (自分の番号 - 1) / 親に対する子どもの数
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1102 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1103 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1104 を計算してどの親に接続させれば良いかを決めてクライアントに報告している。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1105 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1106 このように番号で木を管理している。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1107 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1108 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1109 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1110 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1111 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1112 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1113
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1114
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1115 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1116 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1117 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1118 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1119 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1120 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1121 <center><img class="scale" src="pix/reuml1.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1122 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1123 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1124 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1125 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1126 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1127 クライアント1が落ちた時の再接続の処理についての説明。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1128 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1129 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1130 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1131 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1132 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1133 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1134
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1135
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1136 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1137 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1138 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1139 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1140 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1141 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1142 <center><img class="scale" src="pix/reuml2.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1143 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1144 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1145 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1146 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1147 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1148 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1149 lostHost();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1150 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1151 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1152 木を構成する際にリーダを決めたが、そのリーダだけが呼び出す関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1153 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1154 プロキシに対し落ちた親(クライアント1)の情報を報告する。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1155 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1156 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1157 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1158 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1159 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1160 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1161
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1162
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1163 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1164 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1165 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1166 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1167 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1168 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1169 <center><img class="scale" src="pix/reuml3.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1170 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1171 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1172 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1173 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1174 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1175 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1176 reportLastNode();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1177 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1178 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1179 ラストノードに対し落ちたクライアントの代わりをするように命令を出す。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1180 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1181 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1182 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1183 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1184 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1185 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1186
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1187
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1188 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1189 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1190 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1191 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1192 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1193 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1194 <center><img class="scale" src="pix/reuml4.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1195 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1196 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1197 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1198 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1199 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1200 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1201 connectAndAuthenticate();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1202 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1203 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1204 プロキシから受け取ったデータをもとに接続を開始する関数。
5
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1205 <br>
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1206 この時クライアント6がクライアント1に変わる。
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1207
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1208 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1209 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1210 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1211 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1212 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1213 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1214
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1215
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1216 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1217 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1218 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1219 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1220 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1221 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1222 <center><img class="scale" src="pix/reuml5.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1223 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1224 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1225 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1226 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1227 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1228 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1229 transferParentAddress();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1230 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1231 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1232 落ちた親の子供たちに対し新しい親のアドレスを報告する関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1233 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1234 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1235 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1236 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1237 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1238 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1239
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1240
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1241 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1242 <div class="taninaritop">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1243 <h1>木の再構成手順</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1244 <table class="tanitable">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1245 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1246 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1247 <center><img class="scale" src="pix/reuml6.png" alt=""></center>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1248 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1249 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1250 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1251 <td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1252 <Font size="6">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1253 <Font color="red">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1254 connectAndAuthenticate();
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1255 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1256 <br>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1257 プロキシから受け取ったデータをもとに接続を開始する関数。
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1258
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1259 </Font>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1260 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1261 </td>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1262 </table>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1263 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1264 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1265
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1266 <!-- PAGE -->
5
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1267 <div class="slide">
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
1268 <div class="taninaritop" >
5
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1269 <h1>木の再構成手順</h1>
7
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 5
diff changeset
1270 <center><h2>再構成後の木</h2></center>
5
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1271 <center><img class="scale" src="pix/reuml7.png" alt=""></center>
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1272 </div>
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1273 </div>
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1274
d3785522a5bc change index.html
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 4
diff changeset
1275 <!-- PAGE -->
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1276
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1277 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1278 <h1>最後に</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1279 <li>今回のTreeVNCは大学の授業「programming4」で作り始めた。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1280 <li>Javaは基本知識だけ、VNCの仕組みについては全く知らない状態からのスタートあった。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1281 <li>木の再構成、MulticastやZRLEの問題にも出会ったがなんとかクリアすることができた。</li>
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1282 <li class="incremental">Javaでの分散プログラミングは考えていたよりも楽であった。</li>
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1283 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1284 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1285 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1286 <h1>質問タイム</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1287 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1288 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1289 <!--
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1290 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1291 <h1>テスト環境:</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1292 <li>CUI版のVNCクライアントを作成</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1293 <li>48台あるクラスタでCUI版のクライアントをはしらせてVNCをかけさせる。</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1294 <li>最初の1台目と48台めをGUI版のクライアントで接続を行い見比べてみる。 </li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1295 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1296 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1297 <!-- PAGE -->
1
d33d9d7770b2 modify RemoteframebufferUpdate, ZRLEE
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
1298 <!--
0
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1299 <div class="slide">
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1300 <h1>既存のプログラムとの比較</h1>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1301 <li>VNC Reflector</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1302 <ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1303 <li>tightVNCの作者が作成したプログラム</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1304 <li>VNC Reflecotrにクライアントが接続することでVNCを行うことができる</li>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1305 </ul>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1306 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1307 -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1308 <!-- PAGE -->
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1309 </div>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1310 </body>
d91f1fc9c123 add files
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1311 </html>