TW589843B - Applicable PDU range test and calculation for window-based polling - Google Patents

Applicable PDU range test and calculation for window-based polling Download PDF

Info

Publication number
TW589843B
TW589843B TW91134286A TW91134286A TW589843B TW 589843 B TW589843 B TW 589843B TW 91134286 A TW91134286 A TW 91134286A TW 91134286 A TW91134286 A TW 91134286A TW 589843 B TW589843 B TW 589843B
Authority
TW
Taiwan
Prior art keywords
pdu
polling
value
layer
bit
Prior art date
Application number
TW91134286A
Other languages
Chinese (zh)
Other versions
TW200409509A (en
Inventor
Sam Shaw-Shiang Jiang
Original Assignee
Asustek Comp Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asustek Comp Inc filed Critical Asustek Comp Inc
Priority to TW91134286A priority Critical patent/TW589843B/en
Application granted granted Critical
Publication of TW200409509A publication Critical patent/TW200409509A/en
Publication of TW589843B publication Critical patent/TW589843B/en

Links

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A transmitter is capable of transmitting protocol data units (PDUs). Each PDU has an n-bit sequence number. A polling determination method is provided that determines if polling should be performed according to a parameter S that is an n-bit sequence number. Polling is then triggered if a PDU that is next to be transmitted is not a re-transmitted PDU and the polling determination method indicates that polling is to be triggered according to the sequence number of the PDU. The polling determination method uses the equation: t=((2<n>+1+S-VT(A)) mod 2<n>)/VT(WS) to determine if polling should be triggered, where S is the sequence number of the next outgoing PDU.

Description

589843 五、發明說明(l) 發明所屬之技術領域 本發明係有關於一種無線通訊協定;尤指一種用以適 當觸發一發送器之輪詢功能,以要求一接收器回應其接收 狀態之方法及系統。 先前技術 許多的通訊協定通常都運用了三層通訊架橡來彼此通' 訊。請參考第1圖。第1圖是三層通訊架構協定的方塊圖。 在一般的無線環境中,第一站1 〇以無線方式與一個或是多 個第二站20通訊。第一站10中的一通訊應用程式13產生了 一個應用訊息11,並將此應用訊息11遞送到一第三層介面φ 1 2,以便將此應用訊息11傳送到第二站2 0。第三層介面1 2 也可以產生第三層信號訊息1 2a,用以控制第一站1 0與第 二站之間的第三層操作。譬如說,第三層信號訊息1 2a可 以是一密鑰切換的請求。此密鑰切換請求分別由第一站1 0 與第二站20的第三層介面12、22所產生。第三層介面12以 第二層的服務資料單元(service data units、SDUs)之格 式,遞送應用訊息11或是信號訊息1 2a至第二層介面1 6。 第二層的SDU 14有可能有不同的大小。SDU 14攜帶有第三 層介面1 2所欲遞送給第二站2 0的資料,而這樣的資料可能 是信號訊息1 2a,也可能是應用訊息11。第二層介面1 6將 〇 收到的SDU組構成一個或是多個第二層協定資料單元 (protocol data units、PDUs)18。每一個第二層 PDU 18 的長度是固定的。且每一個第二層PDU 18會遞送到第一層 介面19。第一層介面19就是實體層(physical layer),負589843 V. Description of the invention (l) The technical field to which the invention belongs The present invention relates to a wireless communication protocol; in particular, a method for appropriately triggering a polling function of a transmitter to require a receiver to respond to its receiving status and system. Prior technology Many communication protocols usually use three layers of communication racks 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 13 in the first station 10 generates an application message 11 and delivers the application message 11 to a third layer interface φ 12 to transmit the application message 11 to the second station 20. The third layer interface 12 can also generate a third layer signal message 12a, which is used to control the third layer operation between the first station 10 and the second station. For example, the third layer signal message 12a may be a key switch request. The key switch request is generated by the third-layer interfaces 12 and 22 of the first station 10 and the second station 20, respectively. 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. 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 groups into one or more second layer protocol data units (PDUs) 18. The length of each Layer 2 PDU 18 is fixed. And each second layer PDU 18 is delivered to the first layer interface 19. The first layer of interface 19 is the physical layer.

0660-8831twf(nl);P-90059T!V;EDWARD.ptd 第 5 頁 589843 五、發明說明(2) 責傳送資料到第二站2 0。被傳送的資料在第二站2 〇的第一 層介面29所接收,然後重組成為一個或是多個pDU,接著 在上傳到第一層介面26。第二層介面26接收PDU,然後將 PDU重組而成一個或是多個第二層之SDU,接著往上傳到第 三層介面22。接下來,第三層介面22轉換所接收到的 S D U,使變回一應用訊息2 1或是一信號訊息2 2 a,,此訊息理 論上應该跟第一站1 〇的第三層1 2所出現的原始應用訊息工j 或是信號訊息1 2a —樣。如果是應用訊息2 1,則會遞送給 第二站2 0中的通訊應用程式2 3處理。在此,使用一般通訊 命名學上慣用的定義,PDU指的是一個在某一層與其下層 之間傳遞的資料單元,而SDU指的是某一層與上層之間傳 遞的資料單元。因此,一第三層PDU可能稱為一第二層 SDU。同樣道理,一第二層PDU可能稱為一第一層SDU。為 了說明上的清楚與方便,以下的簡稱” SDU&quot;均指第二層 SDU(也就是第三層PDU),簡稱” PDUn均指第二層PDU(也就 是第一層SDU)。 本發明著重在扮演第三層(負責較高層資料傳輸及接 收)與第一層(負責較低層實體傳輸及接收)彼此之間緩衝 器角色的第二層介面。請參閱第2圖,第2圖為第二層資料 傳輸與接收之處理示意圖。一個發送器3〇(可能是一基地 台或是一移動端)的第二層介面32,從第三層介面33接收 到一串的SDU 34。在此假設這些SDU的大小都不一樣(如同 圖上長短不同所示),且依序編號為1到5。第二層介面將 該串SDU 34轉換成一串的PDU 36。此串pDu假設編號為1到0660-8831twf (nl); P-90059T! V; EDWARD.ptd page 5 589843 V. Description of the invention (2) 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, then reassembled into one or more pDUs, and then uploaded to the first 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 2 1 or a signal message 2 2 a. This message should theoretically follow the third layer 1 of the first station 10. The same appears in the original application message j or signal message 1 2a. If it is the application message 21, it will be delivered to the communication application 23 in the second station 20 for processing. Here, using the conventional definition of common communication naming, 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. For the same reason, 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 "PDUn" refers to the second-layer PDU (the first-layer SDU). The present invention focuses on the second layer interface that plays the role of a buffer between the third layer (responsible for higher layer data transmission and reception) and the first layer (responsible for lower layer entities transmission and reception). Please refer to Figure 2. Figure 2 is a schematic diagram of the processing of the second layer of 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 third layer interface 33 at the second layer interface 32. It is assumed here 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 the string of SDUs 34 into a string of PDUs 36. This string of pDu assumes numbers from 1 to

0660-8831twf(nl);P-90059TW;EDWARD.ptd 5898430660-8831twf (nl); P-90059TW; EDWARD.ptd 589843

4,且每個PDU的長度相同。此串pDU 36送到第一層介面 31 ,準備進行無線傳輸。相反的流程發生在接收器4〇 (可 能是一移動端或是一基地台)的第二層介面42,將一串接 收到的PDU 46轉變成一串SDU 44。在某些特定的傳輸模式 下,多層協定會要求接收器40中的第二層介面42必須將 SDU 44按照順序送給第三層介面43。也就是說,-第二層介 面42傳送給第三層介面43的順序,必須&amp;SDU !開始,依 序至SDU 5為止。SDU的順序不可弄亂,且在先前的SM還 沒上傳到第三層之前,後續的SDU不可以往上層傳送。 在有線通訊環境中,這樣的需求很容易達成。但是, 在雜訊眾多的無線通訊環境中,不管是基地台,還是移動 端,接收器常常會漏收資料。因此,要確保第二層介面42 能依序將SDU 44送給第三層介面43的需求,便是個明顯的 挑戰。 大致上而言,有兩種傳送與接收資料的常用模式:確 認模式(acknowledged mode,AM)以及非確認模式 (unacknowledged mode ’ UM)傳輸。對於am資料而言,接4, and the length of each PDU is the same. This string of pDU 36 is sent to the first layer interface 31, ready for wireless transmission. The reverse process occurs at the second layer interface 42 of the receiver 40 (which may be a mobile terminal or a base station), and converts a series of received PDUs 46 into a series of SDUs 44. Under certain specific transmission modes, the multi-layer protocol will 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 transmits to the third-layer interface 43 must start with &amp; SDU! And proceed to SDU 5. The order of the SDUs must not be confused, and the subsequent SDUs cannot be transmitted by the previous upper layer before the previous SM has not been uploaded to the third layer. 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. Therefore, it is an obvious challenge to ensure that the second-layer interface 42 can sequentially send the SDU 44 to the third-layer interface 43. Generally speaking, there are two common modes of transmitting and receiving data: acknowledged mode (AM) and unacknowledged mode (UM) transmission. For am data, access

收器40回報一特定的第二層確認信號給發送器3〇,來告知 已經成功的接收到第二層PDU。發送器30就可以重新傳^送 沒有被成功接收到的AM PDU,以確保接收器4〇可正確的接 收到所有的P D U。U Μ模式則沒有如此的確認信號,因此, 不管是否傳輸成功,UM PDU並不會有重傳的動作。依據本 發明的目的,本發明僅僅考慮AM資料。請看第3圖,並來 考第1圖。第3圖為一AM資料PDU之簡化方塊圖,如同在The receiver 40 returns a specific layer 2 acknowledgement signal to the transmitter 30 to inform that the layer 2 PDU has been successfully received. The transmitter 30 can retransmit the AM PDUs that have not been successfully received, to ensure that the receiver 40 can correctly receive all PDs. In the U M mode, there is no such acknowledgement signal. Therefore, no matter whether the transmission is successful or not, the UM PDU does not have a retransmission action. For the purpose of the invention, the invention only considers AM data. Look at Figure 3 and consider Figure 1. Figure 3 is a simplified block diagram of an AM data PDU, as in

589843 五、發明說明(4) 3GPI- TS 25·322 ν3·8·〇規範中所載。一般而言有兩種 型態的PDU :控制PDU與資料PDU。控制pDU通常被第二層介 面16及26用來控制資料傳輸與接收之協定·,譬如說,^前 提到的用來確認收訖信號之第二層確認信號便是其中之 一。此種第二層介面確認訊息的交換與第三層介面12及22 之間父換#號訊息1 2 a及2 2 a有點類似。第二層介,面丨6與2 6 並不解譯或是辨認第三層的信號訊息丨2a與22a,它們僅被 當成SDU資料處理。但是,第二層介面16與26會辨認及處 理第二層的控制PDU,因此,第二層控制pDU並不會被上傳 至第三層介面12與22。資料PDU係用來傳送SDU資料,會被 第二站20之第二層介面26重組後,以SDU的形式上傳至第 二層介面22。第3圖中的PDU 50為一個資料pj)U。依照第二 層的協疋’資料P D U中切割成許多的欄位(f丨e 1 d)。第一攔 位51為PDU格式辨識攔位,僅有單一位元,用以表示此pD[J 為資料P D U還是控制P D U。如果攔位中的值為1時,這個p d u 50為一個資料PDU。第二欄位是一序號(seciuence number,SN)欄位52。在AM傳輸時,此欄位有12個位元 長。後續的P D ϋ會被賦與較高的序號,以使接收器(亦即第 二站)20可以正確的組合所接收到的pDU,然後形成第二 層SDU 24。譬如說,如果帶有序號536的一 ΡΜ 18被傳送 出去,那接下來的一PDU就應該帶有序號537,如此類推。 一個重傳的PDU可以帶有序號535,表示此PDU應該是插放 在帶有序號536的PDU之前。雖然說,在真正的時間上,帶 有序號535的PDU可能比帶有序號53 6者較晚收到。但是依589843 V. Description of the invention (4) 3GPI-TS 25 · 322 ν3 · 8 · 〇 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 confirmation signal mentioned above to confirm the reception signal is one of them. The exchange of the confirmation message of the second layer interface is similar to the message # 2 1a and 2 2a of the parent exchange # between the third layer interfaces 12 and 22. The second layer interface, faces 6 and 2 6 do not interpret or recognize the signal signals of the third layer 2a 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. After being reassembled by the second layer interface 26 of the second station 20, it is uploaded to the second layer interface 22 in the form of SDU. The PDU 50 in FIG. 3 is a profile pj) U. According to the second-layer protocol data P D U, a plurality of fields (f 丨 e 1 d) are cut. The first block 51 is a PDU format identification block and has only a single bit to indicate whether this pD [J is data P D U or control P D U. If the value in the block is 1, this p d u 50 is a data PDU. The second field is a seciuence number (SN) field 52. During AM transmission, this field is 12 bits long. Subsequent P D ϋ will be assigned a higher serial number, so that the receiver (ie, the second station) 20 can correctly combine the received pDUs, and then form a second layer SDU 24. For example, if a PM 18 with a serial number of 536 is transmitted, the next PDU should carry a serial number of 537, and so on. A retransmitted PDU can carry a sequence number 535, which indicates 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 may be received later than the one with the serial number 536. But according to

國 11·· 0660-8831 twf (η 1); P-90059T1V; EDWARD, ptd 第8頁 589843 五、發明說明(5) 據接收到之PDU的序號依序排列,然後加以組合,便可以 產生正確的SDU。序號欄位52使得重傳的PDU可以插放在較 早收到的PDU之前的適當位置。利用這個方法,才可以達 成資料重傳的目的。在序號欄位52後有一單一位元的輪詢 位元5 3。如果輪詢位元5 3為1,表示接收器2 0被要求回報 一個確認狀態PDU作為回應。確認狀態PDU是控制PDU的一 · 種,用來表示PDU之接收狀態。發送器(亦即第一站)1〇可 以設定輪詢位元53為1,來要求接收器20送出一確認狀態 P D U。單一位元的欄位5 4目前預留著,沒有定義,一般是 設定為0。下一個位元55a為一延伸位元。當位元55a設定 _ 為1時,表示以下立刻接上一長度指標(length indicator,LI)。LI的長度不是7個位元,就是15個位 元,視整個PDU的長度而定;用來指出一個第二層SDU在第 二層PDU 50中的結束位置。如果,單單一個SDU就完全佔 滿了 PDU 50的資料區域58,那位元55a就應當為0,表示 PDU中沒有LI欄位。在第3圖的例子中,PDU 50有兩個第二 層SDU 57a與57b結束在第二層PDU 50中。所以,就有兩個 LI來分別指出第二層SDU 57a與57b的結尾。接著本PDU 50 的後續某*個P D U (以序ί虎來判別)就有可能有' 一個L I來指 | 出SDU 57c在其中的結尾。接在LL之後的延伸位元55b設 定為1 ’表示後續還有一個LI (就是圖上的LI2)。接在LI2 之後的延伸位元5 5 c設定為0,表示後續沒有L I 了,資料區 域5 8就緊接著此延伸位元5 5 c開始。資料區域5 8用來放置 實際的SDU資料。Country 11 ·· 0660-8831 twf (η 1); P-90059T1V; EDWARD, ptd page 8 589843 V. Description of the invention (5) According to the serial numbers of the received PDUs, they can be arranged in order and then combined to produce the correct SDU. The sequence number field 52 allows retransmitted PDUs to be inserted in place before the PDUs received earlier. With this method, the purpose of data retransmission can be achieved. After the serial number field 52 there is a single bit polling bit 53. If the polling bit 5 3 is 1, it means that the receiver 20 is required to report an acknowledgement status PDU as a response. The acknowledgment status PDU is a type of control PDU. It is used to indicate the PDU reception status. The transmitter (ie, the first station) 10 can set the polling bit 53 to 1 to request the receiver 20 to send a confirmation status P D U. The single-bit field 5 4 is currently reserved and has no definition. Generally, it is set to 0. The next bit 55a is an extended bit. When bit 55a sets _ to 1, it means that the following is immediately connected to a length indicator (LI). The length of LI is either 7 bits or 15 bits, depending on the length of the entire PDU; it is used to indicate the end position of a Layer 2 SDU in the Layer 2 PDU 50. If a single SDU alone completely fills the data area 58 of the PDU 50, the bit 55a should be 0, indicating that there is no LI field in the PDU. In the example in Figure 3, the PDU 50 has two Layer 2 SDUs 57a and 57b ending in the Layer 2 PDU 50. Therefore, there are two LIs to indicate the end of the second layer SDUs 57a and 57b, respectively. Then one of the following * P D U (identified by the order of the tiger) of this PDU 50 may have a 'L I' to indicate | the end of SDU 57c. The extension bit 55b following LL is set to 1 'to indicate that there is a subsequent LI (that is, LI2 in the figure). The extended bit 5 5 c next to LI2 is set to 0, which means that there is no L I in the future, and the data area 5 8 starts immediately after this extended bit 5 5 c. The data area 58 is used for the actual SDU data.

0660-8831twf(nl);P-90059TW;EDWARD.ptd 第 9 頁 589843 五、發明說明(6) 請參考第4圖並配合第3圖。第4圖係一無線通訊系統 60中之一接收器64及一發送器65之簡化方塊圖。接收器64 及發送器6 5兩者分別具有接收窗及傳送窗,用來限定所接 收PDU 50及傳送PDU 50之範圍。接收器64具有由二狀態變 數(VR(R) 62及VR(MR) 63)所界定之一接收窗。vr(r) 62 界定該接收窗61之開始,而VR(MR) 63界定該接收窗61之· 結尾。該接收器64將只接收序號52值介於VR(R) 62與 VR(MR) 63之間以及序號52值等於VR(R) 62之PDU 50。至 於,等於VR(MR) 63的序號值,則不列入該接收窗61之 内。類似地,發送器65具有一由二狀態變數(ντ(Α) 67及 〇 VT(MS) 68)所界定之傳送窗。VT(A) 67界定該傳送窗66之 開始,而VT(MS) 68界定該傳送窗66之結尾。該發送器65 將只傳送具有傳送窗66範圍内之序號52的PDU 50,也就 是’序號等於VT(A) 67或是排序於ντ(Α) 67之後,而且序 號排序於VT(MS) 68之前的PDU 50。 接收窗6 1之大小為一固定值。簡單地說,該接收窗大 小即2態變數VR(R) 62及VR(MR) 63之間所包括之序號值 之數置。也就是說,VR(MR) 63總是與VR(R) 62相差一個 固定之序號值,其可以下列數學式來表示:0660-8831twf (nl); P-90059TW; EDWARD.ptd Page 9 589843 V. Description of the invention (6) Please refer to Figure 4 and cooperate with Figure 3. FIG. 4 is a simplified block diagram of a receiver 64 and a transmitter 65 in a wireless communication system 60. Both the receiver 64 and the transmitter 65 have a receiving window and a transmitting window, respectively, for limiting the range of the received PDU 50 and the transmitted PDU 50. The receiver 64 has a receiving window defined by two state variables (VR (R) 62 and VR (MR) 63). vr (r) 62 defines the beginning of the receiving window 61, and VR (MR) 63 defines the · end of the receiving window 61. The receiver 64 will only receive PDUs 50 whose serial number 52 is between VR (R) 62 and VR (MR) 63 and whose serial number 52 is equal to VR (R) 62. As for the serial number value equal to VR (MR) 63, it is not included in the receiving window 61. Similarly, the transmitter 65 has a transmission window defined by two state variables (ντ (Α) 67 and VT (MS) 68). VT (A) 67 defines the beginning of the transmission window 66, and VT (MS) 68 defines the end of the transmission window 66. The transmitter 65 will only transmit PDUs 50 with a serial number 52 within the range of the transmission window 66, that is, the serial number is equal to VT (A) 67 or after ντ (Α) 67, and the serial number is ordered VT (MS) 68 Previous PDU 50. The size of the receiving window 61 is a fixed value. In short, the size of the receiving window is the number of serial number values included between the 2-state variables VR (R) 62 and VR (MR) 63. That is, VR (MR) 63 is always different from VR (R) 62 by a fixed serial number value, which can be expressed by the following mathematical formula:

VR(MR) = VR(R) + 接收窗大小(1) 該/主意的是,如果該序號52係為一12位元數值,方程 式(1)係為一12位元加法運算,會因為溢位而遭遇循環歸 零的問題。可能的結果就是,VR(MR) 63的數值不一定會 大於V R ( R ) 6 2的數值。傳送窗6 6之大小特別以狀態變數VR (MR) = VR (R) + receiving window size (1) This / idea is that if the serial number 52 is a 12-bit value, and equation (1) is a 12-bit addition operation, it will be due to overflow. Bit and encountered the problem of circular zero. The possible result is that the value of VR (MR) 63 is not necessarily greater than the value of V R (R) 6 2. The size of the transmission window 6 6 depends on the state variables.

589843589843

VT(WS) 66a來表示,意指狀態變數VT(A) 67#vt(ms) 68 之間所包括之序號值之數量。狀態變數VT(WS) 66a具有一 初始值,其值等於第3層所設定之一特定傳送窗大小。同 樣的,上述内容可以下列數學式表示: VT(MS) = VT(A) + VT(WS) (2) 同樣地,自方程式(2)所產生之結果,可能也會因為 溢位而遭遇循環歸零的問題。接收器64可以用第2層信號 或信令明確地要求發送器65改變VT(WS)值。然而,所要求VT (WS) 66a, which means the number of sequence values included between state variables VT (A) 67 # vt (ms) 68. The state variable VT (WS) 66a has an initial value which is equal to a specific transmission window size set in the third layer. Similarly, the above can be expressed by the following mathematical formula: VT (MS) = VT (A) + VT (WS) (2) Similarly, the result produced by equation (2) may also encounter a loop due to overflow. Zeroing problem. The receiver 64 may explicitly request the transmitter 65 to change the VT (WS) value with a layer 2 signal or signaling. However, required

之VT(WS) 6 6a的值不能大於第3層原本所設定的特定傳送 窗大小。The value of VT (WS) 6 6a cannot be larger than the specific transmission window size originally set in layer 3.

當接收器64接收到自發送器6 5傳來的pdu 50時,接 收器64將更新狀態變數VR(R) 62的值,以表示序號小於 VR(R)的PDU 50都已經成功的接收到了。如果換另一種方 式來解說’ VR(R ) 62總是標示著,接收器64正等著接收之 PDU 50中’排序在最前面之pdu 5〇的序號52。根據最近成 功地接收到的PDU 50,接收器64將狀態變數vr(r) 62向前 推進至下一個依序應該接收到的PDU 5〇之序號值52。狀態 變數V R (M R) 6 3就依據方程式(1)作更新。以如此的方式, 接收器64將隨著PDU 5 0資料流的接收,將接收窗6丨向前推 進或移動。需注意的是,發送器6 5也可利用一第2層信號 (signaling) PDU,明確地要求接收器64向前移動接收 窗,因與本發明無關,不再贅述。 當發送器6 5接收到一來自接收器6 4第2層回報之確認 狀態PDU時,傳送窗66便據以向前移動。第2層確認狀態When the receiver 64 receives the pdu 50 from the transmitter 65, the receiver 64 updates the value of the state variable VR (R) 62 to indicate that the PDU 50 with a serial number less than VR (R) has been successfully received. . If another way is used to explain the 'VR (R) 62' is always marked, the receiver 64 is waiting for the serial number 52 of the pdu 50 which is first in the received PDU 50. Based on the recently successfully received PDU 50, the receiver 64 advances the state variable vr (r) 62 to the serial number value 52 of the next PDU 50 that should be received in sequence. The state variable V R (M R) 6 3 is updated according to equation (1). In this manner, the receiver 64 will advance or move the receive window 6 as the PDU 50 data stream is received. It should be noted that the transmitter 65 can also use a layer 2 signaling PDU to explicitly require the receiver 64 to move the receiving window forward, which is not related to the present invention and will not be described again. When the transmitter 65 receives a confirmation status PDU from the second layer of the receiver 64, the transmission window 66 moves forward accordingly. Layer 2 confirmation status

0660-88311wf(η 1);P-90059TW;EDWARD.p t d0660-88311wf (η 1); P-90059TW; EDWARD.p t d

589843 五、發明說明(8)589843 V. Description of the invention (8)

PDU具有狀態變數VR(R) 62之最新值。第2層確認狀態PDU 可能由接收器24定期主動發出,或是回應發送器65之輪詢 要求而由接收器24被動發出。該確認狀態PDU也可顯示漏 收的PDU(例如,在SN排序較後之PDU已經收訖,排序較前 之PDU卻尚未收到),該漏收的PDU必須要由發送器65重傳 一次。發送器6 5接著會依據確認狀態PDU之内容設定狀態 變數VT(A) 67之值,事實上,就是將VT(A) 67設定成 VR(R) 62之值。然後,發送器65使用方程式(2)更新狀態 變數VT(MS) 68之值。藉由如此的方式,傳送窗66及接收 窗6 1在相互鎖定的步驟下逐步向前推進,且由於確認狀態 PDU傳輸的非即時性,傳送窗66的位置會稍稍落後接收窗 6 1的實際位置。 發送器65還額外有一狀態變數VT(S) 69。當發送器65 開始傳送位在傳送窗66内之PDu 50時,發送器65就依^傳The PDU has the latest value of the state variable VR (R) 62. The Layer 2 acknowledgement status PDU may be periodically sent by the receiver 24 actively, or passively sent by the receiver 24 in response to a polling request from the sender 65. The acknowledgment status PDU can also indicate missed PDUs (for example, PDUs that are sorted later in the SN have been received, but PDUs that were sorted earlier have not been received). The missed PDU must be retransmitted by the transmitter 65 once. The transmitter 65 then sets the value of the state variable VT (A) 67 according to the content of the confirmation status PDU. In fact, it sets the VT (A) 67 to the value of VR (R) 62. The transmitter 65 then updates the value of the state variable VT (MS) 68 using equation (2). In this way, the transmission window 66 and the reception window 61 are progressively advanced in a mutually locked step, and due to the non-immediate nature of the status PDU transmission, the position of the transmission window 66 will be slightly behind the actual reception window 61. position. The transmitter 65 additionally has a state variable VT (S) 69. When the transmitter 65 starts transmitting the PDu 50 located within the transmission window 66, the transmitter 65 transmits

送PDU 50,從序號52等於狀態變數VT(A) 67的PDU 50開 始,到序號52等於VT(MS) 68減1的PDU 50結束。也就是, 發送器65依序傳送pdu 50,其序號始於VT(A) 67並終於 VT(MS)-1。狀態變數^(幻69之值表示下一個應該被傳送 之PDU 50的序號52。依此定義,序號52位置大於或等於 VT(A\67,而且小於VT(S) 69的所有ρΜ 52都至少被傳送 過_人,並且這些PDU 52都被儲存於一重傳緩衝器 中,直到接收到由接收器64回報的確認狀態pDu確認收訖 後才會刪除。需注意的是,若序號52等於VT(A) 67之?训 50被回報確認收訖,則VT(A) 67被更新為該重傳緩衝器Sending PDU 50 starts with PDU 50 whose serial number 52 is equal to the state variable VT (A) 67 and ends with PDU 50 whose serial number 52 is equal to VT (MS) 68 minus 1. That is, the transmitter 65 sequentially transmits the pdu 50, the serial number of which starts from VT (A) 67 and ends at VT (MS) -1. State variable ^ (The value of magic 69 indicates the serial number 52 of the next PDU 50 that should be transmitted. According to this definition, the position 52 is greater than or equal to VT (A \ 67, and all ρ 52 that is less than VT (S) 69 are at least They have been transmitted, and these PDUs 52 are stored in a retransmission buffer, and will not be deleted until the confirmation status pDu confirmed by the receiver 64 is received. It should be noted that if the serial number 52 is equal to VT ( A) 67? Training 50 is reported to confirm receipt, then VT (A) 67 is updated to the retransmission buffer

589843 五、發明說明(9) -------- 6 6b内下一個排序最前面的序號。序號52大於等於口 6 9之PDU 50則尚未被發送器65傳送出去過。 為了確保傳送窗6 6能向前推進,發送器6 5必須間歇性 地要求接收器64回報其確認狀態PDU。這個動作稱為輪詢 (pol 1 ing),並利用輪詢位元53來實現。當發送器65決定 輪詢(po 1 1)接收器6 4的時機到了時,發送器6 5會-送出下一 · 個要發出的PDU 50 (可能是相對應該狀態變數VT(S)的一 PDU 50,或在該重傳緩衝器66b中的一ρΜ 5〇),並且將其 中的輪洶位元5 3設定為1。如果接收到任一輪詢位元5 3等 於1之PDU 50後’接收器64便回應送出一確認狀態pDU。該f 確認狀態PDU將包含狀態變數vr(r) 62的最新值。依據該 狀態變數VR(R) 62的最新值,發送器65可更新其狀態變數 VT ( A ) 6 7,以使該傳送窗6 6向前移動。發送器6 5可使用許 多方法來決定何時輪詢接收器6 4。例如,發送器6 5可使用 疋時式週期性之輪詢,也就是說,輪詢係以規則、定期之 方式執行。另外,發送器65可使用窗框式之輪詢,也就是 說’發送器65在傳送窗66已被傳送某一百分比時,輪詢接 收器64。 對於窗框式之輪詢而言,將使用以VT(S) 69為變數的 一輪詢函式,來得到一輪詢測試值” t,,: · t = Pol 1ingFunction(VT(S)) (3) 輪詢值(由第三層所提供)僅僅只是至少被傳送過一次 之PDU在傳送窗6 6中所佔的百分比。例如,假設輪詢值定 義為60時,表示說,若傳送窗66中的60%或以上已經傳送589843 V. Description of the invention (9) -------- 6 The first sequence number in the next order in 6b. The PDU 50 whose serial number is 52 or more is not transmitted by the transmitter 65. To ensure that the transmission window 66 can be advanced forward, the transmitter 65 must intermittently request the receiver 64 to report its acknowledgement status PDU. This action is called polling and is implemented using polling bit 53. When the transmitter 65 decides to poll (po 1 1) and the time for the receiver 6 4 is reached, the transmitter 65 will-send out the next PDU to be sent 50 (probably one of the corresponding state variables VT (S) PDU 50, or a pM 50 in the retransmission buffer 66b), and the round bit 5 3 is set to 1. If any PDU 50 with a polling bit 5 3 equal to 1 is received, the receiver 64 responds by sending a confirmation status pDU. This f confirms that the status PDU will contain the latest value of the status variable vr (r) 62. Based on the latest value of the state variable VR (R) 62, the transmitter 65 can update its state variable VT (A) 6 7 to move the transmission window 6 6 forward. The transmitter 6 5 can use many methods to decide when to poll the receiver 6 4. For example, the transmitter 65 can use a timed periodic polling, that is, the polling is performed in a regular, periodic manner. Alternatively, the sender 65 may use window-frame polling, that is, the sender 65 polls the receiver 64 when the transmission window 66 has been transmitted a certain percentage. For window-frame polling, a polling function with VT (S) 69 as the variable will be used to obtain a polling test value "t ,,: t = Pol 1ingFunction (VT (S)) (3 ) The polling value (provided by the third layer) is only the percentage of PDUs that have been transmitted at least once in the transmission window 6 6. For example, if the polling value is defined as 60, it means that if the transmission window 66 60% or more of them have been transmitted

0660-88311wf(η1);p.90059TW;EDWARD.ptd 第 13 頁 589843 五、發明說明(ίο) 過至少一次時,就會執行輪詢。若上述方程式(3)之” t,,值 超過輪詢值’則輪詢動作被觸發。當輪詢因為&quot;t”值而被 觸發時’下一個要發出的PDU 50之中的輪詢位元53將設定 為1 °藉由設定輪詢位元53來觸發輪詢動作並不會耗用任 何無線電資源,因為不管輪詢位元5 3是1或0,輪詢位元5 3 總疋要被傳送出去。然而,回應輪詢位元5 3所產-生的確認 狀態PDU就會耗用無線電資源。所以,輪詢位元53不應隨 便地被設定為1。 〜 然而’對於那些VT(A) 67尚未推進之狀況而言,如果 相對於VT(A) 67,VT(S) 69已到達一足以觸發輪詢的值 後,因為重傳任何PDU均不會變更狀態變數VT(s) Μ及 VT(WS—) 66a,所以任一重傳pDU都將會觸發一輪詢動作。 p^u為每所以人二輪二旬都可能會產生一相對應的回報確認狀態 PDU,所以這類輪詢觸發會降低無線電資源之有 度。因此,上述情況並不希望發生。除此之 變數ms) 69之正確時間點可能有些不確定。某 ::關組構完成時,VT⑻69就被更新。立它的 產品,當相關PDU 50被傳送出去 /、匕的 後,VT(S) 69才會被更新 尨,ντν ·ς、β 〇 4 a κ ^ 很、王弟1層介面 這種不確定性可能導致一致性 測試上的困難。 發明内容 拉- ^此五本發明之一主要目的為提供-種在-益線通1 協定中,》定觸發一發送器之一輪詢…、線通汛 產生不需要之輪詢動作。且本菸明 决,以避免 且本發明可在各不同廠牌之產品 第14頁 0660-8831twf(η 1);P-90059TW;EDWARD.ptd 589843 五、發明說明(11) 間保持一致性0660-88311wf (η1); p.90059TW; EDWARD.ptd page 13 589843 V. Description of the invention (ίο) Polling will be performed at least once. If "t," in the above equation (3), the value exceeds the polling value, then the polling action is triggered. When polling is triggered because of the value of "t", the polling in the next PDU 50 to be issued Bit 53 will be set to 1 °. Polling bit triggered by setting polling bit 53 will not consume any radio resources, because polling bit 5 3 is 1 or 0, polling bit 5 3 total疋 To be teleported. However, in response to the acknowledge-produce from polling bits 5 3, the status PDU consumes radio resources. Therefore, the polling bit 53 should not be set to 1 arbitrarily. ~ However, 'For those situations where VT (A) 67 has not advanced, if VT (S) 69 has reached a value sufficient to trigger polling relative to VT (A) 67, because retransmitting any PDU will not Change state variables VT (s) M and VT (WS-) 66a, so any retransmission pDU will trigger a polling action. p ^ u is that every second round of twentieth may generate a corresponding return confirmation status PDU, so this kind of polling trigger will reduce the degree of radio resources. Therefore, the above situation is not desirable. Except for the variable ms) 69, the correct time point may be somewhat uncertain. VT :: 69 is updated when a certain :: Guan structure is completed. VT (S) 69 will be updated only after the related PDU 50 is transmitted out, and the PDU 50, ντν · ς, β 〇4 a κ ^ Very, the interface of Wangdi layer 1 is uncertain Sexuality can cause difficulties in conformance testing. SUMMARY OF THE INVENTION One of the main purposes of the present invention is to provide-a kind of-in the Yixiantong 1 agreement, "scheduled to trigger one of the sender polling ..., the line through the flood to generate unnecessary polling action. And the smoke is decided to avoid, and the invention can be used in products of different brands. Page 14 0660-8831twf (η 1); P-90059TW; EDWARD.ptd 589843 5. Maintain consistency among the description of the invention (11)

^ 簡s之,本發明之較佳實施例揭示一種在無線通訊協 疋中,用以決定一發送器何時觸發一輪詢要求的方法。該 發送器能夠傳送通訊協定資料單元(PDUs)。每一pM具有 η位元序號。本發明提供一輪詢決策方法,用以根據一 參數S來決定是否要執行輪詢動作,s是下一個將·被發送之 PDU的η位元長度之序號。若下一個要傳送的pDU不是被重 送的PDU,而且,根據該PDU之序號,該輪詢決策方法指示 輪詢動作應予以觸發時,即執行輪詢動作。。該輪詢決策 方法使用下列方程式·· t = ((2n + ! + s - VT(A)) mod 2n)/VT(WS),以決定是否應觸發輪詢動作,其中$為下一 個將發送之PDU的序號。 ...... 本發明之好處在於該測試值正確地表示傳送窗已傳送 ,百分比:且不管VT(S)之更新時間點隨著不同產牌之設 汁而有所變化,均可使得輪詢動作之觸發時機保持一致 性。還有,因為只有第一次傳送之pDU才會觸發 率的使用無線電資源。 對於那些熟知此項技術之 之較佳實施例之詳細說明後, 述以及其它目的變得顯而易見 實施方式 人士,在讀取下列各種圖示 毫無疑問地將對本發明之上〇 下列說明中,係以 通訊協定為範例。然而 一3GPPTM規格TS 25· 322中所揭 ,熟知此項技術之人士應清楚 示之^ Briefly, a preferred embodiment of the present invention discloses a method for determining when a transmitter triggers a polling request in a wireless communication protocol. The transmitter is capable of transmitting protocol data units (PDUs). Each pM has an n-bit sequence number. The present invention provides a polling decision method for determining whether to perform a polling action according to a parameter S, where s is a sequence number of the n-bit length of the next PDU to be transmitted. If the next pDU to be transmitted is not a retransmitted PDU, and according to the sequence number of the PDU, the polling decision method indicates that the polling action should be performed when the polling action should be triggered. . This polling decision method uses the following equations: t = ((2n +! + S-VT (A)) mod 2n) / VT (WS) to determine whether a polling action should be triggered, where $ is the next one to be sent Sequence number of the PDU. ...... The advantage of the present invention is that the test value correctly indicates that the transmission window has been transmitted, and the percentage: and regardless of the update time point of VT (S) changes with the design of different brands, it can make The timing of the polling action is consistent. Also, because only the pDU transmitted for the first time will trigger the use of radio resources. For those who are familiar with the detailed description of the preferred embodiments, the description and other objects will become apparent to those skilled in the art. After reading the following various drawings, the present invention will undoubtedly be added to the following description. Take the protocol as an example. However, as disclosed in a 3GPPTM specification TS 25 · 322, those familiar with this technology should clearly indicate

589843 五、發明說明(12) 需要輪詢以確認是否收到傳送資料之任何無線通訊協 疋,均可能應用本發明之輪詢觸發方法。而下列说明中之 發送器及接收器可以是行動電話、個人數位助理器 (PDAs)、個人電腦(PCs)或是應用一無線通訊協^之任何 其它裝置。 本發明之決定觸發一發送器之一輪詢要求的-方法只 用於非重傳之PDU,並且使用下列方程式: t = ((2n + 1 + S-VT(A)) m〇d 2n)/VT(WS) (4) 關於重傳PDU中的輪詢位元53是否設定為j,則可以藉由其 匕輪詢觸發條件來決定。例如,一輪詢的觸發條件可能日 ”該PDU為重傳緩衝器中之最後一個PDU”。然而,在本^ = 中,一重傳PDU則不會觸發一輪詢動作。上述方程式(4)内 f變數S,係為一PDU之序號,而該PDU之輪詢位元53 或 是〇將依據t值來決定。該常數11係為序號5之位元長度。在 較佳貫施例中,序號S係為一 1 2位元長度的值,因此 在本例中為12。 值589843 V. Description of the invention (12) Any wireless communication protocol that needs to be polled to confirm the transmission of data may apply the polling triggering method of the present invention. The transmitter and receiver in the following description may be mobile phones, personal digital assistants (PDAs), personal computers (PCs), or any other device using a wireless communication protocol ^. The method of the present invention which decides to trigger a polling request of a transmitter is only used for non-retransmitted PDUs and uses the following equation: t = ((2n + 1 + S-VT (A)) m〇d 2n) / VT (WS) (4) Regarding whether the polling bit 53 in the retransmission PDU is set to j, it can be determined by its dagger polling trigger condition. For example, the trigger condition of a poll may be "the PDU is the last PDU in the retransmission buffer". However, in this case, a retransmission PDU will not trigger a polling action. The f variable S in the above equation (4) is the serial number of a PDU, and the polling bit 53 or 0 of the PDU will be determined according to the value of t. The constant 11 is the bit length of the serial number 5. In the preferred embodiment, the serial number S is a 12-bit length value, so it is 12 in this example. value

為了更了解方程式(4),請參考第5圖。第5圖係一應 用本發明方法的一無線通訊系統7〇之方塊圖。該無線通訊 系,70包含一接收器80及一發送器9〇。該發送器9〇及該接 收器80兩者使用一三階通訊協定。在該發送器9〇中,一第 三層介面93傳送第二層伺服資料單元(SDUs) 93a至一第二 層介面92,以供傳輸使用。該第二層介面92組構上述SDU 9 3a成為第二層通訊協定資料單元(pDUs) 92&amp;,以將之傳 送至第一層介面91,供傳輸使用。上述ρ〇ϋ 92a之格式與To better understand equation (4), please refer to Figure 5. Fig. 5 is a block diagram of a wireless communication system 70 using the method of the present invention. The wireless communication system 70 includes a receiver 80 and a transmitter 90. The transmitter 90 and the receiver 80 both use a third-order communication protocol. In the transmitter 90, a third layer interface 93 transmits a second layer servo data units (SDUs) 93a to a second layer interface 92 for transmission. The second-layer interface 92 constitutes the above-mentioned SDU 9 3a and becomes the second-layer communication protocol data units (pDUs) 92 &amp; to be transmitted to the first-layer interface 91 for transmission. The above ρ〇ϋ 92a format and

589843 五、發明說明(13) &quot; &quot; --- 先前技術說明中所述者相同,此處不再贅述。然而,要特 別強調的是,每一PDU 92a具有一n位元序號52,用以識別 串傳送之PDU 92a中’ §玄等PDU 92a的排列順序。對於本 較佳實施例,n為12,因此,該PDU 92a之序號可能是 到4095之範圍中任-數字,而且可循環使用。每一 92a同時具有一輪詢位元53。輪詢位元53可由該發送器9〇 〇又疋為1,來輪询接收器8 〇。如先前技術所述,該接收器 8 0利用一確認狀態p d ϋ來回應一被設定為1的輪詢位元5 3, 使發送器90可向前推進其傳送窗94。589843 V. Description of the invention (13) &quot; &quot; --- The same as described in the previous technical description, which will not be repeated here. However, it is particularly emphasized that each PDU 92a has an n-bit serial number 52, which is used to identify the sequence of the PDU 92a and the like in the PDU 92a transmitted in a string. For the preferred embodiment, n is 12, so the serial number of the PDU 92a may be any number in the range of 4095, and it can be recycled. Each 92a has a polling bit 53 at the same time. The polling bit 53 may be polled by the sender 900 to 1, and polling the receiver 800. As described in the prior art, the receiver 80 responds to a polling bit 5 3 set to 1 with an acknowledged state p d ϋ so that the transmitter 90 can advance its transmission window 94 forward.

傳送窗94是由狀態變數VT(A) 95、VT(WS) 96以及 VT(MS) 97所定義。發送器90將只傳送序號52位於傳送窗 94之内的PDU 92a。狀態變數VT( A) 95為傳送窗94之起始 值。狀態變數VT(WS) 96為傳送窗94大小,簡單的說,就 是傳送窗9 4中容許傳送序號值5 2的數量。狀態變數v T (M S) 97為傳送窗94之結尾。因此,狀態變數vt(MS)為VT(A) 95 及VT(MS) 96二者之和。因為溢位的因素,vt(MS) 97之值 不見得大於VT(A) 95之值。最後,一狀態變數vt(S) 98表 示下一個等著要被第一次傳送之一PDU 92a的序號52。 VT(S) 98必定等於VT(A) 95或是在VT(A) 95之後,而且 VT(S) 98也必定在VT(MS) 97之前。該狀態變數 95、VT(WS) 96、VT(MS) 97 及 VT(S) 98,在定義與功能 上,與先前技術說明中所述者相同。 該發送器9 0也包含一計鼻單元9 9,用以計算一測試值 t 99a。t 99a之值與一由第三層介面93所提供之輪詢值The transmission window 94 is defined by the state variables VT (A) 95, VT (WS) 96, and VT (MS) 97. The transmitter 90 will only transmit the PDU 92a whose serial number 52 is within the transmission window 94. The state variable VT (A) 95 is the initial value of the transmission window 94. The state variable VT (WS) 96 is the size of the transmission window 94. In short, it is the number of transmission window values 5 2 allowed in the transmission window 94. The state variable v T (MS) 97 is the end of the transmission window 94. Therefore, the state variable vt (MS) is the sum of both VT (A) 95 and VT (MS) 96. Due to the overflow factor, the value of vt (MS) 97 may not be greater than the value of VT (A) 95. Finally, a state variable vt (S) 98 indicates the sequence number 52 of the next PDU 92a waiting to be transmitted for the first time. VT (S) 98 must be equal to or after VT (A) 95, and VT (S) 98 must be before VT (MS) 97. The state variables 95, VT (WS) 96, VT (MS) 97, and VT (S) 98 are the same in definition and function as those described in the previous technical description. The transmitter 90 also includes a nose counting unit 99 for calculating a test value t 99a. The value of t 99a and a polling value provided by the third layer interface 93

0660-8831 twf(nl) ;P-90059OV; EDWARD, ptd0660-8831 twf (nl); P-90059OV; EDWARD, ptd

589843 五、發明說明(14) 93b做比較,用以決定該發送器9〇是否應輪詢該接收器 8〇。若輪詢應被執行,則將了個待傳之pDlI 98p内的輪詢 位元53之值設為1。測試值t 99a使用於窗框式之輪詢。而 且,為了產生t 99a之值,計算單元使用狀態變數VT( a ) 95與VT(WS) 96、在PDU 98p内之序號s 98s、以及方程式589843 V. Description of the invention (14) 93b is compared to determine whether the transmitter 90 should poll the receiver 80. If polling should be performed, the value of polling bit 53 in pDlI 98p to be transmitted is set to 1. The test value t 99a is used for window frame polling. Furthermore, in order to generate the value of t 99a, the calculation unit uses the state variables VT (a) 95 and VT (WS) 96, the sequence number s 98s in the PDU 98p, and the equation

(4)。輪詢值93b表示傳送窗94的傳送百分比,也1尤是說, 在該傳送窗94中已傳送出去之PDU 92a所佔的百分比。若七 99a之值超過或等於該輪詢值93b,並且該pDU 98p並非重 傳之PDU 92a,那麼,透過設定該pM 98p之輪詢位元53為 1,&quot; 輪询要求就被觸發。也就是說: 1) 若該PDU 98p係一重傳之PDU 92a,則本發明並不 會去設定該PDU 98p之輪詢位元“為}。若pDU 98p係第一 次被傳送,就根據測試值七99a以及輪詢值93b,來判 否設定該輪詢位元53為1。 2) 當有判斷的需要時,利用方程式(4)來產生測試右 t 99a。方程式(4)中的參數有狀態變數ντ(Α) 95、ντ( 96、考里需否將輪詢位元53設為1之抑^ 98ρ的序號$ 98s、以及序號S 98s之位元長度η。(4). The polling value 93b indicates the transmission percentage of the transmission window 94, and in particular, the percentage of the PDUs 92a transmitted in the transmission window 94. If the value of seven 99a exceeds or equals the polling value 93b, and the pDU 98p is not a retransmitted PDU 92a, then by setting the polling bit 53 of the pM 98p to 1, a &quot; polling request is triggered. That is to say: 1) If the PDU 98p is a retransmitted PDU 92a, the present invention does not set the polling bit of the PDU 98p to "}. If the pDU 98p is transmitted for the first time, it is based on the test The value 7a and the polling value 93b are used to determine whether to set the polling bit 53 to 1. 2) When there is a need for judgment, use equation (4) to generate the test right t 99a. The parameters in equation (4) There are state variables ντ (Α) 95, ντ (96, whether the polling bit 53 is set to 1 and the serial number $ 98s of 98p, and the bit length η of the serial number S 98s.

3) 只有在測試值t 99a等於或大於輪詢值9讣,並且1 PDU 98^不々是一重傳之PDU 92a時,該pM 98p之輪詢位元/ 5 3才應设定為1,以觸發輪詢動作。 請參考第6圖並配合第5圖。第6圖係本發明之方法的 “呈圖。I中’係由該計算單元99來決 發送器90來觸發。各步驟說明於下: 您由。名3) Only when the test value t 99a is equal to or greater than the polling value 9 讣 and 1 PDU 98 ^ is not a retransmitted PDU 92a, the polling bit / 5 3 of the pM 98p should be set to 1, To trigger the polling action. Please refer to Figure 6 and cooperate with Figure 5. Fig. 6 is a "rendering of the method of the present invention. The" I "is triggered by the calculation unit 99 and the transmitter 90. The steps are described below: You are from. Name

589843 五、發明說明(15) 100 :取得一 PDU 98p,該PDU 98p中的輪詢位元53準 備被判斷應否設定為1。 1 10 :若步驟100中所得到之PDU 98p是一重傳之PDU, 則跳至步驟1 8 0 ;否則,進行步驟1 2 0。 1 20 :取得傳送窗94當下各相關之數值,包括狀態變 數VT(A) 95及VT(WS) 96之值;另外,自步驟10(Τ所得之 PDU 98ρ中取得其序號s 98s。589843 V. Description of the invention (15) 100: Obtain a PDU 98p, and the polling bit 53 in the PDU 98p is ready to be judged whether it should be set to 1. 1 10: If the PDU 98p obtained in step 100 is a retransmitted PDU, skip to step 180; otherwise, proceed to step 120. 1 20: Obtain the current relevant values of the transmission window 94, including the values of the state variables VT (A) 95 and VT (WS) 96; in addition, obtain its serial number s 98s from the PDU 98ρ obtained in step 10 (T).

130 :計算一第一值X。該值X等於+ 1)加上序號S 98s與狀態變數VT(A) 95兩者之間的差值。η值代表序號S 98s的位元長度。而在較佳實施例中,η值為1 2,因此,將 4097 與(S-VT(A))相加。 1 40 ·計算一第二值y。y的值為第一值X除以2n所得之 餘數。因此,第二值丫等於(χ m〇d 4〇96)。 150 :將第二值y除以狀態變數VT(WS) 96,而得測試 值t 99a。測試值t 99a表示該pdu 98ρ在傳送窗94中的百 分比0 160 ·將測試值t 99a與輪詢值93b作比較。因為輪詢 :通2存成-0至1〇〇之數字,所以將該值&quot;9a乘以1〇 後,來執行此比較的動作。130: Calculate a first value X. This value X is equal to +1) plus the difference between the sequence number S 98s and the state variable VT (A) 95. The value η represents the bit length of the sequence number S 98s. In the preferred embodiment, the value of n is 12 and therefore, 4097 is added to (S-VT (A)). 1 40 · Calculate a second value y. The value of y is the remainder obtained by dividing the first value X by 2n. Therefore, the second value λ is equal to (χ m〇d 409). 150: Divide the second value y by the state variable VT (WS) 96 to obtain a test value t 99a. The test value t 99a represents the percentage of the pdu 98ρ in the transmission window 94 of 0 160. The test value t 99a is compared with the polling value 93b. Because polling: Pass 2 is stored as a number from -0 to 100, so the value &quot; 9a is multiplied by 10 to perform this comparison action.

170:若t99a所代表L 93h砗,目丨丨結旅说、、,。。之傳輸百/刀比大於或等於輪詢1 y b日$ 則觸發發运态之給%紅^ θ 輪詢位元53設定為丨。旬動作’也就疋將該PDU 98Ρ」 180 :若t 99a所代表夕爲认 或該PDU 98p係一重傳之pD^輸百分比小於輪詢值93b, 時,則不需要輪詢,不進行;170: If t99a represents L 93h 砗, the head said ,,,. . If the transmission hundred / knife ratio is greater than or equal to polling 1 y b day $, then the triggering of the shipping state is given. Red ^ θ Polling bit 53 is set to 丨. This action is also the PDU 98P ”180: if t 99a is considered to be the evening or the PDU 98p is a retransmission pD ^% input percentage is less than the polling value 93b, then no polling is required and not performed;

589843 五、發明說明(16) ---〜 定PDU 98p之輪詢位元53為1的動作。 inn ^9〇 ·結束輪詢決策方法。對下一PDU 98p重複從步驟 1 〇 0開始的步驟。 少鄉 4?:較於ΐ前技術’本發明根據下列方程式,並使用一 汁异早7G以來計算一測試值t : t : {(2n + 1 + S - VT(A)) m〇d 2n}/VT(WS) 述公式精確地計算出所考量應否將輪詢位元53設定 為1之PDU於發送僖逆窗讲疋 笋心之百分比,使得該發送器可 $確地觸發輪詢要求。然*,只有在上述方 之PDU不是重傳之pDlJ時,輪詢才 里下 不觸發輪詢。因此在本方=中才會被進灯°重傳之PDU並 1 」 線傳輸系統更有效率。而且,使用 P内之只際序唬S 98s,而非狀態變數VT(S) :’更可避免該VT(S) 98因為廠牌設計不 ) 定性。所以,本發明也提供了一簡易可行確 雖然本發明已以一較佳實施例揭露如上,;;生:二 以限定本發明,任何熟知此技術之人士,在不脫離= 範圍當視後附之申請以::=者::本發明之保護589843 V. Description of the invention (16) --- ~ The action of setting the polling bit 53 of PDU 98p to 1. inn ^ 9〇 · End polling decision method. Repeat the steps from step 1000 for the next PDU 98p. Shaoxiang 4 ?: Compared with the previous technology, the present invention calculates a test value t according to the following equation and uses a different juice since 7G: t: {(2n + 1 + S-VT (A)) m〇d 2n } / VT (WS) formula accurately calculates the percentage of the PDU in which the polled bit 53 is set to 1 in the transmission window, so that the transmitter can trigger the polling request. . However, only when the PDU of the above party is not a pDlJ for retransmission, polling is not triggered. Therefore, the PDU and 1 ″ line transmission system that will be re-transmitted only when the local party is in the middle is more efficient. In addition, using the sequence order S 98s in P instead of the state variable VT (S): ’can avoid the VT (S) 98 qualitatively because of the brand design. Therefore, the present invention also provides a simple and feasible solution. Although the present invention has been disclosed as above with a preferred embodiment, it is important to limit the present invention to anyone who is familiar with this technology without departing from the scope. The application is :: == :: The protection of the present invention

589843 圖式簡單說明 第1圖係一典型三層通訊協定之方塊圖。 第2圖係一第二層傳送/接收程序簡化圖。 第3圖係一確認模式通訊協定資料單元(PDU)之方塊 圖。 第4圖係一無線通訊系統中之一接收器及一發送器之 簡化方塊圖。 _ · 第5圖係一根據本發明之無線通訊系統之簡化方塊 圖。以及 第6圖顯示一本發明方法之流程圖。 [符號說明] 4 1 0、2 0 ··站台 1 1、2 1 :應用訊息 12、 22、33、43、93 :第3 層介面 12a、22a :信號訊息 13、 2 3 :通訊應用程式 14、 24、34、44、5 7a、5 7b、5 7c、9 3a ··服務資料單 元 16、26、32、42、92 :第2 層介面 18、28、36、46、50、92a、9 8p :協定資料單元 19 、 29 、 31 、 41 、 91 :第1 層介面 〇 3 0、6 5、9 0 :發送器 40、 64、 80:接收器 51、5 2、5 4 :欄位 5 3 :輪詢位元589843 Brief description of the diagram Figure 1 is a block diagram of a typical three-layer communication protocol. Figure 2 is a simplified diagram of the second layer transmission / reception procedure. Figure 3 is a block diagram of a acknowledgment mode protocol data unit (PDU). Figure 4 is a simplified block diagram of a receiver and a transmitter in a wireless communication system. Figure 5 is a simplified block diagram of a wireless communication system according to the present invention. And Figure 6 shows a flowchart of the method of the present invention. [Description of symbols] 4 1 0, 2 0 ··· Platform 1 1, 2 1: Application information 12, 22, 33, 43, 93: Layer 3 interface 12a, 22a: Signal information 13, 2 3: Communication application 14 , 24, 34, 44, 5 7a, 5 7b, 5 7c, 9 3a · Service data unit 16, 26, 32, 42, 92: Layer 2 interface 18, 28, 36, 46, 50, 92a, 9 8p: protocol data unit 19, 29, 31, 41, 91: layer 1 interface 0 3 0, 6 5, 9 0: transmitter 40, 64, 80: receiver 51, 5 2, 5 4: field 5 3: polling bit

0660-8831twf(nl);P-90059T1V;EDWARD.ptd 第21頁 589843 圖式簡單說明 55a 、 55b 、 55c :延伸位元 56a、56b :長度指標 58 :資料區域 6 0、7 0 :無線通訊系統 61 :接收窗 62 、63 、67 、68 、69 、66a、95 、96 、97 、注8 :變數 66、94 :傳送窗 66b :重傳緩衝器 9 9 :計算單元0660-8831twf (nl); P-90059T1V; EDWARD.ptd Page 21 589843 Brief description of the diagram 55a, 55b, 55c: Extended bits 56a, 56b: Length indicator 58: Data area 6 0, 7 0: Wireless communication system 61: Receive window 62, 63, 67, 68, 69, 66a, 95, 96, 97, Note 8: Variable 66, 94: Transmission window 66b: Retransmission buffer 9 9: Calculation unit

0660-8831twf(nl);P-90059TW;EDWARD.ptd 第22頁0660-8831twf (nl); P-90059TW; EDWARD.ptd Page 22

Claims (1)

589843 六、申請專利範圍 驟 及 1 · 一種用以決定觸發—無線通訊協定中的一發。 -輪詢要求的方法,該發送器可以傳送通訊協料f之 =_,每-PDU包括1位元序號,上述方法包括 提供一輪詢決策方法,以決定輪詢是否應被執行;、 詢決策方法指示應觸發或執行輪詢時,才使輪詢動 發0 只有一即將被傳送之PDU不是一重傳之pDU,而 ι邊輪 作被觸 該輪詢 &amp; 2 ·如申請專利範圍第丨項之決定方法,其中, 決策方法包括下列動作: 提$ —輪詢值,作為一判斷標準; 器之g 該基本序號VT(A)標示該發送 取#第一值,等於該第—值除以2n所得之餘數;以 及 之大::;測試值,該測試值等於該第二值除以該傳送窗 味,2 : : ΐ ί數1是該即將被傳送之PDU的之n位元序 :。 u “式值大於該輪詢值時,則觸發輪詢動 3.如申請專利範圍第2項之决定方法,其中,若該測589843 VI. Scope of Patent Application and 1 · A method used to determine the trigger-a wireless communication protocol. -Polling request method, the transmitter can transmit communication information f = _, each -PDU includes a 1-bit serial number, the above method includes providing a polling decision method to determine whether polling should be performed; When the method indicates that polling should be triggered or performed, the polling is initiated. Only one PDU to be transmitted is not a retransmitted pDU, and the polling is triggered by the polling &2; such as the scope of the patent application The decision method, wherein, the decision method includes the following actions: Withdraw the $ — polling value as a judgment criterion; the basic serial number VT (A) indicates that the transmission takes the first value of #, which is equal to the first value divided by The remainder obtained by 2n; and the big ::; the test value, which is equal to the second value divided by the transmission window taste, 2:: ΐ The number 1 is the n-bit order of the PDU to be transmitted: . u "When the value is greater than the polling value, the polling action is triggered. 3. As for the method of determining the second item of the patent application scope, if the test 0660-8831 twf(nl);P-90059TW;EDWARD.ptd 第23頁 I麵 5898430660-8831 twf (nl); P-90059TW; EDWARD.ptd page 23 I side 589843 0660-8831twf(nl);P-90059TW;EDWARD.ptd 第24頁0660-8831twf (nl); P-90059TW; EDWARD.ptd page 24
TW91134286A 2002-11-26 2002-11-26 Applicable PDU range test and calculation for window-based polling TW589843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91134286A TW589843B (en) 2002-11-26 2002-11-26 Applicable PDU range test and calculation for window-based polling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91134286A TW589843B (en) 2002-11-26 2002-11-26 Applicable PDU range test and calculation for window-based polling

Publications (2)

Publication Number Publication Date
TW200409509A TW200409509A (en) 2004-06-01
TW589843B true TW589843B (en) 2004-06-01

Family

ID=34058018

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91134286A TW589843B (en) 2002-11-26 2002-11-26 Applicable PDU range test and calculation for window-based polling

Country Status (1)

Country Link
TW (1) TW589843B (en)

Also Published As

Publication number Publication date
TW200409509A (en) 2004-06-01

Similar Documents

Publication Publication Date Title
US7839838B2 (en) Enhanced polling method for preventing deadlock in a wireless communications system
TWI221376B (en) Robust RLC reset procedure in a wireless communication system
US7411979B2 (en) Enhanced SDU discard procedure for a special data segmentation in a wireless communications system
EP1768296A2 (en) Method and apparatus for transmitting signaling data messages in a wireless communications system
JP5215413B2 (en) Status report for retransmission protocol
US6996063B2 (en) Applicable PDU range test and calculation for window-based polling
US20080056148A1 (en) Wireless communication method and apparatus for reducing data retransmission
KR102046792B1 (en) Method of transporting data from sending node to destination node
JP2002538720A (en) Data transfer packet retransmission method and apparatus
USRE40077E1 (en) Window-based polling scheme for a wireless communications protocol
EP1656739A2 (en) Method to avoid potential deadlocks in a sdu discard function
JP2011512063A (en) Method and transmitter for reducing the risk of transmission stalling
WO2014075284A1 (en) Data retransmission and feedback methods, and corresponding apparatus
WO2014194493A1 (en) Method, device and system for reducing confirmation packets at transmission control layer
JP2016174211A (en) Communication system
TW589843B (en) Applicable PDU range test and calculation for window-based polling
JPH1070523A (en) Method and equipment for packet transmission
JP3862648B2 (en) Protocol data unit range testing and calculation method applied to window-based polling
KR100486033B1 (en) Applicable pdu range test and calculation for window-based polling
EP1424815A1 (en) Method for requesting status reports in acknowledged mode data transfer
TW578402B (en) Window-based polling scheme for a wireless communications protocol
CN115515259A (en) Method and device for reporting MSD (Multi-level transport protocol) through RTCP (real-time transport control protocol)
JPH08293887A (en) Device for recognizing transmission and arrival

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees