E-tickets validation protocols in mobile environment MSS : verification server maintains a list of E-tickets validated by it. MH : submit the E-ticket.

Slides:



Advertisements
Similar presentations
MSS S i Half Reply Other MSSs ACCEPT OR REJECT MH H i NEWTKT REQUESTACK ACKs ART Start ART End AWT Start AWT End.
Advertisements

Pricing and Power Control in a Multicell Wireless Data Network Po Yu Chen October, 2001 IEEE Journal on Select Areas in Communications.
桃園縣政府貼心規劃【 1999 縣民諮詢服務熱 線】,提供桃園縣民更優質、便捷的服務。 有不清楚的縣政問題,歡迎您隨時拿起電話 撥打 1999 ,我們將協助您提供諮詢服務,讓 您享受便捷的生活。 1999 將是您的好幫手, 天天在您左右!
FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 Pre-SIm , Post-Sim.
: A-Sequence 星級 : ★★☆☆☆ 題組: Online-judge.uva.es PROBLEM SET Volume CIX 題號: Problem D : A-Sequence 解題者:薛祖淵 解題日期: 2006 年 2 月 21 日 題意:一開始先輸入一個.
1 Q10276: Hanoi Tower Troubles Again! 星級 : ★★★ 題組: Online-judge.uva.es PROBLEM SET Volume CII 題號: Q10276: Hanoi Tower Troubles Again! 解題者:薛祖淵 解題日期: 2006.
組員:淡江大學 資管碩一 何永欣 淡江大學 資管碩一 鄭奕騰 1.
IPSec 的使用模式 傳輸模式 (Transport mode) 傳輸模式 (Transport mode) 通道模式 (Tunnel mode) 通道模式 (Tunnel mode)
A Capability-based Privacy- preserving Scheme for Pervasive Computing Environments Dyvyan M. Konidala Dang N. Duc Dongman Lee Kwangjo Kim Proceedings of.
在 Ad-hoc 網路中實現點對 點發送訊息與廣播訊息. 檔案下載  範例程式可在下列網址取得  DEMO 程式可在下列網址取得
1 Web of Science 利用指引 單元二 瀏覽與處理查詢結果. 2 瀏覽檢索結果 查出的結果,預設以時間排列, 使用者可改變結果的排列方式: 還可以依被引用次數、相關度、 第一作者、刊名、出版年等排序 回到前先查的結果畫面 點選想看資料的完整書目 本館訂購範圍的期刊 全文,便可直接連結.
: Factstone Benchmark ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: : Factstone Benchmark 解題者:鐘緯駿 解題日期: 2006 年 06 月 06 日 題意: 假設 1960.
亂數產生器安全性評估 之統計測試 SEC HW7 姓名:翁玉芬 學號:
: Road Construction ★★★☆☆ 題組: Contest Archive with Online Judge 題號: 10724: Road Construction 解題者:徐文宏 解題日期: 2011 年 4 月 20 日 題意:給一個座標圖 (-1000~1000)
Review of Chapter 3 - 已學過的 rules( 回顧 )- 朝陽科技大學 資訊管理系 李麗華 教授.
Graph V(G 1 )={0, 1, 2, 3, 4, 5, 6, 7, 8, 9} E(G 1 )={(0, 2), (0, 3), (1, 4), (2, 3), (2, 5), (2, 6), (3, 6), (3, 7), (4, 7), (5, 6), (5,
1 實驗二 : SIP User Mobility 實驗目的 藉由 Registra 和 Redirect Server 的設計,深入瞭解 SIP 的運 作及訊息格式。 實作部分 ( 1 )實作一個 Registrar 來接收 SIP REGISTER ,而且 要將 REGISTER 中 Contact.
1 Secure Context-sensitive Authorization 2005 Author : Kazuhiro Minami, David Kotz Presented by Shih Yu Chen.
:New Land ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 11871: New Land 解題者:施博修 解題日期: 2011 年 6 月 8 日 題意:國王有一個懶兒子,為了勞動兒子,他想了一個 辦法,令他在某天早上開始走路,直到太陽下山前,靠.
: ShellSort ★★☆☆☆ 題組: Problem D 題號: 10152: ShellSort 解題者:林一帆 解題日期: 2006 年 4 月 10 日 題意:烏龜王國的烏龜總是一隻一隻疊在一起。唯一改變烏龜位置 的方法為:一隻烏龜爬出他原來的位置,然後往上爬到最上方。給 你一堆烏龜原來排列的順序,以及我們想要的烏龜的排列順序,你.
程式註解說明. 2 程式註解格式 塊狀註解 對檔案、 class 、 method 、資料結構、一段程式 …. 等程式區塊 做說明。 第一行的開頭必需為 “/*” 且沒有其他文字,最後一行的開頭 必需以 “*/” 做為結束,在中間每一行的開頭都必需是一個 “*” 。 單行註解 佔據一整行的說明。 以.
: The Playboy Chimp ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10611: The Playboy Chimp 解題者:蔡昇宇 解題日期: 2010 年 2 月 28 日 題意:給一已排序的數列 S( 升冪.
: The Battle II ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 11098: The Battle II 解題者:許桓偉 解題日期: 2007 年 3 月 13 日 題意:給一連串炸彈座標、半徑、爆炸範 圍 (Xi,Yi,Ri,Ei)
Network Connections ★★★☆☆ 題組: Contest Archive with Online Judge 題號: Network Connections 解題者:蔡宗翰 解題日期: 2008 年 10 月 20 日 題意:給你電腦之間互相連線的狀況後,題.
第 5 章 深入 Response 物件 製作. 網頁的轉向與強制輸出 - 讓網頁轉彎的 Redirect 敘述 運用 Response 物件的 Redirect 方法,將瀏覽器顯 示的網頁,導向至其他網頁,語法如下: Response.Redirect 網頁路徑與名稱 此網頁路徑與名稱  若是導向到同一台.
:Problem D: Bit-wise Sequence ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10232: Problem D: Bit-wise Sequence 解題者:李濟宇 解題日期: 2006 年 4 月 16.
: The largest Clique ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11324: The largest Clique 解題者:李重儀 解題日期: 2008 年 11 月 24 日 題意: 簡單來說,給你一個 directed.
© The McGraw-Hill Companies, Inc., 2006© The McGraw-Hill Companies, Inc., 2007 Chapter 7 位址解析通訊協定及 反向位址解析通訊協定.
: Happy Number ★ ? 題組: Problem Set Archive with Online Judge 題號: 10591: Happy Number 解題者:陳瀅文 解題日期: 2006 年 6 月 6 日 題意:判斷一個正整數 N 是否為 Happy Number.
: Fast and Easy Data Compressor ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10043: Fast and Easy Data Compressor 解題者:葉貫中 解題日期: 2007 年 3.
1 Netlibrary 電子書 Netlibrary 創始於 1998 年,是世界知名的電子書資 料庫,提供 450 多家出版社所出版近 100,962 ( 止)本的電子書,且以每月 2,000 本的 速度增加中。其中 80% 屬於學術性圖書,其餘 20% 一般圖書, 90% 以上為.
各種線上電子資源的特異功能 SwetsWise 的 alert, TOC alert 與 Favorites 2003/4/28 修改.
行政院國家科學委員會工程技術發展處自動化學門 * 試以國立成功大學製造工程研究所 鄭芳田教授 產學合作計畫 : 智慧預測保養系統之設計與實作 成果報告盤點為範例 國科會工程處專題計畫成果典藏 自動化學門成果報告盤點範例.
第十章 再論結構. 指標與結構的關係 /* File name: ex10-1a.c */ #include int main() { struct student { char *name; int score; }; struct student st= {"Brian", 97}; struct.
: Multisets and Sequences ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 11023: Multisets and Sequences 解題者:葉貫中 解題日期: 2007 年 4 月 24 日 題意:在這個題目中,我們要定義.
最短路徑演算法 卓訓榮 2002/11/11 Data base Label Setting Algorithm Label Correcting Algorithm 運輸資訊.
: Placing Lampposts ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10859: Placing Lampposts 解題者:陳志瑜 解題日期: 2011 年 5 月 10 日 題意:美化為 Dhaka City.
:Nuts for nuts..Nuts for nuts.. ★★★★☆ 題組: Problem Set Archive with Online Judge 題號: 10944:Nuts for nuts.. 解題者:楊家豪 解題日期: 2006 年 2 月 題意: 給定兩個正整數 x,y.
Marble on tree ★★★☆☆ 題組: ACM Programming Contest World Finals, 1998 題號: Marble on tree 解題者:呂為萱 解題日期: 2011 年 3 月 16 日 題意: 有 n 個箱子,被擺放在 rooted.
1 第 4 章 複 因 子 的 應 用複 因 子 的 應 用. 2 移動等額系列 並非 所謂移動系列,是指現值所在的時 間點並非 t = 0. 向 “0” 的左方移動或向 t = “0” 的右 方移動.
Deletion in MIN-MAX Heaps Delete min element Delete max element.
Dynamic Multi-signatures for Secure Autonomous Agents Panayiotis Kotzanikolaou Mike Burmester.
法律系 系所科助之血淚辛酸史 劉蕙綺. 系上推行困難處 ( 學期初 ) 傳統習慣:法律系以教科書為主 很多老師沒有電子檔案 專、兼任老師使用平台的意願 因老師多為資深老師,因此在使用電腦部 份可能比較需要幫助 通常學生知道訊息的來源是藉由 BBS 或者 是系上的系板,使用意願會降低.
: Problem G e-Coins ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10306: Problem G e-Coins 解題者:陳瀅文 解題日期: 2006 年 5 月 2 日 題意:給定一個正整數 S (0
: A-Sequence ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 10930: A-Sequence 解題者:陳盈村 解題日期: 2008 年 5 月 30 日 題意: A-Sequence 需符合以下的條件, 1 ≤ a.
Section 4.2 Probability Models 機率模式. 由實驗看機率 實驗前先列出所有可能的實驗結果。 – 擲銅板:正面或反面。 – 擲骰子: 1~6 點。 – 擲骰子兩顆: (1,1),(1,2),(1,3),… 等 36 種。 決定每一個可能的實驗結果發生機率。 – 實驗後所有的實驗結果整理得到。
函式 Function Part.2 東海大學物理系‧資訊教育 施奇廷. 遞迴( Recursion ) 函式可以「呼叫自己」,這種動作稱為 「遞迴」 此程式的執行結果相當於陷入無窮迴圈, 無法停止(只能按 Ctrl-C ) 這給我們一個暗示:函式的遞迴呼叫可以 達到部分迴圈的效果.
JAVA 程式設計與資料結構 第二十章 Searching. Sequential Searching Sequential Searching 是最簡單的一種搜尋法,此演 算法可應用在 Array 或是 Linked List 此等資料結構。 Sequential Searching 的 worst-case.
資料結構實習-二.
演算法 8-1 最大數及最小數找法 8-2 排序 8-3 二元搜尋法.
: Ubiquitous Religions ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10583: Ubiquitous Religions 解題者:吳佳樺 解題日期: 2010 年 3 月 18 日 題意: 一開始給予兩個數字.
845: Gas Station Numbers ★★★ 題組: Problem Set Archive with Online Judge 題號: 845: Gas Station Numbers. 解題者:張維珊 解題日期: 2006 年 2 月 題意: 將輸入的數字,經過重新排列組合或旋轉數字,得到比原先的數字大,
Chapter 10 m-way 搜尋樹與B-Tree
: Function Overloading ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 11032:Function Overloading 解題者:許智祺 解題日期: 2007 年 5 月 8 日 題意:判對輸入之數字是否為.
網路介紹及其運用 講師陳炯勳. 5-2 IP 協定 ( 一 ) IP 協定運作 (1) – 網路成員:主機 (Host) 與路由器 (Router) – 路由表 – 電報傳輸運作.
1 Pseudorandom-Permutation Index. 2 Outline Introduction Goh’s Z-IDX PRP-Index Secure game.
2009 資訊科技國際研討會 1 驗證檔案伺服器輸出之正確性 作者:許家瑞 洪國寶 報告者:許家瑞 日 期:
ArcINFO &Geodatabase 由 ESRI 產生 1970 ArcINFO 一開始被設計在迷你電 腦上, 後來逐漸發展, 在 UNIX 系統上也能 執行, 直到今天, 已經可以在不同的平台上 運作.
: Wine trading in Gergovia ★★☆☆☆ 題組: Contest Volumes with Online Judge 題號: 11054: Wine trading in Gergovia 解題者:劉洙愷 解題日期: 2008 年 2 月 29 日 題意:在 Gergovia.
:Commandos ★★★☆☆ 題組: Contest Archive with Online Judge 題號: 11463: Commandos 解題者:李重儀 解題日期: 2008 年 8 月 11 日 題意: 題目會給你一個敵營區內總共的建築物數,以及建築物 之間可以互通的路有哪些,並給你起點的建築物和終點.
: SAM I AM ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11419: SAM I AM 解題者:李重儀 解題日期: 2008 年 9 月 11 日 題意: 簡單的說,就是一個長方形的廟裡面有敵人,然 後可以橫的方向開砲或縱向開砲,每次開砲可以.
計數值抽樣計劃 使用 MIL-105D 表. 表 10-1 Sample Sizes Code Letters.
: Finding Paths in Grid ★★★★☆ 題組: Contest Archive with Online Judge 題號: 11486: Finding Paths in Grid 解題者:李重儀 解題日期: 2008 年 10 月 14 日 題意:給一個 7 個 column.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
:Rings and Glue ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10301: Rings and Glue 解題者:施博修 解題日期: 2011 年 5 月 18 日 題意:小約翰有了個大麻煩,他不小心將 rings.
幼兒行為觀察與記錄 第八章 事件取樣法.
CH 14-可靠度工程之數學基礎 探討重點 失效時間之機率分配 指數模式之可靠度工程.
: How many 0's? ★★★☆☆ 題組: Problem Set Archive with Online Judge 題號: 11038: How many 0’s? 解題者:楊鵬宇 解題日期: 2007 年 5 月 15 日 題意:寫下題目給的 m 與 n(m
A Fault Management Architecture For Wireless Sensor Network 學生:林忠成 學號: Date : 2010/05/10.
節能轉接插座 認知科學研究所陳啟彰. 設計緣起 不使用的電器如未將插頭拔除, 仍會有少量的電力損耗,這類的 電力損耗稱之為待機損耗 (stand- by loss) 。 不使用的電器如未將插頭拔除, 仍會有少量的電力損耗,這類的 電力損耗稱之為待機損耗 (stand- by loss) 。 家庭用電中,待機損耗約佔總耗.
Presentation transcript:

E-tickets validation protocols in mobile environment MSS : verification server maintains a list of E-tickets validated by it. MH : submit the E-ticket E-ticket validation problem : validation process  The same sequence of an E-ticket should not get validated more than once.  An E-ticket should get validated at least once. That is, at least one MSS should accept this sequence of an E- ticket.

E-tickets validation protocols in mobile environment E-ticket problem can be defined in short by the following two properties:  (P.1) If a MSS accepts the E-ticket T and it does not crash, then no other MSS accepts T and a MSS does not accept the same E-ticket more than once.  (P.2) Let δ(T) be the set of MSSs that validate the same E-ticket T. If not all MSSs in δ(T) crashes then there is at least one MSS in δ(T) that accepts T.

E-tickets validation protocols in mobile environment Two Phase E-ticket Validation Protocol (TPEP)  Flat scheme algorithm Tree-Based Protocol (TBP)  Hierarchical scheme algorithm

Two Phase E-ticket Validation Protocol When MH send the E-ticket to the MSS Phase I  The MSS sends an inquiry to all other MSSs in the system visited by the MH, and it validates an E-ticket if none of the responses received from all other MSSs for the same E-ticket is negative. Phase II  It only starts if the MSS gets at least one negative acknowledgment. When more than one MSS tries to validate an E-ticket in Phase II, the MSS that is in the same cell as the MH will validate the E-ticket and all others will reject it.

Two Phase E-ticket Validation Protocol At the end of the protocol, the MSS S i informs the decision on the validation of the E-ticket T to the mobile host, H i, holding T. If H i is disconnected, S i waits for the reconnection of H i and delivers the message.

Message Type NEWTKT REQUESTACK ACK  POSITIVE  NEGATIVE  REJECT ACCEPT MH 將 E-ticket 傳送給 MSS 做認證 MSS 詢問其他 MSSs 1. 驗證過此 E-ticket ? 2. 其他 MSS 發送相同的 REQUESTACK ? MSS 回覆 REQUESTACK 此 E-ticket 沒有被認證過且沒有其他 MSS 發送過此 E-ticket 的 REQUESTACK 給我 同時有其他 MSS 正為此 E-ticket 作認證 此 E-ticket 我已認證過了 MSS 通知所有 MSSs 此 E-ticket 已被我認 證了

MSS S i All Positive REJECT ACK-NEGATIVEACK-POSITIVE Has Reject Has Negative Other MSSs Already received Otherwise ACCEPT ACK-REJECT Phase I MH H i NEWTKT REQUESTACK Already validated ACKs Phase II Wait replies

MSS S i Phase II More than one MSS tries to validate the same E- ticket T in case the same ticket is submitted for validation by H i from several places. MSS S j MSS S k MH H i E-Ticket MH H i E-Ticket MH H i E-Ticket cell Accept Reject Phase II

Two Phase E-ticket Validation Protocol S i : the mobile support station (MSS) H i : the mobile host (MH) λ S : the set of MSSs λ H : the set of MHs δ H i : the set of MSSs where H i visited visited_ list ( H i ) → 回傳 H i 之前拜訪過的 MSS List Search ( H i ) → 回傳目前正在服務 H i 的 MSS Nearst ( CurrentMSS, List ) → 回傳 List 中離 CurrentMSS 最近的 MSS

E-ticket’s attribute  status: accept or reject  ackStatus: positive, negative or reject  currentValidator: the set of validators which are validating this E-ticket

Algorithm to be executed at each MSS S i Format: (Message Type, ticket, sender, receiver) Two Phase E-ticket Validation Protocol 存放 REQUESTACK 紀錄 (MSS,T)

傳回結果給 Hi H i 之前拜訪過的 MSS 清單 紀錄其他 MSSs 回覆訊息的數量 紀錄 Positive ACK 的數量 紀錄其他同時認證此 ticket 之 MSSs PHASE I

此 ticket 是否有其他 MSS 同時在認證 ? 將該 MSS 加入 Otherwise Already received Already validated

Has Reject 從 other MSSs 接收的 ACK 回應 Positive ACK Negative ACK 記錄目前正在驗證 的 MSS

Otherwise All Positive 當 replies >= (RequestACK / 2) 告知所有的 MSS ,此 ticket 已被我驗證過

更新 vTkts, aTkts 資訊

PHASE II S i 是否為 H i 目前所在的 MSS 中 ? Nearest Accept Other Reject 查處 H i 目前所在的 MSS

H i 在 S i 範圍且 H i 未斷線 則傳遞 H i 在 S i 範圍且 H i 斷線 則等 △ t 時間後再傳 H i 不在 S i 範圍 則搜尋 H i 所在的 S i

MSS S 1 MSS S 2 MSS S 3 MSS S 4 Correctness of protocol NewTkt Req_Ack +ACK H1 submits T T accepted H1 submits T NewTkt Accept Req_Ack -ACKReject T rejected

MSS S 1 MSS S 2 MSS S 3 MSS S 4 Correctness of protocol NewTkt Req_Ack H1 submits T NewTkt Req_Ack -ACK T rejected Req_Ack +ACK -ACK T accepted Phase II

Analysis of protocol Three types of messages exchanged in the Phase I of the protocol  REQUESTACK  ACK  ACCEPT Best Case : MH is residing in only one cell. In this case the number of messages exchanged will be zero. Worst Case : MH is highly mobile and may cover the entire network. In this case the number of messages exchanged will be 3(m-1) where m is the number of MSSs. Avg. Case : The mobile host is limited to a few cells. The number of messages exchanged will be 3(δ MH -1) where δ MH < m is the number of cells that MH visited.

Tree-based protocol Hierarchy of geographical region  Each node is a MSS  Each region is a collection of some MSS’s information and is represented by a internal node.  The root node represents the total area spanning over the entire region  Each MSS in a higher level of hierarchy knows the information about E-tickets validated by the lower level nodes Use the timestamp to choose nearest MSS

Tree-Based Protocol S1S1 S7S7 S4S4 S8S8 S6S6 S3S3 S5S5 S2S2 Has information of validated ticket Has information of validated ticket Has information of validated ticket

Tree-Based Protocol S1S1 S7S7 S4S4 S8S8 S6S6 S3S3 S5S5 S2S2 NewTkt Req_Ack NewTkt Req_Ack Already validated Reject

Tree-Based Protocol Algorithm to be executed at each MSS S i Format: (Message Type, ticket, sender, receiver)

將 Request ACK 往 Parent 送

表此 ticket 已被驗證過 回傳 Negative ACK 若此 MSS 為 root ,且此 ticket 未被驗證過 回傳 Positive ACK Otherwise 將 Request ACK 往上傳

表此 MSS 為驗證的源起者 表此 MSS 非驗證的源起者 將 ACK 訊息往下傳 判斷路由 Stack 是否為空

H i 在 S i 範圍且 H i 未斷線 則傳遞 H i 在 S i 範圍且 H i 斷線 則等 △ t 時間後再傳 H i 不在 S i 範圍 則搜尋 H i 所在的 S i

S1S1 S7S7 S4S4 S8S8 S6S6 S3S3 S5S5 S2S2 -ACK+ACK Correctness of protocol NewTkt Req_Ack NewTkt Req_Ack If S 4 faster than S 5 If S 4, S 5 At the same time S5’s timestamp > S4’s timestamp +ACK-ACK

Analysis of protocol Two types of messages exchanged in the protocol  REQUESTACK  ACK Best Case : The server that gets the ticket and the root being the same, the number of messages is zero. Worst Case : The server that gets the ticket is at the highest level, the number of messages will be 2(h - 1) where h is the height of the tree. Avg. Case : The server that gets the ticket is at a level i, the number of messages will be 2(h – i - 1), where h is the height of the tree.

Comparsion of the protocol Assumption  Without failure  The same E-ticket is used once by the users Comparsion  Resilience  Latency  The number of messages exchanged to validate an E-ticket.

Comparsion of the protocol E-ticket protocol 2PE Internet users 2PE mobile users Tree protocol Resilience < n/2 < h Latency 2θ< 2θ<< 2θ Message 2( n - 1)2(δ s - 1) + ( n - 1)2( h - 1) Θ : maximum message delay δs : the number of servers visited by the client h : the height of tree Request & ACK & Accept Request & ACK