通訊協定與設計_隨堂問題(三)
1.為何曼赫斯特編碼無法在高速網路中使用
參考資料
1.http://jpkc.nwpu.edu.cn/dzjc/jsjwangluo/multibook/1/1-4.htm
2.http://deltas.blog.com/2012/12/12/manchester-encoding-vs-biphase-mark-code-bmc/
3.http://baike.baidu.com/view/489804.htm
2.我們知道傳碼的時候有preamble,postamble 請問中間的data若有訊號與postamble相同要如何閃過?
這個問題可用bit stuffing 閃過,當然還有其他同步機制,日後再聽老師解說好了~~
我們知道Postamble 以及 Preamble 是由 01111110 組成的
為防止data中有與此相同的訊號 我們使用 bit stuffing 來阻擋,其原理是在每五個1之後放上一個原本不存在訊號中的0 ,以此區別,一旦五個1出現之後,鳩收方會去檢查第六個bit ,若為0 就刪除,若為1 ,且第七個bit 為0, 那麼這段訊號就會被視為 Postamble 以及 Preamble ,若第六與第七bit都為1,則此時處於異常終止狀態
參考資料
1.Data and computer communicatios 9th,Willian Stallings 第七章 Frame Structure ,<p252>
3.為何 Circuit switching 藥用 Sync transmission;Packet switching 藥用 Async transmission (非同步傳輸)
Circuit switching 在使用強烈要求時間要一致,總不可能我現在會聽到對方10秒前說的話,而對方聽到我現在說的話,這樣是不可靠的,因此Circuit switching 會要 Synchronous transmission,Synchronous transmission會提供separate clock讓雙方用固定的小單位在固定的時間內傳送,但這只在短距離好用,長距離的話,會容易出現錯誤,引此衍生出讓clock藏身在訊號中
Packet switching 本身就是在不可靠的服務上面進行傳輸,只求檔案正確,不求時間要立刻對上,因此使用 Asynchronous transmissione 還可以改善Synchronous transmission 不能傳輸大檔案的缺點
參考資料
1.Data and computer communicatios 9th,Willian Stallings 第六章 A Asynchronous and Synchronous transmission ,<p211>
4.Parity bit 有甚麼問題? [HINT:一是multi-bit error]
當多個bit錯誤的時候,無法被檢測出來,但這情況多發生在高速傳送的情況下,而且Parity check 只能檢測無法修正
留言
張貼留言