201038092 六、發明說明: 【發明所屬之技術領域】 本發明涉及一種雙卡雙待手機之尋呼偵聽方法,尤 其係關於一種單 CDMA ( Code Division Multiple Access ) -晶片之雙卡雙待手機尋呼偵聽方法。 .【先前技術】 個人移動通訊迅猛發展,很多用戶擁有兩個以上之 號碼’對應兩個以上之客戶識別模組(User Identifier Ο201038092 VI. Description of the Invention: [Technical Field] The present invention relates to a paging listening method for a dual card dual standby mobile phone, in particular to a dual CDMA (Code Division Multiple Access)-chip dual card dual standby mobile phone Call listening method. [Prior Art] Personal mobile communication has developed rapidly, and many users have more than two numbers' corresponding to more than two customer identification modules (User Identifier Ο
Module,以下簡稱UIM)卡。於這種情況下,用戶可選 擇用兩個手機’但非常麻煩,因此越來越多之用戶選擇 使用支持雙UIM卡之手機。業界有使用兩套cDMA(CodeModule, hereinafter referred to as UIM) card. In this case, the user can choose two mobile phones' but it is very troublesome, so more and more users choose to use a mobile phone that supports dual UIM cards. The industry has two sets of cDMA (Code)
Division Multiple Access)晶片實現之雙υΐΜ卡之手機, 每套晶片運行各自之協定棧單獨支援一張mM卡,可實 現兩個號碼同時處於待機狀態,任意一卡可呼出或呼入。 單套CDMA晶片實現之雙UIM卡雙待手機,由於只 ❹有套通訊模組,當一張UIM卡通話時,另外一張UIM 卡與網路之聯繫完全中斷。於UIM1卡通話之過程中, UIM2卡不能呼入、呼出、接收及發送短信。卡結 束通話後,若發生社區切換,位置區更新等問題,UIM2 卡必肩作出相應之處理,比如向網路發起註冊過程。 【發明内容】 鑒於以上内容,有必要提供一種單CDMA晶片雙卡 待手機哥呼偵聽方法,解決單CDMA晶片雙卡雙待手 機於同一運營商之網路環境下待機之問題。 4 201038092 一種單CDMA晶片雙卡雙待手機尋呼偵聽方法,該 雙卡雙待手機包括物理控制層、鏈路層、信令處理層、 UIM1及UIM2卡。該方法包括如下步驟:物理控制層讀 取UIM1卡之資訊並初始化UIM1卡;物理控制層根據 .UIM1卡之尋呼偵聽參數按照CDMA協定搜索無線網 路;信令處理層記錄UIM1卡之尋呼頻點、尋呼通道與 尋呼時限;信令處理層控制UIM1卡向無線網路發起 UIM1卡之網路註冊;信令處理層判斷UIM2卡是否處於 ® 喚醒狀態,若UIM2卡處於喚醒狀態,物理控制層讀取 UIM2卡之資訊並初始化UIM2卡;物理控制層根據UIM2 卡之尋呼偵聽參數按照CDMA協定搜索無線網路;信令 處理層記錄UIM2卡之尋呼頻點、尋呼通道與尋呼時限; 信令處理層控制UIM2卡向無線網路發起UIM2卡之網路 註冊;信令處理層判斷UIM1卡與UIM2卡之尋呼頻點及 尋呼通道是否相同;若UIM1卡與UIM2卡之尋呼頻點相 Q 同且尋呼通道相同’則利用同頻點同尋呼通道之方法偵 聽尋呼;若UIM1卡與UIM2卡之尋呼頻點或尋呼通道不 同’則利用異頻點異尋呼通道之方法偵聽尋呼。 相較於習知技術’所述之單CDMA晶片雙卡雙待手 機尋呼偵聽方法,能夠實現單CDMA晶片單協定棧雙卡 雙待手機於同一個運營商之網路環境下偵聽尋呼,解決 了單CDMA晶片雙卡雙待手機待機之問題。該方法採用 一套協議棧管理與控制兩張UIM卡,實現兩張UIM卡於 單套CDMA晶片雙卡雙待手機上之應用。 5 201038092 【實施方式】 如圖1所示,係本發明單CDMA晶片雙卡雙待手機 較佳實施例之架構圖。該雙卡雙待手機包括物理控制層1 ' (簡稱“L1層”)、鏈路層2 (簡稱“L2層”)、信令處理 . 層3 (簡稱“L3層’’)、呼叫管理層4、用戶介面5,及兩 個用戶識別模組(以下簡稱UIM1卡與UIM2卡)6。其 中,L2層與L1層及L3層相互連接,其間均可進行雙向 交換資料,呼叫管理層4分別與L3層及用戶介面5連 ® 接。所述之L1層用於提供手機CDMA晶片與應用層軟 體之間之介面,控制手機内部晶片與應用層軟體之間進 行無線通訊。所述之L2層用於發送資料、接收資料、資 料流程量控制及進行鑒權處理。所述之L3層包括一套 CDMA晶片,用於偵聽UIM1卡與UIM2卡之尋呼頻點、 尋呼通道與尋呼時限等尋呼偵聽參數,及對該雙卡雙待 手機之無線資源、移動性與補充業務進行管理。呼叫管 ^ 理層4係指用戶介面5與協定棧之介面層,其用於實現 呼叫管理。所述之UIM1卡與UIM2卡分別與L2層、L3 層、呼叫管理層4及用戶介面5相連接,用於實現該雙 卡雙待手機之尋呼功能。 所述之L2層包括資料發送模組21、資料接收模組 22及安全監管模組23。所述之資料發送模組21用於將 L3層處理之資料發送給無線通道,並控制發送資料之流 量。所述之資料接收模組22用於接收無線通道傳遞來之 資料,並控制接收資料之流量。所述之安全監管模組23 6 201038092 用於對UIM1卡與UIM2卡進行鑒權處理。所述之鑒權處 理係指筛選合法用戶,並允許接入網路取得服務之過 程,該過程實際係指一個UIM卡與網路之間進行“詢問 與回應”之過程。 „ 如圖2所示,係本發明單CDMA晶片雙卡雙待手機 系統待機之消息序列圖。所述之雙卡雙待手機利用L1 層、L2層、L3層與UIM1卡與UIM2卡之間之通訊實現 偵聽UIM1卡與UIM2卡之尋呼。偵聽UIM1卡與UIM2 ❹ 卡尋呼之關鍵係按照各自之尋啤頻點、尋呼通道與尋呼 時限來接收每張UIM卡之尋呼。 假設雙卡雙待手機首先利用UIM1卡進行尋呼,L3 層藉由發送喚醒參數(例如,L1_WAKEUP_R、 1^1—1^八。0_11、1〇^_\¥八{^1;?_]^)至1;1]\11卡上,使1]1]^1 卡處於喚醒狀態,於UIM1卡之尋呼時限上通知L3層, 並利用L2層之資料接收模組22從尋呼通道上接收尋呼 & 消息。若UIM1卡沒有被呼叫,貝U L3層判斷UIM1卡與 〇 UIM2卡之尋呼頻點是否相同。當UIM1卡與UIM2卡之 尋呼頻點不同,則L1層藉由發送上述喚醒參數至UIM2 卡上使UIM2卡處於喚醒狀態,並藉由發送睡眠參數(例 如,L1 一SLEEP_M、L1_REACQ_R)至 UIM1 卡上使 UIM1 卡處於睡眠狀態。L3層將尋呼頻點切換到UIM2卡之尋 呼頻點上,於UIM2卡之尋呼時限上通知L3層,並利用 L2層之資料接收模組22從尋呼通道上接收尋呼消息。 若UIM2卡沒有被呼叫,則L3層判斷UIM1卡與 7 201038092 UIM2卡之尋呼頻點是否相同。當UIM1卡與UIM2卡之 尋呼頻點不同,則L1層藉由發送所述唤醒參數至UIM1 卡上使UIM1卡處於喚醒狀態,並藉由發送所述睡眠參 • 數至UIM2卡上使UIM2卡處於睡眠狀態。L3層將尋呼 . 頻點切換到UIM1卡之尋呼頻點上,於UIM1卡之尋呼時 限上通知L3層,並利用L2層之資料接收模組22從尋呼 通道上接收尋呼消息。 如圖3所示,係本發明單CDMA晶片雙卡雙待手機 〇 尋呼偵聽方法較佳實施例之流程圖。步驟S10,手機開 機,進行手機系統初始化。步驟Sll,L1層讀取UIM1 卡之訊息,並初始化UIM1卡。步驟S12,L1層使用UIM1 卡之尋呼偵聽參數按照正常之CDMA協定流程搜索無線 網路,該尋呼偵聽參數包括尋呼頻點、尋呼通道與尋呼 時限。步驟S13,L3層讀取手機系統之開銷消息,記錄 UIM1卡之尋呼頻點、尋呼通道與尋呼時限。步驟S14, ^ L3層控制UIM1卡向無線網路發起網路註冊過程,完成 ❹ UIM1卡網路之註冊。 步驟S15,L3層判斷UIM2卡是否處於喚醒狀態。 若UIM2卡處於喚醒狀態,步驟S16,L1層讀取UIM2 卡之訊息,並初始化UIM2卡。步驟S17,L1層使用UIM2 卡之尋呼偵聽參數按照正常之CDMA協定流程搜索無線 網路。步驟S18,L3層重新讀取手機系統之開銷消息, 並記錄UIM2卡之尋呼頻點、尋呼通道與尋呼時限。步 驟S19,L3層控制UIM2卡向無線網路發起網路註冊過 8 201038092 程,完成UIM2卡網路之註冊。於所述步驟S15中,若 UIM2卡不存在或處於休眠狀態,則流程直接轉向步驟 S20 ° 步驟S20,L3層判斷UIM1卡與UIM2卡之尋呼頻 . 點及尋呼通道是否相同。步驟S21,若UIM1卡與UIM2 卡之尋呼頻點相同且尋呼通道相同,則執行同頻點同尋 呼通道之方法偵聽尋呼(見圖4)。步驟S23,若UIM1 卡與UIM2卡之尋呼頻點或尋呼通道不同,則執行異頻 © 點異尋呼通道之方法偵聽尋呼(見圖5)。 如圖4所示,係圖3中之步驟S21利用同頻點同尋 呼通道方法偵聽尋呼之細化流程圖。步驟S210,L3層判 斷UIM1卡與UIM2卡之尋呼時限是否相同,此處規定之 尋呼時限係指通常意義上之尋呼時限模上時限週期之 值。若UIM1與UIM2之尋呼時限相同或差值小於等於系 統切換之開銷時間,則流程轉向步驟S211。若UIM1卡 ^ 與UIM2卡之尋呼時限不同且差值大於系統切換之開銷 時間,則流程轉向步驟S219。 步驟S211,L3層配置UIM1卡之尋呼偵聽參數給L1 層。步驟S212,L3層通知L1層進入睡眠狀態,計算下 次唤醒之時間,於被喚醒時接收尋呼並將消息發送給L3 層。步驟S213,L3層將L1層發送來之尋呼消息與UIM1 卡進行匹配。步驟S214,L3層判斷尋呼消息與UIM1卡 之資訊是否匹配。步驟S215,若尋呼消息與UIM1卡之 資訊不匹配,則L3層配置UIM2卡之尋呼偵聽參數給L1 9 201038092 層。步驟S216 ’ L3層通知Ll層進入睡眠狀態’ Ll層計 算下次被喚醒之時間,然後層睡眠、被喚醒、接收尋 呼,並且L1層將尋呼消息發送給L3層。步驟S217,L3 層將L1層發送來之尋呼消息與卡進行匹配。步驟 ,S218,L3層判斷尋呼消息與UIM2卡之資訊是否匹配。 若尋呼消息與UIM2卡之資訊不匹配,則流程轉向步驟 S211又從UIM1卡開始重複上述過程。於上述步驟S214 與步驟S218中’若尋呼消息匹配任一 UIM卡(UIM1卡 〇 或UIM2卡),則流程轉向步驟S225結束待機,即匹配 之UIM1卡或UIM2卡向無線網路發起回應過程。 步驟S219,L3層比較UIM1卡與UIM2卡之尋啤時 限誰更靠前,將靠前者之尋呼债聽參數配置給L1層。步 驟S220 ’ L3層通知L1層進入睡眠狀態,L1層計算下次 喚醒之時間,於被唤醒時接收尋呼並將消息發送給L3 層。當沒有收到L3發來之睡眠命令,L1層會一直接收 ^ 尋呼消息並將它發送給L3層。步驟S221,L3層匹配L1 層發送來之尋呼消息與UIM1卡或UIM2卡進行匹配。步 驟S222,L3層判斷尋呼消息與UIM1卡之資訊是否匹 配。步驟S223,若尋呼消息與UIM1卡之資訊不匹配, 則L3層判斷尋呼消息與UIM2卡之資訊是否匹配。步驟 S224 ’若尋呼消息與UIM2卡之資訊不匹配,則L3層判 斷UIM1卡與UIM2卡之尋呼時限靠後者之尋呼時限是否 結束。若UIM1卡與UIM2卡之尋呼時限靠後者之尋呼時 限已經結束’則流程轉向步驟S220。若UIM1卡與UIM2 201038092 卡之尋呼時限靠後者之尋呼時限沒有結束,則流程轉向 步驟S221。於上述步驟S222與步驟S223中,若尋呼消 息匹配任一 UIM卡(UIM1卡或UIM2卡),則流程轉向 • 步驟S225結束待機,即匹配之UIM1卡或UIM2卡向無 . 線網路發起回應過程。 如圖5所示,係圖3中之步驟S23利用異頻點異尋 呼通道方法偵聽尋呼之細化流程圖。步驟S230,L3層判 斷UIM1卡與UIM2卡之尋呼時限是否相同。步驟S231, 〇 若UIM1卡與UIM2卡之時限相同或差值小於等於系統切 換之開銷時間,則L3層配置UIM1之尋呼偵聽參數給L1 層。步驟S232,L3層通知L1層進入睡眠狀態,L1層計 算下次喚醒之時間,於被喚醒時接收尋呼並將消息發送 給L3層。步驟S233,L3層將L1層發送來之尋呼消息與 UIM1卡或UIM2卡進行匹配。 步驟S234,L3層判斷尋呼消息與UIM1卡之資訊是 ^ 否匹配。步驟S235,若尋呼消息與UIM1卡之資訊不匹 〇 配,貝I] L3層判斷UIM1卡與UIM2卡之尋呼頻點是否相 同。步驟S236,若UIM1卡與UIM2卡之尋呼頻點不同, 則L3層將尋呼頻點調諧到UIM2卡之尋呼頻點上。步驟 S237,L3層配置UIM2卡之尋呼偵聽參數給L1層。若 UIM1卡與UIM2卡之頻點相同,則流程直接轉向步驟 S237。步驟S238,L3層通知L1層進入睡眠狀態,L1層 計算下次喚醒之時間,然後睡眠、喚醒、接收尋呼,並 且該L1層將尋呼消息發送給L3層。 11 201038092 步驟S239,L3層判斷尋呼消息與UIM2卡之資訊是 否匹配。步驟S240,若尋呼消息與UIM2卡之資訊不匹 配,貝|] L3層判斷UIM1卡與UIM2卡之尋呼頻點是否相 同。步驟S241,若UIM1卡與UIM2卡之尋呼頻點不同, . 則L3層將尋呼頻點調諧到UIM1卡之尋呼頻點上。若 UIM1卡與UIM2卡之尋呼頻點相同,則流程轉向步驟 S230 ° 於上步驟S234與步驟S239中,若尋呼匹配任一 UIM 〇 卡(UIM1卡或UIM2卡),則流程直接轉向步驟S242結 束待機,即匹配之UIM1卡或UIM2卡向無線網路發起回 應過程。 於上述步驟S230中,若UIM1卡與UIM2卡之尋呼 時限不同且差值大於系統切換之開銷時間,則流程還係 執行步驟S231到步驟S242。雖然兩者之流程相同,但 實現原理係有差異之。當UIM1卡與UIM2卡之時限不同 ^ 或差值大於系統切換之開銷時間時,其異頻點異尋呼通 道方法係於一個尋呼時限週期内實現UIM1卡與UIM2 卡之間之切換。然而,UIM1卡與UIM2卡之尋呼時限相 同且差值小於等於系統切換之開銷時間時,其異頻點異 尋呼通道方法係於兩個尋呼時限週期内實現UIM1卡與 UIM2卡之間之切換,即一個尋呼週期用於接收UIM1卡 •之尋呼,下一個尋呼週期用於接收UIM2卡之尋呼。由 於於一個尋呼週期只接收一張UIM卡之尋呼會遺漏另一 張UIM卡之尋呼,所以網路會對一次尋呼連續重發三 12 201038092 遍,即使可能漏掉一次尋呼,但係其他兩次必定可偵聽 到UIM1卡與UIM2卡之尋呼。 本發明藉由提供一種單CDMA晶片單協定棧雙卡雙 待手機於同一個運營商之網路環境下偵聽尋呼之方法, , 解決了單CDMA晶片雙卡雙待手機待機之問題。其採用 一套協議棧管理與控制兩張UIM卡,實現兩張UIM卡之 應用。由於這兩張UIM卡屬於同一運營商,於同一運營 商之網路環境裏待機狀態下兩張UIM卡所處之無線環境 ® (比如無線信號品質,社區位置等)係一樣的,因此兩 張UIM卡可共用於單CDMA晶片之雙卡雙待手機中。 以上所述僅為本發明之較佳實施例而已,且已達廣 泛之使用功效,凡其他未脫離本發明所揭示之精神下所 完成之均等變化或修飾,均應包含在下述之申請專利範 圍内。 【圖式簡單說明】 ^ 圖1係本發明單CDMA晶片雙卡雙待手機較佳實施 例之架構圖。 圖2係本發明單CDMA晶片雙卡雙待手機系統待機 之消息序列圖。 圖3係本發明單CDMA晶片雙卡雙待手機尋呼偵聽 方法較佳實施例之流程圖。 圖4係圖3中之步驟S21利用同頻點同尋呼通道方 法偵聽尋呼之細化流程圖。 圖5係圖3中之步驟S23利用異頻點異尋呼通道方 13 1 201038092 法4貞聽尋呼之細化流程圖。 【主要元件符號說明】 控制層 2 21 22 23 3 4 5 6 6 鏈路層 資料發送模組 資料接收模組 安全監管模組 信令處理層 呼叫管理層 用戶介面 UIM1 卡 UIM2 卡 手機開機,進行手機系統初始化 S10 讀取UIM1卡之訊息,並初始化UIM1卡 S11 使用UIM1卡之尋呼偵聽參數按照正常之CDMA協 定流程搜索無線網路 S12 讀取手機系統之開銷消息,並記錄UIM1卡之尋呼 偵聽參數 S13 控制UIM1卡向無線網路發起網路註冊 S14 UIM2卡是否被喚醒 S15 讀取UIM2卡之訊息,並初始化UIM2卡 S16 使用UIM2卡之尋呼偵聽參數按照正常之CDMA協 定流程搜索無線網路 S17 讀取手機系統之開銷消息,並記錄UIM2卡之尋呼 偵聽參數 S18 控制UIM2卡向無線網路發起網路註冊 S19 UIM1與UIM2卡尋呼頻點及尋呼通道是否相同S20 14 201038092 執行同頻點同尋呼通道之方法偵聽尋呼 執行異頻點異尋呼通道之方法偵聽尋呼 S21 S23Division Multiple Access) The dual-card mobile phone realized by the chip. Each set of wafers runs its own protocol stack to support a single mM card. It can realize that both numbers are in standby state, and any card can be called out or incoming. The dual UIM card dual standby mobile phone realized by a single CDMA chip has only one set of communication modules. When one UIM card is called, the other UIM card is completely disconnected from the network. During the UIM1 card call, the UIM2 card cannot call in, out, receive, and send text messages. After the call is terminated, if there is a problem such as community switching, location area update, etc., the UIM2 card must perform corresponding processing, such as initiating the registration process to the network. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a single CDMA chip dual-card mobile phone call detection method, which solves the problem that a single CDMA chip dual card dual standby mobile phone stands by in the same operator's network environment. 4 201038092 A single CDMA chip dual card dual standby mobile phone paging listening method, the dual card dual standby mobile phone comprises a physical control layer, a link layer, a signaling processing layer, a UIM1 and a UIM2 card. The method comprises the following steps: the physical control layer reads the information of the UIM1 card and initializes the UIM1 card; the physical control layer searches the wireless network according to the CDMA protocol according to the paging listening parameter of the .UIM1 card; the signaling processing layer records the UIM1 card. Calling frequency point, paging channel and paging time limit; the signaling processing layer controls the UIM1 card to initiate network registration of the UIM1 card to the wireless network; the signaling processing layer determines whether the UIM2 card is in the awake state, if the UIM2 card is in the awake state The physical control layer reads the UIM2 card information and initializes the UIM2 card; the physical control layer searches the wireless network according to the CDMA protocol according to the paging listening parameter of the UIM2 card; the signaling processing layer records the paging frequency and paging of the UIM2 card. Channel and paging time limit; the signaling processing layer controls the UIM2 card to initiate network registration of the UIM2 card to the wireless network; the signaling processing layer determines whether the paging frequency and paging channel of the UIM1 card and the UIM2 card are the same; if the UIM1 card If the paging frequency of the UIM2 card is the same as the Q and the paging channel is the same, then the same frequency point and the paging channel are used to listen to the paging; if the UIM1 card is different from the paging frequency or paging channel of the UIM2 card' Use The method of different frequency paging different paging channels listens for paging. Compared with the single CDMA chip dual card dual standby mobile phone paging listening method described in the prior art, it is possible to realize single CDMA chip single protocol stack dual card dual standby mobile phone in the same operator's network environment to listen for Hu, solved the problem of single CDMA chip dual card dual standby mobile phone standby. The method uses a set of protocol stacks to manage and control two UIM cards, and realizes the application of two UIM cards on a single CDMA chip dual card dual standby mobile phone. 5 201038092 [Embodiment] As shown in Fig. 1, it is an architectural diagram of a preferred embodiment of a single CDMA chip dual card dual standby handset of the present invention. The dual-card dual standby mobile phone includes a physical control layer 1 ' (referred to as "L1 layer"), a link layer 2 (referred to as "L2 layer"), signaling processing, layer 3 (referred to as "L3 layer"), call management layer 4, user interface 5, and two user identification modules (hereinafter referred to as UIM1 card and UIM2 card) 6. Among them, L2 layer and L1 layer and L3 layer are connected to each other, and can exchange information in both directions, call management layer 4 respectively Connected to the L3 layer and the user interface 5. The L1 layer is used to provide an interface between the mobile phone CDMA chip and the application layer software, and controls the wireless communication between the internal chip of the mobile phone and the application layer software. It is used to send data, receive data, data flow control and perform authentication processing. The L3 layer includes a set of CDMA chips for listening to paging frequency, paging channel and paging of UIM1 card and UIM2 card. Paging listening parameters such as time limit, and management of radio resources, mobility, and supplementary services of the dual-card dual standby mobile phone. The call management layer 4 refers to the interface layer of the user interface 5 and the protocol stack, which is used to implement Call management. The UIM1 card and UIM2 card are respectively associated with L The Layer 2, L3 layer, the call management layer 4 and the user interface 5 are connected to implement the paging function of the dual card dual standby mobile phone. The L2 layer includes the data sending module 21, the data receiving module 22 and the security. The data transmission module 21 is configured to send the data processed by the L3 layer to the wireless channel, and control the traffic of the data to be sent. The data receiving module 22 is configured to receive the data transmitted by the wireless channel. And controlling the traffic of the received data. The security supervision module 23 6 201038092 is used for authenticating the UIM1 card and the UIM2 card. The authentication process refers to screening legitimate users and allowing access to the network. In the process of obtaining the service, the process actually refers to the process of “interrogation and response” between a UIM card and the network. „ As shown in FIG. 2, it is a message sequence of the single CDMA chip dual card dual standby mobile phone system standby according to the present invention. Figure. The dual-card dual-standby mobile phone utilizes the communication between the L1 layer, the L2 layer, the L3 layer and the UIM1 card and the UIM2 card to listen to the paging of the UIM1 card and the UIM2 card. Listening to UIM1 cards and UIM2 The key to card paging is to receive pages for each UIM card according to their respective search frequency, paging channel and paging time limit. Assume that the dual-card dual-standby mobile phone first uses the UIM1 card for paging, and the L3 layer sends the wake-up parameters (for example, L1_WAKEUP_R, 1^1—1^8. 0_11, 1〇^_\¥8{^1;?_] ^) to 1; 1]\11 card, so that the 1]1]^1 card is in the awake state, the L3 layer is notified on the paging time limit of the UIM1 card, and the data receiving module 22 of the L2 layer is used from the paging channel. Receive paging & messages on. If the UIM1 card is not called, the U L3 layer determines whether the paging frequency of the UIM1 card and the UIM2 card are the same. When the paging frequency of the UIM1 card and the UIM2 card are different, the L1 layer causes the UIM2 card to be awake by transmitting the above-mentioned wake-up parameter to the UIM2 card, and sends a sleep parameter (for example, L1-SLEEP_M, L1_REACQ_R) to UIM1. The UIM1 card is put to sleep on the card. The L3 layer switches the paging frequency to the paging frequency of the UIM2 card, notifies the L3 layer on the paging time limit of the UIM2 card, and uses the data receiving module 22 of the L2 layer to receive the paging message from the paging channel. If the UIM2 card is not called, the L3 layer determines whether the paging frequency of the UIM1 card and the 7201038092 UIM2 card are the same. When the paging frequency of the UIM1 card and the UIM2 card are different, the L1 layer causes the UIM1 card to be awake by transmitting the wakeup parameter to the UIM1 card, and the UIM2 is enabled by sending the sleep parameter to the UIM2 card. The card is in a sleep state. The L3 layer will page. The frequency point is switched to the paging frequency of the UIM1 card, and the L3 layer is notified on the paging time limit of the UIM1 card, and the data receiving module 22 of the L2 layer receives the paging message from the paging channel. . As shown in FIG. 3, it is a flowchart of a preferred embodiment of the paging ping method for a single CDMA chip dual card dual standby mobile phone according to the present invention. In step S10, the mobile phone is turned on, and the mobile phone system is initialized. In step S11, the L1 layer reads the message of the UIM1 card and initializes the UIM1 card. In step S12, the L1 layer searches for the wireless network according to the normal CDMA protocol procedure using the paging listening parameter of the UIM1 card, and the paging listening parameters include a paging frequency, a paging channel, and a paging time limit. In step S13, the L3 layer reads the overhead message of the mobile phone system, and records the paging frequency, paging channel and paging time limit of the UIM1 card. Step S14, ^ L3 layer controls the UIM1 card to initiate a network registration process to the wireless network, and completes the registration of the UIM1 card network. In step S15, the L3 layer determines whether the UIM2 card is in an awake state. If the UIM2 card is in the awake state, in step S16, the L1 layer reads the message of the UIM2 card and initializes the UIM2 card. In step S17, the L1 layer uses the paging listening parameter of the UIM2 card to search for the wireless network according to the normal CDMA protocol procedure. In step S18, the L3 layer re-reads the overhead message of the mobile phone system, and records the paging frequency, paging channel and paging time limit of the UIM2 card. In step S19, the L3 layer controls the UIM2 card to initiate a network registration to the wireless network, and completes the registration of the UIM2 card network. In the step S15, if the UIM2 card does not exist or is in the dormant state, the flow directly proceeds to step S20. Step S20, and the L3 layer determines whether the paging frequency of the UIM1 card and the UIM2 card are the same. In step S21, if the paging frequency of the UIM1 card and the UIM2 card are the same and the paging channel is the same, the method of performing the same frequency point and the paging channel is used to listen to the paging (see FIG. 4). In step S23, if the paging frequency or the paging channel of the UIM1 card is different from the UIM2 card, the inter-frequency paging method is used to listen to the paging (see FIG. 5). As shown in FIG. 4, step S21 in FIG. 3 uses the same frequency point and the paging channel method to listen to the detailed flowchart of paging. In step S210, the L3 layer determines whether the paging time limit of the UIM1 card and the UIM2 card are the same. The paging time limit specified herein refers to the value of the paging time limit period period in the usual sense. If the paging time limit of UIM1 and UIM2 is the same or the difference is less than or equal to the overhead time of the system switching, the flow proceeds to step S211. If the paging time limit of the UIM1 card ^ and the UIM2 card is different and the difference is greater than the overhead time of the system switching, the flow proceeds to step S219. Step S211, the L3 layer configures the paging listening parameter of the UIM1 card to the L1 layer. In step S212, the L3 layer notifies the L1 layer to enter a sleep state, calculates the time of the next wakeup, receives the page when the wakeup is awakened, and sends a message to the L3 layer. In step S213, the L3 layer matches the paging message sent by the L1 layer with the UIM1 card. In step S214, the L3 layer determines whether the paging message matches the information of the UIM1 card. In step S215, if the paging message does not match the information of the UIM1 card, the L3 layer configures the paging listening parameter of the UIM2 card to the L1 9 201038092 layer. Step S216 'L3 layer notifies the L1 layer to enter a sleep state'. The L1 layer counts the time of the next wake-up, then the layer sleeps, wakes up, receives the paging, and the L1 layer sends a paging message to the L3 layer. Step S217, the L3 layer matches the paging message sent by the L1 layer with the card. Step S218: The L3 layer determines whether the paging message matches the information of the UIM2 card. If the paging message does not match the information of the UIM2 card, the flow moves to step S211 to repeat the above process from the UIM1 card. In step S214 and step S218, if the paging message matches any UIM card (UIM1 card or UIM2 card), the flow proceeds to step S225 to end standby, that is, the matching UIM1 card or UIM2 card initiates a response process to the wireless network. . In step S219, the L3 layer compares the time of searching for the beer between the UIM1 card and the UIM2 card, and configures the paging parameter of the former to the L1 layer. Step S220' L3 layer notifies the L1 layer to enter a sleep state, and the L1 layer calculates the time of the next wake-up, receives the page when it is woken up, and sends a message to the L3 layer. When the sleep command sent by L3 is not received, the L1 layer will always receive the ^page message and send it to the L3 layer. In step S221, the L3 layer matches the paging message sent by the L1 layer to match the UIM1 card or the UIM2 card. In step S222, the L3 layer determines whether the paging message matches the information of the UIM1 card. Step S223: If the paging message does not match the information of the UIM1 card, the L3 layer determines whether the paging message matches the information of the UIM2 card. Step S224' If the paging message does not match the information of the UIM2 card, the L3 layer determines whether the paging time limit of the UIM1 card and the UIM2 card is terminated by the latter paging time limit. If the paging time limit of the UIM1 card and the UIM2 card is limited by the latter paging time, the flow proceeds to step S220. If the paging time limit of the UIM1 card and the UIM2 201038092 card is not ended by the latter, the flow moves to step S221. In the above steps S222 and S223, if the paging message matches any UIM card (UIM1 card or UIM2 card), the flow turns to • Step S225 ends the standby, that is, the matching UIM1 card or UIM2 card is initiated to the wireless network. Response process. As shown in FIG. 5, step S23 in FIG. 3 uses a different frequency point different calling channel method to listen to the detailed flowchart of paging. In step S230, the L3 layer determines whether the paging time limit of the UIM1 card and the UIM2 card is the same. Step S231, 〇 If the time limit of the UIM1 card and the UIM2 card are the same or the difference is less than or equal to the overhead time of the system switching, the L3 layer configures the paging listening parameter of the UIM1 to the L1 layer. In step S232, the L3 layer notifies the L1 layer to enter the sleep state, and the L1 layer calculates the time of the next wake-up, receives the page when it is woken up, and sends a message to the L3 layer. Step S233, the L3 layer matches the paging message sent by the L1 layer with the UIM1 card or the UIM2 card. In step S234, the L3 layer determines whether the information of the paging message and the UIM1 card is ^ no match. In step S235, if the paging message is not matched with the information of the UIM1 card, the layer I] L3 determines whether the paging frequency of the UIM1 card and the UIM2 card are the same. Step S236, if the paging frequency of the UIM1 card and the UIM2 card are different, the L3 layer tunes the paging frequency point to the paging frequency of the UIM2 card. Step S237, the L3 layer configures the paging listening parameter of the UIM2 card to the L1 layer. If the frequency of the UIM1 card and the UIM2 card are the same, the flow directly proceeds to step S237. In step S238, the L3 layer notifies the L1 layer to enter a sleep state, the L1 layer calculates the time of the next wake-up, then sleeps, wakes up, receives the page, and the L1 layer sends a paging message to the L3 layer. 11 201038092 Step S239, the L3 layer determines whether the paging message matches the information of the UIM2 card. In step S240, if the paging message does not match the information of the UIM2 card, the L3 layer determines whether the paging frequency of the UIM1 card and the UIM2 card are the same. Step S241, if the paging frequency of the UIM1 card and the UIM2 card are different, then the L3 layer tunes the paging frequency to the paging frequency of the UIM1 card. If the paging frequency of the UIM1 card and the UIM2 card are the same, the flow moves to step S230 °. In the above steps S234 and S239, if the paging matches any UIM card (UIM1 card or UIM2 card), the flow directly proceeds to the step. S242 ends the standby, that is, the matching UIM1 card or UIM2 card initiates a response process to the wireless network. In the above step S230, if the paging time limit of the UIM1 card and the UIM2 card is different and the difference is greater than the overhead time of the system switching, the flow further performs steps S231 to S242. Although the processes of the two are the same, the implementation principles are different. When the time limit of the UIM1 card and the UIM2 card are different ^ or the difference is greater than the overhead time of the system switching, the inter-frequency paging channel method implements switching between the UIM1 card and the UIM2 card within a paging time period. However, when the paging time limit of the UIM1 card and the UIM2 card are the same and the difference is less than or equal to the overhead time of the system switching, the inter-frequency paging channel method is implemented between the UIM1 card and the UIM2 card in two paging time periods. Switching, that is, one paging cycle is used to receive the paging of the UIM1 card, and the next paging cycle is used to receive the paging of the UIM2 card. Since a page that receives only one UIM card in one paging cycle will miss another page of the UIM card, the network will continuously resend three 12 201038092 times for one page, even if a page may be missed. However, the other two must be able to detect the paging of the UIM1 card and the UIM2 card. The invention solves the problem of standby of a single CDMA chip dual card dual standby mobile phone by providing a single CDMA chip single protocol stack dual card dual standby mobile phone in the same operator's network environment to listen to paging. It uses a set of protocol stacks to manage and control two UIM cards to implement two UIM card applications. Since the two UIM cards belong to the same carrier, the two UIM cards in the same carrier's network environment are in the same wireless environment (such as wireless signal quality, community location, etc.), so two The UIM card can be used in a dual card dual standby mobile phone with a single CDMA chip. The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a preferred embodiment of a single CDMA chip dual card dual standby handset of the present invention. 2 is a message sequence diagram of standby of a single CDMA chip dual card dual standby mobile phone system according to the present invention. 3 is a flow chart of a preferred embodiment of a single CDMA chip dual card dual standby mobile phone paging listening method according to the present invention. FIG. 4 is a detailed flowchart of step S21 of FIG. 3, which utilizes the same frequency point and paging channel method to listen to the paging. FIG. 5 is a detailed flowchart of step S23 in FIG. 3 using the inter-frequency paging paging channel 13 1 201038092 method. [Main component symbol description] Control layer 2 21 22 23 3 4 5 6 6 Link layer data transmission module data receiving module security supervision module signaling processing layer call management user interface UIM1 card UIM2 card mobile phone boot, mobile phone The system initializes S10 to read the message of the UIM1 card, and initializes the UIM1 card S11. Using the paging listening parameter of the UIM1 card, searches the wireless network S12 to read the overhead message of the mobile phone system according to the normal CDMA protocol process, and records the paging of the UIM1 card. The listening parameter S13 controls the UIM1 card to initiate network registration to the wireless network. S14 Whether the UIM2 card is woken up. S15 Reads the UIM2 card message and initializes the UIM2 card S16. The paging detection parameter of the UIM2 card is used to search according to the normal CDMA protocol process. The wireless network S17 reads the overhead message of the mobile phone system, and records the paging listening parameter S18 of the UIM2 card, controls the UIM2 card to initiate network registration to the wireless network, and S19 UIM1 and the UIM2 card have the same paging frequency and paging channel. 14 201038092 Method of performing the same frequency point and paging channel How to listen to the paging to perform the inter-frequency paging channel How to listen to the paging S21 S23
1515