[課業] 電腦網路 bit-oriented byte-oriented

看板Examination (國家考試)作者 (4545454554)時間12年前 (2014/04/05 23:21), 編輯推噓2(2010)
留言12則, 4人參與, 最新討論串1/1
各位好 想請問 bit-oriented byte-oriented 的定義是什麼? http://ppt.cc/e-ED 照這裡 page 23的寫法 bit-oriented 好像是指 bit stuffing byte-oriented 好像是指 byte stuffing 還是說 如果frame 的 標頭 和 標尾 用的是同一個pattern 就是bit-oriented 如果frame 的 標頭 和 標尾 用的不是同一個pattern 就是byte-oriented THX -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.173.192.173 ※ 文章網址: http://www.ptt.cc/bbs/Examination/M.1396711306.A.309.html

04/05 23:31, , 1F
我的理解是這樣的不知道對不對,bit-oriented是傳輸時以
04/05 23:31, 1F

04/05 23:32, , 2F
個別bit辨認,故使用bit stuffing,byte-oriented是以位
04/05 23:32, 2F

04/05 23:33, , 3F
元組為單位辨認,當中間有出現與旗標相同一樣的字符時,
04/05 23:33, 3F

04/05 23:35, , 4F
就要用byte stuffing,像是ESC字符這樣
04/05 23:35, 4F

04/05 23:40, , 5F
然後不知道為什麼都沒有查到byte-oriented protocol任何
04/05 23:40, 5F

04/05 23:43, , 6F
實務上的應用資料,英文也都沒有 http://ppt.cc/8g-K
04/05 23:43, 6F

04/06 00:10, , 7F
我認為原理都一樣,只是一個用字元當起始跟結束框訊
04/06 00:10, 7F

04/06 00:11, , 8F
一個以bit 01111110 為起始跟結束控制
04/06 00:11, 8F

04/06 01:36, , 9F
謝謝二位
04/06 01:36, 9F

04/08 17:38, , 10F
BIT是資料內容有遇到連續5個1就填入0來避免和旗標相同造成
04/08 17:38, 10F

04/08 17:40, , 11F
和結束旗標相同而誤認為結束,byte是怕內容出現esc才會在
04/08 17:40, 11F

04/08 17:41, , 12F
內容中出現esc後加入一個esc成為成雙成對的esc才不會誤認
04/08 17:41, 12F
文章代碼(AID): #1JG1-AC9 (Examination)
文章代碼(AID): #1JG1-AC9 (Examination)