TW200409510A - Processing unexpected transmission interruptions in a wireless communications system - Google Patents
Processing unexpected transmission interruptions in a wireless communications system Download PDFInfo
- Publication number
- TW200409510A TW200409510A TW91134287A TW91134287A TW200409510A TW 200409510 A TW200409510 A TW 200409510A TW 91134287 A TW91134287 A TW 91134287A TW 91134287 A TW91134287 A TW 91134287A TW 200409510 A TW200409510 A TW 200409510A
- Authority
- TW
- Taiwan
- Prior art keywords
- layer
- rlc
- data
- mac
- pdu
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 56
- 230000006854 communication Effects 0.000 title claims description 53
- 238000004891 communication Methods 0.000 title claims description 52
- 238000012545 processing Methods 0.000 title description 5
- 230000004044 response Effects 0.000 claims abstract description 9
- 230000009471 action Effects 0.000 claims description 37
- 238000000034 method Methods 0.000 claims description 23
- 238000003672 processing method Methods 0.000 claims description 5
- 230000008901 benefit Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 2
- 201000009030 Carcinoma Diseases 0.000 claims 1
- 238000006467 substitution reaction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 23
- 238000012790 confirmation Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
Description
200409510200409510
本發明係有關於一種處理在盔蝮 士 欲at益如山 你…、綠逋成貝枓傳輸過程 中,發生不預期中斷的處理方本·士 ,D T . 1 n 呵幻蛟里万法,尤指在無線鏈結控制 (Rad1〇 Lmk Control、RLC)層與媒體存取控制(Media Access control、MAC)層之間中斷的排程控制。 發明所屬之技術領域 先前技術 1The present invention relates to a processing method that causes unexpected interruption during the transmission process of a helmeted fighter who wants to benefit you ..., green tadpoles, DT. 1 n Refers to the scheduling control of the interruption between the wireless link control (Rad10Lmk Control, RLC) layer and the media access control (Media Access control, MAC) layer. Field of the Invention Prior Art 1
許多的通訊協定通常都運用了三層通訊架構來彼此通 訊。請參考第1圖。第1圖是三層通訊架構協定的方塊圖。 在一般的無線環境中’第一站1 0以無線方式與一個或是多 個第二站20通訊。第一站10中的一通訊應用^產生/了一個 應用§fl息1 1 ’並將此應用訊息1 1遞送到一第三層介面1 2, 以便將此應用訊息11傳送到第二站20。第三層介面12也可 以產生第—層彳s ί虎说息1 2 a ’用以控制第-站1 〇與第二站 之間的第三層操作。譬如說,第三層信號訊息丨2a可以是 一密鑰切換的請求。此密鑰切換請求可個別的由第一站i 〇 與第二站20的第三層介面12、22所產生。第三層介面12以 第二層的服務資料單元(service data units、SDUs)之格 式,遞送應用訊息11或是信號訊息1 2a至第二層介面1 6。Many communication protocols usually use a three-tier communication architecture to communicate with each other. Please refer to Figure 1. Figure 1 is a block diagram of a three-layer communication architecture protocol. In a general wireless environment, the 'first station 10 communicates wirelessly with one or more second stations 20. A communication application ^ in the first station 10 generates / applies an application §fl1 1 1 'and delivers this application message 11 to a third layer interface 12 in order to transmit this application message 11 to the second station 20 . The third-layer interface 12 can also generate a first-layer message, 1 2 a ′, to control the third-layer operation between the first station 10 and the second station. For example, the third layer signal message 2a may be a key switch request. This key switch request can be generated individually by the third layer interfaces 12 and 22 of the first station i 0 and the second station 20. The third layer interface 12 delivers application messages 11 or signal messages 12a to the second layer interface 16 in the form of service data units (SDUs) in the second layer.
第二層的SDU 14有可能有不同的大小。SDU 14攜帶有第三 層介面1 2所欲遞送給第二站2 0的資料,而這樣的資料可能 是信號訊息1 2a,也可能是應用訊息11。第二層介面1 6將 收到的SDU組構成一個或是多個第二層協定資料單元 (protocol data units、PDUs)18。每一個第二層 PDU 18 的長度是固定的。且每一個第二層PDU 18會遞送到第一層The SDU 14 of the second layer may have different sizes. The SDU 14 carries data that the third layer interface 12 wants to deliver to the second station 20, and such data may be the signal message 12a or the application message 11. The second layer interface 16 forms the received SDU group into one or more second layer protocol data units (PDUs) 18. The length of each Layer 2 PDU 18 is fixed. And every second layer PDU 18 will be delivered to the first layer
200409510 五、發明說明(2) 介面19。第一層介面19就是貫體層(physical layer),負 責傳送資料到第二站2 0。被傳送的資料在第二站2 〇的第一 層介面2 9所接收,然後重組成為一個或是多個pD u,接著 往上傳到第二層介面26。第二層介面26接收PDU,然後將 PDU重組而成一個或是多個第二層之SDU,接著往上傳到第 三層介面22。接下來,第三層介面22轉換所接收到的 SDU,使變回一應用訊息21或是一信號訊息223,此訊息理 卿上應该跟第一站1 〇的第三層1 2所出現的原始應用訊息1 1 或是信號訊息1 2a —樣。如果是應用訊息2 1,則會遞送給 第二站20中的通訊應用23處理。在此,一般通訊命名學上 十貝用的定義,PDU指的是一個在某一層與其下層之間傳遞 的資料單元,而S D U指的是某一層與上層之間傳遞的資料 單元。因此,一第三層PDU可能稱為一第二層SDU。同樣道 理,一第二層PDU可能稱為一第一層SDU。為了說明上的清 楚與方便,以下的簡稱”SDU”均指第二層SDU(也就是第三 層PDU),簡稱” PDU”均指第二層PDU(也就是第一層SDU) 了 本發明著重在扮演第三層(負責較高層資料傳輪接收) 與第一層(負責較低層實體傳輸接收)彼此之間緩衝器角色 的第二層介面。請參閱第2圖,第2圖為第二層資料傳輸接 收之處理示意圖。一個發送器3 〇 (可能是一基地台或是一 移動端)的第二層介面3 2,從第三層介面3 3接收到一串的 SDU 34。在此假設這些SDu的大小都不一樣(如同圖上長短 不同所示),且依序編號為1到5。第二層介面將一串的$DU 34轉換成一串的PDU 36。此串PDU假設編號為1到4,且每200409510 V. Description of Invention (2) Interface 19. The first layer interface 19 is the physical layer and is responsible for transmitting data to the second station 20. The transmitted data is received at the first layer interface 29 of the second station 20, and then reassembled into one or more pD u, and then uploaded to the second layer interface 26. The second-layer interface 26 receives the PDU, and then reassembles the PDU into one or more second-layer SDUs, and then uploads it to the third-layer interface 22. Next, the third layer interface 22 converts the received SDU to an application message 21 or a signal message 223. This message should appear on the third layer 12 of the first station 10 The original application message 1 1 or the signal message 1 2a is the same. If it is the application message 21, it is delivered to the communication application 23 in the second station 20 for processing. Here, the definition used in the general communication nomenclature, PDU refers to a unit of data transmitted between a certain layer and its lower layer, and SDU refers to a unit of data transmitted between a certain layer and the upper layer. Therefore, a layer 3 PDU may be called a layer 2 SDU. In the same way, a layer 2 PDU may be called a layer 1 SDU. For clarity and convenience of explanation, the following abbreviations "SDU" refer to the second-layer SDU (that is, the third-layer PDU), and the abbreviation "PDU" refers to the second-layer PDU (that is, the first-layer SDU). The present invention Focus on the second layer interface that plays the buffer role between the third layer (responsible for higher-level data transmission and reception) and the first layer (responsible for lower-level entity transmission and reception). Please refer to Figure 2. Figure 2 is a schematic diagram of the processing of the second layer data transmission and reception. A transmitter 30 (which may be a base station or a mobile terminal) receives a string of SDUs 34 from the second layer interface 3 2 from the third layer interface 33. It is assumed that the sizes of these SDus are different (as shown in the figure), and they are numbered sequentially from 1 to 5. The second layer interface converts a string of $ DU 34 into a string of PDU 36. This string of PDUs is assumed to be numbered 1 to 4, and each
0660-88321wf(η 1);P-90060TW;EDWARD.p td0660-88321wf (η 1); P-90060TW; EDWARD.p td
200409510 五、發明說明(3) 個PDU的長度相同。此串PDU 36送到第一層介面31,準備 進行無線傳輸。相反的流程發生在接收器4 〇 (可能是一基 地台或是一移動端)的第二層介面42,將一串接收到的pDU 46轉變成一串SDU 44。在某些特定的傳輸模式下,多層協 定會要求接收器40中的第二層介面42必須將SDU 44按照順 序送給第三層介面43。也就是說,第二層介面42傳送給第 三層介面43的順序,必須從SDU 1開始,依序至SDU 5為 止。SDU的順序不可弄亂,且在先前的SDU還沒上傳到第三 層之前,後續的SDU不可以往上層傳送。200409510 V. Description of the Invention (3) The lengths of the PDUs are the same. This string of PDUs 36 is sent to the first layer interface 31 and is ready for wireless transmission. The opposite process occurs at the second layer interface 42 of the receiver 40 (which may be a base station or a mobile end), which converts a series of received pDUs 46 into a series of SDUs 44. In some specific transmission modes, the multi-layer agreement may require that the second layer interface 42 in the receiver 40 must send the SDU 44 to the third layer interface 43 in order. In other words, the order in which the second layer interface 42 is transmitted to the third layer interface 43 must start with SDU 1 and end with SDU 5. The order of SDUs must not be disturbed, and subsequent SDUs cannot be transmitted by the previous upper layers before the previous SDUs have been uploaded to the third layer.
在有線通訊環境中,這樣的需求很容易達成。但是, 在雜訊眾多的無線通訊環境中,不管是基地台,還是移動 端,接收器常常會漏收資料。除此之外,在某些傳輸模式 下,如果第二層SDU 34超過一預定時間仍未傳輸成功,、發 送器30的第二層介面32事實上會丟棄這些SDU 34。這種放 棄傳輸之丟棄功能係由每一個SDU所對應的丟棄計時器 (discard timer)來控制。如果一個SM的丟棄計時器超過 了時限(timeout ),該SDU以及相關的PDD就會一起被丟In a wired communication environment, such requirements are easily met. However, in a noisy wireless communication environment, whether it is a base station or a mobile terminal, the receiver often misses data. In addition, in some transmission modes, if the second-layer SDU 34 has not been successfully transmitted for more than a predetermined time, the second-layer interface 32 of the transmitter 30 will actually discard these SDUs 34. The discard function of discarding transmission is controlled by the discard timer corresponding to each SDU. If an SM's discard timer exceeds the timeout, the SDU and the associated PDD will be discarded together.
棄。所以,在應該收到的一串第二層PDU 46中,將有可能 遺漏了一些第二層PDU 36,也許是因為傳送器3〇的丟棄, 也可能是因為接收器4 〇漏收資料。因此,要確保第二層介 面42依序的將SDU 44送給第三層介面43的需求,便是^明 顯的挑戰。就算是不需要”依序”的傳遞模式(也就是系统 不要求SDU 44必須被依序的往上傳遞),在相關的pDu尚未 被正確的接收到之前,任何不完整的31)11 44也不可以往上abandoned. Therefore, in a series of layer 2 PDUs 46 that should be received, some layer 2 PDUs 36 may be missed, either because the transmitter 30 has discarded them or because the receiver 40 has missed the data. Therefore, the need to ensure that the second-layer interface 42 sequentially sends SDU 44 to the third-layer interface 43 is an obvious challenge. Even if the "sequential" delivery mode is not required (that is, the system does not require that SDU 44 must be passed up in order), before the relevant pDu has been received correctly, any incomplete 31) 11 44 also Not before
200409510200409510
五、發明說明(4) 傳送。 無線通訊協定都非常小心地被設計來面對如此門題 大致上而言,有兩種傳送與接收資料的常用模式:確認模 式(acknowledged mode,AM)以及非確認模式 〜異 (unacknowledged mode,UM)傳輸。對於AM資料而古,接 收器40送出一特定的第二層確認信號給發送器3 〇,來土知 已經成功的接收到第二層PDU。發送器30就可以重新傳"送 沒有被成功接收到的AM PDU,以確保接收器40可正確的接 收到所有的PDU。UM模式則沒有如此的確認信號,因此, 不管是否傳輸成功,UM PDU並不會有重傳的動作。在本說 明書中,以AM資料為說明例子。然而,無庸置疑的,ϋΜ資 料也可以運用本發明。請看第3圖,並參考第1圖。第3圖 為一AM資料PDU之化簡後方塊圖,如同在3GPPTM TS 25.322 V3.8.0規範中所載。一般而言,有兩種型態的 PDU :控制PDU與資料PDU。控制PDU通常被第二層介面16及 2 6用來控制資料傳輸與接收之協定;譬如說,先前提到的 用來確認接收到信號之第二層確認信號便是其中之一。此 種第二層介面確認訊息的交換與第三層介面丨2及2 2之間交 換信號訊息1 2a及2 2a有點類似。第二層介面16與26並沒有 解譯或是辨認第三層信號訊息12a與22a,它們僅被當成 SDU資料處理。但是,第二層介面1 6與26會辨認及處理第 二層的控制PDU,因此,第二層控制PDU並不會被上傳至第 三層介面12與22。資料PDU係用來傳送SDU資料,會被第二 站20之第二層介面26重組後,以SDU的形式上傳至第三層5. Description of the invention (4) Transmission. Wireless communication protocols are very carefully designed to face such a problem. Generally speaking, there are two common modes for transmitting and receiving data: acknowledged mode (AM) and unacknowledged mode (unacknowledged mode, UM). )transmission. For AM data, the receiver 40 sends a specific Layer 2 acknowledgment signal to the transmitter 30 to know that it has successfully received the Layer 2 PDU. The transmitter 30 can then retransmit " send AM PDUs that have not been successfully received, to ensure that the receiver 40 can correctly receive all PDUs. In the UM mode, there is no such acknowledgement signal. Therefore, no matter whether the transmission is successful or not, the UM PDU will not be retransmitted. In this manual, AM data is used as an example. However, there is no doubt that the MM data can also be applied to the present invention. Please see Figure 3 and refer to Figure 1. Figure 3 is a simplified block diagram of an AM data PDU, as contained in the 3GPPTM TS 25.322 V3.8.0 specification. Generally speaking, there are two types of PDUs: control PDUs and data PDUs. The control PDU is usually used by the second-layer interfaces 16 and 26 to control the data transmission and reception protocols; for example, the second-layer acknowledgment signal used to confirm the received signal is one of them. The exchange of confirmation messages of the second layer interface is similar to the exchange of signal messages 1 2a and 2 2a between the third layer interfaces 2 and 2 2. The second layer interfaces 16 and 26 do not interpret or recognize the third layer signal messages 12a and 22a, they are only treated as SDU data. However, the second layer interfaces 16 and 26 will recognize and process the second layer control PDUs. Therefore, the second layer control PDUs will not be uploaded to the third layer interfaces 12 and 22. The data PDU is used to transmit SDU data. It will be reassembled by the second layer interface 26 of the second station 20 and uploaded to the third layer in the form of SDU.
200409510 五、發明說明(5) 介面2 2。 第3圖中的PDU 50為一個資料PDU。依照第二層的協 定,資料PDU中切割成許多的欄位(f ield)。第一攔位51為 PDU格式辨識攔位,僅有單一位元,用以表示此pDu為資料 PDU還是控制PDU。如果欄位中的值為1時,這個pDu 50為 一個資料PDU。第二攔位是一序號(sequenCe number,SN) 欄位52。在AM傳輸時,此欄位有1 2個位元長。後續的pj)u 會有較高的序號,以使接收器(亦即第二站)2〇可以正確的 組合所接收到的PDU,然後形成第二層SDU 24。譬如說, 如果帶有序號536的一PDU 18被傳送出去,那接下來的一 PDU就應該帶有序號537,如此類推。一個重傳的pj)u可以 帶有序號535,表示此PDU應該是插放在帶有序號536的PDU 之前。雖然說,在真正的時間上,帶有序號535的pdu比帶 有序號536較晚收到。但是依據接收到之PDU的序號優先順 序,正確的SDU便可以確切的產生。序號攔位52使得重傳 的P D ϋ可以插放在較早收到的p d u之前的適當位置。利用這 個方法,才可以達成資料重傳的目的。在序號欄位52後有 一單一位元的輪詢位元5 3。如果輪詢位元5 3為1,表示接 收器20被要求送出一個確認狀態pDu作為回應。確認狀態 PDU是控制PDU的一種,用來表示PDU之接收狀態。發送器 (亦即第一站)1 0可以設定輪詢位元5 3為1,來要求接收器 20送出一確認狀態PDU。單一位元的欄位54目前預留著, 沒有定義,一般是設定為0。下一個位元55a為一延伸位 元。當位元5 5 a設定為1時,表示以下立刻接上一長度指標200409510 V. Description of the invention (5) Interface 2 2. PDU 50 in Figure 3 is a data PDU. According to the agreement of the second layer, the data PDU is cut into many fields. The first block 51 is a PDU format identification block, which has only a single bit to indicate whether the pDu is a data PDU or a control PDU. If the value in the field is 1, this pDu 50 is a data PDU. The second stop is a serial number (SN) field 52. During AM transmission, this field is 12 bits long. Subsequent pj) u will have a higher serial number, so that the receiver (ie, the second station) 20 can correctly combine the received PDUs, and then form the second layer SDU 24. For example, if a PDU 18 with a serial number of 536 is transmitted, the next PDU should carry a serial number of 537, and so on. A retransmitted pj) u may carry a sequence number 535, indicating that the PDU should be inserted before the PDU with a sequence number 536. Although, in real time, the pdu with the serial number 535 is received later than with the serial number 536. However, according to the sequence of received PDUs, the correct SDU can be generated exactly. The serial number block 52 allows the retransmitted P D ϋ to be inserted in an appropriate position before the p du received earlier. With this method, the purpose of data retransmission can be achieved. Behind the serial number field 52 is a single-bit polling bit 53. If the polling bit 5 3 is 1, it means that the receiver 20 is required to send a confirmation status pDu in response. Acknowledgement status A PDU is a type of control PDU that is used to indicate the reception status of a PDU. The sender (ie, the first station) 10 can set the polling bit 5 3 to 1 to request the receiver 20 to send a confirmation status PDU. The single-bit field 54 is currently reserved, and is not defined, but is generally set to 0. The next bit 55a is an extended bit. When bit 5 5 a is set to 1, it means that the following is immediately connected to a length indicator
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第10頁 200409510 五、發明說明(6) (length indicator,LI) °LI不是有7個位元,就是有15 個位元;用來指出一個第二層SDU在第二層PDU 50中的結 束位置。如果,單單一個SDU就完全佔滿了PDU 50的資料 區域5 8,那位元5 5a就應當為0,表示PDU中沒有L I欄位。 在第3圖的例子中,PDU 50有兩個第二層SDU 57a與57b結 束在第二層PDU 5 0中。所以,就有兩個L I來分別指出第二 層SDU 57a與57b的結尾。接著本PDU 50的後續PDU(以序號 為區別)就有可能有一個LI來指出SDU 57c在其中的結尾。 接在L L之後的延伸位元5 5 b設定為1,表示後續還有一個 LI (就是圖上的LI2)。接在LI2之後的延伸位元55c設定為 〇,表示後續就沒有L I 了,資料區域58就緊接著此延伸位 元55c開始。資料區域58用來放置實際的SDU資料。 請參考第4圖以及第5圖。第4圖為一第二層介面60之 詳細的方塊圖;第5圖為數個傳送時段(t r a n s m i s s i ο η time interval ,TTI)72 的時序圖(time diagram)。第二 層介面60具有一無線鍵結控制(radio link control, RLC)層62 ’位於媒聽存取控制(medium access control,MAC)層64之上,且與MAC層64相互聯結。這樣的 安排可以從習知的3GPPTM的TS 2 5.32 1 V3.9.0規範中得 知。MAC層64作為RLC層62與第一層介面61的中間介面。從 一個上層(RLC層或是更上層)的角度來看,有許多的通訊 通道(channel)已經被建立,而每一個通訊通道都有自己 的傳輸參數。但是,功能上而言,這些通訊通道必須匯集 成一單一的位元串(stream),以呈現給實體的第一層介面0660-8832twf (nl); P-90060TW; EDWARD.ptd Page 10 200409510 V. Description of Invention (6) (length indicator, LI) ° LI has either 7 bits or 15 bits; it is used to indicate End position of a Layer 2 SDU in the Layer 2 PDU 50. If an SDU alone completely fills the data area 5 8 of the PDU 50, the bit 5 5a should be 0, indicating that there is no L I field in the PDU. In the example in Fig. 3, the PDU 50 has two second-layer SDUs 57a and 57b that end in the second-layer PDU 50. Therefore, there are two LIs to indicate the end of the second layer SDUs 57a and 57b, respectively. Subsequent PDUs of this PDU 50 (differentiated by sequence numbers) may have a LI to indicate the end of SDU 57c. The extension bit 5 5 b following L L is set to 1, which means that there is a LI (that is, LI2 in the figure). The extension bit 55c following LI2 is set to 0, which means that there will be no L I in the future, and the data area 58 will start immediately after this extension bit 55c. The data area 58 is used to place actual SDU data. Please refer to Figure 4 and Figure 5. Figure 4 is a detailed block diagram of a second layer interface 60; Figure 5 is a time diagram of a number of transmission periods (t r a n s m i s s i ο η time interval (TTI) 72). The second layer interface 60 has a radio link control (RLC) layer 62 'which is located above the medium access control (MAC) layer 64 and is interconnected with the MAC layer 64. Such an arrangement can be known from the conventional 3GPPTM TS 2 5.32 1 V3.9.0 specification. The MAC layer 64 serves as an intermediate interface between the RLC layer 62 and the first layer interface 61. From the perspective of an upper layer (the RLC layer or higher), many communication channels have been established, and each communication channel has its own transmission parameters. However, functionally, these communication channels must be aggregated into a single bit stream to be presented to the first layer interface of the entity.
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第11頁0660-8832twf (nl); P-90060TW; EDWARD.ptd Page 11
200409510 五、發明說明(7) 1實這體 =AC層/4的主要目的之一。mac層64對每-個 : 在二的m中加以傳送。對於-個通訊通道而 二Um 72的時間長度都是—樣,譬如謂^。但 ,的通訊通道的TTI就可能有不同時間長度。也就 =其i ^RLC實體,TTI有可能有不同的時間長度。 ▲入官κ際的通信運作時,有可能有許多的通訊通道,在討 論中先―行假設僅僅有一個通訊通道’也就是僅僅有一個 RLC層貫體62,以利說明。在每一個·^ 72的時間長度 中’MAC層64送出一整組74的傳輸區塊(transp〇rt bi〇ck) 74a給第一層61來傳送。整組74的傳輸區塊74a含有一預定 數量的傳輸區塊74a。每一個傳輸區塊74a包含有一個RLC pj)u 75,以及一個或有或無的MAC標頭(header)76,視通 訊頻道之性質而定。在一TTI中,所有的1^(: pDU 75(或是 說傳輸區塊74a)都具有一樣的長度。RLC ρΜ 75在一整組 74中的數目,或是說傳輸區塊在一整組的數目,則 可能隨TTI 72不同而不同。譬如說,在第5圖中,第一個 TTI 72中傳送了 6個PDU 75,而下一個丁^ 72傳送了3個 75。實際的PDU資料大小也可能隨m不同而不一樣, 但疋在同一個τ T I中卻必須相同。因此,在每一 τ τ I傳送整 組傳輸區塊之前,MAC層64需告知RLC層62,在該TTI中, 所要的PDU數量以及PDU的大小。這稱為傳輸格式組合 (transport format combination,TFC)選擇,用來安排 從RLC層62到MAC層64之間的資料傳輸流量。TFC選擇使MA(:200409510 V. Description of Invention (7) 1 Reality = One of the main purposes of AC layer / 4. The mac layer 64 transmits in each of two: m. For a communication channel, the duration of the two Um 72 is the same, for example, ^. However, the TTI of the communication channel may have different time lengths. That is, its i ^ RLC entity, TTI may have different lengths of time. ▲ When entering the communication process of the government, there may be many communication channels. In the discussion, first assume that there is only one communication channel, that is, there is only one RLC layer 62 to facilitate the explanation. In each time length of ^ 72, the 'MAC layer 64 sends a whole set of transmission blocks 74a to the first layer 61 for transmission. The transmission block 74a of the entire group 74 contains a predetermined number of transmission blocks 74a. Each transmission block 74a includes an RLC pj) u 75 and a presence or absence of a MAC header 76, depending on the nature of the communication channel. In a TTI, all 1 ^ (: pDU 75 (or transmission block 74a) have the same length. The number of RLC ρ 75 in a whole group 74, or transmission block in a whole group The number may vary with TTI 72. For example, in Figure 5, the first TTI 72 transmitted 6 PDU 75, and the next Ding 72 transmitted 3 75. The actual PDU data The size may also vary with m, but 疋 must be the same in the same τ TI. Therefore, before each τ τ I transmits the entire set of transmission blocks, the MAC layer 64 needs to inform the RLC layer 62 that at this TTI The required number of PDUs and the size of the PDUs. This is called transport format combination (TFC) selection and is used to arrange the data transmission traffic from the RLC layer 62 to the MAC layer 64. The TFC chooses to make MA (:
200409510 五、發明說明(8) 層64得以依據各RLC層實體62不同的需求,來產生一有效 率的位兀串資料給第一層實體介面61。依照TFC選擇的結 果’ SDU 6 5a會先存放在暫存器65,然後被RLC層62分割及 重組成TFC選擇所要求之大小的pDU 65b,接著RLC層62就 遞送TFC選擇要求之數量與大小的pDU至MC層64。如同先 前所述’MAC層64會視通訊頻道之性質在每一個^^ PDU 75之刖加上一 MAC標頭76,成為整組74中的一傳輸區塊 74a。然後’ 一整組74傳輸區塊74a便送到實體的第一層介 面61來送出。200409510 V. Description of the invention (8) The layer 64 can generate an effective bit string data to the first layer physical interface 61 according to the different requirements of each RLC layer entity 62. According to the result of TFC selection ', SDU 6 5a will be stored in register 65 first, and then divided and reassembled into pDU 65b of the size required by TFC selection by RLC layer 62, and then RLC layer 62 will deliver the number and size of TFC selection requirements. PDU to MC layer 64. As mentioned earlier, the 'MAC layer 64 will add a MAC header 76 to each PDU 75 depending on the nature of the communication channel to become a transmission block 74a in the entire group 74. Then a whole set of 74 transmission blocks 74a are sent to the first layer interface 61 of the entity to be sent out.
清參閱第6圖,並對照第4圖。第6圖為先前技術中TFc 選擇的時序圖。為了在一 TTI内至少送出一部分的sdu 65a ’TTI 82的TFC選擇必須在前一個TTI(就是ΤΤι 81)内 完成。在TTI 81中’RLC層62需要告知MAC層64關於RLC實 體之狀悲資料(RLC entity information)84。RLC狀態資Refer to Figure 6 and compare with Figure 4. Figure 6 is a timing diagram of TFC selection in the prior art. In order to send at least a part of sdu 65a 'TTI 82 within a TTI, the TFC selection must be completed in the previous TTI (that is, TTI 81). In TTI 81, the 'RLC layer 62 needs to inform the MAC layer 64 about the RLC entity information 84. RLC status
料84使MAC層64得知有多少SDU資料65a正等著被RLC層62傳 送。對應RLC狀怨資料84,MAC層64回應給RLC層62 —TFC資 料請求86。TFC資料請求86指示RLC層62傳送給MAC層64之 PDU 6 5b的大小與數量。上述了^資料請求86 *pDU之數量 可能並不足以涵括所有待傳的SDU資料65a。如果是這樣, RLC層需要在TTI 82中,進行另一次的TFC選擇,以便在下 一個TTI 83中,傳送剩餘的SM資料65a。不論TFC資料請 求8 6疋否足以涵括所有的§ d u資料6 5 a,R L C層6 2依照T F C資 料請求86,將適當數量的SM資料6 5a組合成所要求大小的 PDU 65b。然後,這些pj)u 65b就以一整組88的方式,遞送The material 84 enables the MAC layer 64 to know how many SDU data 65a are waiting to be transmitted by the RLC layer 62. Corresponding to the RLC complaint data 84, the MAC layer 64 responds to the RLC layer 62—TFC data request 86. The TFC data request 86 indicates the size and number of PDUs 6 5b transmitted by the RLC layer 62 to the MAC layer 64. The number of data requests 86 * pDU mentioned above may not be enough to cover all the SDU data 65a to be transmitted. If so, the RLC layer needs to make another TFC selection in TTI 82 in order to transmit the remaining SM data 65a in the next TTI 83. Regardless of whether the TFC data request 8 6 is sufficient to cover all § d u data 6 5 a, the R L C layer 62 2 complies with the T F C data request 86 and combines an appropriate amount of SM data 6 5a into a PDU 65b of the required size. These pj) u 65b are then delivered in a set of 88
0660-8832twf(nl);P-90060TW;EDWARD.ptd0660-8832twf (nl); P-90060TW; EDWARD.ptd
200409510 五、發明說明(9) 給MAC層64。在TTI 82中,MAC層64處理該整組88的?1)1] 65b,然後送給第一層介面61。在TTI 82中,也會為TTI 83的資料傳輸,再次進行一次ττι選擇。而被組合到pDU 6 5b中的SDU資料65a就會從暫存器65中移除。200409510 V. Description of the invention (9) To the MAC layer 64. In TTI 82, does the MAC layer 64 handle the whole set of 88? 1) 1] 65b, and then send it to the first layer interface 61. In TTI 82, ττι selection is performed again for data transmission of TTI 83. The SDU data 65a combined into pDU 6 5b is removed from the register 65.
SDU 65a也有可能因為逾時(timeout)而從暫存器65中 移除。每一個SDU 65a有一個有效期限(expiratiQn time),而且由一個丟棄計時器所追蹤。如果,丟棄計時 器指出一個SDU 65a已經超過了他的有效期限了 ,這個SDU 65a便會從暫存器65中移除丟棄,而不會被傳送出去。由 R L C層6 2的觀點來看,這可能是在任何時候都會發生的隨 機事件。而這樣的事件也可能發生在RLC層62送出RLC狀態 資料84後’ k成RLC層62貫際上所擁有的待傳sdu 65a數目 比RLC狀態資料84所描述的少。但是,一但乂^層“回應一 T F C資料睛求8 6後,R L C層6 2便必須傳送符合τ j? c資料請求 86所要求的大小與數量的PDU。若沒有照著要求執行明便 會照成该無線通訊元件的軟體錯誤。這一問題在先前技術 中已經遭遇到,而且對於資料傳輸的排程上是非常重要 的。先前技術中,如果RLC層62告知-(^層“關於SM 65a 已經準備好被傳送後,一 SD U 6 5 a發生了逾時情形,實際 上的丟棄動作將會延遲到下一個TTI進行。利用此方法, RLC層62可以確保有足夠的SDU來構成一整組“的⑼^。在 ΤΤί 82中,逾時的SDU如果不在該ni “預定傳送的該整 組PDU之内,便可以在為7TTI 83所做的TFC選擇之前,直 接丟棄,不需延遲丟棄動作。SDU 65a may also be removed from the register 65 due to timeout. Each SDU 65a has an expiratiQn time and is tracked by a discard timer. If the discard timer indicates that an SDU 65a has exceeded its expiration date, the SDU 65a will be discarded from the register 65 without being transmitted. From the perspective of the R L C layer 62, this may be a random event that can occur at any time. And such an event may also occur after the RLC layer 62 sends the RLC status data 84, and the number of sdu 65a to be transmitted in the RLC layer 62 is generally smaller than that described in the RLC status data 84. However, as soon as the “layer” responds to a TFC data request for 8 6, the RLC layer 6 2 must transmit a PDU of the size and number required by τ j? C data request 86. If it is not implemented as required It will be regarded as a software error of the wireless communication component. This problem has been encountered in the prior art and is very important for the scheduling of data transmission. In the prior art, if the RLC layer 62 informs-(^ layer "about After SM 65a is ready to be transmitted, an SD U 6 5 a timeout occurs, and the actual discard action will be delayed to the next TTI. Using this method, the RLC layer 62 can ensure that there are enough SDUs to constitute A whole set of "⑼ ^. In Τί82, if the timed out SDU is not within the whole set of PDUs scheduled to be transmitted, it can be discarded directly before the TFC selection made for 7TTI 83 without the need of Delay the discard action.
200409510 五、發明說明(ίο) 但是,除了上述狀況之外 斷狀況,為先前技術所未考旦卜$’16^有其他非預期的資料中 照第4圖以及第6圖。大多的。請回看第1圖,並參 介面12傳給第二層介面16的於八 、冲中斷疋由第一層 、生劣 πει ,DT P J 夺日々(c〇_and primitive)所 造成。因此,由RLC層62的角声而a 抓*山 期的。這些中斷包含有停j度而;,那些中斷是無法預 舌奢, (st〇P)、暫停(suspend)以及 重建(re-establish)指令。^ 吉从, μ ^ 此外,第二層的重置(reset) $件也疋一個非預期的資料中斷的原因。當第三層介面決 疋要切f基地口日守,第二層介面12便啟動了 一個第二層介 面16的停产收發的指令。停止指令要求第二層介面12立刻 中止SDU貧料6 5a的傳送。所以,就算TFC資料請求已經收 =了,PDU 6 5b也必須由待送至ΜΑ(:層的狀態中撤回,變成 停止傳运狀態。重建動作是由第三層介面12啟動,第三層 介面12會發出一重建指令到第二層介面來重建一通訊通 道。如同重建指令字面上的意思一樣,一通訊通道將會完 全的關閉’然後重建。相同的,重建指令發生時,可能使 MAC層64停留於一TFC資料請求沒有被滿足的狀態。當第三 層介面1 2決定變更第一站1 〇與第二站2 〇之間的加密架構 時,第三層介面1 2會啟動暫停指令。暫停指令,以帶有參 數η的方式’由弟二層介面12發送給第二層介面16。這個 參數η規定第二層介面16,在接著送出η個PDU 65b之後, 就停止傳送資料。這個參數η的目的在於提供足夠的時間 (以PDU為計算單位),使第一站1〇與第二站20之間能完成 密鑰同步的程序。通常,如果η足夠大,RLC層62將會有足200409510 V. Description of the invention (ίο) However, in addition to the above conditions, there are other unexpected materials that have not been tested by the prior art. Figures 4 and 6 are shown. Most of them. Please refer back to the first figure, and refer to the eighth pass from the interface 12 to the second layer interface 16 caused by the first layer, the poor πει, DT P J and the sun. Therefore, the horn sound of the RLC layer 62 is used to capture the peak period. These interruptions include stop-degrees; those interruptions are unpredictable, (stOP), suspend, and re-establish instructions. ^ Ji Cong, μ ^ In addition, the reset $$ of the second layer also caused an unexpected data interruption. When the third-level interface is determined to cut the base station's day guard, the second-level interface 12 starts a stop-and-send command for the second-level interface 16. The stop instruction requires the second layer interface 12 to immediately stop the transmission of the SDU lean material 65a. Therefore, even if the TFC data request has been received, the PDU 6 5b must be withdrawn from the state to be sent to the MA (: layer) to stop the transport. The rebuilding action is initiated by the third layer interface 12 and the third layer interface 12 will issue a rebuild command to the second layer interface to rebuild a communication channel. As the rewrite command literally means, a communication channel will be completely closed and then rebuilt. Similarly, when the rebuild command occurs, it may cause the MAC layer 64 stays in a state where a TFC data request is not fulfilled. When the third layer interface 12 decides to change the encryption structure between the first station 10 and the second station 20, the third layer interface 12 will start a pause instruction. The pause command is sent by the second-level interface 12 to the second-level interface 16 in a manner with a parameter η. This parameter η specifies the second-level interface 16 and stops transmitting data after sending n PDUs 65b next. The purpose of this parameter η is to provide enough time (using PDU as the calculation unit) to enable the key synchronization procedure between the first station 10 and the second station 20. Generally, if η is large enough, the RLC layer 62 will meeting Enough
200409510 五、發明說明(li) --—-- 夠的警不時間,來預先準備而不會導致_TFC資料請求不 能被滿足。但是,如果n很小,RLC層62也許就必須撤回 送的PDU 6 5b,使得TFC資料請求不能被滿足。最後說明重 置動作。當一通訊通道備偵測到通訊錯誤時,第二層介 16會進行重置動作。本質上,這些通訊錯誤是不可預期 的,而且,第一站10或是第二站其中之一都有可能觸發這 樣的重置動作。重置動作會使所有的狀態變數(state variable)以及相對應一通訊通道之所有暫存器中所存的 一貝料被清除或是被設定為預設值。因此,在重置動作下 SDU 65a或是PDU 65b都會被移除,因此,便有可能導致’ MAC層64停留於等候一TFC資料請求無回應的狀態。 發明内容 有鑑於此,本發明的主要目的 ▼ 在於提供一種方法以 及相對應的系統,來處理,在無線通訊系統中的一岸 與MAC層之間,所發生的非預期傳輸中斷的情況。 曰 根據上述之目的,本發明提出一種無線通訊元件中, 在-RLC層與-MAC層之間的傳輸排程發生非預期資料 的處理方法與系統。該RLC層提供RLC實體訊息給該MC辦 層。該RLC實體訊息指出該RLC層具有SDU等待被傳送。 提出該RLC實體訊息後,該RiX層收到—非預期#料, ,求該RLC層放棄或是中斷傳輸該_。 息,該MAC發出一MAC請求,要求該RLC層至少送二=況 PDU。呼應該MAC請求,該RLC層送給該mAc層至一 * PDU,以取代被丟棄的SDU。另—種做法是將原本該^的200409510 V. Description of the invention (li) ----- sufficient time is not enough to prepare in advance without causing the _TFC data request to be unsatisfied. However, if n is small, the RLC layer 62 may have to withdraw the sent PDU 6 5b, so that the TFC data request cannot be satisfied. Finally, the reset operation will be explained. When a communication channel detects a communication error, the second layer 16 will perform a reset operation. In essence, these communication errors are unpredictable, and either the first station 10 or the second station may trigger such a reset action. The reset action will clear all state variables and all materials stored in all registers of a corresponding communication channel, or set them to default values. Therefore, the SDU 65a or PDU 65b will be removed under the reset action, so it may cause the 'MAC layer 64 to stay in a state waiting for a TFC data request without response. SUMMARY OF THE INVENTION In view of this, the main object of the present invention is to provide a method and a corresponding system to deal with the unintended transmission interruption between a shore in a wireless communication system and the MAC layer. According to the above object, the present invention proposes a method and system for processing unexpected data in a wireless communication element between a -RLC layer and a -MAC layer. The RLC layer provides RLC entity information to the MC office layer. The RLC entity message indicates that the RLC layer has an SDU waiting to be transmitted. After presenting the RLC entity message, the RiX layer received —unexpected #, and asked the RLC layer to give up or interrupt the transmission of the _. Message, the MAC sends a MAC request, asking the RLC layer to send at least two = PDUs. In response to the MAC request, the RLC layer sends the mAc layer to a * PDU to replace the dropped SDU. Another way is to change what should be
200409510 五、發明說明(12) SDU予以保留,等到下一個TTI才丟棄。 本發明之優點在於,不論傳輸中斷是否發生,該RLC 層總是符合該M A C請求的要求’提供足夠的資料給該μ A C 層,因此,避免了軟體不穩定的危險。 為使本發明之上述目的、特徵和優點能更明顯易懂, 下文特舉一較佳實施例,並配合所附圖式,作詳細說明如 下: 實施方式: « 在以下的描述中,發送器或接收器可以是行動電話 (cellular telephone)、個人數位助理(per sona ι digital assistant,PDA)、個人電腦(pers〇nai computer,PC)或是任何其他使用無線通訊協定(wireless communications protocol)的元件。本發明可以應用於發 明背景所談論的無線通訊協定或是其他的無線系統。在詳 讀本說明書後’熟習此技術領域的人士便可以修改習知技 術’以貫現本發明與習知技術的不同點。 請參閱第7圖,第7圖為實現本發明之一無線通訊元件 100的方塊圖。無線通訊元件100包含有一處理器11〇以及 一記憶體1 2 0。記憶體1 2 0保存了處理器丨丨〇所要執行的程 式碼(program code)130。當然的’無線通訊元件1〇〇還需 要許多熟悉此技術領域人士所知的其他元件。只不過那 其他元件與本發明無關,所以在此說明書中加以省略。程 式瑪1 3 0用來貫現無線通訊協定。而此通訊協定包含有一 應用層(application layer)134、—第三層介面133、一 200409510 五、發明說明(13) 第二層介面132以及一第一層介面131。其他種處理器11〇 與記憶體之間的安排,以及程式碼1 3 0如何使兩者互動 等,都可能可以接受。且用來實現第一層介面131的各種 硬體或是軟體介面也可能可以接受。第7圖中的方塊圖僅 僅是一個簡化圖,而並非是唯一的實施例。不論是以何種 方式實現本發明,本發明的主要重點在於無線通訊協定自 己’特別是第二層介面132的部分。200409510 V. Description of the invention (12) The SDU is reserved and will not be discarded until the next TTI. The advantage of the present invention is that, regardless of whether a transmission interruption occurs, the RLC layer always meets the requirements of the MAC request to provide sufficient data to the μ AC layer, so the danger of software instability is avoided. In order to make the above-mentioned objects, features, and advantages of the present invention more comprehensible, a preferred embodiment is given below in conjunction with the accompanying drawings, and described in detail as follows: Implementation: «In the following description, the transmitter Or the receiver can be a cellular telephone, a personal digital assistant (PDA), a personal computer (PC), or any other component using a wireless communications protocol . The invention can be applied to wireless communication protocols or other wireless systems as discussed in the background of the invention. After reading this specification, 'a person familiar with this technical field can modify the known technology' to realize the differences between the present invention and the known technology. Please refer to FIG. 7. FIG. 7 is a block diagram of a wireless communication component 100 according to the present invention. The wireless communication device 100 includes a processor 110 and a memory 120. The memory 1 2 0 stores a program code 130 to be executed by the processor. Of course, the 'wireless communication element 100' requires many other elements known to those skilled in the art. It is just that those other elements are not relevant to the present invention and are omitted in this description. Cheng Shima 130 is used to implement wireless communication protocols. The communication protocol includes an application layer 134, a third layer interface 133, a 200409510, a description of the invention (13) a second layer interface 132, and a first layer interface 131. Other arrangements between the processor 110 and the memory, and how the code 130 makes the two interact, may be acceptable. And various hardware or software interfaces used to implement the first layer interface 131 may also be acceptable. The block diagram in Fig. 7 is only a simplified diagram and is not the only embodiment. Regardless of the manner in which the invention is implemented, the main focus of the invention is on the wireless communication protocol itself ', especially the portion of the second layer interface 132.
第一層介面132被分割成數層’包含有一 RLC層142以 及在其下的MAC層。RLC層142負責與第三層介面133互動, 且以SDU的形式,接收第三層資料,並存放在暫存器143 中。RLC層142也從第三層介面133接收指令,譬如說之前 討論過的暫停、停止以及重建指令。RLC層1 42使用SDU 141來產生PDU 145,然後將PDU 145送到MAC層144,準備 傳送出去。傳送到MAC層144之PDU 145的大小與數量,是 由MAC層144送到RLC層142的一TFC資料請求所指定。MAC層 144送出一TFC資料請求的時機,是在於RLC層142以RLC狀 態資料格式告知MAC層144,說RLC層142中具有待傳SDU資 料量之後。 在第一實施例中,本發明的方法是使RLC層142提供至 少一填空(padding)PDU 150,來滿足MAC層144所產生的 TFC資料請求。此填空PDU 150並不帶有真正的SDU資料 141,且僅僅用於當SDU資料141因為不預期資料中斷發生 而被丢棄的時候。請參閱第8 a圖,第8 a圖為一個填空p D U 1 5 0之詳細方塊圖。填空p d u 1 5 0 a是一個標準的確認模式The first layer interface 132 is divided into several layers' including an RLC layer 142 and a MAC layer below it. The RLC layer 142 is responsible for interacting with the third layer interface 133, and receives the third layer data in the form of SDU and stores it in the temporary register 143. The RLC layer 142 also receives commands from the third layer interface 133, such as the pause, stop, and rebuild commands discussed previously. The RLC layer 1 42 uses the SDU 141 to generate a PDU 145, and then sends the PDU 145 to the MAC layer 144, ready to be transmitted. The size and number of PDUs 145 transmitted to the MAC layer 144 are specified by a TFC data request sent from the MAC layer 144 to the RLC layer 142. The timing for the MAC layer 144 to send a TFC data request is after the RLC layer 142 informs the MAC layer 144 in the RLC state data format that the RLC layer 142 has the amount of SDU data to be transmitted. In the first embodiment, the method of the present invention is to make the RLC layer 142 provide at least one padding PDU 150 to satisfy the TFC data request generated by the MAC layer 144. This blank PDU 150 does not carry real SDU data 141, and is only used when the SDU data 141 is discarded because of unexpected data interruption. Please refer to Figure 8a. Figure 8a is a detailed block diagram of p D U 1 50. Fill in the blank p d u 1 5 0 a is a standard confirmation mode
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第18頁 2004095100660-8832twf (nl); P-90060TW; EDWARD.ptd Page 18 200409510
(acknowledged mode ’AM)資料 PDU,所以PDU格式辨識攔(acknowledged mode ’AM) data PDU, so the PDU format identification block
位151a設定為1。序號攔位152&是一個標準序號,而輪詢 位元1 53a可為0或1 (由第二層介面丨32依據輪詢狀態定 義)。攔位154a保留,其值設為〇。接著的延伸位元155&總 是設為1,來表示其後緊接著一個!^ l56a。但是,u 〜 1 5 6a中設定了一特別碼,全部位元都是1。此特別碼所表 達的長度將會大幅的超過資料區域的總長度。依照RLC實 體對LI長度的疋義’實際上156a所佔有的長度可能是7 位元或是15位元。在第8a圖中,LI長度為15位元。這個特 別的LI 156a表示剩下的pDU i5〇a未定義的部分都只是填 空’都只是帶有可以忽略,沒有定義的訊息。然而,緊接 L I 1 5 6 a之後的下一位元1 5 7 a必須為0,來表示其後就是 SDU資料區域158a的開始。SDU資料區域158a中的内容沒有 被定義,純粹是填滿位置用。須注意的是,在UM傳輸下, 使用UM資料PDU格式作為填空pdu之用。第8b圖為一UM資料 填空PDU 15 0b的方塊圖。相對上來說,UM資料填空PDU 1 5 0 b在結構上是簡單多了,有一七位元長度的序號欄位 15 2b,緊跟著一延伸位元155b(設為1),接著一全部設為1 之的七位元長度的L I 1 5 6b (表示在之後之資料為填空攔 位),還有一個設定為〇的最後的延伸位元157b(表示之後 沒有L I)。LI 1 56b的實際位元長度是按照上層1 33所定義 UM RLC實體中的最大UMD PDU大小而定,可能是7或是15位 元長度。在第8b圖中,LI的位元長度是7位元。如同先前 所述,因為整個PDU 150b是一個填空PDU,SDU資料區域Bit 151a is set to one. The serial number block 152 & is a standard serial number, and the polling bit 1 53a can be 0 or 1 (defined by the second layer interface 32 according to the polling status). Block 154a is reserved and its value is set to zero. The next extended bit 155 & is always set to 1 to indicate that it is followed by! ^ L56a. However, a special code is set in u to 1 5 6a, and all bits are 1. The length expressed by this special code will greatly exceed the total length of the data area. According to the definition of LI length by RLC entity ’, the length occupied by 156a may be 7 bits or 15 bits. In Figure 8a, the LI length is 15 bits. This special LI 156a means that the remaining undefined parts of the pDU i50a are just filled in, and they are just with a message that can be ignored and not defined. However, the next bit 1 5 7 a immediately after L I 1 5 6 a must be 0 to indicate that the following is the start of the SDU data area 158a. The content in the SDU data area 158a is not defined, and it is purely for filling the position. It should be noted that under UM transmission, the UM data PDU format is used as a fill-in-pdu. Fig. 8b is a block diagram of a UM data filling blank PDU 15 0b. Relatively speaking, UM data fill in blank PDU 1 50b is much simpler in structure, there is a seven-bit length serial number field 15 2b, followed by an extended bit 155b (set to 1), and then all A seven-bit length of LI 1 5 6b set to 1 (indicating that the following data is a fill-in block), and a final extension bit set to 0 (indicating that there is no LI afterwards). The actual bit length of LI 1 56b is based on the maximum UMD PDU size in the UM RLC entity defined by upper layer 1 33, which may be 7 or 15 bit length. In Figure 8b, the bit length of LI is 7 bits. As mentioned earlier, because the entire PDU 150b is a blank PDU, the SDU data area
0660- 88321wf (η 1); P- 90060TW; EDWARD. ρ td 第 19 頁 200409510 發明說明(15) 1 5 8 b是沒有定義的,可以放入任何值。 較佳實施例利用了填空PDU(AM rLC實體使fflpDU 15〇a 而UM RLC實體使用PDU 150b)當成替代的PDU 15〇。這些替 代PDU 150當成填充物,傳給MAC層144,以滿足該MAC層 144發出的一TFC資料請求中,所需要的PDU大小與數量。 請參考第9圖,並對照第7圖、8a與8b圖。第9圖為依 據本發明的資料傳輸時序圖。如同先前所述,MAC層丨44為 RLC層142定出了一連串等長度的ττΐ。為了使TTI 162期間 内能夠傳送資料,關於資料排程的T F C選擇必須在前一個 TTI 161完成。為了起始一個TFC選擇,RLC層142發出RLC # 狀態資料1 64給MAC層144。如同先前所述,RLC狀態資料 164告知MAC層144有多少SDU資料141存放在RLC層142之暫 存器143中等待傳送。一段時間之後,MAC層144針對RLC狀 態資料164回應一TFC資料請求166,來規範RLC層該傳送給 MAC層144多少以及多大的PDU。RLC層142接著分割及組合 SDU,產生符合TFC資料請求166的PDU 145,然後將所有的 PDU 145當成一整組168送給MAC層144。這樣便完成了TTI 162内傳輸所需要的TFC選擇,而TTI 163内傳輸所需要的 TFC選擇則在TTI 162内完成。 _ 非預期資料中斷可能發生在任何時間,譬如說,在 RLC狀態資料164給MAC層144的時間點,到整組16 8的PDU 1 45給MAC層1 44的時間點之間。就第一實施例而言,非預 期資料中斷可能是因為計時器133d逾時所導致的SDU 141 丟棄事件發生,第三層介面所發出的指令所導致的暫停、0660- 88321wf (η 1); P- 90060TW; EDWARD. Ρ td page 19 200409510 Description of the invention (15) 1 5 8 b is undefined and can be put in any value. The preferred embodiment utilizes a fill-in-PDU (the AM rLC entity uses fflpDU 150a and the UM RLC entity uses PDU 150b) as a replacement PDU 150. These replacement PDUs 150 are used as padding and passed to the MAC layer 144 to satisfy the required PDU size and number in a TFC data request sent by the MAC layer 144. Please refer to Figure 9 and compare Figures 7, 8a and 8b. Fig. 9 is a timing chart of data transmission according to the present invention. As mentioned earlier, the MAC layer 44 defines a series of equal length ττΐ for the RLC layer 142. In order to be able to transmit data during the TTI 162 period, the T F C selection for data scheduling must be completed in the previous TTI 161. To initiate a TFC selection, the RLC layer 142 sends RLC # status data 1 64 to the MAC layer 144. As described earlier, the RLC status data 164 informs the MAC layer 144 how many SDU data 141 are stored in the register 143 of the RLC layer 142 and waiting for transmission. After a period of time, the MAC layer 144 responds to a TFC data request 166 with respect to the RLC status data 164 to regulate how many PDUs the RLC layer should transmit to the MAC layer 144. The RLC layer 142 then divides and combines the SDUs to generate PDUs 145 that conform to the TFC data request 166, and then sends all the PDUs 145 as a whole group 168 to the MAC layer 144. This completes the TFC selection required for transmission within TTI 162, while the TFC selection required for transmission within TTI 163 is completed within TTI 162. _ Unexpected data interruption may occur at any time, for example, between the time point when the RLC status data 164 is given to the MAC layer 144, and the time point when the entire group of PDUs 1 45 is given to the MAC layer 1 44. As far as the first embodiment is concerned, the unexpected data interruption may be caused by the SDU 141 discard event caused by the timer 133d timeout, the pause caused by the instruction issued by the third layer interface,
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第20頁 2004095100660-8832twf (nl); P-90060TW; EDWARD.ptd Page 20 200409510
停止f重建動作,或是第二層AM RLC本身的重置動作。舉 例來说’非預期資料中斷可能發生在第9圖中的時間點 169a(剛好在TFC資料請求166出現之前)或是時間點 1 :9b(>剛好在TFC資料請求1 μ出現之後)。在任何一種狀 態’萬一非預期資料中斷(於時間點169a或1691)發生)造成 IRLC^層142中的SDU資料141不足以滿足TFC資料請求166中 資料量的要求,RLC層142便建造出相當數量的與正確大小 的填空PDU,來滿足TFC資料請求1 66中的要求。譬如說, 如果在時間點16 9b,從第三層介面133來的一個重建命令 指令導致了在暫存器143中的SDU在傳輸中被丟棄或是被中 斷’且由MAC層166發出的TFC資料請求166要求5個PDU,每 一個PDU大小為220個八位元組(octet ),則RLC將建構出5 個填空PDU,每個大小為220個八位元組,然後將這5個pDU 以一整組168的方式,送給MAC層,來符合TFX資料請求 166。這5個填空PDU便取代了因為重建動作所導致的非預 期資料中斷(在時間點丨69b發生)而被丟棄或中斷的 1 4 1。至於另一個例子,假設因為丟棄計時器丨3 3d逾時而 觸發了丟棄事件,使得一SDU 141被丟棄了。這個事件也 許會造成RLC層1 42短少了一個PDU來滿足一tfc資料請求 1 6 6 (要求每個大小為1 5 0個八位元組的8個p d u)。發生以上 的假設時,RLC層142可以產生一個填空pDu 150來取代因 為被丟棄SDU 141d所短少的那一個PDU,然後將填空PDU 150跟其他正常的資料PDU 145 —起,成為一整組168,以 滿足TFC資料請求166。Stop the f-reconstruction action or the reset action of the second-layer AM RLC itself. For example, ‘unexpected data interruption may occur at time point 169a (just before the TFC data request 166 appears) in FIG. 9 or at time point 1: 9b (> just after the TFC data request 1 μ appears). In any of the states' in case unexpected data interruption (occurs at time point 169a or 1691) causes the SDU data 141 in the IRLC ^ layer 142 to be insufficient to meet the data volume requirements in the TFC data request 166, the RLC layer 142 is constructed A significant number of blanked PDUs with the correct size to satisfy the requirements in TFC Data Request 166. For example, if at time 16 9b, a reconstruction command from the third layer interface 133 caused the SDU in the register 143 to be discarded or interrupted during transmission 'and the TFC issued by the MAC layer 166 The data request 166 requires 5 PDUs, each with a size of 220 octet, and the RLC will construct 5 blank PDUs, each with a size of 220 octets, and then the 5 pDUs A set of 168 is sent to the MAC layer to comply with the TFX data request 166. These five blank-fill PDUs replace the discarded or interrupted 1 4 1 due to unanticipated data interruption (occurring at time point 69b) caused by the reconstruction action. As another example, suppose that a discard event is triggered because the discard timer 3 3d expires, so that an SDU 141 is discarded. This event may cause the RLC layer 1 42 to be missing one PDU to satisfy a tfc data request 1 6 (requiring 8 p du u each of 150 octets in size). When the above assumptions occur, the RLC layer 142 can generate a fill-in pDu 150 to replace the PDU that is short because of the discarded SDU 141d, and then combine the fill-in PDU 150 with other normal data PDUs 145 into a whole group of 168. To meet TFC information request 166.
200409510200409510
以上所述,填空PDU當成取代用PDU,來填補因為闕漏 的SDU資料所產生的空缺。但是,除了填空pDu之外,也有 其他形式的PDU也可以當成取代用PDU。譬如說,在AM傳輪 中,具有保留位元154為1的不合乎規則PDU就可以拿來當 成取代用PDU。或是說,先前傳送過,舊的pdu也可以當成 取代用PDU。重點在於,必須有適當數量與大小的PDU傳送 給MAC層,以滿足TFC資料請求。As mentioned above, filling the blank PDU is used as a substitute for the PDU to fill the gap caused by the missing SDU data. However, besides filling the pDu, there are other forms of PDUs that can be used as replacements. For example, in the AM round, an irregular PDU with a reserved bit 154 of 1 can be used as a replacement PDU. In other words, the old pdu can be used as a replacement for PDU. The important point is that an appropriate number and size of PDUs must be transmitted to the MAC layer to satisfy the TFC data request.
在第二實施例中,當一非預期資料中斷發生在RLC實 體訊息1 64傳送到MAC層1 44之後發生時,那麼,正常情形 下該丟棄或是該中斷的SDU就不要進行丟棄或是中斷,直 等到下一個TT I的開始才開始進行丟棄或是中斷的動作。In the second embodiment, when an unexpected data interruption occurs after the RLC entity message 1 64 is transmitted to the MAC layer 1 44, then under normal circumstances, the discarded or interrupted SDU should not be discarded or interrupted. , Wait until the start of the next TTI before discarding or interrupting.
如此的非預期資料中斷可能是因為第三層介面所發出的指 令所導致的暫停、停止與重建動作,或是因為第二層AM RLC重置動作。譬如說,假使一am RLC重置動作發生在時 間點169a或是169b。在正常的情形下,一am RLC重置動作 會導致所有的S D U資料1 41以及所有的p d U 1 4 5立刻的被丢 棄。但是’依據本發明之第二實施例的方法,不論是丟棄 SDU 141或是丟棄PDU 145,這樣丢棄的動作都會延遲到下 一個TTI(也就是TTI 162),因此,RLC層142還會有足夠的 SDU資料141來滿足TFC資料請求。萬一資料中斷發生在時 間點1 6 8 (整組P D U送給M A C層1 4 4 )之後,且發生在下一個 TTI内的RLC狀態資料1 70送給MAC層144之前,那麼因為RLC 層142並不被RLC狀態資料所限定,不論SDU 141或是PDU 1 4 5都可以直接丟棄。Such unexpected data interruption may be caused by a pause, stop and rebuild action caused by a command issued by the third layer interface, or by a second layer AM RLC reset action. For example, if an am RLC reset occurs at time point 169a or 169b. Under normal circumstances, one am RLC reset action will cause all S D U data 1 41 and all p D U 1 4 5 to be immediately discarded. However, according to the method of the second embodiment of the present invention, regardless of whether the SDU 141 or the PDU 145 is discarded, the discarding action will be delayed to the next TTI (that is, TTI 162). Therefore, the RLC layer 142 will still have Sufficient SDU data 141 to satisfy the TFC data request. In case the data interruption occurs after the time point 1 6 8 (the entire group of PDUs is sent to the MAC layer 1 4 4) and before the RLC status data 1 70 in the next TTI is sent to the MAC layer 144, then because the RLC layer 142 and Not limited by RLC status data, either SDU 141 or PDU 1 4 5 can be discarded directly.
200409510200409510
五、發明說明(18) 相較於先前技術,本發明確保TFC資料請求總是保持 在被滿足的狀態。一種方法是以填空PDU取代原本帶有資 料的PDU,另一種方法是延遲對應於非預期資料中斷所應 發生的SDU丟棄或是中斷,直到下一個ττΐ。藉由確保TFC 為料請求保持在被滿足的狀態,可以避免非預期的軟體問 通’改善無線通訊元件的穩定度。 本發明雖以較佳實施例揭露如上,然其並非用以限定 本發明’任何熟習此項技藝者’在不脫離本發明之精神和 範圍内,當可做些許的更動與潤飾,因此本發明之保護範 圍當視後附之申請專利範圍所界定者為準。V. Description of the invention (18) Compared with the prior art, the present invention ensures that the TFC data request is always maintained in a fulfilled state. One method is to fill in the blank PDU to replace the original PDU with data, and the other method is to delay the discarding or interruption of the SDU that should occur corresponding to an unexpected data interruption until the next ττΐ. By ensuring that the TFC requests are kept in a fulfilled state, unexpected software issues can be avoided 'and the stability of the wireless communication components can be improved. Although the present invention is disclosed as above with a preferred embodiment, it is not intended to limit the present invention, "any person skilled in the art" can do some modifications and retouching without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall be determined by the scope of the attached patent application.
200409510 圖式簡單說明 第1圖是三層通訊架構協定的方塊圖; 第2圖為第二層資料傳輸接收之處理示意圖; 第3圖為一 AM資料ρου之格式方塊圖; 第4圖為一第二層介面60之方塊圖; 第5圖為一傳送時段時序圖; 第6圖為先前技術中TFC選擇的時序圖; 第7圖為實現本發明之一無線通訊元件1 〇 〇的方塊圖 第8a圖為一 AM資料填空PDU 150之方塊圖; 第8b圖為一 UM資料填空PDU 150b的方塊圖;以及 第9圖為依據本發明的資料傳輸時序圖。 符號說明: 10第一站 20第二站 1 1 2 1應用訊息 1 2 22 3 3 4 3第三層 1 2a 22a信號訊息 1 3 2 3通訊應用200409510 Brief description of the diagram. Figure 1 is a block diagram of a three-layer communication architecture protocol; Figure 2 is a schematic diagram of the processing of the second layer of data transmission and reception; Figure 3 is a format block diagram of AM data ρου; Figure 4 is a Block diagram of the second layer interface 60; FIG. 5 is a timing diagram of a transmission period; FIG. 6 is a timing diagram of TFC selection in the prior art; and FIG. 7 is a block diagram of a wireless communication element 100 that implements the present invention FIG. 8a is a block diagram of an AM data blanking PDU 150; FIG. 8b is a block diagram of a UM data blanking PDU 150b; and FIG. 9 is a data transmission timing diagram according to the present invention. Explanation of symbols: 10 first station 20 second station 1 1 2 1 application message 1 2 22 3 3 4 3 third layer 1 2a 22a signal message 1 3 2 3 communication application
14 24 34 44 65a SDU14 24 34 44 65a SDU
18 28 36 46 63 65b PDU 16 26 32 42 60 第二層 1 9 2 9 3 1 6 1 第一層 3 0 發送器18 28 36 46 63 65b PDU 16 26 32 42 60 Layer 2 1 9 2 9 3 1 6 1 Layer 1 3 0 Transmitter
4 0 接收器 50 資料PDU4 0 receiver 50 data PDU
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第 24 頁 200409510 圖式簡單說明 51 151a PDU格式辨識欄位 52 1 52a 152b 序號欄位 53 1 53a 輪詢位元 54 1 54a 保留位元 55a 55b 55c 155a 157a 155b 157b 延伸位元 56a 56b 156a 156b LI 欄位0660-8832twf (nl); P-90060TW; EDWARD.ptd Page 24 200409510 Brief description of the diagram 51 151a PDU format identification field 52 1 52a 152b Serial number field 53 1 53a Polling bit 54 1 54a Reserved bit 55a 55b 55c 155a 157a 155b 157b extension 56a 56b 156a 156b LI field
57a 57b 57c SDU 58 1 58a 158b 資料區域 62 RLC層 64 MAC層 6 5暫存器 7 4 整組傳輸區塊 7 4a 傳輸區塊57a 57b 57c SDU 58 1 58a 158b Data area 62 RLC layer 64 MAC layer 6 5 Registers 7 4 Entire transmission block 7 4a Transmission block
75 RLC PDU 76 MAC標頭 72 8 1 8 2 8 3 傳送時段(TTI ) 84 1 64 1 70 RLC狀態資料 86 1 66 TFC資料請求 88 1 68 整組傳輸區塊 1 0 0無線通訊元件 1 1 0處理器 1 2 0記憶體 1 3 0程式碼 131第一層介面75 RLC PDU 76 MAC header 72 8 1 8 2 8 3 Transmission period (TTI) 84 1 64 1 70 RLC status data 86 1 66 TFC data request 88 1 68 Entire transmission block 1 0 0 Wireless communication element 1 1 0 Processor 1 2 0 Memory 1 3 0 Code 131 First-level interface
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第 25 頁 200409510 圖式簡單說明 132第二層介面 133第三層介面 13 3d丟棄計時器 1 3 4應用層0660-8832twf (nl); P-90060TW; EDWARD.ptd Page 25 200409510 Simple illustration of the drawing 132 Second layer interface 133 Third layer interface 13 3d Discard timer 1 3 4 Application layer
141 141d SDU 142 RLC 層 143暫存器 144 MAC 層141 141d SDU 142 RLC layer 143 register 144 MAC layer
145 PDU 150填空PDU 150a AM 資料PDU 150b UM 資料PDU 1 6 9 a 1 6 9 b 時間點145 PDU 150 Fill in blank PDU 150a AM Data PDU 150b UM Data PDU 1 6 9 a 1 6 9 b Time
0660-8832twf(nl);P-90060TW;EDWARD.ptd 第26頁0660-8832twf (nl); P-90060TW; EDWARD.ptd p.26
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW91134287A TWI220829B (en) | 2002-11-26 | 2002-11-26 | Processing unexpected transmission interruptions in a wireless communications system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW91134287A TWI220829B (en) | 2002-11-26 | 2002-11-26 | Processing unexpected transmission interruptions in a wireless communications system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW200409510A true TW200409510A (en) | 2004-06-01 |
| TWI220829B TWI220829B (en) | 2004-09-01 |
Family
ID=34114607
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW91134287A TWI220829B (en) | 2002-11-26 | 2002-11-26 | Processing unexpected transmission interruptions in a wireless communications system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI220829B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8306059B2 (en) * | 2008-11-05 | 2012-11-06 | Htc Corporation | Method of constructing and transmitting packets with MIMO configuration in a wireless communication system and related communication device |
-
2002
- 2002-11-26 TW TW91134287A patent/TWI220829B/en not_active IP Right Cessation
Also Published As
| Publication number | Publication date |
|---|---|
| TWI220829B (en) | 2004-09-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6904016B2 (en) | Processing unexpected transmission interruptions in a wireless communications system | |
| JP4850894B2 (en) | Enhanced polling method to avoid deadlock in wireless communication systems | |
| CN103138905B (en) | Acknowledgment method for RLC data packet transmission and RLC AM entity sender | |
| JP4965713B2 (en) | Method and apparatus for processing error control messages in a wireless communication system | |
| TW200415882A (en) | Method for handling a triggered reset when an RLC is stopped in a wireless communications system | |
| CN100479582C (en) | Method and apparatus for handling control protocol data unit | |
| CN100391201C (en) | A Method for Keeping the Sequence Number Synchronization of Packet Data Protocol Convergence Sublayer | |
| CN102395156A (en) | Data transmission methods and device applied between packet data convergence protocol (PDCP) entity and radio link control (RLC) entity | |
| CN102355343A (en) | Data transmission method and data re-transmission method | |
| JP2007174703A (en) | Timer processing method after rlc reset or reconstruction in wireless communication system | |
| CN101809970B (en) | A method for radio link control entity reset | |
| JP4806030B2 (en) | Method for transferring signals in a mobile communication system | |
| CN102340535B (en) | Data transmission method, device and system | |
| CN102957522A (en) | RLC (radio link control) AM (acknowledged mode) status report processing method and system | |
| TWI358922B (en) | Method and apparatus of default timer configuratio | |
| CN101809924B (en) | Method for reset control of radio link control entity | |
| TWI310911B (en) | Method and apparatus for initiating a storage window in a periodic packet retransmission wireless communications system operated in unacknowledged mode | |
| CN101141445B (en) | Transmission method and sending end device of a transmission unit | |
| JP2008289149A (en) | Method and apparatus for polling data transmission status in a wireless communication system | |
| TW200409510A (en) | Processing unexpected transmission interruptions in a wireless communications system | |
| JP3655610B2 (en) | Method for handling unexpected transmission interruptions in wireless communication systems | |
| CN101132257A (en) | Transmission method and sending end device of a status report | |
| EP1424823A1 (en) | Processing unexpected transmission interruptions in a wireless communications system | |
| KR20040048167A (en) | Processing unexpected transmission interruptions in a wireless communications system | |
| CN107995653B (en) | Resource management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |