B? 五、發明説明(1 發明技術範圍 本發明係有關於用來分派延展碼iDS_CDMA前行線路 連接之方法β 相關技藝的描述 CDMA⑶碼多向近接)是—項用於無線通訊系統之眾所 周知的多向近接方法。劃碼多向近接方法使用展頻技街, 其中若干用户依其無線通道同時佔有相同的頻帶。 在一種特別型態之劃碼多向近接技術中的ds_cdma (直 接序列-劃碼多向近接)系統,藉由從系統中分離其他用 尸,使每-用户被分派一特定的延展碼。對於延展碼的另 個名子是延展序列或延展碼序列。 無線訊號中的傳輸資訊藉由一發送端的特定延展碼所編 碼(延展)^在接收端,編碼資訊由再次關聯相同的特定延 展碼所解碼(除延展),或由匹配濾波器濾波接收資訊。 一種與符間距相同長度的延展碼稱爲短延展碼。W 一正交碼是對零時間位移具有零互相關的—種碼。使用正 交碼可減少細胞内的干擾,例如,在相同細胞中而從其他 前行線路訊號的干擾。正常地,細胞内的干擾不會隨時間 經濟部中央標準局員工消費合作社印聚 傳播而被完全地消除,其將會部分地破壞以正交編碼之訊 號碼間的正交性。 —般,一組正交碼僅包括一有限數目的碼字,碼字的數 目總是少於或等於碼字的長度。結果,只有—有限數目的 正交延展碼可獲得,幾乎正交或非正交的延展碼必須使用 來增加同時用户的數目成増加系统的位元率。 -4- 本紙張尺度 it 财 iiiiirCNS)A4^(2lOx297^ 經濟部中央標準局員工消费合作社印製 Λ7 -----_____B7 五、發明説明(2 ) -在一DS-CDMA前行線路(從基地台傳輸到—無線單 兀)’正交延展碼通常用於分離不同的無線通道。 當一透過無線通道的連接使用超過一個延展碼時,稱爲 使用所謂的多碼傳輸。 對於可變位兀率連接,例如,—種位元率變化於細胞持 續期間的連接,實際由每一連接所使用的延展碼數目將於 時間及不同的連接之間而變化。高位元率比低位元率使用 更多延展碼。 於無線通訊系統中分派延展碼至一具有可變位元率的連 接方案之例子爲靜態配置。 靜·%配置意指每一連接爲,在通話建立時,盡可能配置 如所需之多的延展碼而足以傳送一要求最大之位元率。 這意指一少量具有可變位元率的連接可能配置所有獲得 的延展碼,縱使他們並不須要同時使用其全部。 另一分派延展碼至一連接的方案之例子爲動態配置。 動態配置意指根據每一連接的瞬間.農身,一^有連接分享 —延展碼的共同來源,其中延展碼是由基地台所連續從新 分佈。 每一時間’連接中的位元率被增加,基地台必須通知無 線單元接收何種新延展碼。這將需要在基地台和無線單元 間一顯著的開支。 美國專利US 5 533 013描述一種方法與系統用來分派完 全的正交延展碼與一結合CDMA/TDMA或TDMA/CDMA通 訊系統中的無線通道。該方法包括分派一選自一組完全的 __ -5- 本紙張尺度適用國家標準(CNS ) A4規格(21〇>< 297公楚)一 一 (請先閱讀背面之注意事項填寫本頁} ”裝· 訂 五、發明説明(3 ) =展碼的步驟。該系統包括用來分派選 π全正父延展碼的碼组之正交延展碼的方法。若 擇完全正交延展碼的碼組以至其彼此爲完全 美工5 452 328描述一種方法用來分派不相連的 :彳:歹:組至一多點通訊網路的不同節點。網路上 =每ip點被分配-選自幾乎正交二元序心之延展碼序 此發明也描述一裝置及方法,藉由結合第-與第二多級 ==器來產生該序列系。在這裡將見到,披示於這此 專利的每-方法岐本發明时法有著不同的構造。一 無線單元-詞包括所有意圖無線通訊之可攜式與不可攜 式:備’如行動電話、呼叫器、電報機'筆記型電腦 報機。這些設備可用於任何型式的無線通訊系統,諸如細 胞式網路、衛星或小區域網路。 概述 經濟部中央標準局員工消費合作社印製 本發明合適合關於在僅-有限數目的正交延展碼可獲得 之DS-CDMA通訊系統下,如何分派—前行線 展碼之問題。 ~ j、 -問題發生在當,系統使用靜態配置可變位元率的連接 時。縱使只有_少量的延展碼實際上同時被使用,系統也 可能運轉超出延展碼。每-連接已分配所需之 所需數目的延展碼,不管是否最大位元率僅需要於一知時 間。 二 本紙張尺度適用中國國豕標率(CNS ) A4規格(21 Οχ 297公兹) 五 、發明説明(4 A7 B7 另-問題發生在當系統使用動態配置可變位元率的連接 時。在基地台和無線單元間通訊t要增加m㈣, 以通知無線單元每一時間接收了何種新的延。 依照先前,本發明之一主要目的是爲了提供分派延展碼 至具有可變位元率連接的通訊系統中之無線單元的方法與 裝置。 本發月之另目的疋爲了提供—大量可獲得之延展碼, 其不受獲得於DS-CDMA通訊系統中之正交延展碼的數目 所限制。 .本發明更進一步@目的是爲了避免在DS-CDMA通訊系 統中之通話期間重新分配延展碼。 根據本發明的第一項觀點,只要有延展碼可獲自第— 組’便從正交延展碼的第—組分派延展碼至前行線路連 接。當所有第一組的延展碼被分配後,正交延展碼的第二 組分派至前行線路連接,而這裡的正交延展碼非正交於第 组的延展碼。當實用時,超過兩組延展碼被使用。 根據本發明的第二項觀點,分派至前行線路連接的延展 碼是分派自兩個不同的碼組。延展碼的第一群分派自第一 碼组,而第二群分派自第二碼組。當實用時,超過兩組延 展碼被使用β 本發明包括用來分派延展碼至可變位元率前行線路連接 的方法。此方法包括分派延展碼自正交延展碼之第一组的 步驟。此方法也包括分派延展碼自正交延展碼之第二組的 步驟,其中的正交延展碼非正交於第一组中的延展崎。 本紙張尺度適用中國國家標準(CNS〉A4規格(21〇'〆297公沒 請 先 閱 讀 背 ιδ 項-再, Ϊ t 頁 訂 經濟、邓中央標準局員工消費合作社印製 五、發明説明(5 根據本發明的第—項勒机 的第一組 + * 項觀點,延展碼首先被分派自延展碼 思雄„ 。直第一碼纽中的所有延展碼被分派完畢時,延 I碼接著被分渡白笛- 兩叙。 目弟—碼組。碼組的數目可被延伸至超過 據本發明的第二項觀點’延展碼是分派自兩個不同的 第”:。延展碼的第-群分派自第-碼组,¾第二群分派自 碼組。延展碼的第_群包括最常被使用的那些碼。第 —太包括㈣碼。対料,超過兩碼組可被使用。 發月的$優點是同時分配的延展碼數目不 小所硬限制。 另-項優點是在通話建立時,每—連接被分派眾多的延 碼。不需要吏進一步的重新分派延展碼ό 圖式簡述 參考以下描述並結合伴隨的圖示,本發明在以上所提的 目的與其他特徵將變得更明顯。 圖1是-個S地台與四個纟線單元在ds_cdma通訊系統 中的説明圖。 圖2是根據本發明之一碼組的例子之説明圖。 經濟部中央標準局員工消費合作社印製 *圖3是一流程圖的第一部分,説明根據本發明之方法的 第一具體實施例。 圖4是圖3中流程圖的第二部分。 圖5是一組具有根據圖3與4中第一具體實施例之延展碼 所分派的碼組之説明圖。 圖6 a是一流程圖的第一部分,説明根據本發明之方法的 -8 - 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公赴) A7 B7 經濟部中央標準局員工消费合作社印製 五 '發明説明(6 ) ~ — 一'~ 第一具禮實施例。 圖6b是圖6a中流程圖的第二部分。 圖7是延展碼的四群之説明圖。 圖8是—组具有根據圖以妨第二具體實施例之延展碼 所分派的碼組之説明圖。 具體實施例之相關描述 本發明關於用來分派延展碼至前行線路連接於ds_ CDMA通訊系統中之方法。前行線路連接爲無線連接,其 中位元率可變化(可變位元率)於一通話期間。 L展碼了被分派於通話建互時,例如站台交遞時與額外 服務建立期間。 圖1顯示一基地台B與四個無線單元m_U4在ds_cdma 通訊系統中。每一無線單元仍—以有―前行線路連接 C4,在基地台B與個別的無線單元1;1_1;4間具有可變位元 〇 當基地台B與無線單元ui間的第一前行線路連接(:1 立時,藉由基地台B或通訊系統的某些其他部分,分派 特疋數目的延展碼至第一前行線路連接Ci。只要第一 行線路連接C 1建立後,分派至此第—前行線路連接c J 延展碼就不能被分派至新的前行線路連接C2_C4。 分派至每一 3接的之展碼之數目由根據以下所需的位 率來決定: 具有高位元率的連接比低位元率的連接需要較多的延展 碟 0 .......... ......... 建 前 的 元 (請先閱讀背面之法意事項再填寫本頁) .裝 ,\-口 9- 表纸張尺度適用中國國家標準(CNS ) A4規格(210X297公趋) A7 B? 五 發明説明(7 具有多碼傳輸的連接使用若干碼並行以増加位元率。 圖2顯不根據本發明之碼組51_§11的一組2〇之例子。第 一碼组S1包括眾多的正交延展碼1^。第二碼組s2也包括 眾多的正交延展碼m2。 這些延展碼彼此正交但與第一碼組以中的延展碼非正 交。 第^碼組S3包括眾多的正交延展碼叫。這些延展碼彼 此正父但與第一碼組S1及第二碼组的延展碼非正 父。具有延展碼的碼組n之數目可以超過三個。 圖3與4顯示根據本發明之方法的第一具體實施例之流 程圖,其中眾多對應到所需位元率的延展碼被分派至一可 變位元率的前行線路連接C1» μ步驟31a中決定需要傳送在基地台Β與無線單元口丨間的 第一前行線路連接C1所需位元率的延展碼之數目。 步驟3 1 b中決定在所有可獲得的碼组中之可獲得(未分派) 的延展碼數目。若可獲得的延展碼少於所需的延展碼,則 本方法結束,否則接續步驟3 2。 步驟32中,決定在一正交延展碼中所選擇的第—組si 之可獲得(未分派)的延展碼數目。若在延展碼的第一組 S1沒有可獲得的延展碼,則本方法接續步驟35 ^若在延 展碼的第一組S 1有可獲得的延展碼,則本方法接續步驟 3 3 ° 步驟33中,眾多延展碼,不超過前行線路連接ci上所 需要的延展碼數目,被分派自延展碼的第一組至前行 -10- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公茇) -------等 (請先閱讀背面之注意事項一^寫本页) 訂 輕濟部中央榡準局員工消費合作枉印製 Λ7 B7 五、發明説明(8 線路連接C1。 步驟34中’需要的延展碼數目比較於被分派自延展碼 的第一组S1之延展碼的數目。若需要的延展碼數目等於 被分派自延展碼的第一组S1之延展碼的數目,則本方法 結束,否則接續步驟3 5。 步驟35中決定在一正交延展碼中所選擇的第二組S2之 可獲知的延展碼數目。若在延展碼的第二組S2沒有可獲 得的延展碼,則本方法接續步驟38 ^若在延展碼的第二 組S2有可獲得的延展碼,則本方法接續步驟36。 步報36中,眾多延展碼,不超過前行線路連接ci上所 需要的延展碼數目,被分派至前行線路連接C1。 步驟37中’需要的延展碼數目個別比較於被分派自延 展碼SI、S2的第一與第二組之延展碼的數目。若需要的 延展碼數目分別等於被分派自延展碼SI、S2的第一與第 一组之延展碼的數目’則本方法結束,否則接續步樣 3 8 〇 步驟38中’示於圖4,決定出碼組的數目。若碼組的數 目爲三’則本方法接續步驟3 9,否則結束。 經濟部中央橾準局員工消費合作社印製 步驟39中決定在一正交延展碼中所選擇的第三組§3之 可獲得的延展碼數目。若在延展碼的第三組S3沒有可獲 得的延展碼’則本方法接續步驟42。若在延展碼的第三 组S 3有可獲得的延展.碼,則本方法接續步驟4 0。 步骤40中,眾多延展碼,不超過前行線路連接C1上所 需要的延展碼數目,被分派自延展碼的第三組S 3。 -11 - (紙張尺度適用中@ g|家縣(CNS ) A4規格(2丨〇 X 297公釐 B7 五、發明説明(9 ) 步裸4 1中,需要的延展碼數目個別比較於被分派自延 展碼SI、S2、S3的第一、第二與第三組之廷展碼的數 目。若需要的延展碼數目分別等於被分派自延展碼Si、 S2、S3的第一、第二與第三組之延展碼的數目,則本方 法結束,否則接續步骤4 2。 步骤42中,決定出碼组的數目。若碼組的數目爲三, 則本方法結束,否則只要有更多延展碼被分派以及更多碼 組Sl-Sn可獲得,則接續更多相·似於39_42的步驟。 每次重複根據圖3與4的方法,必須建立新的前行線路 連接。 經濟部中央標準局員工消費合作社印聚 圖5顯示一碼組Sl-Sn之一组50的説明圖,包括根據第 一具體實施例之延展碼。基地台B與無線單元U 1間的第 一前行線路連接ci,見圖1,已從延展碼的第一組81中 被分派一延展碼X之第一數目。第二前行線路連接C2,已 被分派一延展碼y之第二數目。延展碼y之第二數目的第 一部分y-ki從延展碼的第一組S1中取出並被分派至第二前 行線路連接C2。延展碼y之第二數目的第一部分y_ki至少 包括一完全的延展碼。延展碼y之第二數目的第二部分]^ 從延展碼的第二组S2中取出並被分派至第二前行線路連 接C2。延展碼y之第二數目的第二部分]^至少包括一完全 的延展碼。在延展碼的第一組S1中之不分派延展碼數目 少於y更多分派自延展碼的第二组S2之延展碼。 一第三前行線路連接C 3已自延展碼的第二組s 2被分派 一延展碼z之第三數目。 -12- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) A7 B? 經濟部中央標準局員工消費合作社印製 五、發明説明(1〇 一第四則行線路連接€4已被分派_延展碼〜之第四數 目。延展碼第四數目的第一部分你-“從延展碼的第二 組S2中取出並被分派至第四前行線路連接C4。延展碼w 之第四數目的第一部分至少包括一完全的延展碼。延 展碼w之第四數目的第二部分、從延展碼的第三組S3中取 出並被分派至第四前行線路連接C4。延展碼…之第四數 目的第二邵分匕至少包括一完全的延展碼。 圖6a-b顯*根據本發明之方法的第:具㈣施例之流程 圖,其中眾多對應到所需位元率的延展碼被分派至具有可 變位元率的前行線路連接C1。 步驟61a中,決定出在基地台B和無線單元…間,於前 行線路連接CU,需要傳送於所需位元率的延展碼之線 數目。 步驟6lb中決定在所有可獲得的碼組中之可獲得(未分派) 的延展碼數目。若可獲得的延展碼少於所需的延展碼總 數,則本方法結束,否則接續步驟6 2。 步驟62中,需要的延展碼總數分別被分割爲第—與第 二群Xl、¥在第-群〜中需要的延展碼數目對應到將最 常被使用於前行線路連接C1的延展碼數目。在第二群X 中需要的延展碼數目對應到將不常被使用於前行線路連^ Ci的延展碼數目。分別合併第—與第二群^ &將包括需 要用於前行線路連接C1的延展碼總數。 而 步驟63中,決定在一正交延展碼中所選擇的第—组w 之可獲得(未分派)的延展碼數目。若在延展碼的第一组 -13 - 本紙張尺度朝標率(CNS ) Α4規格( (請先閱讀背面之注意事i再填寫本育) 裝iT---- 經濟部中央標準局員工消費合作社印^ A7 _____B7 五、發明説明(11 ) ~~ S 1沒有可獲得的延展碼,則本方法接續步驟7 〇 ,見J 4 頁。若在延展碼的第一組S1有可獲得的延展碼,則本方 法接續步驟6 4。 步骤64中’眾多延展碼’不超過第一群〜所需要的延展 碼數目’被分派自延展碼的第一組S 1至延展碼Xl的第— 群。 竟骤65中,在第一群Xl所需要的延展碼數目比較於被分 派自延展碼的第一組S1之延展碼的數目。若在第_群乂 所需要的延展碼數目等於被分派自延展碼的第—組81之 延展碼的數目,則本方法接續步驟66以分派延展碼至第 二群X2,否則接續步驟7 0以分派更多延展碼至第—群&。 步驟66中,示於圖6b,決定在一正交延展碼中所選擇 的第二组S2之可獲得(未分派)的延展碼數目。若在延展 碼的第二组S 2沒有可獲得的延展碼,則本方法接續步骤 69。若在延展碼的第二組S2有可獲得的延展碼,則本方 法接續步驟6 7。 步驟67中,眾多延展碼,不超過第二群心所需要的延展 碼數目’被分派自延展碼的第二組S2至第二群χ2。 步驟68中,在第二群X2所需要的延展碼數目比較於被分 派自延展碼的第二組S 2之延展碼的數目。若在第二群& 所需要的延展碼數目等於被分派自延展碼的第二组;52之 延展碼的數目,則本方法結束,否則接績步驟6 9以分派 更多延展碼至第二群χ2。 步驟6 9中,決定出碼組的數目。若碼組的數目超過 -14 - 本紙張尺度適用中國3家標準(CNS ) ^格(別幻97公楚) '- f請先聞讀背面之>ΐ·意事項再填寫本頁j -裝 丁 _ 、一*5 五 、發明説明(12 Α7 Β7 經濟部中央標準局員工消費合作社印製 二’則本方法接續步驟相似於先前步驟63-69,否則結 束。 、口 步裸70中,決定在—正交延展碼中所 之可獲得的延展碼數目。 弟-,S2 若在延展碼的第二組S2沒有可獲得的延展碼,則本方 法接續相似於步驟69以尋找更多碼組。若在延展碼的第 二组S2有可獲得的延展碼,則本方法接續一步驟,其延 展碼被分派自第二碼組s 2至第—群χι。 至第二群X2的延展碼接著被分派自延展碼的第三組S3。 要有更多延展碼欲被分派以及更多碼組可獲 得’則根據圖6a-b的方法接續步驟相似於先前步驟63_ 7〇。每次重複此方法,必須建立新的前行線路連接。 圖7顯示一例子,個別分派至四個不同可變位元率前行 線路連接C1-C4的延展碼G1、G2、G3、G4之四群。每 一群Gl、G2、G3、G4分別包括需要於每一前行線路連 接C1-C4的延展碼總數。需要於每一前行線路連接以以 的延展碼總數分別被分割爲延展碼的第一與第二群々、 y! ' a、Wl、X2、y2、Z2' W2,其中每一群 &、%、a、 wi、&、y2、Z2、%分別包括完全延展碼。 圖8顯tjt説明根據圖6方法的第二具體實施例之碼組8卜 Sn的一組80。在基地台B和無線單元1;1間具有可變位元 率的第一前行線路連接^,見圖】,已被分派延展碼自第 一 S1與第二S2碼組。延展碼的第一群〜已被分派自第一 碼組s 1且延展碼的第二群Χ2已被分派自第二碼组s 2。 7 ; -- (讀先閱讀背面之注意事1再填寫本頁) 訂 1----------- I I n -- ____ -15- 本紙張尺度適用巾國國家標準(CNS〉M規格(加乂297公B? V. Description of the invention (1 Technical scope of the invention The invention relates to a method for assigning spreading codes iDS_CDMA forward line connection β Description of related technologies CDMA CDMA code multi-directional proximity) is a well-known item for wireless communication systems Multidirectional proximity method. The coded multi-directional approach uses spread spectrum technology street, in which several users occupy the same frequency band at the same time according to their wireless channels. The ds_cdma (Direct Sequence-Coded Multi-Directional Proximity) system in a special type of coded multi-directional proximity technology allows each user to be assigned a specific extension code by separating other corpses from the system. Another name for extended codes is extended sequences or extended code sequences. The transmission information in the wireless signal is encoded (extended) by a specific extension code at the transmitting end ^ At the receiving end, the encoded information is decoded (except for extension) by associating the same specific extension code again, or the received information is filtered by a matched filter. A type of spreading code with the same length as the break spacing is called a short spreading code. W-orthogonal codes have zero cross-correlation to zero time shift—a kind of code. Using orthogonal codes can reduce intracellular interference, for example, interference from other forward line signals in the same cell. Normally, intracellular interference will not be completely eliminated as time passes by the Consumers' Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs, which will partially destroy the orthogonality between the numbers coded with orthogonal codes. Generally, a set of orthogonal codes includes only a limited number of codewords, and the number of codewords is always less than or equal to the length of the codewords. As a result, only a limited number of orthogonal spreading codes are available, and almost orthogonal or non-orthogonal spreading codes must be used to increase the number of simultaneous users to increase the bit rate of the system. -4- This paper size it iiiiiirCNS) A4 ^ (2lOx297 ^ Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs Λ7 -----_____ B7 V. Description of the Invention (2)-A DS-CDMA front line (from The base station transmits to—the wireless unit.) Orthogonal spreading codes are usually used to separate different wireless channels. When a connection through a wireless channel uses more than one spreading code, it is called using multi-code transmission. For variable bits The rate of connection, for example, a kind of connection whose bit rate changes during the duration of the cell, the actual number of spreading codes used by each connection will vary between time and different connections. Higher bit rate is used than lower bit rate More extension codes. An example of assigning extension codes to a connection scheme with a variable bit rate in a wireless communication system is the static configuration. The static ·% configuration means that each connection is configured as much as possible when the call is established, such as As many extension codes as necessary are sufficient to transmit a requested maximum bit rate. This means that a small number of connections with variable bit rates may be configured with all the obtained extension codes, even if they do not need to be simultaneously Use all of them. Another example of a scheme for assigning extension codes to a connection is dynamic configuration. Dynamic configuration means according to the moment of each connection. Farmers, one has a connection to share-a common source of extension codes, where the extension code is Continuously redistributed by the base station. Every time the bit rate in the connection is increased, the base station must inform the wireless unit of the new spreading code. This will require a significant expenditure between the base station and the wireless unit. US patent US 5 533 013 describes a method and system for assigning a complete orthogonal spreading code to a wireless channel in a CDMA / TDMA or TDMA / CDMA communication system. The method includes assigning a group selected from a complete set of __ -5 -The size of this paper applies the national standard (CNS) A4 specification (21〇 > < 297 Gongchu) one by one (please read the precautions on the back and fill in this page first)} Binding and ordering 5. Description of invention (3) = exhibition Steps of the code. The system includes a method for assigning orthogonal extension codes of code groups of the π fully positive parent extension codes. If the code groups of completely orthogonal extension codes are selected so that they are completely art 5 452 328 The method is used to assign unconnected: 彳: 歹: groups to different nodes of a multipoint communication network. On the network = each ip point is assigned-selected from an extended code sequence of almost orthogonal binary sequence centers. This invention also describes a The device and method generate the sequence system by combining the first and second multi-stage == devices. As will be seen here, each and every method shown in this patent has a different structure of the present invention. Wireless unit-The term includes all portable and non-portable devices intended for wireless communication: equipment such as 'mobile phones, pagers, telegraphs' and laptop computers. These devices can be used in any type of wireless communication system, such as cellular Network, satellite, or small area network. Overview Printed by the Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economics The present invention is suitable for the issue of how to allocate-forward line spread codes in a DS-CDMA communication system where only a limited number of orthogonal spread codes are available. ~ j,-The problem occurs when the system uses a statically configured variable bit rate connection. Even if only a small number of extension codes are actually used at the same time, the system may operate beyond the extension codes. The per-connection has been allocated the required number of spreading codes, whether or not the maximum bit rate is required only in one known time. Two paper sizes are applicable to China National Standard Rate (CNS) A4 specifications (21 χ 297 mm) 5. Description of the invention (4 A7 B7 Another-the problem occurs when the system uses a dynamically configured variable bit rate connection. In The communication t between the base station and the wireless unit needs to be increased by m㈣ to inform the wireless unit what new delays are received each time. According to the previous, one of the main objectives of the present invention is to provide a spreading code to a connection with a variable bit rate Method and device of wireless unit in communication system. Another purpose of this month is to provide-a large number of available spreading codes, which are not limited by the number of orthogonal spreading codes obtained in DS-CDMA communication system. The present invention takes this one step further in order to avoid the reallocation of extension codes during a call in a DS-CDMA communication system. According to the first aspect of the invention, as long as there are extension codes available from the first group, they are extended orthogonally. The first component of the code sends the extension code to the forward line connection. After all the extension codes of the first group are assigned, the second component of the orthogonal extension code is sent to the forward line connection, and the orthogonal extension here The codes are non-orthogonal to the group of extension codes. When practical, more than two groups of extension codes are used. According to the second aspect of the invention, the extension codes assigned to the preceding line connection are assigned from two different code groups. The first group of extension codes is assigned from the first code group, and the second group is assigned from the second code group. When practical, more than two groups of extension codes are used. The present invention includes a method for assigning extension codes to variable bits. A method for forward line connection. This method includes the step of assigning a spreading code from the first group of orthogonal spreading codes. This method also includes the step of assigning a spreading code from the second group of orthogonal spreading codes, of which orthogonal extension The code is non-orthogonal to Yanzaki in the first group. This paper size is applicable to Chinese national standards (CNS> A4 specifications (21〇 '公 297). Please read the back δ item first-then, Ϊ t page order economy, Deng Central Printed by the Consumer Bureau of the Standards Bureau. 5. Description of the invention (5 According to the viewpoint of the first group of the machine + item * of the present invention, the extension code is first assigned from the extension code Sixiong. All extension codes are assigned The Yan I code is then assigned to Bai Di-two syllables. Project brother-code group. The number of code groups can be extended beyond the second aspect of the present invention 'the extension code is assigned from two different numbers ": The -th group of the extended code is assigned from the -code group, and the second group is assigned from the code group. The _group of the extended code includes those codes that are most often used. The -too includes the ㈣ code. The code group can be used. The advantage of sending a month is that the number of extension codes allocated at the same time is not limited. Another advantage is that when the call is established, each connection is assigned a large number of extension codes. No further renewal is required. Assignment extension code: Brief description of the drawings With reference to the following description and the accompanying drawings, the purpose and other features of the present invention will become more apparent in the above. Figure 1 is an S platform and four squall line units. An illustration in the ds_cdma communication system. FIG. 2 is an explanatory diagram of an example of a code group according to the present invention. Printed by the Staff Consumer Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs * Figure 3 is the first part of a flowchart illustrating a first embodiment of the method according to the present invention. FIG. 4 is a second part of the flowchart in FIG. 3. FIG. 5 is an explanatory diagram of a group of codes having been assigned according to the spread codes of the first embodiment in FIGS. 3 and 4. FIG. Figure 6a is the first part of a flowchart illustrating the method according to the present invention. -8-This paper size applies the Chinese National Standard (CNS) A4 specification (210X297). A7 B7 Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs Five 'invention description (6) ~-one' ~ First courtesy embodiment. Fig. 6b is the second part of the flowchart in Fig. 6a. FIG. 7 is an explanatory diagram of four groups of extension codes. Fig. 8 is an explanatory diagram of a group having a code group assigned according to the figure to extend codes of the second specific embodiment. Related Description of Specific Embodiments The present invention relates to a method for assigning a spreading code to a forward line connection in a ds_CDMA communication system. The forward line connection is a wireless connection, in which the bit rate can be changed (variable bit rate) during a call. The L code is assigned when the call is established, such as during the delivery of a platform and during the establishment of additional services. Figure 1 shows a base station B and four wireless units m_U4 in the ds_cdma communication system. Each wireless unit is still connected to C4 with a forward line, and the base station B and the individual wireless units 1; 1_1; 4 have variable bits. When the first forward between base station B and the wireless unit ui Line connection (1: At this time, through base station B or some other part of the communication system, assign a special number of extension codes to the first forward line connection Ci. As long as the first line connection C 1 is established, it is assigned here The first-forward line connection c J extension code cannot be assigned to the new forward-line connection C2_C4. The number of extension codes assigned to each 3 connection is determined according to the following required bit rate: Has a high bit rate The connection requires more extension discs than the low bit rate connection 0 .......... ......... Yuan before the construction (please read the legal notice on the back before filling this page ). Installation, \-口 9- The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 common trend) A7 B? Five invention description (7 connection with multi-code transmission using several codes in parallel to increase the bit rate Figure 2 shows an example of a group 20 of the code group 51_§11 according to the present invention. The first code group S1 includes Many orthogonal extension codes 1 ^. The second code group s2 also includes a large number of orthogonal extension codes m2. These extension codes are orthogonal to each other but non-orthogonal to the extension codes in the first code group. Code group S3 It includes a number of orthogonal extension codes. These extension codes are the right parent to each other but not the extension codes of the first code group S1 and the second code group. The number of code groups n with extension codes can exceed three. Figure 3 And 4 show a flowchart of a first specific embodiment of the method according to the present invention, in which a plurality of spreading codes corresponding to a required bit rate are assigned to a variable bit rate forward line connection C1 »μ step 31a Decide on the number of spreading codes that need to transmit the bit rate required for the first forward line connection C1 between the base station B and the wireless unit port. Step 3 1 b determines the availability of all available code groups ( Unassigned) number of extension codes. If the available extension codes are less than the required extension codes, the method ends, otherwise continue with step 3 2. In step 32, it is decided to select the first— Number of available (unassigned) extension codes for group si. If extending If there is no available extension code in the first group of S1, the method continues to step 35 ^ If there is an available extension code in the first group S1 of the extension code, the method continues to step 3 3 ° In step 33, many extensions Code, which does not exceed the number of extension codes required on the forward line connection ci, is assigned from the first group of extension codes to the forward -10- This paper size applies to the Chinese National Standard (CNS) A4 specification (210X297 cm)- ------ Wait (please read the note on the back first ^ write this page) Order the consumer cooperation of the Central Bureau of the Ministry of Light Economy, print Λ7 B7 V. Description of the invention (8 Line connection C1. The number of required extension codes in step 34 is compared to the number of extension codes of the first group S1 assigned from the extension codes. If the required number of extension codes is equal to the number of extension codes of the first group S1 assigned from the extension codes, the method ends, otherwise continue with steps 3 and 5. In step 35, the number of known spreading codes of the second group S2 selected in an orthogonal spreading code is determined. If there is no available extension code in the second group S2 of extension codes, the method continues to step 38 ^ If there is an available extension code in the second group S2 of extension codes, the method continues to step 36. In step 36, many extension codes, not exceeding the number of extension codes required on the forward line connection ci, are assigned to the forward line connection C1. The number of extension codes required in step 37 is individually compared with the number of extension codes of the first and second groups assigned from the extension codes SI, S2. If the required number of extension codes is equal to the number of extension codes of the first and first groups assigned from extension codes SI and S2, respectively, then the method ends, otherwise, follow step 3 8 and step 38 is shown in FIG. 4, Determine the number of code groups. If the number of code groups is three, the method continues from step 39, otherwise ends. Printed by the Consumer Cooperatives of the Central Bureau of Standards and Quarantine of the Ministry of Economic Affairs. In step 39, the number of available extension codes of the third group §3 selected from an orthogonal extension code is determined. If there is no available extension code 'in the third group S3 of extension codes, the method continues with step 42. If there is an available extension code in the third group S3 of extension codes, the method continues with step 40. In step 40, a plurality of extension codes, not exceeding the number of extension codes required for the preceding line connection C1, are assigned from the third group S3 of extension codes. -11-(paper size applicable @ g | 家 县 (CNS) A4 specification (2 丨 〇X 297mm B7 V. Description of the invention (9) In step 4 of 4, the number of required extension codes is individually compared to the number assigned Number of first, second, and third sets of self-extension codes SI, S2, S3. If required, the number of extension codes is equal to the first, second, and The number of extension codes in the third group ends the method, otherwise it continues to step 4 2. In step 42, the number of code groups is determined. If the number of code groups is three, the method ends, otherwise as long as there is more extension Codes are assigned and more code groups Sl-Sn are available, then more steps similar to 39_42 are followed. Each time the method according to Figures 3 and 4 is repeated, a new forward line connection must be established. Central standard of the Ministry of Economic Affairs Bureau employee consumer cooperative printout Figure 5 shows an illustration of a group 50 of a code group Sl-Sn, including an extension code according to the first embodiment. The first forward line connection between the base station B and the wireless unit U 1 ci, see Figure 1, has been assigned a first extension code X from the first group 81 of extension codes Number. The second forward line connection C2 has been assigned a second number of extension codes y. The first part y-ki of the second number of extension codes y is taken from the first group S1 of the extension codes and assigned to the first The two forward lines are connected to C2. The first part y_ki of the second number of extension codes y includes at least a complete extension code. The second part of the second number of extension codes y] ^ Take out from the second group S2 of the extension codes and Is assigned to the second forward line connection C2. The second part of the second number of extension codes y] ^ includes at least one complete extension code. The number of unassigned extension codes in the first group S1 of extension codes is less than y More extension codes of the second group S2 assigned from extension codes. A third forward line connection C 3 has been assigned a third number of extension codes z from the second group s 2 of extension codes. -12- This paper Standards are applicable to Chinese National Standards (CNS) A4 specifications (210X297 mm) A7 B? Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (the fourth line of the 110th line connection € 4 has been assigned_Extended code ~ The fourth number. The first part of the fourth number of extension codes you-"from extension The second group S2 of the code is taken out and assigned to the fourth forward line connection C4. The first part of the fourth number of the extension code w includes at least a complete extension code. The second part of the fourth number of the extension code w, Taken from the third group S3 of the extension code and assigned to the fourth forward line connection C4. The fourth number of the second code of extension code ... includes at least one complete extension code. Figure 6a-b shows * based on The method of the present invention includes a flowchart of an embodiment, in which a plurality of extension codes corresponding to a required bit rate are assigned to a forward line connection C1 having a variable bit rate. In step 61a, the decision is made in Between the base station B and the wireless unit ..., the CU is connected in the forward line, and the number of lines of the spreading code that needs to be transmitted at the required bit rate. Step 6lb determines the number of available (unassigned) extended codes in all available code groups. If the available extension codes are less than the required total number of extension codes, the method ends, otherwise continue to step 6 2. In step 62, the total number of required extension codes is divided into the first-and second groups Xl, ¥. The required number of extension codes in the-group ~ corresponds to the number of extension codes that will be most commonly used for the forward line connection C1. . The number of spreading codes required in the second group X corresponds to the number of spreading codes that will be used infrequently in the forward line connection Ci. Merging the first and second groups separately & will include the total number of extension codes needed for the forward line connection C1. In step 63, the number of available (unassigned) extension codes of the first group w selected in an orthogonal extension code is determined. If it is in the first group of extension code -13-The standard of this paper (CNS) Α4 specification ((Please read the precautions on the back before filling in this education) Install iT ---- The staff of the Central Bureau of Standards of the Ministry of Economy Cooperative cooperative seal ^ A7 _____B7 V. Description of the invention (11) ~~ S 1 has no available extension code, then this method continues to step 7 〇, see page J 4. If there is available extension in the first group of extension codes S1 Code, the method continues from step 6 to step 4. In step 64, the 'many extension codes' do not exceed the first group ~ the required number of extension codes' are assigned from the first group of extension codes S 1 to the first group of extension codes X1. In step 65, the number of extension codes required in the first group X1 is compared with the number of extension codes of the first group S1 assigned from the extension codes. If the number of extension codes required in the _th group is equal to the number of extension codes allocated Since the number of extension codes in the 81st group of the extension codes, the method continues to step 66 to assign extension codes to the second group X2, otherwise proceeds to step 70 to assign more extension codes to the first group &. Step 66 , Shown in Figure 6b, determines the availability of the second set of S2 selected in an orthogonal spreading code Number of (unassigned) extension codes. If no extension codes are available in the second group S2 of extension codes, the method continues with step 69. If there are available extension codes in the second group S2 of extension codes, then The method continues from step 67. In step 67, a plurality of extension codes, which do not exceed the number of extension codes required by the second group of hearts, are assigned from the second group S2 to the second group χ2 of the extension codes. In step 68, The number of extension codes required for the two groups X2 is compared with the number of extension codes of the second group S 2 assigned from the extension codes. If the number of extension codes required in the second group & is equal to the number of the second extension codes assigned from the extension codes Group; the number of extension codes of 52, then this method ends, otherwise step 6 9 is performed to assign more extension codes to the second group χ2. In step 69, the number of code groups is determined. If the number of code groups exceeds -14-This paper size applies to three Chinese standards (CNS) ^ grid (Baiyu 97 Gongchu) '-f Please read the back > ΐ · Italian matters before filling in this page j-装 丁 _ 、 一 * 5 V. Description of the invention (12 Α7 Β7 Printed by the Consumer Standards Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs The method continuation steps are similar to the previous steps 63-69, otherwise it ends. In step 70, determine the number of available extension codes in the -orthogonal extension code. Brother-, S2 if in the second group of extension codes If there is no available extension code in S2, the method continues similar to step 69 to find more code groups. If there is an available extension code in the second group of extension codes S2, the method continues with a step in which the extension code is Assigned from the second code group s 2 to the first group χι. Extension codes to the second group X2 are then assigned from the third group S3 of the extension codes. More extension codes are to be assigned and more code groups are available 'Then the subsequent steps according to the method of Figs. 6a-b are similar to the previous steps 63_70. Each time this method is repeated, a new forward line connection must be established. Figure 7 shows an example of four groups of spreading codes G1, G2, G3, G4 that are individually assigned to four different variable bit rate forward line connections C1-C4. Each group G1, G2, G3, and G4 includes the total number of extension codes required to connect C1-C4 on each forward line. The total number of extension codes that need to be connected to each of the forward lines is divided into the first and second groups of extension codes 々, y! 'A, Wl, X2, y2, Z2' W2, each group &, %, A, wi, &, y2, Z2, and% respectively include fully extended codes. FIG. 8 shows tjt illustrating a code group 8 and a group 80 of Sn according to the second specific embodiment of the method of FIG. 6. The first forward line connection with a variable bit rate between the base station B and the wireless unit 1; 1 (see figure) has been assigned an extension code from the first S1 and the second S2 code group. The first group of extended codes ~ has been assigned from the first code group s 1 and the second group X2 of extended codes has been assigned from the second code group s 2. 7;-(Read the first note on the reverse side and then fill out this page) Order 1 ----------- II n-____ -15- The national standard of this paper applies to the national standard (CNS> M size (plus 297 male
I- I I- -I I B7 B7 五 、發明説明(13 在基地台B和無線單元U2間具有可锑^ ^ b2碼組。延展碼的第一群 a κ ^ 派自第一碼組S1且延 展碼的第二群乃已被分派自第二碼組S2。 在基地台B和無線單元们間具有可變位元率的第三前行 線路連接C3,見圖i,已被分派延展碼自第一si與第二 S2碼组。延展碼的第一群21已被分派自第一碼組si且延 展碼的第二群z2已被分派自第二碼組S2。 在基地台B和無線單元U4間具有可變位元率的第四前行 線路連接C4,見圖1,已被分派延展碼自第—S1與第三 S3碼組。延展碼的第一群〜1已被分派自第一碼组且延 展碼的第二群W2已被分派自第三碼組s3。在第二碼组S2 中/又有未分派的延展碼留下更多分派自第三碼組S 3。 根據本發明的方法中,被短延展碼|编碼的訊號可被擾 頻加密。在前行線路連接电,已被短延展碼所編碼的的訊 號可由一共同(長)的擬雜訊碼(PN-code)所擾頻。擾頻將 細胞間的干擾隨機化。當所有訊號使用相同0立與雜訊_碣, 擾頻將不會影響訊號在一細胞中的正交性。鄰近的細胞# 用不同的擬雜訊碼。 經濟部中央標準局員工消费合作社印製 -16 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨〇><297公釐)I- I I- -II B7 B7 V. Description of the invention (13 There is an antimony ^ ^ b2 code group between the base station B and the wireless unit U2. The first group a κ ^ of the extended code is derived from the first code group S1 and The second group of extension codes has been assigned from the second code group S2. A third forward line connection C3 with a variable bit rate between base station B and the wireless units, as shown in Figure i, has been assigned an extension code From the first si and the second S2 code group. The first group 21 of the extended code has been assigned from the first code group si and the second group z2 of the extended code has been assigned from the second code group S2. At the base station B and The fourth forward line connection C4 with a variable bit rate between the wireless units U4, as shown in Figure 1, has been assigned extension codes from the first-S1 and third S3 code groups. The first group of extension codes ~ 1 have been assigned The second group W2 from the first code group and the extended code has been assigned to the third code group s3. In the second code group S2 / there is an unassigned extension code leaving more assignments from the third code group S 3 In the method of the present invention, the short-stretched code | encoded signal can be scrambled and encrypted. When the line is connected to the front line, the signal that has been encoded by the short-stretched code can be a common (long PN-code scrambled. Scrambling randomizes interference between cells. When all signals use the same zero and noise_ 碣, scrambling will not affect the signal in a cell. Mutuality. Adjacent cells # Different pseudo-noise codes. Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs -16 This paper size applies to the Chinese National Standard (CNS) A4 specification (2 丨 〇 > < 297 mm )