7
Finding Nemo 2004 Finding Nemo 2004 組組 組組 : : R92725029 R92725029 組組組 組組組 R92725030 R92725030 組組組 組組組 R92725031 R92725031 組組組 組組組

Finding Nemo 2004

Embed Size (px)

DESCRIPTION

Finding Nemo 2004. 組員 : R92725029 常道鳴 R92725030 葛偉民 R92725031 陳彥甫. Introduction. Goals A Distributed Screensaver Ocean Community Interactive 、 Recreation 、 Robustness. Technical Infrasture. Description & diagram - features 基本功能 固定場景位置 魚兒跨 clients 間游動 養成:可以產生自己喜歡的魚,並餵食魚群 設計特點 - PowerPoint PPT Presentation

Citation preview

Page 1: Finding Nemo 2004

Finding Nemo 2004Finding Nemo 2004

組員組員 : :

R92725029 R92725029 常道鳴常道鳴R92725030 R92725030 葛偉民葛偉民R92725031 R92725031 陳彥甫陳彥甫

Page 2: Finding Nemo 2004

IntroductionIntroduction

• Goals– A Distributed Screensaver– Ocean Community– Interactive 、 Recreation 、 Robustness

Page 3: Finding Nemo 2004

Technical InfrastureTechnical Infrasture

• Description & diagram - features• 基本功能

– 固定場景位置– 魚兒跨 clients 間游動– 養成:可以產生自己喜歡的魚,並餵食魚群

• 設計特點– 魚兒的產生:產生 multithread 於 client 端– 可選定特殊主題背景– 使用者拋魚餌,餵食魚兒– 使用者可自己設計新的魚圖案– Failure control

Page 4: Finding Nemo 2004

程式分工程式分工• 常道鳴 – 圖形介面設計 , 程式邏輯設計• 葛偉民 – 網路連線與邏輯控制 ( 魚兒游動資訊的傳輸 , 成員離開 ,

fail-safe)

• 陳彥甫 – 網路連線與邏輯控制 ( 成員新增 , 更新 Global Group 清 單 )

Page 5: Finding Nemo 2004

程式邏輯程式邏輯• 每個 node 會透過傳送一份 Global Group

List 來記錄目前網路上有多少成員 .

• 當有 node (X) 要加入時 , 會先聯繫網路中已經存在的某一 node (A), 連接在 A 的後面 . 待 Global Group List 傳送到 A 時 , A便會在清單中增加 X

• 當與 A 相連的任一個 node fail 時 , A 會根據 Group List 來找尋下一個還存在網路上的節點

Page 6: Finding Nemo 2004

新增成員新增成員

E

C

B

A

D

Global Group List: A B C D E

X

Global Group List: A B C D EGlobal Group List:

A X B C D E

Global Group List: A X B C D E

Page 7: Finding Nemo 2004

刪除成員刪除成員

E

C

B

A

D

Global Group List: A B C D E