515184 五、發明說明(1) 發明背景: \ 本發明係一種利用無線通訊協定下載大型資料之方 法,係一無線網路上之伺服器接收到一由客戶端之電子裝 置發送之下載大型資料請求時,該伺服器即依據該請求之 内容,自一資料庫中讀取對應之文件,再根據無線網路傳 輸資料之限制,將該文件分割成複數個資料塊,並將該等 資料塊之總塊數回覆該電子裝置,令該電子裝置逐一發出 可下載各資料塊數據之命令至該伺服器,使該伺服器依據 該等命令逐一將該文件之各資料塊依序傳送至該電子裝 置,進而使該電子裝置可將收到之各資料塊,組合成一完 整之文件,達成突破無線通訊協定無法下載大型資料之限4 先前技藝: 按,無線通訊協定(W A P )係一在無線通訊的環境下 提供上網服務之一種通訊協定,令人們可輕易地藉由行動 終端機(如:行動電話、數位個人助理…等)來獲取無線 網路上的即時資訊(如:即時新聞、股市行情…等),取 代過去我們必須透過攜帶不便之個人電腦,或價格高昂之 筆記型電腦撥接上網。 然而,該無線通訊協定受限到無線網路途徑(G a t e W ay )傳輸數據大小之限制,以致每次之下載請求,僅能 獲得幾K ( 1 OOOBye )之數據,無法獲得更多之資訊,對於 下載其他較大量類型之數據,便無法實現。515184 V. Description of the invention (1) Background of the invention: The present invention is a method for downloading large-scale data using a wireless communication protocol. When a server on a wireless network receives a request for downloading large-scale data from an electronic device of a client , The server reads the corresponding file from a database according to the content of the request, and then divides the file into a plurality of data blocks according to the limitation of the wireless network transmission data, and the total of these data blocks The number of blocks responds to the electronic device, so that the electronic device sends a command to download the data of each data block to the server one by one, so that the server sequentially transfers each data block of the file to the electronic device according to the commands, In addition, the electronic device can combine the received data blocks into a complete file, which breaks through the limitation that wireless communication protocols cannot download large-scale data. 4 Previous techniques: Press, wireless communication protocol (WAP) is a wireless communication environment A communication protocol that provides Internet services, allowing people to easily use mobile terminals (such as: mobile phones, digital (Personal assistants, etc.) to get real-time information on the wireless network (such as: real-time news, stock market quotes, etc.), instead of having to dial in to the Internet through a personal computer that was inconvenient to carry, or an expensive laptop. However, the wireless communication protocol is limited to the size of the data transmitted through the wireless network (Gate W ay), so that each download request can only obtain a few K (1 OOOBye) of data, and cannot obtain more information. , For downloading other large types of data, it is not possible.
第5頁 515184 五、發明說明(2) 發明綱要: 有鑑於此,為改進上述無線通訊協定無法下載大量數 據之缺點,發明人經過長久努力研究與實驗,終於開發設 計出本發明之一種利用無線通訊協定下載大型資料之方 法0Page 5 515184 V. Description of the invention (2) Outline of the invention: In view of this, in order to improve the shortcomings of the above wireless communication protocol that cannot download a large amount of data, the inventor finally developed and designed a utilization wireless technology of the present invention after long-term research and experiment. Communication protocol download method of large dataZero
本發明之一目的,係分別於一客戶端之電子裝置及一 無線網路上之伺服器上,設定有一特殊網頁程式模塊,俾 當該電子裝置運用該模塊格式發送一下載大型資料請求至 該伺服器時,該伺服器即依據該請求之内容,自一資料庫 中讀取對應之文件,嗣再根據無線網路傳輸資料之限制, 將該文件分割成複數個資料塊,並將該等資料塊之總塊數 以該模塊格式回覆該電子裝置,令該電子裝置逐一發出可 下載各資料塊數據之命令至該伺服器,使該伺服器依據該 等命令逐一將該文件之各資料塊依序傳送至該電子裝置, 進而使該電子裝置可將收到之各資料塊,組合成一完整之 文件,達成突破無線通訊協定無法下載大型資料之限制。 本發明之另一目的,係該電子裝置上設定有一下載進度指 示條程式,俾當該電子裝置接受到由該伺服器傳送之該文 件之各資料塊時,即藉由該顯示器將該指示條顯示出來, 並在接收到該文件之一資料塊時,即加長該指示條一個單 位長度,以提示使用者下載之進度。 • 為便貴審查委員能對本發明之目的、形狀、構造裝An object of the present invention is to set a special webpage program module on an electronic device of a client and a server on a wireless network respectively. When the electronic device uses the module format to send a request for downloading large data to the server Server, the server reads the corresponding file from a database according to the content of the request, and then divides the file into a plurality of data blocks according to the restrictions on data transmission on the wireless network, and divides the data The total number of blocks responds to the electronic device in the module format, so that the electronic device sends a command to download the data of each data block to the server one by one, so that the server according to the commands one by one The sequence is transmitted to the electronic device, so that the electronic device can combine the received data blocks into a complete file, which breaks through the limitation that wireless communication protocols cannot download large data. Another object of the present invention is to set a download progress indicator program on the electronic device. When the electronic device receives each data block of the file transmitted by the server, the indicator is displayed on the display through the display device. It is displayed, and when a data block of the file is received, the indicator bar is lengthened by a unit length to remind the user of the download progress. • For the convenience of the review committee, the purpose, shape, and structure of the invention
第6頁 515184 五、發明說明(3) 置特徵及其功效,做更進一步之認識與瞭解,茲舉實施例 配合圖示,詳細說明如下: *細說明: 本發明係一種「利用無線通訊協定下載大型資料之方 法」,係分別於一客戶端之電子裝置(如:數位個人助 理、行動電話…等)及一無線網路上之伺服器上,設定有 一特殊網頁程式模塊(如:動態網頁技術(A S P )),俾 當該電子裝置運用該模塊格式發送一下載大型資料請求至_ 該伺服器時,該伺服器即依據該請求之内容,自一資料庫 中讀取對應之文件,嗣再根據無線網路傳輸資料之限制, 將該文件分割成複數個資料塊,並將該等資.料塊之總塊數 以該模塊格式回覆該電子裝置,令該電子裝置逐一發出可 下載各資料塊數據之命令至該伺服器,使該伺服器依據該 等命令逐一將該文件之各資料塊依序傳送至該電子裝置, 而使該電子裝置將收到之各資料塊,組合成一完整之文 件,藉由一顯示器顯示出來,供使用者瀏覽。 在本發明中,該電子裝置上設定有一下載進度指示條 程式,俾當該電子裝置接受到由該伺服器傳送之各資料塊 時,即藉由顯示器將該指示條顯示出來,並在接收到文件 之一個資料塊時,即增加該指示條一個單位長度,以提示U 使用者下載之進度。 在本發明中,當該電子裝置進行下載該文件各資料塊 之期間,而被終止下載時,則透過一記憶體儲存已下載之Page 6 515184 V. Description of the invention (3) Features and effects, for further understanding and understanding, the following examples are given in conjunction with the illustrations, and are described in detail as follows: * Detailed description: The invention is a kind of "Using wireless communication protocol The method of downloading large data "is set on a client-side electronic device (such as a digital personal assistant, a mobile phone, etc.) and a server on a wireless network with a special web program module (such as: dynamic web technology (ASP)), when the electronic device uses the module format to send a download large data request to the server, the server reads the corresponding file from a database based on the content of the request, and then According to the limitation of wireless network data transmission, the file is divided into a plurality of data blocks, and the total number of data blocks is used to reply to the electronic device in the module format, so that the electronic device sends out one by one and can download various data. Command to block data to the server, so that the server sequentially transfers each data block of the file to the electronic device according to the commands, so that the The electronic device combines the received data blocks into a complete file, which is displayed on a display for users to browse. In the present invention, a download progress indication bar program is set on the electronic device. When the electronic device receives each data block transmitted by the server, the instruction bar is displayed through a display, and the received When a data block of the file is added, the unit length of the indicator is increased to remind the user of the download progress. In the present invention, when the electronic device downloads each data block of the file and the download is terminated, the downloaded data is stored in a memory.
第7頁 515184 五、發明說明(4) 進度,以及已下載之文件,令該電子裝置下次再進行下載 該文件時,可從未下載部份之起始資料塊,繼續進行下載 該未下載之部份,俾使用者可於下載期間,選擇終止下 載,令該電子裝置再次重新下載時,可從中斷處繼續下 -rAj 在本發明中,該電子裝置可依據被選擇下載之部份, 埤一發出該部份各資料塊數據之下載命令至該伺服器,使 該伺服器依據該等命令,逐一將該被選擇下載部份之該文 件各資料塊,依序傳送至該電子裝置,俾使用者可選擇該 文件其中若干片段下載。 在本發明中,該電子裝置可將下載之文件儲存於一記φ 憶體中,嗣再透過顯示器顯示一是否選擇瀏覽該文件之揭 示,供使用者選擇是否瀏覽,若被選擇瀏覽時,則透過顯 示器將該文件顯示出來。 在本發明中,請參閱第一圖所示,當使用者啟動該電 子裝置進行下載無線通訊協定(W AP )上之大型資料時, 該電子裝置將依據下列之步驟進行處理: (1 0 1 )首先,運用特殊網頁程式模塊之格式發送一下 載資料請求至該伺服器; (1 0 2 )再讀取由伺服器回覆之資料塊下載之總塊數; (1 0 3 )透過一顯示器顯示一選擇全部下載或部份下載 之提示,嗣再判斷是否被選擇全部下載?若是,繼續進行胃P 下列之步驟;否則,進行步驟(1 0 9 ); (1 0 4 )逐一發出下載各資料塊數據之命令至伺服器;Page 7 515184 V. Description of the invention (4) Progress and downloaded files, so that when the electronic device downloads the file next time, it can continue to download the undownloaded part of the starting data block In part, the user can choose to terminate the download during the download period, so that the electronic device can continue to download from the interruption when the electronic device is downloaded again. -RAj In the present invention, the electronic device can be selected according to the selected part, (1) Issue a download command of the data of each data block of the part to the server, so that the server sequentially transmits each data block of the selected download part to the electronic device according to the commands,俾 The user can select several segments of the file to download. In the present invention, the electronic device may store the downloaded file in a φ memory, and then display through the display a disclosure of whether to choose to browse the file for the user to choose whether to browse. If it is selected to browse, then The file is displayed on the display. In the present invention, please refer to the first figure. When a user starts the electronic device to download large data on a wireless communication protocol (WAP), the electronic device will process according to the following steps: (1 0 1 ) First, send a request for downloading data to the server using the format of a special webpage program module; (1 0 2) then read the total number of blocks downloaded by the server; (1 0 3) display through a display As soon as you select the prompt to download all or part of the download, do you decide whether to download all? If yes, proceed to the following steps of the stomach P; otherwise, proceed to step (109); (104) issue the commands to download the data of each data block to the server one by one;
第8頁 515184 五、發明說明(5) ^ ( 1 0 5 )讀取下載之該等資料塊,並透過顯示器將下載 進度指示條顯示出來,以提示使用者下載進度; (1 0 6 )判斷是否完成下載?若是,繼續進行下列步 驟;否則,進行步驟(1 〇 4 ); (1 0 7 )將下載之各資料塊組合成一完整之文件; (1 0 8 )藉由顯示器將該文件顯示出來,供使用者瀏 覽,嗣,結束; ‘ (1 0 9 )從被選擇部份下載之起始資料塊,逐一發出各 資料塊數據之下載命令至伺服器; (1 1 0 )讀取下載之該等資料塊,並透過顯示器將下載 進度指示條顯示出來,以提示使用者下載進度; (1 1 1 )判斷是否完成下載?若是,進行步驟(1 0 7 );否則,繼續進行步驟(1 0 9 )。 在本發明中,請參閱第二圖所示,無線網路上之伺服 器係依據下列之步驟進行處理: (201 )首先,判斷是否收到由客戶端運用特殊網頁程 式模塊之格式發送之下載資料請求?若是,進行下列之步 驊;否則,繼續進行步驟(2 0 1 ); (2 0 2 )依據該下載資料請求自一資料庫中,讀取對應 該請求之文件; '(2 0 3 )依據無線網路傳送數據大小之限制,將該文件 分割成複數個資料塊; (2 0 4 )將該等資料塊之總塊數運用特殊網頁程式模塊 之格式,傳送至發出下載資料請求之客戶端;Page 8 515184 V. Description of the invention (5) ^ (1 0 5) Read the downloaded data blocks and display the download progress indicator through the display to remind the user of the download progress; (1 0 6) judge Did you complete the download? If yes, proceed to the following steps; otherwise, proceed to step (104); (107) combine the downloaded data blocks into a complete file; (108) display the file on the display for use The user browses, clicks, and ends; (1 0 9) From the initial data block downloaded by the selected part, issue a download command for each data block to the server; (1 1 0) read the downloaded data Block, and display the download progress indicator through the display to remind the user of the download progress; (1 1 1) determine whether the download is complete? If yes, go to step (1 0 7); otherwise, continue to step (1 0 9). In the present invention, please refer to the second figure. The server on the wireless network processes according to the following steps: (201) First, determine whether the download data received by the client using the format of the special webpage program module is received. request? If yes, proceed to the following steps; otherwise, proceed to step (2 0 1); (2 0 2) request from a database to read the file corresponding to the request based on the downloaded data; '(2 0 3) basis Restriction on the size of the data transmitted by the wireless network, the document is divided into a plurality of data blocks; (2 0 4) The total number of blocks of these data blocks is transmitted to the client that sent the data download request in the format of a special webpage program module ;
第9頁 515184 五、發明說明(6) (205)嗣,再依據客戶端發出之下載命令,逐一將該 等資料塊依序傳送至客戶端; (2 0 6 )判斷是否完成傳送?若是,結束;否則,繼續 進行步驟(2 0 5 )。 如此,本發明之方法,可達成突破無線通訊協定下載 大型資料之限制,進行下載各類型之大型資料。 以上所述,僅為本發明最佳具體實施例,惟本發明之 樽造特徵並不侷限於此,任何熟悉該項技藝者在本發明領 域内,可輕易思及之變化或修飾,皆可涵蓋在以下本案之 專利範圍。 515184 圖式簡單說明 圖示說明: 第一圖係本發明客戶端之流程圖 第二圖係本發明伺服端之流程圖Page 9 515184 V. Description of the invention (6) (205) 嗣, and then sequentially transfer these data blocks to the client one by one according to the download command issued by the client; (2 0 6) determine whether the transmission is completed? If yes, end; otherwise, continue to step (205). In this way, the method of the present invention can achieve the restriction of downloading large-scale data by wireless communication protocol, and download various types of large-scale data. The above description is only the best embodiment of the present invention, but the bottled features of the present invention are not limited to this. Anyone skilled in the art can easily think of changes or modifications in the field of the present invention. Covered in the patent scope of this case below. 515184 Brief description of the diagrams Diagram description: The first diagram is the flowchart of the client of the present invention The second diagram is the flowchart of the server of the present invention
第11頁Page 11