| 研究生: |
歐亭鎔 Ting-rong Ou |
|---|---|
| 論文名稱: |
利用平行處理架構之 CRC 網路封包錯誤更正器研製 The Design and Implementation of CRC Based Packet ErrorCorrector Using Parallel Architecture |
| 指導教授: |
許獻聰
Shiann-tsong Sheu |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
資訊電機學院 - 通訊工程學系 Department of Communication Engineering |
| 畢業學年度: | 98 |
| 語文別: | 英文 |
| 論文頁數: | 74 |
| 中文關鍵詞: | 封包錯誤更正 |
| 外文關鍵詞: | CRC |
| 相關次數: | 點閱:14 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
現今的網路模型中的媒體存取控制(Medium Access Control - MAC)層使用
CRC-32 的編碼方式,先對原始資料進行編碼之後封裝為資料訊框再進行傳輸。當
接收端收到資料訊框後,會計算此訊框的 CRC-32 餘數以檢查所接收到的訊框是否
正確。如果 CRC-32 檢測訊框有錯誤,接收端的 MAC 層會使用 ARQ(Automatic
Repeat reQuest)協定進行訊框的重傳,以期待再次的重傳可以收到正確的訊框。
ARQ 詳細的運作機制如下,當傳送端送出訊框後,會等待接收端對這個訊框回應
一個「確認收到(acknowledge, ACK)」的訊息。如果經過一段時間傳送端沒有收到
ACK(稱之為 timeout),很可能接收端沒有收到該訊框或收到有錯的訊框(經由
CRC-32 檢查機制),這時傳送端就會重傳此訊框,以期待再次的重傳可以成功。
ARQ protocol 使得訊框得以在不可靠的通訊通道中提供可靠的通訊。從資訊理論的
角度可以發現一個位元的錯誤會造成整個資料訊框的錯誤與重送。因此,如果能適
當儲存之前發生錯誤的原始訊框資料,並比對重送但仍發生錯誤之訊框資料,有相
當大的機會可以找出正確的原始訊框資料,也因此達到 MAC 層支援錯誤修正之能
力。延續我們先前所研發的 CRC 網路封包錯誤更正器[1],本論文進一步利用平行
架構來實作 CRC 網路封包錯誤更正器以減低電路複雜度以及所花費的時間。
Usually, data frames encapsulated in the medium access control MAC layer are
protected by the well-known CRC-32 mechanism. The CRC-32 redundant information is
produced by encoding the original data according to a pre-specified polynomial function.
Upon the receiver receiving the data frame, it calculates the CRC-32 remainder of the
received frame for determining whether the received data frame is correct or not. If the
checking fails, the automatic repeat request (ARQ) protocol of MAC layer will be triggered to
retransmit the erroneous data frame from transmitter to receiver. ARQ protocol is designed to
achieve reliable transmissions over unreliable channel, and thus the packet loss probability is
decreased. However, there is an issue that one erroneous data bit in a data frame will cause
whole data frame to be retransmitted. This thesis proposes to properly store erroneous data
frame(s) and combine it with the newly retransmitted frame may find out the original data
frame. Based on our preliminary work [1], this thesis further utilizes the parallel architecture
to construct the CRC based packet error corrector, which has the features of low circuit
complexity and short processing time, as compared to the previously developed serial CRC
based packet error corrector (CEC).
[1] Huei-Yu Lee, ―A CRC Based Error Corrector (CEC) for Wireless Networks,‖ National
Central University Department of Communication Engineering, National Central
University Master thesis, Jul. 1998.
[2] H. Dubois-Ferri`ere, D. Estrin, and M. Vetterli, ―Packet Combining in Sensor Networks,‖
in Proceedings of the ACM International Conference on Embedded Networked Sensor
Systems, pp. 102–115, Nov. 2005.
[3] B. Han, L. J, S. Lee, B. Bhattacharjee, and R. R. Miller, ―All Bits are not Equal-a Study
of IEEE 802.11 Communication Bit Errors,‖ in INFOCOM, pp. 1602–1610, Apr. 2009.
[4] M. Zorzi, ―Some Results on Error Control for Burst-error Channels Under Delay
Constraints,‖ IEEE Transactions on Vehicular Technology, Vol. 50, pp. 12–24, Jan. 2001.
[5] A. Miu, H. Balakrishnan, and C.E. Koksal, ―Improving Loss Resilience with Multi-radio
Diversity in Wireless Networks,‖ in Proceedings of the ACM International Conference on
Mobile Computing and Networking (MOBICOM), pp. 16–30, Aug. 2005.
[6] R.J. Benice and A. J. Frey, ―Comparisons of Error Control Techniques,‖ IEEE
Transactions on Communication Technology, Vol 12, pp. 146-154, Dec. 1964.
[7] Peterson, W. W. and Brown, D. T., ―Cyclic Codes for Error Detection‖, Proceedings of
the IRE 49: 228, Jan. 1961.
[8] S. Joshi, P. Dubey and M. Kaplan, ―A New Parallel Algorithm for CRC Generation,‖
IEEE International Conference on Communications, Vol. 3, pp.18-22, Jun. 2000.
[9] Campobello G, Patane G, Russo M., ―Parallel CRC Realization,‖ IEEE Transactions on
Computers, 52 (10), pp. 1312–1319, 2003.
[10] P.S. Sindhu, ―Retransmission Error Control with Memory,‖ IEEE/ACM Transactions on
Networking, Vol. 25, pp. 473–479, May1977.
[11] S.S. Chakraborty, E.Y., and M. Liinaharja, ―An ARQ Scheme with Packet Combining,‖
IEEE Communications Letters, Vol. 2, pp. 200–202, Jul. 1998.