TW200901734A - Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules - Google Patents
Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules Download PDFInfo
- Publication number
- TW200901734A TW200901734A TW96122390A TW96122390A TW200901734A TW 200901734 A TW200901734 A TW 200901734A TW 96122390 A TW96122390 A TW 96122390A TW 96122390 A TW96122390 A TW 96122390A TW 200901734 A TW200901734 A TW 200901734A
- Authority
- TW
- Taiwan
- Prior art keywords
- phs
- module
- control
- gsm
- subscriber identity
- Prior art date
Links
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
200901734 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種控制雙PHS用戶識別模組之方法 ,且特別是有關於一 PHS與GSM雙模手機控制雙PHS用戶 識別模組之方法。 【先前技術】 目前無線通訊技術已發展許多規範標準,常見無線通 訊系統有 GSM (Global System for Mobile Communication ,全球行動通訊系統)、CDMA ( Code Division Multiple Access,分碼多工系統)、PHS ( Personal Handy-phone System,個人手持式電話系統)等,而為了滿足使用者手 機需能切換不同規範標準系統之需求,各家手機通訊業者 紛紛發展出具有雙模系統之手機,如在一手機中同時存在 PHS與GSM系統即是其中代表之一。 請參照第1圖,係為先前技術之PHS與GSM雙模系統 架構。此架構之運作方式中,PHS控制模組110係能控制 PHS用戶識別模組130,此PHS用戶識別模組130係可電性 耦接一 PIM (Personal Identity Module,個人識別模組 )卡。此外,PHS控制模組110還能透過GSM控制模組120 以控制GSM用戶識別模組140。其係利用PHS應用層(PHS Application Layer) 111發送一控制命令,此控制命令係 通過 PHS 協議梭(PHS Protocol Stack) /PIM 協議 112 而 200901734 傳送至 PHS 裝置驅動層(PHS Device Driver Layer) 113 。PHS裝置驅動層113再透過一異步收發(Universal Asynchronous Receiver/Transmitter,UART)規範以輸出 控制命令至GSM控制模組120的GSM裝置驅動層(GSM Device Driver Layer) 123,最後通過 GSM 協議機(GSM Protocol Stack) 122傳遞此控制命令至GSM控制模組120 的 GSM 應用層(GSM Application Layer) 121。 此GSM應用層121係進一步解析控制命令是否有效, 於判斷此控制命令為有效命令時,透過GSM協議棧/SIM協 議122為中介將控制命令傳送至GSM裝置驅動層123並讀 取GSM用戶識別模組140的原始數據(Raw Data),此GSM 用戶識別模組140係電性麵接一 SIM ( Subscriber200901734 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 PHS subscriber identity module for a PHS and GSM 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), PHS (Personal Handy-phone System, personal hand-held telephone system, etc., in order to meet the needs of users' mobile phones to switch to different standard systems, mobile communication companies have developed mobile phones with dual-mode systems, such as in a mobile phone. The presence of the PHS and GSM systems is one of the representatives. Please refer to Figure 1 for the prior art PHS and GSM dual mode system architecture. In the operation mode of the architecture, the PHS control module 110 can control the PHS user identification module 130. The PHS user identification module 130 can be electrically coupled to a PIM (Personal Identity Module) card. In addition, the PHS control module 110 can also control the GSM subscriber identity module 140 through the GSM control module 120. It transmits a control command using the PHS Application Layer 111. The control command is transmitted to the PHS Device Driver Layer 113 through the PHS Protocol Stack/PIM protocol 112 and 200901734. The PHS device driver layer 113 further transmits a control command to the GSM device driver layer 123 of the GSM control module 120 through a Universal Asynchronous Receiver/Transmitter (UART) specification, and finally passes the GSM protocol machine (GSM). Protocol Stack) 122 passes this control command to the GSM Application Layer 121 of the GSM Control Module 120. The GSM application layer 121 further analyzes whether the control command is valid. When determining that the control command is a valid command, the GSM protocol stack/SIM protocol 122 is used as an intermediary to transmit the control command to the GSM device driver layer 123 and read the GSM user identification mode. Raw data of group 140 (Raw Data), this GSM subscriber identity module 140 is electrically connected to a SIM (Subscriber)
Identification Module,用戶識別模組)卡。然後將GSM 用戶識別模組140的原始數據透過GSM控制模組120的SIM 協議(SIM Protocol)傳遞回GSM應用層121,藉此作為 對此控制命令的響應。 最後GSM應用層121再調用GSM裝置驅動層123透過異 步收發(UART)規範將原始數據傳送至PHS裝置驅動層n3 ’並通過PHS協議棧112將原始數據傳回phs應用層ill, 由PHS應用層111處理所回傳之原始數據。 但先前技術係具有無法避免之缺失’即為此種PHS與 GSM雙模手機並無法適用於具有雙PHS用戶識別模組之使用 7 200901734 t · 者,即是指擁有雙PIM卡之用戶。因PHS與GSM雙模手機使用 雙模功能之必備條件為此使用者必須是具有個別對應G S Μ 號碼與PHS號碼之各一SIM卡與ΡΙΜ卡(包含内建於手機中之 晶片或1C)。若使用者想使用兩張對應PHS號碼之PIM卡時, 還是需要額外買一個可插入PIM卡的手機。故無法滿足未申 請GSM號碼而具有雙PHS號碼的使用者之需求,進而降低此 PHS與GSM雙模手機的實用性。 f 【發明内容】Identification Module, User Identification Module) card. The original data of the GSM subscriber identity module 140 is then passed back to the GSM application layer 121 via the SIM protocol of the GSM control module 120, thereby acting as a response to this control command. Finally, the GSM application layer 121 calls the GSM device driver layer 123 to transmit the original data to the PHS device driver layer n3' through the asynchronous transceiver (UART) specification and transmits the original data back to the phs application layer ill through the PHS protocol stack 112, 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 GSM dual-mode mobile phone cannot be applied to a user having a dual PHS subscriber identity module. 7 200901734 t · refers to a user who has a dual PIM card. Due to the dual-mode function of the PHS and GSM dual-mode mobile phones, the user must have a SIM card and a Leica (including the chip or 1C built into the mobile phone) with the corresponding G S Μ number and PHS 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 impossible to meet the needs of users who have dual PHS numbers without applying for the GSM number, thereby reducing the practicability of the PHS and GSM dual-mode mobile phones. f [Summary content]
有鑑於此,為解決上述問題’本發明係提出一種PHS (Personal Handy-phone System,個人手持式電話系統) 與GSM (Global System for Mobile Communication,全球 行動通訊系統)雙模手機控制雙PHS用戶識別模組之方法, 以使PHS與GSM雙模手機在不更動硬體的情形之下即可使用 兩不同號碼之雙PHS用戶識別模組。 1 本發明揭露一種PHS與GSM雙模手機控制雙PHS用戶識 別模組之方法,此PHS與GSM雙模手機具有一phs控制模組與 一 GSM控制模組。PHS與GSM雙模手機於執行系統初始化後, 即判斷是否由GSM控制模組所連接之一第二pjjs用戶識別模 組待機。如果判斷結果為是,則由第二?狀用戶識別模組待 機,此雙模手機於一GSM裝置驅動層(GSM Device Driver Layer)建立相互連接之一 GSM異步收發驅動模組(GSM Universal Asynchronous Receiver/Transmitter Driver 8 200901734 ,GSM UART Driver)與一piM與驅動模組,且娜異步 收發驅動模組以異步收發(UART)錄與pHS控制模紐之一 PHS裝置驅動層連通’以控制與piM與㈣驅動模組連接之第 二PHS用戶識別模組。如果判斷結果為否,則由—第—哪 用戶識別板組待機,此雙模手機係利用pHS控制模組控制其 連接之一第一PHS用戶識別模組。 此外,當PHS與GSM雙模手機處於第一PHS用戶識別模組 或第二P H S用戶識別模組之待機模式時,係可獲取並記錄以 第一 PHS用戶識別模組或以第二pHS用戶識別模組待機之控 制命令或設定資訊。之後再重置系統以執行系統初始化步 驟。而儲存第一PHS用戶識別模組或第二PHS用戶識別模組 乃是利用一快閃記憶體、一EEPR0M或一EPROM進行儲存。 然而,前述所說的第一PHS用戶識別模組係供電性耦接 一第一PIM (Personai identity Module,個人識別模組) 卡,以供讀取第一PIM卡之數據。而第二phs用戶識別模組 係供電性耦接一第二PIM卡,以供讀取第二PIM卡之數據。 本發明具有先前技術無法達到之功效,即可於PHS盘 GSM雙模手機上配置兩不同號碼之pHS用戶識別模組,即是 可電性耦接兩個對應PHS號碼的PIM卡。而PHS控制模組除可 對電性耦接於第一 P H S用戶識別模組之第一 p〗M卡進行控制 與數據之傳輸外’更能透過GSM異步收發驅動模組與piM與 SIM驅動模組之配合,以對電性耦接於第二pHS用戶識別模 200901734 組之第二pm卡進行㈣與數據傳輸。因此對於擁有雙pm 卡的使用者’也能㈣實現對雙PHS號碼的㈣並自由選擇 以不同之PHS用戶識職組別待機,且無需作硬體架構重大 變更。此外,GSM控制模組僅相當於中轉數據之功能,而不 需要GSM協議梭與SIM協議之介人,故能降低控制程序的複 雜度與間接提昇其效能。不但降低手機廢商研發時間和成 本也滿足現代人求新求變之心理,同時也可最大程度滿足 商務人士及個性化愛好者之需求。 【實施方式】 有關本發明的特徵與實作,茲配合圖示作最佳實施例 詳細說明如下。 請參照第2圖’其為本發明之控制第一及第二pjjs用 戶識別模組實施例之系統架構圖。此系統包含一 PHS ( Personal Handy-phone System ’個人手持式電話系統)控 制模組 210、一 GSM ( Global System for Mobile Communication ’全球行動通訊系統)控制模組220、一第 一 PHS用戶識別模組230與一第二PHS用戶識別模組240 。此PHS控制模組210係包含一 PHS應用層(PHS Application Layer) 211、一 PHS 協議棧(PHS Protocol Stack) 212 與一 PHS 裝置驅動層(PHS Device Driver Layer )213,而GSM控制模組220則包含一 GSM應用層(GSM Application Layer) 221、一 GSM 協議棧(GSM Protocol 200901734In view of this, in order to solve the above problem, the present invention proposes a PHS (Personal Handy-phone System) and a GSM (Global System for Mobile Communication) dual-mode mobile phone to control dual PHS user identification. The module method enables the PHS and GSM dual-mode mobile phones to use two different PHS subscriber identity modules without changing the hardware. 1 The invention discloses a PHS and GSM dual-mode mobile phone controlling a dual PHS user identification module. The PHS and GSM dual-mode mobile phone have a phs control module and a GSM control module. After the PHS and GSM dual-mode mobile phones are initialized by the execution system, it is judged whether one of the second pjjs user identification modules connected by the GSM control module stands by. If the result of the judgment is yes, then by the second? The user identification module is in standby. The dual-mode mobile phone establishes a GSM Universal Asynchronous Receiver/Transmitter Driver 8 200901734 (GSM UART Driver) and a GSM Device Driver Layer. A piM and drive module, and the asynchronous transmission and reception driver module is connected to the PHS device driver layer by asynchronous receiving and receiving (UART) recording and one of the pHS control modules to control the second PHS user identification connected with the piM and the (four) driving module. Module. If the result of the determination is no, then the user-identified board group is standby, and the dual-mode mobile phone controls one of the first PHS user identification modules to be connected by the pHS control module. In addition, when the PHS and the GSM dual-mode mobile phone are in the standby mode of the first PHS user identification module or the second PHS user identification module, the first PHS user identification module or the second pHS user identification can be acquired and recorded. 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 user identification module is electrically coupled to a first PIM (Personai Identity Module) card for reading data of the first PIM card. The second phs subscriber identity module is coupled to a second PIM card for reading data of the second PIM card. The invention has the effect that the prior art cannot achieve the same, that is, the PHS user identification module of two different numbers can be configured on the PHS GSM 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 p-M card electrically coupled to the first PHS subscriber identity module, the PHS control module can transmit the GSM asynchronous transceiver driver module and the piM and SIM driver modules. The cooperation of the group is performed by (4) and data transmission to the second pm card electrically coupled to the second pHS user identification module 200901734 group. Therefore, users with dual pm cards can also (4) achieve (4) dual PHS numbers and freely choose to wait for different PHS users to participate in the group, without major hardware architecture changes. In addition, the GSM control module is only equivalent to the function of transferring data, and does not require the GSM protocol shuttle and the SIM protocol, so it can reduce the complexity of the control program and indirectly improve its performance. Not only does it reduce the development time and cost of mobile phone waste business, but it also meets the needs of modern people seeking new changes, while also meeting the needs of business people and personalized enthusiasts. [Embodiment] The features and implementations of the present invention are described in detail with reference to the preferred embodiments. Please refer to FIG. 2, which is a system architecture diagram of an embodiment of controlling the first and second pjjs user identification modules of the present invention. The system comprises a PHS (Personal Handy-phone System) control module 210, a GSM (Global System for Mobile Communication) control module 220, and a first PHS user identification module. 230 and a second PHS subscriber identity module 240. The PHS control module 210 includes a PHS Application Layer 211, a PHS Protocol Stack 212 and a PHS Device Driver Layer 213, and the GSM Control Module 220. Includes a GSM Application Layer 221, a GSM protocol stack (GSM Protocol 200901734)
Stack) /SIM協議222與一 GSM裝置驅動模組(GSM Device Driver Layer) 223 ’ 並於 GSM 裝置驅動模組(GSM Device Driver Layer) 223中建立一 GSM異步收發驅動模組(GSM Universal Asynchronous Receiver/Transmitter Driver, GSM UART Driver) 2231 以及一 PIM (Personal Identity Module ’ 個人識別模組)與 SIM ( Subscriber Identification Module,用戶識別模組)驅動模組2232 其中’ PHS裝置驅動層213係電性耦接第一 PHS用戶 識別模組230;GSM異步收發驅動模組2231係與PIM與SIM 驅動模組2232相互連接並連通PHS裝置驅動層213 ;及第 二PHS用戶識別模組240係電性耦接PIM與SIM驅動模組 2232。 此系統係依據儲存於雙模手機之以第一 PHS用戶識別 模組230或以第二PHS用戶識別模組240待機之設定資訊, 以令PHS控制模組210之PHS應用層211發送相對應之控制 命令’經由PHS裝置驅動層213來控制第一PHS用戶識別模 組230之作動與資料傳遞。或者,PHS控制模組210經由PHS 裝置驅動層213與GSM異步收發驅動模組2231,以將控制 命令傳送至PIM與SIM驅動模組2232,以控制第二pus用戶 識別模組240之作動與資料傳遞。當phs控制模組21〇控制 弟二PHS用戶識別模組240時,乃是透過GSM異步收發驅動 200901734 模組2231控制PIM與SIM驅動模組2232進行單工之串口操 作’因此GSM異步收發驅動模組2231可取代GSM應用層221 與GSM協議棧/SIM協議222之部分功能,故無需利用到 應用層221與GSM協議棧/SIM協議222。 此例中’第一PHS用戶識別模組230係供電性連接一第 一 PIM卡(未繪示)。第二PHS用戶識別模組240係供電性連 接一第二PIM卡(未繪示)。其次,PHS裝置驅動層213與GSM 異步收發驅動模組2231之間的傳遞訊息係透過一異步收Stack) /SIM protocol 222 and a GSM device driver layer 223 ' and establish a GSM asynchronous Asynchronous Receiver module in the GSM Device Driver Layer 223 Transmitter Driver, GSM UART Driver 2231 and a PIM (Personal Identity Module) and SIM (Subscriber Identification Module) driver module 2232, where the 'PHS device driver layer 213 is electrically coupled. A PHS subscriber identity module 230; the GSM asynchronous transceiver driver module 2231 is interconnected with the PIM and SIM driver module 2232 and communicates with the PHS device driver layer 213; and the second PHS subscriber identity module 240 is electrically coupled to the PIM and SIM drive module 2232. The system is based on the setting information of the first PHS user identification module 230 or the second PHS user identification module 240 stored in the dual-mode mobile phone, so that the PHS application layer 211 of the PHS control module 210 sends the corresponding information. The control command 'controls the actuation and data transfer of the first PHS user identification module 230 via the PHS device driver layer 213. Alternatively, the PHS control module 210 drives the layer 213 and the GSM asynchronous transceiver module 2231 via the PHS device driver layer 213 to transmit control commands to the PIM and SIM driver module 2232 to control the actuation and data of the second PUS user identification module 240. transfer. When the phs control module 21 controls the second PHS subscriber identity module 240, the GSM asynchronous transceiver driver 200901734 module 2231 controls the PIM and the SIM driver module 2232 to perform the simplex serial port operation. The group 2231 can replace some of the functions of the GSM application layer 221 and the GSM protocol stack/SIM protocol 222, so there is no need to utilize the application layer 221 and the GSM protocol stack/SIM 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 GSM asynchronous transceiver driver module 2231 is transmitted through an asynchronous reception.
發(Universal Asynchronous Receiver/Transmitter,UART )規範進行控制命令及數據之匯整與傳遞。 請參照第3圖,其為本發明之系統流程圖,請同時參 考第2圖進行了解。此控制方法之流程係包含下列步驟: 執行系統初始化(步驟S310),於此phs與GSM雙模手機 進行開機或系統重置時,執行此系統的初始化作業。 判斷是否由一GSM控制模組220所連接之一第二pjjs用 戶識別模組240待機(步驟S320 )。系統擷取待機用的設定 資訊,以判斷是否由第二PHS用戶識別模組24〇進行待機工 作。而待機用的設定資訊係儲存於PHS與GSM雙模手機既有 的記憶體(未繪示)上,係指記憶體儲存以那一個pHS用戶識 別模組進行待機之設定資訊。記憶體本身可為快閃記憶體 (Flash Memory)、電子抹除式唯讀記憶體The Universal Asynchronous Receiver/Transmitter (UART) specification performs control commands and data aggregation and transmission. Please refer to FIG. 3, which is a system flowchart of the present invention. Please refer to FIG. 2 for understanding. The flow of the control method includes the following steps: Perform system initialization (step S310), and perform initialization of the system when the phs and the GSM 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 GSM control module 220 stands by (step S320). The system retrieves the setting information for standby to determine whether the second PHS user identification module 24 is performing standby operation. The standby setting information is stored in the existing memory (not shown) of the PHS and GSM 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 a flash memory or an electronic erased read-only memory.
Erasable Programmable Read-Only Memory , EEPR0M)或 12 200901734 了抹除可程式唯項存儲器(£!-3沾|316?1*0狀311111131316]^3(1- 〇nly Memory, EPROM)。 如果判斷的結果為否,則由一第一PHS用戶識別模組待 機230 ’係利用一phs控制模組210控制其連接之第一PHS 用戶識別模組230 (步驟S330)。 反之’若於步驟S320中的判斷結果為是時,則由第二 PHS用戶識別模組240待機,係於一GSM裝置驅動層223建 立相互連接之一GSM異步收發驅動模組2231與一PIM與SIM 驅動模組2232,且GSM異步收發驅動模組2231以異步收發 (UART)規範與PHS控制模組210之一PHS裝置驅動層213 連通,以控制與PIM與SIM驅動模組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處理 13 200901734 此原始數據(步驟S333)。最後再回傳經過處理之原始數據 至PHS應用層211 (步驟S334)。藉此完成pus控制模組21〇 對第一PHS用戶識別模組230之控制與數據讀取,同時進入 以第一PHS用戶識別模組230為主之待機模式。 請參照第5圖’其為第3圖之第二PHS用戶識別模組待 機之細部流程圖。系統係經由PHS控制模組210之pjjs鹿用 層211輸出一控制命令至GSM異步收發驅動模組2231 (步 驟S341)。當系統經由PHS控制模組210之PHS應用層211輸 出一控制命令時’係利用PHS控制模組210之PHS協議棧212 處理控制命令並輸出’再利用PHS裝置驅動層213轉送控制 命令至GSM異步收發驅動模組2231。此控制命令自pus裝置 驅動層213輸出時,係經由異步收發(universalErasable Programmable Read-Only Memory, EEPR0M) or 12 200901734 erases the programmable only memory (£!-3 ||316?1*0 311111131316]^3(1- 〇nly Memory, EPROM). If the result is no, the first PHS user identification module standby 230' controls the first PHS user identification module 230 connected by the phs control module 210 (step S330). Otherwise, if in step S320 When the determination result is YES, the second PHS subscriber identity module 240 stands by, and a GSM device driver layer 223 establishes a connection between one of the GSM asynchronous transceiver driver modules 2231 and a PIM and SIM driver module 2232, and GSM. The asynchronous transceiver module 2231 communicates with the PHS device driver layer 213 of the PHS control module 210 in an asynchronous transceiver (UART) specification to control the second PHS subscriber identity module 240 connected to the PIM and SIM driver module 2232 (steps) S340) Please refer to FIG. 4, which is a detailed flowchart of the standby of the first PHS subscriber identity module in FIG. 3. The system outputs a control command via the PHS Application Layer 211 of the PHS control module 210. To phs device driver layer 213 (step Step S331). When the PHS control module 210 sends a control command via the PHS application layer 211, the PHS protocol stack 212 is used to process the control command and output the processed control command to the PHS device driver layer 213. Controlling the command to obtain raw data (Raw Data) of the first PHS subscriber identity module 230 by using the phs device driver layer 213 (step S332). Thereafter, the PHS device driver layer 213 returns the original data to the PHS protocol stack 212, and via The PHS protocol stack 212 processes 13 200901734 the original data (step S333). Finally, the processed raw data is returned to the PHS application layer 211 (step S334), thereby completing the pus control module 21 to identify the first PHS user. The control and data reading of the group 230 enters the standby mode based on the first PHS user identification module 230. Please refer to FIG. 5, which is a detailed flow chart of the second PHS user identification module standby in FIG. The system outputs a control command to the GSM asynchronous transceiver driver module 2231 via the pjjs deer layer 211 of the PHS control module 210 (step S341). When the system is output via the PHS application layer 211 of the PHS control module 210. When a control command is made, the PHS protocol stack 212 of the PHS control module 210 processes the control command and outputs a 'reuse PHS device driver layer 213 to transfer the control command to the GSM asynchronous transceiver driver module 2231. When this control command is output from the pus device driver layer 213, it is asynchronously transmitted and received (universal).
Asynchronous Receiver/Transmitter,UART)規範進行控 制命令之傳送。之後再利用GSM異步收發驅動模組2231解 析此控制命令並判斷此控制命令是否為有效的命令,若判 斷為有效命令,則利用PIM與SIM驅動模組2232控制並取得 第二PHS用戶識別模組240之原始數據,透過GSM異步收發 驅動模組2231與PHS裝置驅動層213回傳原始數據至PHS 控制模組210之PHS協議棧212 (步驟S342)。 在此之前’ GSM控制模組220係依據此控制命令將其運 作時脈與操作電壓配置成符合第二PHS用戶識別模組240 的電器特性規範,並將第二PHS用戶識別模組24〇初始化, 200901734 以便於控制第二PHS用戶識別模組240與進行數據之傳輸 。然而’由於GSM協議棧/SIM協議222操作第二用戶識別模 組240即是單工的串口操作’因此(JSM異步收發驅動模組Asynchronous Receiver/Transmitter, UART) specifies the transfer of control commands. Then, the GSM asynchronous transceiver driver module 2231 is used to parse the control command and determine whether the control command is a valid command. If it is determined to be a valid command, the PIM and SIM driver module 2232 are used to control and obtain the second PHS user identification module. The original data of 240 is transmitted back to the PHS protocol stack 212 of the PHS control module 210 through the GSM asynchronous transceiver driver module 2231 and the PHS device driver layer 213 (step S342). Prior to this, the GSM control module 220 configures its operating clock and operating voltage to conform to the electrical characteristics specification of the second PHS subscriber identity module 240 according to the control command, and initializes the second PHS subscriber identity module 24 , 200901734 to facilitate control of the second PHS subscriber identity module 240 and to perform data transmission. However, since the GSM protocol stack/SIM protocol 222 operates the second subscriber identity module 240, it is a simplex serial port operation. Therefore (JSM asynchronous transceiver driver module
2231可部分取代gsm協議棧/SIM協議222以透過PIM與SIM 驅動模組2232來控制第二用戶識別模組240。 而回傳原始數據之過程中,PIM與SIM驅動模組2232先 將原始數據傳送至GSM異步收發驅動模組2231,此GSM異步 收發驅動模組2231經由異步收發(UART)規範以通過一定The 2231 can partially replace the gsm protocol stack/SIM protocol 222 to control the second subscriber identity module 240 via the PIM and SIM driver module 2232. In the process of returning the original data, the PIM and SIM driver module 2232 first transmits the original data to the GSM asynchronous transceiver driver module 2231. The GSM asynchronous transceiver driver module 2231 passes the asynchronous transceiver (UART) specification to pass certain
的波特率將原始數據傳送至pHS裝置驅動層213,這時GSMThe baud rate transfers the raw data to the pHS device driver layer 213, at which time GSM
控制模組220的作動即是起到中轉數據的作用。之後PHS 震置驅動層213再將原始數據傳送至phs協議棧212。最後 ’經由PHS協議棧212處理原始數據並將經過處理的原始數 據回傳至PHS應用層211 (步驟S343),PHS應用層211係處 理回傳之原始數據’進而完成pHS應用層211對第二pHS用 戶識別模組240之初步控制,同時進入以第二pHS用戶識別 杈組240為主的待機模式。而使用者即可透過pHS應用層 211來控制第二PHS用戶識別模組240並進行數據之傳遞。 請參照第6圖’其為本發明一實施例之選擇並記錄第 一或第二P H S用戶識別模組待機實施例之流程圖,係包含下 列之流程: 獲取並記錄以第一PHS用戶識別模組230或以第二PHS 用戶識別模組240待機(步驟S41〇)。此步驟係具有複數個 15 200901734 不同之作法,最常見的作法有記錄旗標數據與儲存待機設 定資訊。 當用戶利用PHS與GSM雙模手機下達切換或選擇以第一 PHS用戶識別模組230或以第二PHS用戶識別模組240待機 之控制命令時’系統會擷取到此控制命令並依據控制命令 包含之資訊以寫入一旗標數據或是將用戶想要使用的第一 PHS用戶識別模組230或第二PHS用戶識別模組240之待機 設定資訊儲存於記憶體中。 重置系統(步驟S420),當系統重置後(或是將pus與 GSM雙模手重新開機)’會讀取記憶體中儲存的旗標數據或 是待機設定資訊,以判斷並驅動PHS控制模組210讀取第一 PHS用戶識別模組230或第二PHS用戶識別模組240之原始 數據’以進入第一PHS用戶識別模組230或第二PHS用戶識 別模組240之待機模式。 綜上所述’本發明所提供之運用PHS ( PersonalThe operation of the control module 220 acts as a relay data. The PHS shock drive layer 213 then transfers the raw 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 returned to the PHS application layer 211 (step S343), and the PHS application layer 211 processes the returned original data' to complete the pHS application layer 211 to the second. The initial control of the pHS subscriber identity module 240 simultaneously enters a standby mode based on the second pHS subscriber identity group 240. The user can control the second PHS user identification module 240 through the pHS application layer 211 and transmit data. Please refer to FIG. 6 , which is a flowchart of selecting and recording a standby embodiment of a first or second PHS subscriber identity module according to an embodiment of the present invention, which includes the following processes: acquiring and recording a first PHS subscriber identity module. The group 230 or the second PHS user identification module 240 stands by (step S41). This step has a different number of 15 200901734 different methods, the most common method is to record the flag data and store standby settings. When the user uses the PHS and GSM dual-mode mobile phone to make a switch or select a control command to wait for the first PHS user identification module 230 or the second PHS user identification module 240, the system will retrieve the control command and according to the control command. The included information is used to write a flag data or store the standby setting information of the first PHS user identification module 230 or the second PHS user identification module 240 that the user wants to use in the memory. Reset the system (step S420), when the system is reset (or the pus and GSM dual-mode hands are restarted), the flag data stored in the memory or the standby setting information will be read to judge and drive the PHS control. The module 210 reads the original data ' of the first PHS user identification module 230 or the second PHS user identification module 240 to enter the standby mode of the first PHS user identification module 230 or the second PHS user identification module 240. In summary, the invention provides PHS (Personal
Handy-phone System ’個人手持式電話系統)與GSM( Global System for Mobile Communication,全球行動通訊系統) 雙模手機控制雙PHS用戶識別模組之系統及其方法,可在不 變更硬體之前提下,透過PHS控制模組、GSM異步收發驅動 模組與PIM與SIM驅動模組之間的配合以對第二PHS用戶識 別模組進行控制,故使用者能對兩不同PHS號碼之PIM卡進 行控制與切換待機模式,進而提供此PHS與GSM雙模手機的 16 200901734 * · 實用性。 雖然本發明以前述之較佳實施例揭露如上,然其並非 用乂限定本發明,任何熟習相像技藝者,在不脫離本發明 之精神和範圍内,所作更動與潤飾之等效替換,仍為本發 明之專利保護範圍内。 【圖式簡單說明】 =1圖繪示先前技術之PHS與GSM雙模手機之系統架構圖; 第2圖繪示本發明之控制第一及第二pHS用戶識別模組實 施例之系統架構圖; 第3圖繪示本發明之控制第一及第二pHS用戶識別模組待 機實施例之流程圖; 第4圖繪示第3圖之第一 PHS用戶識別模組待機之細部流 程圖; 第5圖繪示第3圖之第二PHS用戶識別模組待機之細部流 程圖;以及 第6圖綠示本發明之選擇並記錄第一或第二pjjs用戶識別 模組待機實施例之流程圖。 【主要元件符號說明】 110 PHS控制模組 111 PHS應用層 112 PHS協議棧 113 PHS裝置驅動層 17 200901734 120 121 122 123 130 140 210 f 211 212 213 220 221 222 223 k 2231 2232 230 240 步驟S310 步驟S320 步驟S330 GSM控制模組 GSM應用層 GSM協議棧/SIM協議 GSM裝置驅動層 PHS用戶識別模組 GSM用戶識別模組 PHS控制模組 PHS應用層 PHS協議棧 PHS裝置驅動層 GSM控制模組 GSM應用層 GSM協議棧/SIM協議 GSM裝置驅動層 GSM異步收發驅動模組 PIM與SIM驅動模組 第一 PHS用戶識別模組 第二PHS用戶識別模組 執行系統初始化 判斷是否由一 GSM控制模組所連接之一第 二PHS用戶識別模組待機Handy-phone System 'Personal Handheld Phone System' and GSM (Global System for Mobile Communication) dual-mode mobile phone control system and method for dual PHS user identification module, can be upgraded without changing the hardware Through the cooperation between the PHS control module, the GSM asynchronous transceiver driver module and the PIM and the SIM driver module to control the second PHS user identification module, the user can control the PIM cards of two different PHS numbers. With switching standby mode, this PHS and GSM dual-mode phone are provided for 16 200901734 * · usability. While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the equivalents of the modification and retouching of the present invention are still within the spirit and scope of the present invention. Within the scope of patent protection of the present invention. [Simplified description of the drawing] =1 shows the system architecture diagram of the prior art PHS and GSM dual-mode mobile phone; FIG. 2 shows the system architecture diagram of the embodiment of the first and second pHS user identification module of the present invention. Figure 3 is a flow chart showing the standby embodiment of the first and second pHS user identification modules of the present invention; and Figure 4 is a flow chart showing the standby of the first PHS user identification module in Figure 3; 5 is a flow chart showing the standby of the second PHS subscriber identity module in FIG. 3; and FIG. 6 is a flow chart showing the selection of the invention and recording the standby embodiment of the first or second pjjs subscriber identity module. [Main component symbol description] 110 PHS control module 111 PHS application layer 112 PHS protocol stack 113 PHS device driver layer 17 200901734 120 121 122 123 130 140 210 f 211 212 213 220 221 222 223 k 2231 2232 230 240 Step S310 Step S320 Step S330 GSM control module GSM application layer GSM protocol stack/SIM protocol GSM device driver layer PHS user identification module GSM user identification module PHS control module PHS application layer PHS protocol stack PHS device driver layer GSM control module GSM application layer GSM protocol stack/SIM protocol GSM device driver layer GSM asynchronous transceiver driver module PIM and SIM driver module first PHS user identification module second PHS user identification module execution system initialization judgment whether connected by a GSM control module a second PHS user identification module standby
利用一 PHS控制模組控制其連接之第一 PHS 18 200901734 步驟S331 步驟S332 步驟S333 步驟S334 步驟S340 步驟S341 步驟S342 用戶識別模組The first PHS 18 200901734 is controlled by a PHS control module. Step S331 Step S332 Step S333 Step S334 Step S340 Step S341 Step S342 User Identification Module
經由PHS控制模組之PHS應用層(PHSPHS application layer (PHS via PHS control module)
Application Layer)輸出一控制命令至 pjjs 裝置驅動層 利用PHS裝置驅動層取得第一 pHS用戶識別 模組之原始數據 回傳原始數據至PHS協議棧’並經由PHS 協議機處理此原始數據 回傳經過處理之原始數據至PHS應用層 於一 GSM裝置驅動層建立相互連接之一咖 異步收發驅動模組與—piM與sn|驅動模 組’且GSM異步收發驅動模組以異步收發 UART)規範與PHS控制模組之- PHS裝置 ^層連通’以控制與piM與則驅動模組 連接之第二PHS用戶識別模組 經由PHS控制模組之pg a S應用層輸出一控制 ^至GSM異步收發驅動模組 利用GSM異步收發驄說松'' 人 靼動槟組解析此控制命 令並判斷此控制命令是 疋否為有效的命令,若 判斷為有效命令,則利 ,, 』用ΡΙΜ與SIM驅動模 ',且控制並取得第二PHs 私虹协 &用戶識別模組之原 。數據,透過GSM異$Application Layer) outputs a control command to the pjjs device driver layer to obtain the original data of the first pHS subscriber identity module by using the PHS device driver layer to return the original data to the PHS protocol stack' and process the original data back via the PHS protocol machine. The original data is connected to the PHS application layer in a GSM device driver layer to establish a mutual connection between the coffee and the asynchronous transceiver driver module and the -piM and sn|driver module and the GSM asynchronous transceiver driver module to asynchronously transmit and receive the UART) specification and PHS control The module - PHS device ^ layer connection 'to control the second PHS user identification module connected with the piM and the driver module to output a control ^ to GSM asynchronous transceiver driver module via the pg a S application layer of the PHS control module Using GSM asynchronous transceiver 骢 松 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' And control and obtain the original of the second PHs private rainbow association & user identification module. Data, through GSM
ν收發驅動模組與PHS 19 200901734 裝置驅動層回傳原始數據至PHS控制模組 之PHS協議棧 步驟S343 經由PHS協議棧處理原始數據並將經過處 理的原始數據回傳至PHS應用層 20ν Transceiver Driver Module and PHS 19 200901734 The device driver layer returns the original data to the PHS protocol stack of the PHS control module. Step S343 Process the raw data via the PHS protocol stack and pass the processed raw data back to the PHS application layer.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW96122390A TW200901734A (en) | 2007-06-20 | 2007-06-20 | Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW96122390A TW200901734A (en) | 2007-06-20 | 2007-06-20 | Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules |
Publications (1)
Publication Number | Publication Date |
---|---|
TW200901734A true TW200901734A (en) | 2009-01-01 |
Family
ID=44721719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW96122390A TW200901734A (en) | 2007-06-20 | 2007-06-20 | Method for mobile phone with PHS and GSM modes to control two PHS subscriber identify modules |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW200901734A (en) |
-
2007
- 2007-06-20 TW TW96122390A patent/TW200901734A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI386012B (en) | Method for mobile phone with gsm and cdma modes to control two gsm subscriber identify modules | |
US10397276B2 (en) | Secure element management method and terminal | |
US8554276B2 (en) | Apparatus and method for controlling subscriber identity module card | |
EP2251986A1 (en) | A near field communication device | |
JP4640859B2 (en) | How to start a proactive session from an applet in a smart card | |
US7822439B2 (en) | System for sharing credentials | |
JP2010506431A (en) | Dynamic designation process for subscriber smart card contacts in mobile terminals | |
WO2010102488A1 (en) | Method and terminal realizing apply selection in non-contract electronic payment | |
US20180247299A1 (en) | Watch with SIM and Web browser | |
US20080039139A1 (en) | Method For Sharing Credentials | |
TW200901734A (en) | Method for mobile phone with PHS and GSM 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 | |
JP4661455B2 (en) | Mobile terminal, data sharing method and 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 | |
CN101350969B (en) | Method for controlling double TDSCDMA user recognizing module by GSM and TDSCDMA dual mode mobile phone | |
TW200901733A (en) | Method for mobile phone with GSM and PHS modes to control two GSM subscriber identify modules | |
TW200901738A (en) | Method for mobile phone with PHS and CDMA modes to control two PHS subscriber identify modules | |
TW200901737A (en) | Method for mobile phone with CDMA and PHS modes to control two CDMA subscriber identify modules | |
CN101518038A (en) | System and method for sharing credentials stored in a credentials module of a first device | |
EP2159711A1 (en) | A method for managing data between a terminal and a token, corresponding token and system | |
CN101350973B (en) | Method for controlling double GSM user recognizing module by GSM and PHS dual mode mobile phone | |
KR20110116710A (en) | Apparatus and method for supporting a plurality of exterior memory in portable terminal | |
KR101762799B1 (en) | Method for Processing Reverse Automatic Response for Confirming Call Status | |
CN101350968B (en) | Method for controlling double PHS user recognizing module by CDMA and PHS dual mode mobile phone |