1317503 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種電腦軟體程式安裝系統及方法,特 別係關於一種無線終端設備經由電腦網路自動下載並安裝 位於伺服器上之電腦軟體程式之系統及方法。 【先前技術】 隨著個人隨身通訊、企業網路建構和溝通運作都朝著 更資訊化和更有效方向變革,很多公司已經開始利用各式 行動裝置來協助開展商務活動。包括個人數位助理在内的 各種行動電腦,具有小巧便攜,可及時更新資料的特點, 並能以有線或無線方式連接到公司的内部網路與伺服器, 進行資料的存取。商務人士可藉由行動電腦隨時隨地查詢 聯絡人資訊、會議行程或傳送電子郵件,從而以最快方式 掌握任何最新資訊。在商務活動中使用行動電腦,能為客 戶、員工和供應商提供有價值的資訊和更直觀、更快速的 現場交易的能力,從而為企業提供新的商機,為整個客戶 供應鏈活動增加價值,並能有效地提高公司業績和客戶服 務品質。例如,業務及行銷專業人員可透過行動電腦及時 獲取產品和客戶的相關資訊,靈活地調整銷售策略,從而 提高效率,促使企業達到更高的營收。目前,行動商務已 應用於金融、物流、倉儲和零售等行業。 當然,新的無線技術具有其自身的問題,例如,受限 於自身的尺寸,很多行動電腦只提供很小的區域用於操作 及提供很小的存儲空間和記憶體給資料和應用軟體。這些 1317503 問題意味著,在行動電腦上運行之軟體程式有限’且安裝 繁瑣。 資料同步技術使得行動電腦設備可以方便的與一第 二電腦(如一伺服器)進行資料交換,從而避免了直接從 行動電腦設備輸入資料。如1999年5月25曰申請的專利 號為US6,330,618的美國專利,”便攜式電腦與桌上型電腦 同步之設備及方法"(Method and Apparatus for Synchronizing A Portable Computer System with A Desktop Computer System)。該發明在行動電腦及個人電腦端分別 運行一同步程式,並藉由網路或通訊電纜在行動電腦與個 人電腦間建立一通訊連接,從而實現行動電腦與個人電腦 的資料同步。然而,該發明僅提供少量結構化資料之同步, 仍無法解決行動電腦設備之應用程式安裝繁瑣的問題。 故需提供一藉由無線通訊技術實現之遠端程式安裝 系統及方法,其可使得行動電腦設備方便的安裝、使用各 種應用軟體。 【發明内容】 本發明針對行動電腦設備應用程式安裝繁瑣之問 題’提供一種行動式電腦設備遠端程式安裝系統及方法, 其可使行動式電腦設備經由無線網路自動下載並安裝位於 伺服器上之電腦軟體程式。 為達成上述之目的’本發明提供有一種行動式電腦設 備遠蠕程式安裝系統,其可下載及安裝遠端伺服器中之軟 體程式’該系統包括複數行動電腦設備、一伺服器以及把 1317503 該等设備連接在-㈣軌信道與網路。_ 儲行動電腦設備所需安裝之軟體程式,其包括於存 模組,用於驗證需使用該伺服器資訊之用 伤驗證 電腦設備包括:-指令產生模組,用於查詢該行^ ^ 備是否已安裝所需軟體程式及已安裝軟體料版^腦設 最新’右行動電腦設備未安裝或軟體程式非,=否為 軟體程式下載指令;一下載執行模組 ,用於根據軟妒 下載指令生成資料下載請求,以從伺服器下栽 4式 軟體程式,-軟體安裝模組,用於啟動從飼服器下$之 體安裝程式,並控制軟體程式安裝之過程;一^ 之軟 組’用於檢查所下載之軟體程式之安全性,其包括=模 式代碼是否包含電腦病毒及錯誤代碼。 A驗程 本發明還提供-種行動式電腦設備遠端輕 法,該方法包括以下步驟:(a)齡產生模組判叙 腦S又備疋否已女襄用戶所需安裝之軟體程式,若已 進-步判斷已安裝軟體程式之版本是否為最新;(bK則 動電腦設備未安裝或軟體程式非最新,則指令產生模7仃 成軟體程式下載指令;⑷下載執行模組根據指令產= 組生成之軟體程式下載指令生成對應之資料下載請求," 祠服器下載所需安裝之軟體程式;⑷身份驗證^組生= 身份驗證資訊,並根據接收之用戶身份資訊及存儲之用戶 身份資訊判斷當前用戶身份是否合法;(e)若當前用戶身 份合法,則代碼校驗模組檢查所下載之軟體程式之安全 性,其包括校驗程式代碼是否包含電腦病毒及錯誤代碼t 1317503 (f)軟體安裝模組安裝所下載之軟體程式,I更新軟體註 冊表中之軟體程式安裝資訊。 藉由上述系統及方法,可使得行動電腦設備方便的安 裝、使用各種應用軟體’擴展了其應用範圍,使行動電腦 設備之應用不再受本身硬體資源限制。 【實施方式】 如第一圖所示,係為本發明一無線通訊實施例之硬體 架構圖。該系統係採用客戶端/伺服器架構:客戶端,包括 分散的前端工作站101、107及109 ;伺服器端,包括一系 列的伺服器103。以上所述之各設備藉由通訊信道ι13、115 及企業内部網117相連’從而實現各設備之協同工作。 在本發明中’前端工作站主要採用行動式電腦設備, 該^亍動式電腦5又備具體可以是個人數位助理(personal Digital Assistant ’ PDA )、膝上型電腦(Laptop Computer ) 或者是智慧型手機(Smart Phone)等。在後述之本發明之 實施例中’係以個人數位助理1〇1 (下文簡稱為pDAi〇i) 來描述本發明。該等PDAi〇i —般由不同之終端用戶手 持,藉之處理相關之作業。伺服器103包含了系統中核心 的和易變的企業邏輯(規劃、運作方法、管理模式等),它 的功能是接收PDA101之輸入,處理並返回結果。該伺服 器103可以包括用於存儲企業資料,及管理資料的讀寫和 維護之資料庫,或是與資料庫相連接(在第一圖中未畫 出)’視具體情況而定。 通訊塔105藉由通訊信道115及通訊信道113與 1317503 PDA101及伺服器l〇3進行通訊,傳送pDA1〇1之資料複 製請求訊息及祠服器103之請求回覆訊息。第一圖所示的 為PDA101利用一數據機(圖中未畫出)與通訊塔以無線 方式進行通訊。通訊塔105藉由專用或公用的通訊信道113 與伺服器103相連。當然,對於熟知此項技藝之人士來說, 通訊信道113可以是有線信道,也可以是無線信道。局域 網(Local Area Network ’ LAN) 117 與電腦設備 1〇7 及 1〇9 相連,其可為伺服器103及電腦設備1〇7、1〇9提供訪問網 際網路111之通道。PDA101也可經由局域網117、伺服器 103、通訊信道113以及通訊信道115來訪問網際網路ln。 上述之資訊系統僅為本發明之一實施例,由該系統所 衍生出的其它-㈣統’甚至是不同類型的系統,也可以 採用本發明之方法。對於熟知此項技藝之人士來說,所揭 露之方法可以方便地在任何通訊系統或其它類型存在著頻 寬和/或设備存儲器問題之系統内展開具有一定優勢。本發 明非僅限於制減通喊接的线,_在該領域本發 明之便利性最容易體現出來。 第二圖係為本發明之無線應用帛式之示例架構方塊 圖。該應用程式庫在PDA101以及伺服器1〇3上運行,並 採用了本發明所揭示之技術。無線應用架構2〇1包括有一 無線資料複製器207以及一行動交換器2〇9,以向pDA1〇1 提供無線應用程式服務。該無線應用架構2〇1係基於標準 建構,並可容易地成為設備作業系統或獨立的資料庫。 行動父換器209為PDA101提供一實時的訪問企業伺 1317503 服器103的通路。在本實施例中,行動交換器209係基於 可擴展4示示 β吾言(Extensible Markup Language,XML)和 超文件傳輸協定(Hypertext Transfer Protocol,HTTP)。 XML使設計者可以定義、傳送、驗證以及解釋應用程式之 間和組織之間的資料;HTTP是網際網路所運用的根本協 定’其定義了訊息採用何種格式化及如何傳送,以及網路 伺服器或劉覽器應該採用什麼動作以回應一特定之需求。 XML和HTTP均使用了一種流行的方式--遠端程式呼叫 (Remote Procedure Cal卜RPC ),以藉由網路在不同電腦 中之單獨程式之間實現進程間通訊(Inter_pr〇cess1317503 IX. Description of the Invention: [Technical Field] The present invention relates to a computer software program installation system and method, and more particularly to a wireless terminal device that automatically downloads and installs a computer software program located on a server via a computer network. System and method. [Prior Art] As personal portable communications, corporate network construction, and communication operations are moving toward more information and more effective, many companies have begun to use a variety of mobile devices to assist in business activities. Various mobile computers, including personal digital assistants, are small and portable, can update the characteristics of the data in time, and can be connected to the company's internal network and server by wire or wirelessly for data access. Business people can use the mobile computer to access contact information, meeting itineraries or send e-mails anytime, anywhere, so that they can get the latest information in the fastest way. Using mobile computers in business activities can provide customers, employees and suppliers with valuable information and more intuitive and faster on-the-spot trading capabilities, thereby providing new business opportunities and adding value to the entire customer supply chain activities. And can effectively improve the company's performance and customer service quality. For example, business and marketing professionals can flexibly adjust sales strategies through mobile computers to obtain timely information on products and customers, thereby increasing efficiency and enabling companies to achieve higher revenues. Currently, mobile commerce has been used in industries such as finance, logistics, warehousing and retail. Of course, new wireless technologies have their own problems. For example, limited by their size, many mobile computers provide only a small area for operation and provide small storage space and memory for data and application software. These 1317503 problems mean that the software programs running on the mobile computer are limited and the installation is cumbersome. The data synchronization technology allows the mobile computer device to conveniently exchange data with a second computer (such as a server), thereby avoiding direct input of data from the mobile computer device. "Method and Apparatus for Synchronizing A Portable Computer System with A Desktop Computer System", US Patent No. 6,330,618, filed on May 25, 1999. The invention runs a synchronization program on the mobile computer and the personal computer side, and establishes a communication connection between the mobile computer and the personal computer through a network or communication cable, thereby realizing data synchronization between the mobile computer and the personal computer. The invention only provides a synchronization of a small amount of structured data, and still cannot solve the problem of cumbersome application installation of mobile computer devices. Therefore, it is necessary to provide a remote program installation system and method implemented by wireless communication technology, which can make mobile computer equipment convenient. The invention provides a mobile computer device remote program installation system and method, which can provide a mobile computer device via a wireless network. Automatically download and install on the server Computer software program. To achieve the above purpose, the present invention provides a mobile computer device remote program installation system capable of downloading and installing a software program in a remote server. The system includes a plurality of mobile computer devices and a servo. And the 1317503 these devices are connected to the - (four) track channel and network. _ The software program required to store the mobile computer device, which is included in the memory module, is used to verify the use of the server information to verify the damage The computer equipment includes: - an instruction generation module for querying the line ^ ^ whether the required software program has been installed and the installed software version ^ brain set latest 'right mobile computer device is not installed or the software program is not, = no The software program download instruction; a download execution module, configured to generate a data download request according to the software download command, to download the software program from the server, and the software installation module is used to start the slave device. Install the program and control the process of installing the software program; a soft group 'is used to check the security of the downloaded software program, including == mode code Computer virus and error code are included. A. The invention also provides a mobile computer device remote light method, the method comprising the following steps: (a) the age generation module verifies the brain S and prepares the female user The software program to be installed, if it has been further determined whether the version of the installed software program is up-to-date; (bK, if the computer device is not installed or the software program is not up-to-date, the command generates a software program download command; (4) The download execution module generates a corresponding data download request according to the software program download command generated by the command production group, " downloads the software program to be installed; (4) the identity verification group test = authentication information, and according to the received The user identity information and the stored user identity information determine whether the current user identity is legal; (e) if the current user identity is legal, the code verification module checks the security of the downloaded software program, including whether the verification program code includes the computer Virus and error code t 1317503 (f) Software installation module to install the downloaded software program, I update the software package installation software package . With the above system and method, the portable computer device can be easily installed and used, and the application software is expanded to extend the application range, so that the application of the mobile computer device is no longer limited by its own hardware resources. [Embodiment] As shown in the first figure, it is a hardware architecture diagram of a wireless communication embodiment of the present invention. The system employs a client/server architecture: a client, including distributed front-end workstations 101, 107, and 109; and a server-side, including a series of servers 103. The devices described above are connected by the communication channels ι13, 115 and the intranet 117 to achieve coordinated operation of the devices. In the present invention, the front-end workstation mainly uses a mobile computer device, and the computer 5 can be specifically a personal digital assistant (PDA), a laptop computer (Laptop Computer) or a smart phone. (Smart Phone), etc. In the embodiment of the present invention to be described later, the present invention is described by the personal digital assistant 1〇1 (hereinafter abbreviated as pDAi〇i). These PDAi〇i are generally held by different end users to handle related operations. Server 103 contains the core and variable enterprise logic (planning, operational methods, management modes, etc.) in the system. Its function is to receive input from PDA 101, process and return results. The server 103 may include a repository for storing enterprise data, and managing the reading, writing, and maintenance of the data, or may be connected to the database (not shown in the first figure) as the case may be. The communication tower 105 communicates with the 1317503 PDA 101 and the server 103 via the communication channel 115 and the communication channel 113, and transmits the data copy request message of the pDA1 and the request reply message of the server 103. The first figure shows the PDA 101 using a modem (not shown) to communicate wirelessly with the communication tower. The communication tower 105 is connected to the server 103 via a dedicated or public communication channel 113. Of course, for those skilled in the art, the communication channel 113 can be a wired channel or a wireless channel. A local area network (LAN) 117 is connected to computer devices 1〇7 and 1〇9, which provides access to the network 111 for the server 103 and the computer devices 1〇7, 1〇9. The PDA 101 can also access the Internet ln via the local area network 117, the server 103, the communication channel 113, and the communication channel 115. The above information system is only one embodiment of the present invention, and other methods of the present invention may be employed by other systems of the system. For those skilled in the art, the disclosed method can be advantageously deployed in any communication system or other type of system where bandwidth and/or device memory issues exist. The present invention is not limited to the elimination of the line of shouting, and the convenience of the present invention is most easily manifested in the field. The second figure is a block diagram of an exemplary architecture of the wireless application of the present invention. The application library runs on PDA 101 and server 1〇3 and employs the techniques disclosed herein. The wireless application architecture 2.1 includes a wireless data replicator 207 and a mobile switch 2〇9 to provide wireless application services to the pDA1〇1. The Wireless Application Architecture 2〇1 is based on standard construction and can easily be a device operating system or a separate repository. The action parent converter 209 provides the PDA 101 with a real-time access to the enterprise server 1317503 server 103. In the present embodiment, the mobile switch 209 is based on the Extensible Markup Language (XML) and the Hypertext Transfer Protocol (HTTP). XML enables designers to define, communicate, validate, and interpret data between applications and organizations; HTTP is the underlying protocol used by the Internet's which defines what format and how the message is transmitted, and the network. What action should be taken by the server or browser to respond to a specific need. Both XML and HTTP use a popular method, Remote Procedure Cal (RPC), to enable interprocess communication between separate programs on different computers via the network (Inter_pr〇cess
Communication ’ ipc)。當然,rpc和IPC也可以在單獨 之電腦設備上被執行。所揭露的無線應用架構2〇1提供簡 捷有效的環境’以發展在無線結構中運行的主從式應用程 式。 無線應用架構201之客戶端提供如下用於關聯式客戶 應用程式之功能: (1)生成遠端程式呼叫之内容(方法名稱和參數 (2 )形成XML訊息; (3) 利用HTTP協定將該Xml訊息傳送至伺服器; 以及 (4) 接收並解釋來自於伺服器的相應的回應。 無線應用架構201之伺服器端提供如下用於關聯式客 戶應用程式之功能: (1)接收並解釋一客戶端之請求訊息,尤其是利用 11 1317503 上述之客戶端所產生、形成以及傳送之請求訊息; (2 )根據客戶端之清求訊息所請求之特定Rpc,搜 索一適合之程式; (3) 調用該合適之程式; (4) 將該合適之回應發回至客戶端。 無線資料複製器207處理並管理無線設備中的資料, 它使用戶能夠在無線設備中選擇用戶所需要的特定訊息, 並且僅複製所選擇的訊息,藉該方法以節省傳輸媒介中的 頻寬和PDA101中的存儲器資源。 無線資料複製器207和行動交換器209提供有一平 臺,專用應用程式可以建構於其上。在本實施例中,專用 應用程式包括有行動式商業應用程式21〇、行動式醫院應 用程式220、行動式物流應用程式230以及行動式金融應 用程式240。該專用應用程式210、220、230和240都僅 僅是作為例子。實際上,本發明所揭露之方法可以用來實 現任何應用程式’這些應用程式可以藉由行動式訪問中心 應用程式來獲得幫助。應用程式21〇、22〇、230和240都 是本系統之應用程式組件203之一。任何一個應用程式 210、220、230和240都包括有應用程式產品205。 第三圖係為本發明之pDAi〇i組件之方塊圖。該 PDA101包括一用戶操作模組3〇1、一高速緩存管理器 303、一指令產生模組3〇5、一本地存儲器307、一代碼校 驗模組309、一軟體安裴模組311及一下載執行模組315。 用戶操作模組301、指令產生模組3〇5、本地存儲器307、 12 1317503Communication ’ ipc). Of course, rpc and IPC can also be executed on a separate computer device. The disclosed wireless application architecture 2-1 provides a simple and efficient environment to develop a master-slave application that operates in a wireless fabric. The client of the wireless application architecture 201 provides the following functions for the associated client application: (1) generating the content of the remote program call (the method name and parameters (2) form an XML message; (3) using the HTTP protocol to the Xml The message is transmitted to the server; and (4) the corresponding response from the server is received and interpreted. The server side of the wireless application architecture 201 provides the following functions for the associated client application: (1) receiving and interpreting a client The request message, in particular, the request message generated, formed and transmitted by the above-mentioned client of 11 1317503; (2) searching for a suitable program according to the specific Rpc requested by the client's request message; (3) calling The appropriate program; (4) sending the appropriate response back to the client. The wireless data replicator 207 processes and manages the data in the wireless device, which enables the user to select a particular message desired by the user in the wireless device, and Only the selected message is copied, and the method is used to save the bandwidth in the transmission medium and the memory resources in the PDA 101. The wireless data replicator 207 and the mobile exchange The device 209 provides a platform on which a dedicated application can be built. In this embodiment, the dedicated application includes a mobile business application 21, a mobile hospital application 220, a mobile logistics application 230, and a mobile device. Financial application 240. The dedicated applications 210, 220, 230, and 240 are merely examples. In fact, the method disclosed by the present invention can be used to implement any application that can be accessed by a mobile access center application. The program is available for assistance. The applications 21, 22, 230, and 240 are all one of the application components 203 of the system. Any one of the applications 210, 220, 230, and 240 includes the application product 205. A block diagram of the pDAi〇i component of the present invention. The PDA 101 includes a user operation module 3.1, a cache manager 303, an instruction generation module 3〇5, a local memory 307, and a code check. The module 309, a software installation module 311 and a download execution module 315. The user operation module 301, the instruction generation module 3〇5, the local memory 307, 12 1317503
代碼校驗模組309、軟體安裝模組311及下載執行模組315 白與局速緩存管理器303相連’以實現各模組之協同作業。 用戶操作模組301係用於接收用戶輸入之控制命令, 並可將系統之操作結果顯示給用戶’其包括一圖形用戶介 面(Graphical User Interface, GUI)。高速緩存管理器 3〇3 (Cache Manager )係用於依照 LRU ( Least Recently Used ) 邏輯提供高速緩存資料給所有的需緩存之資料,其可媛存The code verification module 309, the software installation module 311, and the download execution module 315 are connected to the local cache manager 303 to implement the collaborative operation of the modules. The user operation module 301 is for receiving a control command input by the user, and can display the operation result of the system to the user' which includes a graphical user interface (GUI). Cache Manager 3〇3 (Cache Manager) is used to provide cached data to all cached data according to LRU (Least Recently Used) logic.
接收至PDA101及PDA101内部運算過程中產生之臨時資 料。本地存儲區307係用於存儲用戶資料及pDA1〇1端運 行之程式’其包括一軟體註冊表313。軟體註冊表313記Received temporary data generated during the internal operations of PDA101 and PDA101. The local storage area 307 is a program for storing user data and pDA1's operation, which includes a software registry 313. Software registry 313
錄了 PDA101端已安裝之所有軟體程式及軟體程式之摘要 資訊,包括該軟體程式之安裝時間、版本。指令產生模組 305可根據軟體註冊表313記錄之軟體摘要資訊,判斷 PDA101之本地存儲器307中是否已安裴有用戶所需安裝 之軟體程式,以及所安裝之軟體程式是否為最新版本。指 令產生模組305還可依據判斷結果生成軟體程式下載= 令,並將該軟體下載指令發送至下載執行模組315。下^ 執行模組315可根據指令產生模組3〇5之軟體程式下載指 令生成特定資料之下載指令,使用統一資源定位(Unif〇rm Resource Locator, URL)或網路主機名稱下載特定之應用 程式安裝軟體。代碼校驗模組3〇9用於校驗下載執行模組 315所下載程式之安全性,包括校驗程式代碼是否包含電 腦病毒及錯誤代碼’例如,錯誤代碼為 ERROR—INSTALL-SUSPEND,其對應值為 16〇4,表示為 13 1317503 、 止、未完成’,;又如錯誤代碼為 ERR^R—INSTALL-L〇G—FAILURE,其對應值為 1622,表 示為開啟安裝記錄槽時發生錯誤,請驗證指定的記錄權位 置已存在而且您可以寫入”。軟體安裝模組311係用於啟動 由下載執行模組315下載且存儲於高速緩存管理器3〇3中 之軟體安裝程式,並控制程式之安裝過程。 第四圖係為本發明之伺服器1〇3組件之方塊圖。該伺 服=103包括一通訊管理模組4〇1,一身份驗證模組4〇3, 負料庫405及一程式存儲裝置4〇7。通訊管理模組4〇1 藉由資料庫405與程式存儲裝置4〇7相連。 通訊管理模組401使伺服器1〇3和pDA1〇1之間保持 基於傳輸控制協定(Transfer Control Protoco卜TCP)之連 接。在伺服器103端,通訊管理模組4〇1接收pDA1〇1處 之子串机形式之遠端程式呼叫,並解析該遠端程式呼叫字 串流’將子串流參數轉換成資料結構然後調用與轉換後 的資料、、、。構相匹配之本地程式。由遠端程式呼叫所生成之 結果被存儲於資料結構之輸出參數中。身份驗證模組423 與資料庫405相連’可根據資料庫405中之用戶資訊,驗 證需使用糊服器1G3資訊之用戶的身份。程式存儲裝置 術存儲了複數供PDA1〇1下載之程式包(packet) ρ2、 3等,每一程式包係為一可運行之程式集合。A summary of all the software programs and software programs installed on the PDA101 is recorded, including the installation time and version of the software program. The command generation module 305 can determine whether the software program installed by the user is installed in the local memory 307 of the PDA 101 according to the software summary information recorded in the software registry 313, and whether the installed software program is the latest version. The command generation module 305 can also generate a software program download command according to the judgment result, and send the software download command to the download execution module 315. The execution module 315 can generate a specific data download instruction according to the software program download instruction of the module 3〇5, and download a specific application by using a UniF〇rm Resource Locator (URL) or a network host name. Install the software. The code verification module 3〇9 is used for verifying the security of the program downloaded by the download execution module 315, including verifying whether the program code contains a computer virus and an error code 'for example, the error code is ERROR_INSTALL-SUSPEND, which corresponds to The value is 16〇4, which means 13 1317503, stop, not completed', and the error code is ERR^R—INSTALL-L〇G—FAILURE, and the corresponding value is 1622, indicating that an error occurred when opening the installation slot. Please verify that the specified record right location already exists and you can write it. The software installation module 311 is used to start the software installer downloaded by the download execution module 315 and stored in the cache manager 3〇3, and The installation process of the control program. The fourth figure is a block diagram of the server 1〇3 component of the present invention. The servo=103 includes a communication management module 4〇1, an identity verification module 4〇3, a negative library. 405 and a program storage device 4〇7. The communication management module 4〇1 is connected to the program storage device 4〇7 through the database 405. The communication management module 401 maintains the basis between the servers 1〇3 and pDA1〇1. Transmission Control Protocol (Tran Sfer Control Protoco (TCP) connection. At the server 103 end, the communication management module 4〇1 receives the remote program call in the form of a substring machine at pDA1〇1, and parses the remote program call stream stream The stream parameter is converted into a data structure and then the local program matched with the converted data, . . . is matched. The result generated by the remote program call is stored in the output parameter of the data structure. The authentication module 423 and The database 405 is connected to 'identify the identity of the user who needs to use the 1G3 information according to the user information in the database 405. The program storage device stores a plurality of packages for downloading PDA1〇1, ρ2, 3, etc. Each package is a collection of executable programs.
第五圖係為本發明之遠端程式安裝流程圖。首先, PDA101之用戶操作模組3〇1接收用戶之程式安裝命令(步 驟501)用戶可在gui中使用劉覽器(Browser )及URL 1317503 才曰定需安裝程式之名稱及路徑,亦可用伺服器之IP (Internet Protocol)地址及端口號(p〇rt number)來指定 需安裝程式之名稱及路徑。指令產生模組3〇5搜索本地存 儲器307之軟體註冊表313,並根據軟體註冊表313中之 軟體摘要資訊判斷用戶需安裝之程式是否已安裝至 PDA101 (步驟 S5〇3)。The fifth figure is a flow chart of the remote program installation of the present invention. First, the user operation module 3.1 of the PDA 101 receives the user's program installation command (step 501). The user can use the browser and the URL 1317503 in the gui to determine the name and path of the program to be installed, or use the servo. The IP (Internet Protocol) address and port number (p〇rt number) of the device specify the name and path of the program to be installed. The command generation module 3〇5 searches for the software registry 313 of the local storage 307, and judges whether the program to be installed by the user has been installed to the PDA 101 based on the software summary information in the software registry 313 (step S5〇3).
若程式未女裝’則指令產生模組3〇5生成並發送一華 式下載命7至下載執行模組315,軟體安裝模組3η將1 載之軟體安裝至本地存儲器3G7,同時更新軟體註冊表31 (步驟S505 )。若程式已安裝,則指令產生模组進一 ^讀取已安裝程式之版本及安裝時間資訊,同時經由下章 行模組315讀取伺服器⑽中之資料庫,比較對應程# ^本資訊(步驟S5G7)°S已安裝程式為最新版本,貝, =101無需下載及安裝程式,指令產生模組奶經由用If the program is not women's, then the command generation module 3〇5 generates and sends a Chinese download command 7 to the download execution module 315, and the software installation module 3η installs the 1 load software to the local memory 3G7, and updates the software registration. Table 31 (step S505). If the program is installed, the command generation module further reads the version of the installed program and the installation time information, and reads the database in the server (10) via the next chapter module 315, and compares the corresponding program #^本信息(step S5G7) ) °S installed program is the latest version, Bay, =101 no need to download and install the program, the command to generate module milk through
j模組301提示用戶所需安裝之程式已安裝。若已安 裝程式並非最新版本,則執行步驟S505。 f六圖係為本發明之程式下載及安裝流程圖。首先, 莫組315根據指令產生模組305生成之程式下裁 成程式下載指令並發送該請求至伺服11 103(步 器103之通訊管理模組401接收 ==p_。接收到用戶之身份資 份驗 是:且:,料庫405中之用戶資訊,判斷當前用戶 疋否合法(步驟S603)。 15 1317503 若用戶不合法,則發送一錯誤訊息至PDA101,並藉 用戶操作模組301之GUI提示用戶(步驟S6〇7)。若用 =通過身份驗證’則通訊管理模組4〇1、下載執行模組315 同工作,將伺服器1〇3之程式存儲裝置4〇7中之指定程 “二,至PDA1〇i中並存儲於PDA101之緩存中(步驟 程式下载完畢,代碼校驗模組309檢驗所下載之程式 全性(步驟S611)’並判斷程式中是否包含電腦病毒, ,程弋中疋否包含錯誤代碼等(步驟S613)。若程式通過 驗證二則軟體安裝模組311啟動已下載之程式,將該軟體 程式女裝至PDA101之本地存儲器3〇7中,並將該安裝資 訊添加至軟體註冊表313中,同時刪除緩存中已安裝的軟 體程式包。否則,返回步驟S607。 本發明雖以較佳實施例揭露如上,然其並非用以限定 ^發月何熟悉此項技藝者,在不脫離本發明之精神和 範圍内’ §可做更動與潤飾’目此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 【圖式簡單說明】 Ϊ - 為本發明一無線通訊實施例之硬體架構圖。 圖。一圖係為本發明之無線應用程式之示例架構方塊 ,三圖係為本發明之PDA組件之方塊圖。 c系為本發明之伺服器組件之方塊圖。 上圖係為本發明之遠端程式安裝流程圖。 第’、圖係為本發明之程式下载及安裝流程圖。 16 1317503 【主要元件符號說明】 PDA 101 伺服器 103 通訊塔 105 電腦設備 107 、 109 網際網路 111 通訊信道 113 、 115 局域網 117 無線應用架構 201 應用程式組件 203 應用程式產品 205 無線資料複製器 207 行動交換器 209 行動式商業 210 行動式醫院 220 行動式物流 230 行動式金融 240 用戶操作模組 301 高速緩存管理器 303 指令產生模組 305 本地存儲器 307 代碼校驗模組 309 軟體安裝模組 311 軟體註冊表 313 17 1317503 下載執行模組 315 通訊管理模組 401 身份驗證模組 403 資料庫 405 程式存儲裝置 407 18The j module 301 prompts the user that the program to be installed is installed. If the installed program is not the latest version, step S505 is performed. f is a flowchart for downloading and installing the program of the present invention. First, the module 315 cuts the program download command according to the program generated by the command generation module 305 and sends the request to the servo 11 103 (the communication management module 401 of the step 103 receives == p_. The identity of the user is received. The test is: and: the user information in the repository 405 determines whether the current user is legal (step S603). 15 1317503 If the user is not legal, an error message is sent to the PDA 101, and the user prompts the GUI of the module 301. User (step S6〇7). If using = pass authentication, then the communication management module 4〇1 and the download execution module 315 work together, and the specified program in the program storage device 4〇7 of the server 1〇3 is “ Second, to the PDA1〇i and stored in the cache of the PDA101 (the step program is downloaded, the code verification module 309 checks the downloaded program integrity (step S611)' and determines whether the program contains a computer virus, Cheng Wei Whether the error code or the like is included in the middle (step S613). If the program starts the downloaded program through the verification software installation module 311, the software program is applied to the local memory 3〇7 of the PDA 101, and the installation information is installed. It is added to the software registry 313, and the software package installed in the cache is deleted at the same time. Otherwise, the process returns to step S607. Although the present invention is disclosed above in the preferred embodiment, it is not intended to limit the skill of the art. The scope of protection of the present invention is defined by the scope of the appended claims, which is defined by the scope of the appended claims. A hardware architecture diagram of a wireless communication embodiment of the present invention. Fig. 1 is an exemplary architecture block of a wireless application of the present invention, and Fig. 3 is a block diagram of a PDA component of the present invention. The above diagram is a flow chart of the remote program installation of the present invention. The first diagram is a flowchart for downloading and installing the program of the present invention. 16 1317503 [Description of main component symbols] PDA 101 server 103 communication Tower 105 Computer Equipment 107, 109 Internet 111 Communication Channel 113, 115 LAN 117 Wireless Application Architecture 201 Application Component 203 Application Product 205 None Data Replicator 207 Mobile Switch 209 Mobile Business 210 Mobile Hospital 220 Mobile Logistics 230 Mobile Finance 240 User Operations Module 301 Cache Manager 303 Command Generation Module 305 Local Memory 307 Code Verification Module 309 Software Installation Module 311 Software Registry 313 17 1317503 Download Execution Module 315 Communication Management Module 401 Authentication Module 403 Database 405 Program Storage Device 407 18