TW200901738A - Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules - Google Patents

Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules Download PDF

Info

Publication number
TW200901738A
TW200901738A TW96122395A TW96122395A TW200901738A TW 200901738 A TW200901738 A TW 200901738A TW 96122395 A TW96122395 A TW 96122395A TW 96122395 A TW96122395 A TW 96122395A TW 200901738 A TW200901738 A TW 200901738A
Authority
TW
Taiwan
Prior art keywords
phs
module
cdma
control
subscriber identity
Prior art date
Application number
TW96122395A
Other languages
Chinese (zh)
Inventor
Xiao-Long Fan
Xing-Jun Zhang
Original Assignee
Inventec Appliances Corp
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 Inventec Appliances Corp filed Critical Inventec Appliances Corp
Priority to TW96122395A priority Critical patent/TW200901738A/en
Publication of TW200901738A publication Critical patent/TW200901738A/en

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for a mobile phone with PHS and CDMA modes to control two PHS subscriber identity modules (SIMs) is provided. Without changing the hardware of the mobile phone, the method is utilized that a PHS control module is used to operate a first PHS SIM, or a CDMA UART driving module and a SIM and USIM driving module connected with each other are built in the CDMA control module. The CDMA UART driving module is connected to a PHS device driving layer of the PHS control module through UART standards, so that the PHS control module is able to control a second PHS SIM connected with the SIM and USIM driving module. Therefore, the mobile phone with PHS and CDMA modes is able to control two PHS SIMs, so as to satisfy needs and demands for businessmen and lovers in personal style.

Description

200901738 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種控制雙PHS用戶識別模組之方法 ,且特別是有關於一種PHS與CDMA雙模手機控制雙pjjs用 戶識別模組之方法。 【先前技術】 目前無線通訊技術已發展許多規範標準,常見無線通 訊系統有 GSM (Global System for Mobile Communication ,全球行動通訊系統)、CDMA ( Code Division Multiple Access,分碼多工糸統)、PHS ( Personal Handy-phone200901738 IX. Description of the Invention: [Technical Field] The present invention relates to a method for controlling a dual PHS subscriber identity module, and more particularly to a method for controlling a dual pjjs subscriber identity module for a PHS and CDMA dual mode handset . [Prior Art] At present, wireless communication technology has developed many normative standards. Common wireless communication systems include GSM (Global System for Mobile Communication), CDMA (Code Division Multiple Access), and PHS ( Personal Handy-phone

System,個人手持式電話系統)等,而為了滿足使用者手 機需能切換不同規範標準系統之需求,各家手機通訊業者 紛紛發展出具有雙模系統之手機,如在一手機中同時存在 PHS與CDMA系統即是其中代表之一。System, personal hand-held telephone system, etc., in order to meet the needs of users of mobile phones need to be able to switch to different standard systems, mobile phone communication companies have developed mobile phones with dual-mode systems, such as PHS and The CDMA system is one of the representatives.

請參照第1圖’係為先前技術之PHS與CDMA雙模系統 架構。此架構之運作方式中,PHS控制模組110係能控制 PHS用戶識別模組130,此PHS用戶識別模組130係可電性 柄接一 PIM (Personal Identity Module,個人識別模組 )卡。此外,PHS控制模組110還能透過CDM控制模組120 以控制CDMA用戶識別模組140。其係利用PHS應用層(PHS Application Layer) 111發送一控制命令,此控制命令係 通過PHS協議機(PHS Protocol Stack) 112而傳送至PHS 6 200901738 裝置驅動層(PHS Device Driver Layer) 113。PHS 裝置 驅動層113再透過一異步收發(Universal Asynchronous Receiver/Transmitter’UART)規範以輸出控制命令至CDMA 控制模組120的CDMA裝置驅動層(CDMA Device Driver Layer) 123 ’ 最後通過 CDMA 協議機(CDMA Protocol Stack )/UIM協議122傳遞此控制命令至CDMA控制模組120的 CDMA 應用層(CDMA Application Layer) 121。 此CDMA應用層121係進一步解析控制命令是否有效, 於判斷此控制命令為有效命令時,透過CDMA協議棧/UIM 協議122為中介將控制命令傳送至CDMA裝置驅動層123並 讀取CDMA用戶識別模組140的原始數據(Raw Data ),此 CDMA用戶識別模組140係電性耦接一 [JIM (User Identity Model,使用者識別模組)卡。然後將CDMA用戶識別模組 140的原始數據透過CDMA控制模組120的UIM協議(UIM Protocol)傳遞回CDMA應用層121,藉此作為對此控制命 令的響應。 最後CDMA應用層121再調用CDMA裝置驅動層123透過 異步收發(UART)規範將原始數據傳送至pHS裝置驅動層 113,並通過PHS協議棧Π2將原始數據傳回pHS應用層ηι ,由PHS應用層111處理所回傳之原始數據。 但先前技術係具有無法避免之缺失,即為此種pHS與 CDMA雙模手機並無法適用於具有雙PHS用戶識別模組之使 7 200901738 » » ' 用者’即是指擁有雙PIM卡之用戶。因PHS與CDMA雙模手機 • 使用雙模功能之必備條件為此使用者必須是具有個別對應 PHS號碼與CDMA號碼之各一PIM卡與UIM卡(包含内建於手機 • 中之晶片或1C)。若使用者想使用兩張對應PHS號碼之PIM 卡時’還是需要額外買一個可插入PIM卡的手機。故無法滿 足未申δ青CDMA號碼而具有雙PHS號碼的使用者之需求,進而 降低此PHS與CDMA雙模手機的實用性。 ^ 【發明内容】 有鑑於此,為解決上述問題,本發明係提出一種pHS (Personal Handy-phone System,個人手持式電話系統) 與CDMA (Code Division Multiple Access,分碼多工系統Please refer to Figure 1 for the prior art PHS and CDMA dual mode system architecture. In the operation mode of the architecture, the PHS control module 110 can control the PHS subscriber identity module 130. The PHS subscriber identity module 130 can be electrically connected to a PIM (Personal Identity Module) card. In addition, the PHS control module 110 can also control the CDMA subscriber identity module 140 through the CDM control module 120. It transmits a control command using the PHS Application Layer 111. The control command is transmitted to the PHS 6 200901738 PHS Device Driver Layer 113 via the PHS Protocol Stack 112. The PHS device driver layer 113 then transmits a control command to the CDMA device driver layer 123 of the CDMA control module 120 through a Universal Asynchronous Receiver/Transmitter 'UART specification. Finally, the CDMA protocol machine (CDMA) The Protocol Stack)/UIM protocol 122 passes this control command to the CDMA Application Layer 121 of the CDMA Control Module 120. The CDMA application layer 121 further analyzes whether the control command is valid. When determining that the control command is a valid command, the control command is transmitted to the CDMA device driver layer 123 through the CDMA protocol stack/UIM protocol 122 and the CDMA user identification mode is read. Raw data of the group 140 (Raw Data), the CDMA subscriber identity module 140 is electrically coupled to a [JIM (User Identity Model) card. The original data of the CDMA subscriber identity module 140 is then passed back to the CDMA application layer 121 via the UIM Protocol of the CDMA control module 120, thereby acting as a response to this control command. Finally, the CDMA application layer 121 calls the CDMA device driver layer 123 to transmit the original data to the pHS device driver layer 113 through the asynchronous transceiver (UART) specification, and transmits the original data back to the pHS application layer ηι through the PHS protocol stack ,2, by the PHS application layer. 111 processes the raw data returned. However, the prior art system has an inevitable deficiency, that is, such a pHS and CDMA dual-mode mobile phone cannot be applied to a dual PHS user identification module. 7 200901738 » » 'user' means a user who has a dual PIM card . Due to the PHS and CDMA dual-mode mobile phone • The prerequisite for using the dual-mode function is that the user must have a PIM card and a UIM card (including the chip built in the mobile phone or 1C) with the corresponding PHS number and CDMA number. . If the user wants to use two PIM cards corresponding to the PHS number, they still need to buy an additional mobile phone that can be inserted into the PIM card. Therefore, it is unable to meet the needs of users who have dual PHS numbers without applying for the CDMA CDMA number, thereby reducing the practicability of the PHS and CDMA dual-mode mobile phones. [Invention] In view of the above, in order to solve the above problems, the present invention proposes a pHS (Personal Handy-phone System) and a CDMA (Code Division Multiple Access) system.

)雙模手機控制雙PHS用戶識別模組之方法,以使pus與CDMA 雙模手機在不更動硬體的情形之下即可使用兩不同號碼之 雙PHS用戶識別模組。 1 本發明揭露一種PHS與CDMA雙模手機控制雙pus用戶識 別模組之方法,此PHS與CDMA雙模手機具有一phs控制模組 與一PHS控制模組。PHS與CDMA雙模手機於執行系統初始化 後,即判斷是否由CDMA控制模組所連接之一第二phs用戶識 別模組待機。如果判斷結果為是,則由第二用戶識別模 組待機,此雙模手機於一CDMA裝置驅動層(CDMA Device Driver Layer)建立相互連接之一CDMA異步收發驅動模組 (CDMA Universal Asynchronous Receiver/Transmitter 8 200901738The dual-mode mobile phone controls the dual PHS subscriber identity module so that the Pus and CDMA dual-mode handsets can use two different PHS subscriber identity modules without changing the hardware. 1 The invention discloses a PHS and CDMA dual-mode mobile phone controlling a dual Pus user identification module. The PHS and CDMA dual-mode mobile phone have a phs control module and a PHS control module. After the PHS and CDMA dual-mode mobile phones are initialized by the execution system, it is judged whether one of the second phs user identification modules connected by the CDMA control module stands by. If the result of the determination is yes, the second user identification module stands by, and the dual-mode mobile phone establishes a CDMA Universal Asynchronous Receiver/Transmitter connected to each other in a CDMA device driver layer (CDMA Device Driver Layer). 8 200901738

Driver ’ CDMA UART Driver)與一PIM與UIM驅動模組,且 CDMA異步收發驅動模組以異步收發(UART)規範與PHS控制 模組之一PHS裝置驅動層連通,以控制與piM與UIM驅動模組 連接之第二PHS用戶識別模組。如果判斷結果為否,則由_ 第一 PHS用戶識別模組待機,此雙模手機係利用PHS控制模 組控制其連接之一第一PHS用戶識別模組。 此外’當PHS與CDMA雙模手機處於第一PHS用戶識別模 組或弟一PHS用戶識別模組之待機模式時,係可獲取並記錄 以第一PHS用戶識別模組或以第二pus用戶識別模組待機之 控制命令或設定資訊。之後再重置系統以執行系統初始化 步驟。而儲存第一PHS用戶識別模組或第二phs用戶識別模 組乃是利用一快閃記憶體、一EEPR0M或一EPROM進行儲存。 然而,前述所說的第一 PHS用戶識別模組係供電性耦接 一第一PIM (Personal Identity Module,個人識別模組) 卡,以供讀取第一PIM卡之數據。而第二PHS用戶識別模組 係供電性耦接一第二PIM卡,以供讀取第二PIM卡之數據。 本發明具有先前技術無法達到之功效,即可於pHS與 CDMA雙模手機上配置兩不同號碼之PHS用戶識別模組,即是 可電性耦接兩個對應PHS號碼的PIM卡。而PHS控制模組除可 對電性耦接於第一 PHS用戶識別模組之第一 PIM卡進行控制 與數據之傳輸外,更能透過CDMA異步收發驅動模組與piM 與UIM驅動模組之配合,以對電性耦接於第二pHS用戶識別 9 200901738 模組之第二PIM卡進行控制與數據傳輪。因㈣於擁有雙 PIM卡的使用者’也能輕易實現對雙卿號碼的控制並自由 選擇以不同之PHS肝識顺組別待機,且無需作硬體㈣ 重大變更。此外,(:DMA控制模組僅相當於中轉數據之功能 ,而不需要CDMA協議棧與UIM協議之介人,故能降低控制^ 序的複雜度與隨⑽其效能。;j;但降低手機廠商研發時 間和成本也滿足現代人求新求變之心理’同時也可最大程 度滿足商務人士及個性化愛好者之需求。 【實施方式】 有關本發明的特徵與實作,茲配合圖示作最佳實施例 詳細說明如下。 請參照第2圖’其為本發明之控制第一及第二pjjs用 戶識別模組實施例之系統架構圖。此系統包含一 PHS ( Personal Handy-phone System,個人手持式電話系統)控 制模組 210、一 CDMA (Code Division Multiple Access ’分碼多工系統)控制模組220、一第一 PHS用戶識別模 組230與一第二PHS用戶識別模組240。此PHS控制模組 210 係包含一 PHS 應用層(PHS Application Layer) 211 、一 PHS 協議棧(PHS Protocol Stack) 212 與一 PHS 裝 置驅動層(PHS Device Driver Layer) 213,而 CDMA 控制 模組 220 則包含一 CDMA 應用層(CDMA Appl i cat ion Layer )22卜一 CDMA 協議棧(CDMA Protocol Stack) /UIM 協 200901738 議 222 與一 CDMA 裝置驅動層(CDMA Device Driver Layer )223,並於CDMA裝置驅動層223中建立一 CDMA異步收發 驅動模組(CDMA Universal Asynchronous Receiver/Transmitter Driver > CDMA UART Driver) 2231 以及一 PIM (Personal Identity Module,個人識別模組 )與UIM (User Identity Model,使用者識別模組)驅動 模組2232。 其中’ PHS裝置驅動層213係電性耦接第一 PHS用戶 識別模組230 ; CDMA異步收發驅動模組2231係與PIM與 UIM驅動模組2232相互連接並連通phs裝置驅動層213 ; 及第二PHS用戶識別模組240係電性耦接PIM與UIM驅動 模組2232。 此系統係依據儲存於雙模手機以第一PHS用戶識別模 組230或以弟一PHS用戶識別模組240待機之設定資訊,以 令PHS控制模組210之PHS應用層211發送相對應之控制命 令,經由PHS裝置驅動層213來控制第一PHS用戶識別模組 230之作動與資料傳遞。或者,pHS控制模組21〇經由pHS 裝置驅動層213與CDMA異步收發驅動模組2231,以將控制 叩令傳送至PIM與UIM驅動模組2232,以控制第二PHS用戶 識別模組240之作動與資料傳遞。當PHS控制模組21〇控制 第二PHS用戶識別模組240時,乃是透過CDMA異步收發驅動 模組2231控制PIM與UIM驅動模組2232進行單工之串口操 200901738 作’因此CDMA異步收發驅動模組2231可取代CDMA應用層 221與CDMA協議授/UIM協議222之部分功能,故無需利用 到CDMA應用層221與CDMA協議棧/UIM協議222。 此例中’第一PHS用戶識別模組230係供電性連接一第 一PIM卡(未繪示)。第二PHS用戶識別模組240係供電性連 接一第二PIM卡(未繪示)。其次,PHS裝置驅動層213與CDMA 異步收發驅動模組2231之間的傳遞訊息係透過一異步收Driver ' CDMA UART Driver ) and a PIM and UIM driver module, and the CDMA asynchronous transceiver driver module communicates with the PHS device driver layer of one of the PHS control modules by the asynchronous transceiver (UART) specification to control the piM and UIM driver modules. The second PHS user identification module connected to the group. If the result of the determination is no, the first PHS user identification module stands by, and the dual mode mobile phone controls the first PHS user identification module connected by the PHS control module. In addition, when the PHS and CDMA dual-mode mobile phones are in the standby mode of the first PHS user identification module or the PHS user identification module, the PHS user identification module can be acquired and recorded or identified by the second PUS user identification module. Control commands or setting information for module standby. Then reset the system to perform the system initialization steps. The first PHS user identification module or the second phs user identification module is stored by using a flash memory, an EEPR0M or an EPROM. However, the first PHS subscriber identity module is coupled to a first PIM (Personal Identity Module) card for reading data of the first PIM card. The second PHS subscriber identity module is electrically coupled to a second PIM card for reading data of the second PIM card. The invention has the functions that cannot be achieved by the prior art, that is, the PHS user identification module of two different numbers can be configured on the pHS and the CDMA dual-mode mobile phone, that is, the PIM card corresponding to the two PHS numbers can be electrically coupled. In addition to the control and data transmission of the first PIM card electrically coupled to the first PHS subscriber identity module, the PHS control module can further transmit the CDMA asynchronous transceiver driver module and the piM and UIM driver module. The control and data transfer are performed on the second PIM card electrically coupled to the second pHS user identification 9 200901738 module. Because (4) users with dual PIM cards can also easily control the Shuangqing number and freely choose to wait for different PHS livers, and do not need to make hardware (4) major changes. In addition, (: DMA control module is only equivalent to the function of transfer data, without the need for CDMA protocol stack and UIM protocol, so it can reduce the complexity of the control and its performance.); The development time and cost of mobile phone manufacturers also meet the needs of modern people seeking new changes. At the same time, they can satisfy the needs of business people and individualized enthusiasts. [Embodiment] The features and implementations of the present invention are shown in the accompanying drawings. The preferred embodiment is described in detail below. Please refer to FIG. 2, which is a system architecture diagram of the first and second pjjs user identification module embodiments of the present invention. The system includes a PHS (Personal Handy-phone System, The personal handy phone system) control module 210, a CDMA (Code Division Multiple Access) control module 220, a first PHS user identification module 230 and a second PHS user identification module 240. The PHS control module 210 includes a PHS Application Layer 211, a PHS Protocol Stack 212 and a PHS Device Driver Laye. r) 213, and the CDMA control module 220 includes a CDMA application layer (CDMA), a CDMA protocol stack, a UIM protocol 200901738, and a CDMA device driver layer (CDMA Device). Driver Layer 223, and a CDMA Universal Asynchronous Receiver/Transmitter Driver > CDMA UART Driver 2231 and a PIM (Personal Identity Module) are established in the CDMA device driver layer 223. The UIM (User Identity Model) driver module 2232. The 'PHS device driver layer 213 is electrically coupled to the first PHS subscriber identity module 230; the CDMA asynchronous transceiver driver module 2231 is associated with PIM and UIM. The driving module 2232 is connected to and connected to the phs device driving layer 213; and the second PHS user identification module 240 is electrically coupled to the PIM and UIM driving module 2232. The system is based on the first PHS user stored in the dual mode mobile phone. The identification module 230 or the setting information of the standby PHS user identification module 240 is standby, so that the PHS application layer 211 of the PHS control module 210 sends a corresponding control command. PHS via the device driver layer 213 to control the first user identification PHS module 230 for data transfer with the actuator. Alternatively, the pHS control module 21 drives the layer 213 and the CDMA asynchronous transceiver module 2231 via the pHS device to transmit control commands to the PIM and UIM driver module 2232 to control the operation of the second PHS user identification module 240. With data transfer. When the PHS control module 21 controls the second PHS subscriber identity module 240, the CDMA asynchronous transceiver driver module 2231 controls the PIM and UIM driver module 2232 to perform a simple serial port operation 200901738. The module 2231 can replace some functions of the CDMA application layer 221 and the CDMA protocol/UIM protocol 222, so there is no need to utilize the CDMA application layer 221 and the CDMA protocol stack/UIM protocol 222. In this example, the first PHS subscriber identity module 230 is electrically connected to a first PIM card (not shown). The second PHS subscriber identity module 240 is electrically coupled to a second PIM card (not shown). Secondly, the transmission message between the PHS device driver layer 213 and the CDMA asynchronous transceiver driver module 2231 is transmitted through an asynchronous reception.

發(Universal Asynchronous Receiver/Transmitter,UART )規範進行控制命令及數據之匯整與傳遞。 請參照第3圖’其為本發明之系統流程圖,請同時參 考第2圖進行了解。此控制方法之流程係包含下列步驟: 執行系統初始化(步驟S310),於此PHS與CDMA雙模手 機進行開機或系統重置時,執行此系統的初始化作業。 判斷是否由一 CDMA控制模組2 2 0所連接之一第二pjjs 用戶識別模組240待機(步驟S320 )。系統擷取待機用的設 定資訊’以判斷是否由第二PHS用戶識別模組240進行待機 工作。而待機用的設定資訊係儲存於PHS與CDMA雙模手機既 有的記憶體(未緣示)上,係指記憶體儲存以那一個PHS 用戶識別模組進行待機之設定資訊。記憶體本身可為快閃 記憶體(Flash Memory )、電子抹除式唯讀記憶體( Electrically Erasable Programmable Read-Only Memory ’ EEPROM )或可抹除可程式唯讀存儲器(Erasable 12 200901738The Universal Asynchronous Receiver/Transmitter (UART) specification performs control commands and data aggregation and transmission. Please refer to Fig. 3, which is a flowchart of the system of the present invention. Please refer to Fig. 2 for understanding. The flow of the control method includes the following steps: Performing system initialization (step S310), where the initialization operation of the system is performed when the PHS and the CDMA dual mode mobile phone are powered on or reset. It is judged whether or not one of the second pjjs user identification modules 240 connected by a CDMA control module 220 is on standby (step S320). The system retrieves the setting information for standby to determine whether the standby operation is performed by the second PHS subscriber identity module 240. The standby setting information is stored in the existing memory (not shown) of the PHS and CDMA dual-mode mobile phones, which means that the memory stores the setting information of the standby of the PHS user identification module. The memory itself can be Flash Memory, Electrically Erasable Programmable Read-Only Memory (EEPROM) or erasable programmable read only memory (Erasable 12 200901738)

Programmable Read- Only Memory, EPROM)。 如果判斷的結果為否’則由一第一PHS用戶識別模組待 機230 ’係利用一PHS控制模組210控制其連接之第一PHS 用戶識別模組230 (步驟S330)。 反之’若於步驟S320中的判斷結果為是時,則由第二 PHS用戶識別模組240待機,係於一CDMA裝置驅動層223建 立相互連接之一CDMA異步收發驅動模組2231與一PIM與 UIM驅動模組2232,且CDMA異步收發驅動模組2231以異步 收發(UART)規範與PHS控制模組210之一PHS裝置驅動層 213連通’以控制與PIM與UIM驅動模組2232連接之第二phs 用戶識別模組240 (步驟S340)。 請參照第4圖,其為第3圖之第一PHS用戶識別模組待 機之細部流程圖。系統乃經由PHS控制模組210之PHS應用 層(PHS Application Layer) 211 輸出一控制命令至phs 裝置驅動層213 (步驟S331)。當PHS控制模組210經由phs 應用層211發送控制命令時,係利用PHS協議棧(phs Protocol Stack) 212處理控制命令並輸出經過處理之控 制命令至PHS裝置驅動層213。根據此控制命令以利用phs 裝置驅動層213取得第一PHS用戶識別模組230之原始數據 (Raw Data)(步驟S332)。之後,PHS裝置驅動層213再回 傳原始數據至PHS協議棧212,並經由PHS協議棧212處理 此原始數據(步驟S 3 3 3 )。最後再回傳經過處理之原始數據 13 4 « 200901738 至PHS應用層211 (步驟S334)。藉此完成PHS控制模組210 - 對第一PHS用戶識別模組230之控制與數據讀取,同時進入 以第一PHS用戶識別模組230為主之待機模式。Programmable Read- Only Memory, EPROM). If the result of the determination is no, then a first PHS subscriber identity module standby 230 is controlled by a PHS control module 210 to control the first PHS subscriber identity module 230 to which it is connected (step S330). On the other hand, if the result of the determination in step S320 is YES, the second PHS subscriber identity module 240 stands by, and a CDMA device driver layer 223 establishes a connection between the CDMA asynchronous transceiver module 2231 and a PIM. The UIM driver module 2232, and the CDMA asynchronous transceiver driver module 2231 communicates with the PHS device driver layer 213 of the PHS control module 210 by an asynchronous transceiver (UART) specification to control the second connection with the PIM and UIM driver module 2232. The phs user identification module 240 (step S340). Please refer to FIG. 4, which is a detailed flowchart of the standby of the first PHS subscriber identity module in FIG. The system outputs a control command to the phs device driver layer 213 via the PHS Application Layer 211 of the PHS control module 210 (step S331). When the PHS control module 210 transmits a control command via the phs application layer 211, the control command is processed by the PHS Protocol Stack 212 and the processed control command is output to the PHS device driver layer 213. According to the control command, the raw data (Raw Data) of the first PHS subscriber identity module 230 is obtained by the phs device driver layer 213 (step S332). Thereafter, the PHS device driver layer 213 then transmits the original data to the PHS protocol stack 212 and processes the original data via the PHS protocol stack 212 (step S3 3 3). Finally, the processed raw data 13 4 « 200901738 is passed back to the PHS application layer 211 (step S334). Thereby, the PHS control module 210 is controlled to read and control the data of the first PHS user identification module 230, and enters the standby mode with the first PHS user identification module 230 as the main mode.

請參照第5圖’其為第3圖之第二PHS用戶識別模組待 機之細部流程圖。步驟S340中,系統係經由phs控制模組 210之PHS應用層211輸出一控制命令至CDMA異步收發驅動 模組2231 (步驟S341 )。當系統經由PHS控制模組210之PHS ( 應用層211輸出一控制命令時,係利用PHS控制模組210之 PHS協議棧212處理控制命令並輸出,再利用pHs裝置驅動 層213轉送控制命令至CDMA異步收發驅動模組2231。此控 制命令自PHS裝置驅動層213輸出時,係經由異步收發( UART)規範進行控制命令之傳送。之後再利用CDMA異步收 發驅動模組2231解析控制命令並判斷控制命令是否為有 效的命令,若判斷為有效命令,則利用PIM與UIM驅動模組 I 2232控制並取得第二PHS用戶識別模組240之原始數據, 透過CDMA異步收發驅動模組2231與PHS裝置驅動層213回 傳原始數據至PHS控制模組210之PHS協議棧212(步驟S342 )° 在此之前,CDMA控制模組220係依據此控制命令將其 運作時脈與操作電壓配置成符合第二PHS用戶識別模組240 的電器特性規範’並將第二PHS用戶識別模組240初始化, 以便於控制第二PHS用戶識別模組240與進行數據之傳輸 14 200901738 。然而,由於CDMA協議棧/UIM協議222操作第二用戶識別 模組240即是單工的串口操作,因此(^鼷異步收發驅動模 組2231可部分取代CDMA協議棧/UIM協議222與CDMA應用層 221,以透過piM與UIM驅動模組2232來控制第二用戶識別 模組240。 而回傳原始數據之過程中,PIM與UIM驅動模組2232先 將原始數據傳送至CDMA異步收發驅動模組2231,此CDMA異 步收發驅動模組2231經由異步收發(UART)規範以通過一 定的波特率將原始數據傳送至PHS裝置驅動層213,這時 CDMA控制模組220的作動即是起到中轉數據的作用。之後 PHS裝置驅動層213再將原始數據傳送至PHS協議棧212。 最後’經由PHS協議棧212處理原始數據並將經過處理的原 始數據回傳至PHS應用層211 (步驟S343 ),PHS應用層211 係處理回傳之原始數據’進而完成PHS應用層211對第二 PHS用戶識別模組240之初步控制,同時進入以第二phs用 戶識別模組240為主的待機模式。而使用者即可透過phs 應用層211來控制第二PHS用戶識別模組240並進行數據之 傳遞。 請參照第6圖,其為本發明一實施例之選擇並記錄第 一或第二PHS用戶識別模組待機實施例之流程圖,係包含下 列之流程:Please refer to FIG. 5, which is a detailed flowchart of the second PHS subscriber identity module standby in FIG. In step S340, the system outputs a control command to the CDMA asynchronous transceiver driver module 2231 via the PHS application layer 211 of the phs control module 210 (step S341). When the system passes the PHS of the PHS control module 210 (the application layer 211 outputs a control command, the PHS protocol stack 212 of the PHS control module 210 processes the control command and outputs it, and then uses the pHs device driver layer 213 to transfer the control command to the CDMA. The asynchronous transceiver driver module 2231. When the control command is output from the PHS device driver layer 213, the control command is transmitted via the asynchronous transceiver (UART) specification. Then, the CDMA asynchronous transceiver driver module 2231 is used to parse the control command and determine the control command. Whether it is a valid command, if it is determined to be a valid command, the PIM and UIM driver module I 2232 are used to control and obtain the original data of the second PHS subscriber identity module 240, and the CDMA asynchronous transceiver driver module 2231 and the PHS device driver layer are used. 213 returns the original data to the PHS protocol stack 212 of the PHS control module 210 (step S342). Prior to this, the CDMA control module 220 configures its operating clock and operating voltage to conform to the second PHS user according to the control command. Identifying the electrical characteristics specification of the module 240 and initializing the second PHS subscriber identity module 240 to facilitate control of the second PHS subscriber identity module 240 Data transmission 14 200901738. However, since the CDMA protocol stack/UIM protocol 222 operates the second subscriber identity module 240 to be a simplex serial port operation, the (^) asynchronous transceiver driver module 2231 can partially replace the CDMA protocol stack/ The UIM protocol 222 and the CDMA application layer 221 control the second user identification module 240 through the piM and UIM driver module 2232. In the process of returning the original data, the PIM and UIM driver module 2232 first transmits the original data to The CDMA asynchronous transceiver driver module 2231, the CDMA asynchronous transceiver driver module 2231 transmits the original data to the PHS device driver layer 213 through a synchronous baud rate via a synchronous transceiver (UART) specification, at which time the operation of the CDMA control module 220 The function is to transfer the data. The PHS device driver layer 213 then transfers the original data to the PHS protocol stack 212. Finally, the raw data is processed via the PHS protocol stack 212 and the processed raw data is passed back to the PHS application layer 211. (Step S343), the PHS application layer 211 processes the original data returned, and further completes the initial control of the PHS application layer 211 to the second PHS user identification module 240, and simultaneously enters The second phs user identification module 240 is in the main standby mode, and the user can control the second PHS user identification module 240 through the phs application layer 211 and transmit data. Referring to FIG. 6, it is the present invention. A flow chart for selecting and recording a standby embodiment of the first or second PHS subscriber identity module in an embodiment includes the following processes:

獲取並記錄以第一PHS用戶識別模組230或以第二PHS 15 200901738 用戶識別模組240待機(步驟S410)。此步驟係具有複數個 不同之作法,最常見的作法有記錄旗標數據與儲存待機設 定資訊。 當用戶利用PHS與CDMA雙模手機下達切換或選擇以第 一PHS用戶識別模組230或以第二PHS用戶識別模組24〇待 機之控制命令時,系統會擷取到此控制命令並依據控制命 令包含之資訊以寫入一旗標數據或是將用戶想要使用的第 一PHS用戶識別模組或第二PHS用戶識別模組之待機設定資 訊儲存於記憶體中。 重置系統(步驟S420 ) ’當系統重置後(或是將pjjs與 CDMA雙模手機重新開機)’會讀取記憶體中儲存的旗標數據 或是待機設定資訊,以判斷並驅動?狀控制模組21〇讀取第 一PHS用戶識別模組230或第二PHS用戶識別模組240之原 始數據,以進入第一pHS用戶識別模組23〇或第二pHS用戶 識別模組240之待機模式。 綜上所述,本發明所提供之運用PHS與CDMA雙模手機控 制雙PHS用戶識別模組之系統及其方法,可在不變更硬體之 前提下,透過PHS控制模組、CDMA異步收發驅動模組與piM 與UIΜ驅動模組之間的配合以對第二p H s用戶識別模組進行 控制,故使用者能對兩不同PHS號碼之piM卡進行控制與切 換待機模式,進而提供此即3與(:])腿雙模手機的實用性。 雖然本發明以前述之較佳實施例揭露如上’然其並非 16 200901738 * 用以限定本發明,任何熟習相像技藝者,在不脫離本發明 之精神和範圍内,所作更動與潤飾之等效替換,仍為本發 明之專利保護範圍内。 【圖式簡單說明】 第1圖繪示先前技術之PHS與CDMA雙模手機之系統架構 圖; 第2圖繪示本發明之控制第一及第二PHS用戶識別模組實 〖施例之系統架構圖; 第3圖繪示本發明之控制第一及第二PHS用戶識別模組待 機實施例之流程圖; 第4圖繪示第3圖之第一 PHS用戶識別模組待機之細部流 程圖; 第5圖繪示第3圖之第二PHS用戶識別模組待機之細部流 程圖;以及 〔 第6圖繪示本發明之選擇並記錄第一或第二PHS用戶識別 模組待機實施例之流程圖。 【主要元件符號說明】 110 PHS控制模組 111 PHS應用層 112 PHS協議棧 113 PHS裝置驅動層 120 CDMA控制模組 17 200901738 121 CDMA應用層 122 CDMA協議棧/UIM協議 123 CDMA裝置驅動層 130 PHS用戶識別模組 140 CDMA用戶識別模組 210 PHS控制模組 211 PHS應用層 212 PHS協議棧 213 PHS裝置驅動層 220 CDMA控制模組 221 CDMA應用層 222 CDMA協議棧/UIM協議 223 CDMA裝置驅動層 2231 CDMA異步收發驅動模組 2232 PIM與UIM驅動模組 230 第一 PHS用戶識別模組 240 第二PHS用戶識別模組 步驟S310 執行系統初始化 步驟S320 判斷是否由一 0)ΜΑ控制模組所連接之一第二 PHS用戶識別模組待機 步驟S330 利用一 PHS控制模組控制其連接之第一 PHS用 戶識別模組 18 200901738 步驟S331 步驟S332 步驟S333 步驟S334 f 步驟S340 步驟S341 ( 步驟S342 步驟S343 經由PHS控制模組之咖應 令至PHSI置驅動層。控制命 利用PHS|置驅動層取得第_? 組之原始數據 戶識別模 回傳原始數據至PHS協軸,並經 棧處理此原始數據 此協礒 回傳經過處理之原始數據至PHS應用層 於- CDMA裝置驅動層建立相互連^ 異步收發驅動模組與—PIM ;cDMa 且⑽異步收發驅動模組以 動 需控制模組之_PHS|置驅動=規純輿 制與PIM與㈣驅動模組 以趣 識別模組 —PHs用戶 經由PHS控制模組之PHS應用層輪出 令至CDMA異步收發驅動模缸。 t制命 利用CDMA異步收發驅動模 判斷控制命令是否為有效的c命令教 效命令,則利用PIM與UIM.J: =為有 得第…戶識別模c CDMA異步收發驅動模組與 要孤通坶 奶装》置驅動 傳原始數據至PHS控制模组士 4回 經由PHS協議棧處理原始咖協錢。 散據並將經過處理 19 200901738 步驟S410 步驟S420 的原始數據回傳至PHS應用層 獲取並記錄以第一 PHS用戶識別模組或以第 二PHS用戶識別模組待機 重置系統 20The first PHS user identification module 230 is acquired and recorded or is in standby with the second PHS 15 200901738 user identification module 240 (step S410). This step has a number of different approaches. The most common practice is to record flag data and store standby settings. When the user uses the PHS and CDMA dual-mode mobile phone to switch or select the control command of the first PHS user identification module 230 or the second PHS user identification module 24, the system will retrieve the control command and control according to the control. The command includes information to write a flag data or store the standby setting information of the first PHS user identification module or the second PHS user identification module that the user wants to use in the memory. Reset the system (step S420) ‘When the system is reset (or the pjjs and CDMA dual-mode phone are rebooted), will the flag data stored in the memory or the standby setting information be read to judge and drive? The control module 21 reads the original data of the first PHS user identification module 230 or the second PHS user identification module 240 to enter the first pHS user identification module 23 or the second pHS user identification module 240. Standby mode. In summary, the system and method for controlling dual PHS user identification modules using PHS and CDMA dual-mode mobile phones provided by the present invention can be carried out without changing the hardware, through the PHS control module, and the CDMA asynchronous transceiver driver. The cooperation between the module and the piM and the UIΜ drive module controls the second p H s user identification module, so that the user can control and switch the standby mode of the piM cards of the two different PHS numbers, thereby providing the 3 and (:]) the practicality of the leg dual-mode phone. Although the present invention has been described above in terms of the preferred embodiments thereof, it is intended that the invention is not limited to the scope of the invention, and the equivalents of the modification and retouching are made without departing from the spirit and scope of the invention. It is still within the scope of patent protection of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system architecture diagram of a PHS and CDMA dual-mode mobile phone of the prior art; FIG. 2 is a diagram showing a system for controlling the first and second PHS user identification modules of the present invention. FIG. 3 is a flow chart showing a standby embodiment of the first and second PHS user identification modules according to the present invention; and FIG. 4 is a flow chart showing the details of the standby of the first PHS user identification module in FIG. Figure 5 is a flow chart showing the details of the standby of the second PHS subscriber identity module of Figure 3; and [Fig. 6 is a diagram showing the selection and recording of the standby mode of the first or second PHS subscriber identity module of the present invention. flow chart. [Main component symbol description] 110 PHS control module 111 PHS application layer 112 PHS protocol stack 113 PHS device driver layer 120 CDMA control module 17 200901738 121 CDMA application layer 122 CDMA protocol stack / UIM protocol 123 CDMA device driver layer 130 PHS user Identification module 140 CDMA subscriber identity module 210 PHS control module 211 PHS application layer 212 PHS protocol stack 213 PHS device driver layer 220 CDMA control module 221 CDMA application layer 222 CDMA protocol stack / UIM protocol 223 CDMA device driver layer 2231 CDMA Asynchronous transceiver driver module 2232 PIM and UIM driver module 230 First PHS user identification module 240 Second PHS user identification module step S310 Perform system initialization step S320 to determine whether one is connected by a 0) control module The second PHS subscriber identity module standby step S330 controls the first PHS subscriber identity module 18 connected by a PHS control module. 200901738 Step S331 Step S332 Step S333 Step S334 f Step S340 Step S341 (Step S342 Step S343 via PHS control mode The group of coffee should be ordered to the PHSI to set the driver layer. The control uses the PHS| drive layer to obtain the first The original data identification mode of the group returns the original data to the PHS co-axe, and the original data is processed by the stack. This protocol returns the processed raw data to the PHS application layer to establish a mutual connection to the CDMA device driver layer. Transceiver driver module and -PIM; cDMa and (10) asynchronous transceiver driver module with dynamic control module _PHS| drive = pure control and PIM and (4) drive module with interesting identification module - PHs users via PHS The PHS application layer of the control module is issued to the CDMA asynchronous transceiver driver cylinder. The commander uses the CDMA asynchronous transceiver driver mode to determine whether the control command is a valid c command effect command, and then uses PIM and UIM.J: = There is a ... the identification model c CDMA asynchronous transceiver driver module and to be solitary 坶 milk installed" set drive to pass the original data to the PHS control module 4 back through the PHS protocol stack to process the original coffee co-agreement. Processing 19 200901738 Step S410 The original data of step S420 is transmitted back to the PHS application layer to acquire and record the first PHS user identification module or the second PHS user identification module standby reset system 20

Claims (1)

200901738 十、申請專利範圍: 1. 一種PHS與CDMA雙模手機控制雙PHS用戶識別模組之 方法,該方法至少包含下列步驟: 執行系統初始化;以及 判斷是否由一 CDMA控制模組所連接之一第二PHS 用戶識別模組待機,若為否則由一第一 PHS用戶識別模 組待機,係利用一 PHS控制模組控制其連接之該第一 PHS用戶識別模組,若為是則由該第二PHS用戶識別模 組待機,係於一 CDMA裝置驅動層建立相互連接之一 CDMA異步收發驅動模組與一 PIM與UIM驅動模組,且該 CDMA異步收發驅動模組以異步收發規範與該PHS控制 模組之一 PHS裝置驅動層連通,以控制與該PIM與UIM 驅動模組連接之該第二PHS用戶識別模組。 2. 如申請專利範圍第1項所述之控制雙PHS用戶識別模組 之方法,其中更包含: 獲取並記錄以該第一 PHS用戶識別模組或以該第二 PHS用戶識別模組待機;以及 重置該系統。 3. 如申請專利範圍第2項所述之控制雙PHS用戶識別模組 之方法,其中該儲存該第一 PHS用戶識別模組或該第二 PHS用戶識別模組係利用一快閃記憶體、一 EEPR0M或一 EPROM儲存。 21 200901738 4.如申印專利範圍第}項所述之控制雙ρΗ§用戶識別模組 之方法,其中由該第一 PJJS用戶識別模組待機步驟係更 包含下列步驟: 經由該PHS控制模組之—PHS應用層輸出一控制命 令至該PHS裝置驅動層; 利用該PHS裝置驅動層取得該第一 pHS用戶識別模 組之原始數據; ί 回傳該原始數據至該PHS控制模組之一 pHS協議 棧,並經由該PHS協議棧處理該原始數據;以及 回傳經過處理之該原始數據至該pHS應用層。 5·如申請專利範圍第4項所述之控制雙PHS用戶識別模組 之方法其中經由该pHS控制模組之該卩此應用層輸出 私制〒令至該pHS裝置驅動層之步驟更包含利用該 PHS協4棧處理該控制命令並輸出經過處理之該控制命 令至該PHS裝置驅動層。 6·如申凊專利範圍第!項所述之控制雙用戶識別模組 之方法’其中該第二PHS用戶識職組待機步驟更包含 下列步驟: 經由該PHS控制模組之一 PHS應用層輸出一控制命 令至該CDMA異步收發驅動模組; 利用該CDMA異步收發驅動模組解析該控制命令並 判斷該控料令是Μ有效命令,若麟為有效,則利 22 200901738 用該PIM與UIM驅動模級控制並取得該第二pHS用戶識 別模组之原始數據’並透過該⑽A異步收發驅動模組 與忒PHS|置驅動層回傳該原始數據至該?肋控制模組 之一 PHS協議機;以及 經由該PHS協議棧處理該原始數據並將經過處理之 5亥原始數據回傳至該PHS應用層。 7. 如申請專利範圍第6項所述之控制雙PHS用戶識別模組 之方法’其中經由該PHS控制模組之該PHS應用層輸出 該控制命令至該CDMA異步收發驅動模組步驟至少包含 下列步驟: 經由該PHS控制模組之該PHS應用層輸出該控制命 令; 利用該PHS控制模組之該PHS協議棧處理該控制命 令並輸出;以及 利用該PHS裝置驅動層擷取並轉送該控制命令至該 CDMA異步收發驅動模組。 8. 如申請專利範圍第1項所述之控制雙PHS用戶識別模組 之方法,其中該第一PHS用戶識別模組係供電性耦接一 第一 PIM卡,以供讀取該第一 PIM卡之數據。 9·如申請專利範圍第1項所述之控制雙PHS用戶識別模組 之方法,其中該第二PHS用戶識別模組係供電性耦接— 第二PIM卡,以供讀取该第一 卡之數據。 23200901738 X. Patent application scope: 1. A method for controlling dual PHS user identification modules by PHS and CDMA dual-mode mobile phones, the method comprising at least the following steps: performing system initialization; and determining whether one of the CDMA control modules is connected The second PHS user identification module is in standby. If it is otherwise standby by a first PHS user identification module, the PHS control module is used to control the first PHS user identification module connected thereto, and if so, the first The PHS subscriber identity module is in standby mode, and is connected to a CDMA asynchronous transceiver driver module and a PIM and UIM driver module in a CDMA device driver layer, and the CDMA asynchronous transceiver driver module uses an asynchronous transceiver specification and the PHS. One of the control modules is connected to the PHS device driver layer to control the second PHS user identification module connected to the PIM and UIM driver modules. 2. The method for controlling a dual PHS subscriber identity module according to claim 1, wherein the method further comprises: acquiring and recording, by using the first PHS subscriber identity module or by using the second PHS subscriber identity module; And reset the system. 3. The method for controlling a dual PHS subscriber identity module according to claim 2, wherein the storing the first PHS subscriber identity module or the second PHS subscriber identity module utilizes a flash memory, An EEPR0M or an EPROM is stored. 21 200901738 4. The method for controlling a dual-user 识别 user identification module according to the invention, wherein the first PJJS user identification module standby step further comprises the following steps: via the PHS control module The PHS application layer outputs a control command to the PHS device driver layer; the PHS device driver layer is used to obtain the original data of the first pHS user identification module; ί returning the original data to one of the PHS control module pHS a protocol stack, and processing the original data via the PHS protocol stack; and returning the processed raw data to the pHS application layer. 5. The method of controlling a dual PHS subscriber identity module as described in claim 4, wherein the step of outputting a private command to the pHS device driver layer via the pHS control module further includes utilizing The PHS Association 4 stack processes the control command and outputs the processed control command to the PHS device driver layer. 6.·If you apply for the patent scope! The method for controlling a dual user identification module, wherein the second PHS user job group standby step further comprises the following steps: outputting a control command to the CDMA asynchronous transceiver driver via one of the PHS control modules Module; using the CDMA asynchronous transceiver driver module to parse the control command and determining that the control command is a valid command, if the collar is valid, then 22 200901738 uses the PIM and UIM to drive the mode control and obtain the second pHS The original data of the subscriber identity module is transmitted back to the original data through the (10)A asynchronous transceiver driver module and the 忒PHS| driver layer. a PHS protocol machine; and processing the raw data via the PHS protocol stack and transmitting the processed raw data to the PHS application layer. 7. The method for controlling a dual PHS subscriber identity module as described in claim 6 wherein the step of outputting the control command to the CDMA asynchronous transceiver driver module via the PHS application layer of the PHS control module comprises at least the following Step: outputting the control command via the PHS application layer of the PHS control module; processing the control command by the PHS protocol stack of the PHS control module and outputting; and using the PHS device driver layer to retrieve and forward the control command To the CDMA asynchronous transceiver driver module. 8. The method for controlling a dual PHS subscriber identity module according to claim 1, wherein the first PHS subscriber identity module is electrically coupled to a first PIM card for reading the first PIM Card data. 9. The method of controlling a dual PHS subscriber identity module as described in claim 1, wherein the second PHS subscriber identity module is electrically coupled to the second PIM card for reading the first card Data. twenty three
TW96122395A 2007-06-20 2007-06-20 Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules TW200901738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96122395A TW200901738A (en) 2007-06-20 2007-06-20 Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96122395A TW200901738A (en) 2007-06-20 2007-06-20 Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules

Publications (1)

Publication Number Publication Date
TW200901738A true TW200901738A (en) 2009-01-01

Family

ID=44721722

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96122395A TW200901738A (en) 2007-06-20 2007-06-20 Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules

Country Status (1)

Country Link
TW (1) TW200901738A (en)

Similar Documents

Publication Publication Date Title
TWI386012B (en) Method for mobile phone with gsm and cdma modes to control two gsm subscriber identify modules
US8554276B2 (en) Apparatus and method for controlling subscriber identity module card
US10397276B2 (en) Secure element management method and terminal
US20110151858A1 (en) Wireless communication device
KR100735427B1 (en) Method for sharing sim card in a mobile communication terminal
US7822439B2 (en) System for sharing credentials
JP6473054B2 (en) Storage device, information processing system, and program
CN105657172B (en) A kind of DSP power amplifier interactive system
JP2006060293A (en) Display device and registration device for telephone number data
US20080039139A1 (en) Method For Sharing Credentials
TW200901738A (en) Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules
TWI379575B (en) Method for mobile phone with gsm and td-scdma modes to control two gsm subscriber identify modules
RU2002124614A (en) RESPONSE, MOBILE TERMINAL, BUILT-IN COMMUNICATION DEVICE AND RECORDING MEDIA FOR RECORDING THE CONTROL SHIPMENT PROGRAM
TWI386013B (en) Method for mobile phone with cdma and gsm modes to control two cdma subscriber identify modules
TWI376931B (en) Method for mobile phone with tdscdma and gsm modes to control two tdscdma subscriber identify modules
CN101715183A (en) Network access method and device
CN101350969B (en) Method for controlling double TDSCDMA user recognizing module by GSM and TDSCDMA dual mode mobile phone
KR102243822B1 (en) Terminal having a plurality of usim cards and method for controlling the same
TW200901733A (en) Method for mobile phone with GSM and PHS modes to control two GSM subscriber identify modules
TW200901737A (en) Method for mobile phone with CDMA and PHS modes to control two CDMA subscriber identify modules
TW200901734A (en) Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules
JP2007060231A (en) Portable terminal, and its data sharing method and program
CN101518038A (en) System and method for sharing credentials stored in a credentials module of a first device
JP2001117883A (en) Portable telephone terminal for exchanging electronic conversion name card information by radio system and managing and utilizing collected name card information
CN101350975B (en) Method for controlling double CDMA user recognizing module by CDMA and GSM dual-mode mobile phone