1308¾ wf.d〇c/e 九、發明說明: 【發明所屬之技術領域】 本發明是關於-種手機模擬系統及方法,且特別是有關於 -種獨立提供人機介面核心、餘、模擬賴組、與外掛模組 手機模擬系統及方法。 、 【先前技術】 在目前市場上之系統商所提供的手機模擬系統,其架構係 為,々齡面(Man madline —e,_ MMI)核,讀組與模13083⁄4 wf.d〇c/e Nine, invention description: [Technical field of invention] The present invention relates to a mobile phone simulation system and method, and in particular to a kind of independent human-machine interface core, Yu, analog Group, and plug-in module mobile phone simulation system and method. [Prior Art] The mobile phone simulation system provided by the system vendors on the current market is based on the Man madline —e, _ MMI core, read group and mode.
擬器模組整併在-起,並與外掛模組整合進一個開發方案卜 例如咖go、TTPCOM_AJAR、Palm、Qualc〇m、E_siM/RAp、iD 等都是如此架構之手機模擬系統。 …然而,由於習知在設計手機模擬系統時,其所運用的開發 浯吕(例如.c++、c、java…等)不盡一致,以至於使用者在更 替不同的龐核續組開發方輯,往往會造成軟體(code) 1移植性無伸性的_。再者,對於不同外掛模組在開發 日守,亦會受制其開發語言的限制,而無法有效的選擇最適合的 程式解法。 【發明内容】 f鑑於此’本發_目的就是提供—種手機模㈣統及方 去,其耩由將人機介面核心模組、模擬器模組,以及外掛模组 f方獨立分開設計,以使得讓制者在更f不同人機介面核心 歧或不同外«_開發方針,不但可以克服軟體(code) 夕植性與延伸性的困難’並且不受制於開發語言的限制,而有 效的選擇最適合的程式解法。 基於上述及其他目的,本發明所提供的手機模擬系統,其 1308¾ twf.doc/e i定與第ί ^通主機作㈣統,用以提供第一溝通 組、模擬哭槎έ疋,而本發明之手機模擬系統包括外掛模 二並提編者對該手機】作= 供之第擬器模組用以分析作業系統所提 收並記錄外通協定後’並利用第一溝通協定接 τ卜掛杈組所產生之指令資料。 器模組所、=====協定接收並執行模擬 =:執行資料傳_至=:== 料傳送至行資料時,則透過第一溝通協定而^ 資料u外掛她’以使得外掛模組之手機操作介面顯示執二 於一 發明提供一種手機模擬方法,其應用 與第二溝通協定,而^作業系統,用以提供第一溝通協定 先,獨立提供外杆心明之手機模擬方法包括下列步驟:首 其中外掛模㈣=ί、模擬器模組、與人機介面核心模組, 介面接受使用==操作:面鲁上述手機操作 之後,利用第1 ::二 擬器模組,並且利用㈣傳送並記錄至模 介面核心模組進行使指令資料傳送至人機 執行資料至槿齬哭τ,並產生執仃貧料。接著,傳送並紀釺 料傳送至 ==使:=”撕而將‘ 在上述本發明之丰f付手機插作”面顯示執行資料。 月之手機模擬系統及方法的一實施例中,外掛 1308723 20823twf.doc/e 組係為㈣鏈結庫_程^、微賴組縣手機模擬器程 式,而人機介面核心模組係為人機介面核心程式。 在上述本發明之手機模擬系統及方法的一實施例中,第一 溝通協定包括内部處理通訊邮职⑽咖⑺麵—⑽,】%) 機制與動‘㈣結庫(Dynamic: linking library,DLL)機制,而第 二溝!1龄可以為内部處理通訊機制。其中,内部處理通訊包 ,、笞道(Pipe)方去’其具有匿名管道(An〇ny_us ρ_)與具名 管道(Named Pipe)。 /在上述本發明之手機模擬系統及方法的 系統係為視窗作業系統(Wind0ws)。 徂人i i發明所提供的手機模擬㈣及方法中,係藉由獨立提 H機"面核㈣組、模擬賴組,以及外掛模組,而非 =面核心模組與模擬器模組整併在i,以使得設計者在更 發方案f ’不但可以快速移植並 _( e)並且可以整合現有的模擬器模組。除此之 ㈣在自卜掛模組方面’其係透過作業系統之内部處理通訊機制 二=鏈結庫機制’而_擬賴組進行純交The simulator module is integrated and integrated with a plug-in module into a development solution. For example, coffee, TTPCOM_AJAR, Palm, Qualc〇m, E_siM/RAp, iD, etc. are all such mobile phone simulation systems. ... However, due to the fact that when designing a mobile phone simulation system, the development of the mobile phone simulation system (such as .c++, c, java, etc.) is not consistent, so that the user is replacing the different Pang nuclear group development. , often causes the software (code) 1 transplantability is not stretched _. Furthermore, for different plug-in modules to be developed, they will also be limited by the development language, and cannot effectively select the most suitable program solution. [Summary of the Invention] f In view of this, the purpose of the present invention is to provide a mobile phone module (four) system and a separate party, and then separately design the human-machine interface core module, the simulator module, and the external module f. In order to make the system in the core of different human-machine interface differences or different «_ development policy, not only can overcome the difficulty of software and the extensibility of the software' and is not restricted by the development language, but effective Choose the most suitable program solution. Based on the above and other objects, the mobile phone simulation system provided by the present invention, the 13083⁄4 twf.doc/ei and the ith communication system are used to provide the first communication group and simulate the crying, and the present invention The mobile phone simulation system includes the plug-in module and the editor of the mobile phone. The controller module is used to analyze the operating system to collect and record the foreign exchange agreement, and the first communication protocol is used to connect the mobile phone. The instruction data generated by the group. Module module, ===== agreement to receive and execute simulation =: Execute data transmission _ to =: == When the material is transmitted to the line data, then through the first communication agreement ^ ^ data u plug her 'to make the plug-in The mobile phone operation interface display of the group provides a mobile phone simulation method, and the application thereof is in communication with the second communication protocol, and the operating system is used to provide the first communication protocol. Step: First, the external model (4) = ί, the simulator module, and the human-machine interface core module, the interface accepts the use of == operation: After the above-mentioned mobile phone operation, the first 1: second simulator module is utilized and utilized (4) Transfer and record to the core module of the module interface to transmit the command data to the human machine to execute the data to the crying τ, and generate the stubborn material. Next, the transfer and transfer of the data to == causes: = "Tear and the display of the execution information of the above-mentioned invention." In an embodiment of the mobile phone simulation system and method of the month, the plug-in 1308723 20823twf.doc/e group is a (four) link library _程^, a micro-laid county mobile phone simulator program, and a human-machine interface core module is a human Machine interface core program. In an embodiment of the above-described mobile phone simulation system and method of the present invention, the first communication protocol includes internal processing communication postal service (10) coffee (7) face - (10),]%) mechanism and dynamic '(four) knot library (Dynamic: linking library, DLL ) The mechanism, while the second ditch! 1 age can handle the communication mechanism internally. Among them, the internal processing communication package, the Pipe way to go 'has an anonymous pipeline (An〇ny_us ρ_) and a named pipe (Named Pipe). / The system of the mobile phone simulation system and method of the present invention described above is a Windows operating system (Wind0ws). In the mobile phone simulation (4) and method provided by the ii人ii invention, the H-machine " face core (4) group, the analog ray group, and the plug-in module are independently provided, instead of the face core module and the simulator module. And in the i, so that the designer can not only quickly transplant and _(e) and can integrate the existing simulator module. In addition, (4) in terms of self-supplied modules, the system handles the communication mechanism through the internal operation system of the operation system.
故可以使得模擬器模組對未來不同之外掛模組S 說明如下/ $ &佳貫施例,並配合所附圖式,作詳細 【實施方式】 •doc/e 一手機之功能’亦即針對手機軟體(Code)除錯(Debug),但並不 限定於此’例如可以偵測手機狀態、訊號·.等。在本實施例之 手機模擬系統100應用於一主機(例如為電腦主機,未繪示), 而此主機具有一作業系統(operating system,0S),其係為微軟 之視窗作業系統(windows) ’且用以提供第一溝通協定FP與第 二溝通協定SP。 在本實施例中,第一溝通協定FP包括内部處理通訊 (Interprocess communication) IPC 機制與動態鏈結庫(Dynamic # lmkmg llbrary) DLL機制’而第二溝通協定SP係為内部處理 通訊ipc。其中,内部處理通訊IPC包括一管道(pipe)方法, 其具有匿名管道(Anonymous Pipe)與具名管道(Named Pipe)。 而值得一提的是,在本實施例之内部處理通訊IPc並不限定為 官道方法,亦即可以利用例如郵件槽方法(Mailsl〇t)、記憶體映 圖檔案方法(Memory mapped file)、插座方法(s〇cket)、遠程程 序呼叫方法(Remote procedure calls,RPC)、動態資料交換方法 (Dynamic data exchange,DDE)…等。 _ 圖2繪示為本實施例之手機模擬系統1〇〇應用在電腦主機 的模擬視窗圖。請同時參照圖]及圖2,手機模擬系統1〇〇包 括外掛模組ΚΠ、模擬器模組103,以及人機介面核心模組 105。其中,外掛模組101係為一動態鏈結庫架構程式(亦即副 檔名為.dll檔)’其用以顯示一手機操作介面2〇1視窗,並提供 -使用者對此手機操作介面2〇丨執行操作(亦即使用者透過電 腦主機之滑鼠對手機操作介面201進行操作),而據以產生指 令資料。圖3緣示為本實施例之外掛模组1〇1所顯示的手機操 作介面201 *意圖。請參照圖3,在本實施例中,外掛模祖ι〇ι 1308723 iwf.doc/e * 20823ί> 所顯示的手機操作介面2(Η視窗可以提供顯示手機之前旦 (Foreground) 301,f t (Background) 303,§ 305 〇 模擬器模組1〇3係為-手機模擬器程式(係為執行且 執行後會產生-紀錄視窗2〇3,並用以分析電腦主機之_ 統所提供的第-溝通協定FP與第二溝通協定s 利用 第-溝通t紋FP動態載人外掛模組1Q1所產生的指令資料並 ,模擬器模組103之設計必須要能動態 的載入不同的外掛杈組〗〇1,且必須呈右 系統所提_帛-狀FP A帛=㈣ί齡機之作f 人機介面核心模組他係為能力。 奸、,盆袖m T巧人钱界面核心程式(係為執 订才田)其執灯後會產生一磁碟作業系統(咖Therefore, the simulator module can be described as follows for the different external plug-in modules S. The following example can be used in conjunction with the drawings to make a detailed implementation. [doc] e doc/e function of a mobile phone For the mobile phone software (Code) debugging (Debug), but not limited to this 'for example, you can detect the phone status, signal, etc. The mobile phone simulation system 100 in this embodiment is applied to a host (for example, a computer host, not shown), and the host has an operating system (OS), which is a Microsoft Windows operating system (windows). And used to provide a first communication agreement FP and a second communication agreement SP. In this embodiment, the first communication protocol FP includes an internal processing communication (Interprocess communication) IPC mechanism and a dynamic link library (Dynamic # lmkmg llbrary) DLL mechanism and the second communication protocol SP is an internal processing communication ipc. Among them, the internal processing communication IPC includes a pipe method having an anonymous pipe and a named pipe. It is worth mentioning that the internal processing communication IPc in this embodiment is not limited to the official method, that is, the mail slot method (Mailsl〇t), the memory mapped file method (Memory mapped file), Socket method, remote procedure calls (RPC), dynamic data exchange (DDE), etc. FIG. 2 is a schematic diagram of a simulation of a mobile phone analog system 1 in the present embodiment applied to a computer mainframe. Referring to FIG. 2 and FIG. 2, the mobile phone simulation system 1 includes an external module 模拟, a simulator module 103, and a human-machine interface core module 105. The plug-in module 101 is a dynamic link library architecture program (that is, the file name is a .dll file), which is used to display a mobile phone operation interface 2 〇 1 window, and provides a user operation interface for the mobile phone. 2. The operation is performed (that is, the user operates the mobile phone operation interface 201 through the mouse of the computer host), and the command data is generated accordingly. FIG. 3 shows the intention of the mobile phone operation interface 201 displayed by the external module 101 in the present embodiment. Referring to FIG. 3, in the embodiment, the mobile phone operation interface 2 is displayed on the mobile phone interface Η 130 130 130 130 130 130 872 872 Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back Back 303, § 305 〇 Simulator Module 1〇3 is a mobile phone simulator program (which is generated and executed after execution - record window 2〇3, and is used to analyze the first communication provided by the computer host) The protocol FP and the second communication protocol s utilize the command data generated by the first communication t-FP dynamic manned plug-in module 1Q1, and the simulator module 103 must be designed to dynamically load different plug-in groups. And must be presented by the right system _帛-like FP A帛=(four) 龄 机 之 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 奸 奸 奸 , , , 奸 奸 奸 奸 , , , , , , Ordered the field) after the lamp is executed, a disk operating system will be produced.
System,D0S) 2G5視窗,此人機介面核心模組〗 腦主機之作業系統所提供的第二溝通協定執: J模的指令資料後,而產生執行資料, Γ。「二::疑:^ ^ ^ Ύ田耦擬态杈組103接收至丨丨舳《-次+ -溝通協定FP而將執行資料傳送至外掛了,則=第 掛模組】01之手機操作介面2〇1顯示執行資料。以传外 依據上述本實施例之說明,因外掛模組⑼ 103,以及人機介面核心模組1〇5三 …™驗 無論使用者在更替不同人機介二疋7刀開設計的,故 的轉移及技舰伸,㈣了要達的翻軟體(c_) 統-的功效,以下再舉其機模擬系 I3〇8m,oc;e 圖4繪示為依照本發明之一較佳實施例的手機模擬方法 流程圖。請參照圖4,本實施例之手機模擬方法係應用於一主 機(例如為電腦主機),而此主機具有一作業系統(0perating system ’ OS) ’其係為微軟之視窗作業系統(wind〇ws),且用以 提供第一溝通協定與第二溝通協定。 在本實施例中’第一溝通協定包括内部處理通訊 (Interprocess communication)機制與動態鏈結庫(DynamicSystem, D0S) 2G5 window, this man-machine interface core module〗 The second communication agreement provided by the brain host operating system: After the J-mode instruction data, the execution data is generated, Γ. "II:: Suspect: ^ ^ ^ The Putian Coupling Mode Group 103 receives the "-time + - communication agreement FP and transmits the execution data to the plug-in, then = the first module] 01 mobile phone operation The interface 2〇1 displays the execution data. According to the description of the above embodiment, the plug-in module (9) 103 and the human-machine interface core module 1〇53...TM test regardless of the user's replacement of different human-machines疋7 knife open design, the transfer and technical ship extension, (four) the function of the soft body (c_) system to be reached, the following is the machine simulation system I3 〇 8m, oc; e Figure 4 is shown in accordance with A flow chart of a mobile phone simulation method according to a preferred embodiment of the present invention. Referring to FIG. 4, the mobile phone simulation method of the present embodiment is applied to a host (for example, a computer host), and the host has a working system (0perating system ' OS) 'This is Microsoft's Windows operating system (wind〇ws), and is used to provide a first communication agreement and a second communication agreement. In this embodiment, 'the first communication agreement includes an internal processing communication (Interprocess communication) mechanism And dynamic chain library (Dynamic
linking library)機制,而第二溝通協定係為内部處理通訊。其 中,内部處理通訊IPC包括一管道(Pipe)方法,其具有匿名管 道(Anonymous Pipe)與具名管道(Named Pipe)。而值得一提的 是,在本實施例之内部處理通訊並不限定為管道方法,亦即可 以利用例如郵件槽方法(Mailslot)、記憶體映圖檔案方法 (Memory mapped file)、插座方法(Socket)、遠程程序呼叫方法 (Remote procedure calls ’ RPC)、動態資料交換方法(办耶响 data exchange,DDE)...等。 請繼續參照圖4,本實施利之手機模擬方法包括下列步 驟:首先’在步驟S401中,獨立提供外掛模組、模擬器模组、 與人機介面核心模組’其中外掛模組係為一動態鍵結庫架構程 式(亦即副擋名為.dll播),其用以顯示手機操作介面,模擬哭 模組係為—手機模擬器程式,而人機介面核城_為—人^ 界面核心程式。 —接著,在步驟中,在上述步驟s4qi之手機操 接受使用者所執行之操作,而據以產生指令資料,亦即使 透過電胳主機之滑鼠對手機操作介面進行操作。 之後,在步驟S405中,利用第一溝通協定,以使指令資 20 •d〇c/e 料傳送並記錄至模擬哭 二薄通協定,以使組,並且如步驟謂所述隹: 行,並產生執行貧料傳送至人機介面核心養组進仃執 錄二^407產生執行資料後’會如步驟S409所述’傳送 第1通^料至模擬器模組。最後,在步驟S4U中,利用 介面顯示執行細傳送至外掛漁,祕得手機操作 本*:ϋΪ ’本發明是提供-種手機模擬系統及方法。依據 H,會有下列幾點優點來敘述: 組。 你難與延伸性,並且可以整合現有的模擬器模 ;·支援未來所開發不同的外掛模組。 .不受開發語言之影響。 掛模ί糸⑽客戶在整合不同人機介面核心、模組、外 =器模組時,可以快速導入應用,以進入市場: 雖’、、'、本發明已以較佳每咖 本發明,任何孰習此技^,路如上,'㈣並非用以限定 内,當可作此者’在不脫離本發明之精神和範圍 附之_飾,因此本發明之賴範圍當視後 1付之申睛翻範_界定者為準。 〜祝傻 【圖式簡單說明】The linking library) mechanism, while the second communication protocol is to process communications internally. Among them, the internal processing communication IPC includes a pipe method having an anonymous pipe and a named pipe. It should be noted that the internal processing communication in this embodiment is not limited to the pipeline method, that is, the mail slot, the memory mapped file, and the socket method can be used. ), remote procedure calls (RPC), dynamic data exchange methods (data exchange, DDE), etc. Referring to FIG. 4, the mobile phone simulation method of the present embodiment includes the following steps: First, in step S401, the plug-in module, the simulator module, and the human-machine interface core module are independently provided, wherein the plug-in module is a dynamic The key binding library architecture program (that is, the sub-block name is .dll broadcast), which is used to display the mobile phone operation interface, the simulation crying module is the mobile phone simulator program, and the human-machine interface nuclear city _ is - human ^ interface core Program. - Next, in the step, the mobile phone operation in the above step s4qi accepts the operation performed by the user, and accordingly, the command data is generated, and the operation interface of the mobile phone is operated even through the mouse of the electric host. Thereafter, in step S405, the first communication protocol is utilized to cause the command resource to be transmitted and recorded to the simulated crying thin-pass protocol to make the group, and as described in the step: And the execution of the poor material transfer to the human machine interface core group is performed. After the execution data is generated, the first communication material is sent to the simulator module as described in step S409. Finally, in step S4U, the fine transfer to the external fishing is performed by using the interface display, and the mobile phone operation is secreted. *: The present invention provides a mobile phone simulation system and method. According to H, there are several advantages to be described: Group. You are difficult and extensible, and you can integrate existing simulator modules. · Support different plug-in modules developed in the future. Not affected by the development language.挂糸ί糸(10) When integrating different human-machine interface cores, modules, and external=modules, customers can quickly import applications to enter the market: Although ',,', Any use of this technique is as follows, and '(4) is not intended to be used in the context of the present invention, and the scope of the present invention is to be paid as it is. Apparition is subject to change. ~ I wish to be stupid [Simple diagram]
Hr為本發则紐實欄之手_擬系統圖。 模擬為本實施例之手機模擬麵用在電腦主機的 圖3繪7f為本實施例之外掛模組所顯示的手機操作介面 I3〇8723f twf.doc/e 示意圖。 圖4繪示為依照本發明之一較佳實施例的手機模擬方法 流程圖。 【主要元件符號說明】 100 :手機模擬系統 101 :外掛模組 103 :模擬器模組 105 :人機介面核心模組 201 :手機操作介面 203 :紀錄視窗 205 :磁碟作業系統 301、303、305 :手機操作介面示意圖 S401〜S411 :本發明之一較佳實施例的手機模擬方法流程 圖的各步驟Hr is the hand of the new version of the _ _ system diagram. The mobile phone analog surface of the embodiment is used in the computer host. FIG. 3 is a schematic diagram of the mobile phone operation interface I3〇8723f twf.doc/e displayed by the external module of the embodiment. 4 is a flow chart of a method for simulating a mobile phone in accordance with a preferred embodiment of the present invention. [Main component symbol description] 100: mobile phone simulation system 101: plug-in module 103: simulator module 105: human-machine interface core module 201: mobile phone operation interface 203: record window 205: disk operating system 301, 303, 305 : Mobile phone operation interface diagram S401 to S411: steps of a flow chart of a mobile phone simulation method according to a preferred embodiment of the present invention
1212