200926746 .九、發明說明: [發明所屬 <技術領域】 - 本發明涉及一種快速開機的手機及方法。 【先前技術】 目月手機開機時,需要將手機存儲體中存儲的應用軟 體和資料—筆一筆地讀到記憶體,等待全部讀完後,再將 所有貧料依條件進行排序。例如,對於通訊錄資料,根據 人名字母的先後順序進行排序,對於簡訊資料,根據簡訊 °的接收時間進行排序。手機中存儲的資料越多,資料讀取 和排序所需的時間就會越長。 匕著手機功能的增強,手機中存儲的資料也在逐漸增 加,目前市場上的手機都強調通訊錄和簡訊的儲存量,以 手機通訊錄的存儲量為例’目前市場上通訊錄能存儲1〇〇〇 筆以上的機型比比皆是’而由於手機的微處理器處理能力 有限’對1000筆的資料進行排序需要耗費不少時間,自然 Q 就延長了手機的開機時間。 另外,目前手機大量運用各種新穎的軟體功能(如複 雜的開機動晝),開機時必需進行各種應用軟體的初始化。 因此,開機時CPU將會有許多工作等著同時進行,此時如 果再加上 SMS, PhoneBook,MMS,EMS,IM,Wap message, e-mail及Broadcast message等資料需同時從手機存儲體 中項到δ己憶體並以各種條件加以排序,手機開機的時間將 會更長。 【發明内容】 200926746 蓉於以上内容’有必要提供—種快速開機的手機及方 法,其可縮短手機開機的時間。 一種快速開機的手機’所述手機包括: 驅動模組,用於當手機開機時驅動硬體裝置; 初始化模組,用於對手機中的應用軟體進行初始化; 頃取松組’用於從手機的存儲體中讀取資料到手機的 記憶體中;200926746. Nine, invention description: [Technical field] The present invention relates to a mobile phone and method for quick start-up. [Prior Art] When the mobile phone is turned on, it is necessary to read the application software and data stored in the mobile phone memory to the memory one by one, and wait for all the readings to be finished, and then sort all the poor materials according to the conditions. For example, for the address book data, the order is sorted according to the order of the names of the people, and the newsletter data is sorted according to the receiving time of the short message. The more data stored in the phone, the longer it takes to read and sort the data. With the enhancement of mobile phone functions, the data stored in mobile phones is gradually increasing. At present, mobile phones on the market emphasize the storage of contacts and newsletters, taking the storage capacity of mobile phone contacts as an example. The models above the pens are abundance and the processing capacity of the microprocessor is limited. It takes a lot of time to sort the 1000 data, and the natural Q extends the boot time of the mobile phone. In addition, at present, mobile phones use a variety of novel software functions (such as complex mobile computers), and it is necessary to initialize various application software when booting. Therefore, the CPU will have a lot of work waiting at the same time when booting. At this time, if you add SMS, PhoneBook, MMS, EMS, IM, Wap message, e-mail and Broadcast message, etc. By δ ** recall and sorting in various conditions, the phone will take longer to boot. [Summary of the Invention] 200926746 In the above content, it is necessary to provide a fast-starting mobile phone and method, which can shorten the time when the mobile phone is turned on. A fast-starting mobile phone includes: a driving module for driving a hardware device when the mobile phone is turned on; an initializing module for initializing an application software in the mobile phone; Reading data into the memory of the mobile phone;
排序核組,用於當手機第 中建立各種資料對應的表格, 進行排序; 一次開機時,在所述記憶體 並根據不同條件對每個表格 檔案創建模組,用於將排序完的表格轉換成 式的檔案’並將該二進位袼式的標案存儲於存儲體中·: "所述讀取模組在手機不是第一次開機時1心· 從存儲體巾讀取所述二私袼式的檔案科機記 完成手機的開機動作。 ^體中’ 一種手機快速開機的方法,包括如下步驟: 驅動硬體裝置; 對手機中的應用軟體進行初始化; 從手機的存儲體中讀取資料到手機的記憶體中. 當手機第一次開機時,在所述記憶體中建 次, 對應的表格’並根射同條件對每個祕進行種貝料 將排序完的表格轉換成二進位格式的檔, 進位格式的檔案存儲於存儲體中 ^ '將該二 當手機不是第欠開機體時中直接從存儲體中讀取所述 200926746 一進位格式的樓案到手機§己憶體中’完成手機的開機動作 ' 相較於習知技術,所述的快速開機的手機及方法,。 * 以將第一次開機時排好序的資料以二進位格式的槽案保存 在手機的存儲體中,下一次開機時’直接從所述^儲體: 讀取該二進位格式的檔案到手機記憶體中,從而省去了# 次對資料進行排序的時間,縮短了手機開機的時間。 【實施方式】 參閱圖1所示,係本發明快速開機的手機較佳實施方式 Θ 的硬體架構圖。該手機主要包括微處理器i、存儲體2、7己 憶體3及外部設備4,所述微處理器1與所述存儲體2、記憬 體3和外部設備4相連。其中,所述存儲體2中存儲有手機中 的應用軟體和資料,所述手機中存儲的資料包括:通訊錄 (用於記錄朋友的聯繫電話)、簡訊和電子郵件等。所述存 儲體2中還存儲有開機程式20,當手機開機時,所述微處理 器1將所述開機程式20調入記憶體3中,並控制所述開機程 〇 式20的執行,完成手機的開機動作。所述存儲體2是一種非Sorting a core group for creating a table corresponding to various materials in the mobile phone, sorting; and, when booting up, creating a module for each form file in the memory according to different conditions, for converting the sorted table The file of the formula 'stores the binary file in the storage body ·: " The reading module reads the second time from the storage body towel when the mobile phone is not turned on for the first time The private file system records the phone's boot action. ^中中' A method for quickly booting a mobile phone, comprising the steps of: driving a hardware device; initializing an application software in the mobile phone; reading data from the storage body of the mobile phone into the memory of the mobile phone. When booting up, it is built in the memory, and the corresponding table 'converts the same condition to convert each sorted table into a binary format file, and the carry format file is stored in the storage body. In the case of the second mobile phone, the mobile phone is not in the first power-on body, and the 200926746 one-stop format is directly read from the storage body to the mobile phone § 忆 体 体 'complete the mobile phone's boot action' compared to the conventional Technology, the fast boot phone and method described. * Save the data in the order of the first boot in the storage format of the mobile phone in the memory of the mobile phone. The next time you turn on the phone, 'directly from the memory: read the file in the binary format to In the memory of the mobile phone, the time for sorting the data is saved, which shortens the time for the mobile phone to be turned on. [Embodiment] Referring to FIG. 1 , it is a hardware architecture diagram of a preferred embodiment of the mobile phone of the present invention. The mobile phone mainly includes a microprocessor i, a memory bank 2, a memory body 3, and an external device 4, and the microprocessor 1 is connected to the memory bank 2, the memory device 3, and the external device 4. The storage body 2 stores application software and materials in the mobile phone, and the data stored in the mobile phone includes: an address book (for recording a friend's contact phone number), a short message, an email, and the like. The storage unit 2 further stores a booting program 20. When the mobile phone is powered on, the microprocessor 1 transfers the booting program 20 into the memory 3, and controls the execution of the booting process 20 to complete. The boot action of the phone. The bank 2 is a non-
掉電易失性存儲體(如NAND FLASH),所述記憶體3可以 是動態隨機存取記憶體(Dynamic Random Access Memory,DRAM )或同步動態隨機存取記憶體 (Synchronous DRAM,SDRAM)等。外部設備 4 包括 LCD 液晶顯示屏和鍵盤,用於顯示手機開機晝面及輸入資訊。 參閱圖2所示,係圖所示開機程式2〇的功能模組 圖。所述開機程式20包括驅動模組201、初始化模組202、 讀取模組203、排序模組204、檔案創建模組205和更新模組 200926746 206。本發明所稱賴岐完成—特 比程式更輪電物_ == 又太 發明以下崎翻述巾都叫财錢。 在本 所述驅動模組201用於當手___㈣ 記憶體3和外部設備4等)。 、置(如 模組202用於對應用軟體(如手機中 和計時裔等)進行初始化。The memory 3 can be a dynamic random access memory (DRAM) or a synchronous dynamic random access memory (SDRAM). The external device 4 includes an LCD liquid crystal display and a keyboard for displaying the startup screen of the mobile phone and inputting information. Refer to Figure 2, which shows the function module diagram of the boot program. The booting program 20 includes a driving module 201, an initializing module 202, a reading module 203, a sorting module 204, a file creating module 205, and an update module 200926746206. According to the invention, the Lai is completed - the special program is more rounded _ == too. The invention of the following Kawasaki is called money. The drive module 201 is used for the hand ___(four) memory 3 and the external device 4, etc.). The module 202 is used to initialize application software (such as mobile phones and timekeepers).
…所述讀取模組203用於從所述存儲體2中讀取資料 述記憶體3中。所述資料包括:軌錄、簡訊和電子郵件等 所述排序模組2_於當手機第—次開機時,在所述吃 憶體3中建立各種資料對應的表格,並根據不同條件對每個 表格進行排序。例如,對於通訊錄資料表格,可以根據人 名字母的先後順序進行排序,對於簡訊資料表格,可以根 據簡訊的接收時間進行排序。 所述檔案創建模組205用於將排序完的表格轉換成二 進位格式的標案,並將該—進位格式的標案存儲於存儲體2 中。 當下一次開機時(也即不是第一次開機時),所述讀取 模組203將直接從所述存儲體2中讀取每個排序表格對應的 二進位格式的檔案到所述記憶體3中’從而省去了再次對資 料進行排序的時間,縮短了手機開機的時間。 所述更新模組206用於當所述存儲體2中有新增的資料 時,同步更新所述新增資料對應的二進位格式檔案。舉例 而言,如果存儲體2中新增一筆通訊錄資料,則更新模組206 200926746 根據該新增的通訊錄資料中的人名字母的順序將該新增的 通訊錄資料插入該通訊錄資料對應的二進位格式檔案的相 ' 應位置。如果存儲體2中新增一條簡訊資料,則更新模組206 根據該新增的簡訊資料的接收時間將該新增的簡訊資料插 入該簡訊資料對應的二進位格式檔案的相應位置。 在本實施方式中,所述讀取模組203是從所述存儲體2 中5買取通訊錄資料,在其他實施方式中’所述讀取模組203 也可以從手機的SIM ( Subscriber Identity Model,客戶識別 模組)卡中讀取。 參閱圖3所示’係本發明手機快速開機的方法較佳實施 方式的流程圖。首先,步驟S4〇l,當手機開機時,所述驅 動模組201開始驅動硬體裝置(如記憶體3和外部設備4等)。 步驟S402,所述初始化模組202對手機中的應用軟體 (如手機中的遊戲和計時器等)進行初始化。 步驟S403,所述讀取模組203從所述存儲體2中讀取資 Ο 料到所述記憶體3中。所述資料包括:通訊錄、簡訊和電子 郵件等。 當手機第一次開機時,步驟S404,所述排序模組2〇4 在所述記憶體3中建立各種資料對應的表格,並根據不同條 件對母個表格進行排序。例如,對於通訊錄資料表格,可 以根據人名字母的先後順序進行排序,對於簡訊資料表 格’可以根據簡訊的接收時間進行排序。 步驟S405,所述檔案創建模組205將排序完的表格轉 換成二進位格式的檔案’並將該二進位格式的檔案存儲於 11 200926746 存儲體2中。 • 當下一次開機時(也即不是第一次開機時),所述读 •模組203將直接從所述存儲體2中讀取每麵序表格對^ 二進位格式的檔案到所述記憶體3中,從而省去了再欠^"欠 料進行排序的時間,縮短了手機開機的時間。 對貝 步驟S406,更新模組2〇6判斷所述存儲體2中是否有新 增的資料,如果存儲體2中沒有新增的資料,則流程钟束。 如果存儲體2中有新增的資料,步驟S407,更新模組 〇施同步更新所述新增f料對應的二進位格式槽案。舉= 言,如果存儲體2中新增一筆通訊錄資料,則更新模組篇 根據該新增的通訊錄資料中的人名字母的順序將該新增的 通訊錄資料插入該通訊錄資料對應的二進位格式檔案^相 應位置。如果存儲體2中新增一條簡訊資料,則更新模組2〇6 根據該新增的簡訊資料的接收時間將該新增的簡訊資料插 入該簡訊資料對應的二進位格式檔案的相應位置。 〇 *在本實施方式中,所述讀取模組203是從所述存儲體2 中讀取通訊錄資料,在其他實施方式中,所述讀取模紙203 也可以從手機的SIM卡中讀取。 本發明快速開機的手機及方法,雖以較佳實施方式揭 露如上,然其並非用以限定本發明。任何熟悉此項技藝之 人士,在不脫離本發明之精神及範圍内,當可做更動與潤 飾,因此本發明之保護範圍當視後附之申請專利範圍所界 定者為準。 【圊式簡單說明】 12 200926746 圖1係本發明快速開機的手機較佳實施方式的硬體架 構圖。 圖2係圖1中所示開機程式的功能模組圖。 圖3係本發明手機快速開機的方法較佳實施方式的流 程圖。 【主要元件符號說明】The read module 203 is used to read the data from the bank 2 into the memory 3. The data includes: the tracking module, the short message, the email, and the like, and the sorting module 2_ is configured to create a table corresponding to various materials in the memory object 3 when the mobile phone is turned on for the first time, and according to different conditions, Sort the tables. For example, for the address book data table, it can be sorted according to the order of the names of the people, and the newsletter data table can be sorted according to the receiving time of the newsletter. The file creation module 205 is configured to convert the sorted table into a binary formatted standard and store the label of the carry format in the bank 2. The reading module 203 will directly read the file of the binary format corresponding to each sorting table from the bank 2 to the memory 3 when the next power-on (ie, not the first time). In the middle, it saves time for sorting the data again, shortening the time for the phone to boot. The update module 206 is configured to synchronously update the binary format file corresponding to the newly added data when there is new data in the storage body 2. For example, if a new address book data is added to the bank 2, the update module 206 200926746 inserts the newly added address book data into the address book data according to the order of the person name letters in the newly added address book data. The position of the binary format file should be. If a new message data is added to the storage unit 2, the update module 206 inserts the newly added short message data into the corresponding position of the binary format file corresponding to the short message data according to the receiving time of the newly added short message data. In the embodiment, the reading module 203 buys the address book data from the bank 2, and in other embodiments, the reading module 203 can also be from the SIM of the mobile phone (Subscriber Identity Model) , customer identification module) read in the card. Referring to Figure 3, there is shown a flow chart of a preferred embodiment of the method for quickly turning on the handset of the present invention. First, in step S4, when the mobile phone is turned on, the driving module 201 starts to drive the hardware devices (such as the memory 3 and the external device 4, etc.). In step S402, the initialization module 202 initializes an application software (such as a game and a timer in the mobile phone) in the mobile phone. In step S403, the reading module 203 reads the information from the bank 2 into the memory 3. The information includes: address book, newsletter and e-mail. When the mobile phone is turned on for the first time, in step S404, the sorting module 2〇4 creates a table corresponding to various materials in the memory 3, and sorts the parent tables according to different conditions. For example, for the address book data table, it can be sorted according to the order of the names of the person names, and the newsletter data table can be sorted according to the receiving time of the newsletter. In step S405, the file creation module 205 converts the sorted table into a file of the binary format and stores the file of the binary format in the storage medium 2 of 200926746. • When the next power-on (ie, not the first time the power is turned on), the read module 203 will directly read the file of each face-to-face format from the bank 2 to the memory. 3, thus eliminating the need to re-sort the time and sorting time, shortening the time when the phone is turned on. In step S406, the update module 2〇6 determines whether there is any new data in the bank 2, and if there is no new data in the bank 2, the process clock bundles. If there is new data in the storage unit 2, in step S407, the update module implements synchronous update of the binary format slot corresponding to the new f material. For example, if a new address book data is added to the bank 2, the update module section inserts the newly added address book data into the address book data according to the order of the person name letters in the newly added address book data. Binary format file ^ corresponding location. If a new message data is added to the storage unit 2, the update module 2〇6 inserts the newly added short message data into the corresponding position of the binary format file corresponding to the short message data according to the receiving time of the newly added short message data. In the present embodiment, the reading module 203 reads the address book data from the bank 2, and in other embodiments, the reading module 203 may also be from the SIM card of the mobile phone. Read. The invention relates to a mobile phone and a method for quickly starting up the present invention, which are not limited to the present invention. Any person skilled in the art will be able to make changes and modifications without departing from the spirit and scope of the invention, and the scope of the invention is defined by the scope of the appended claims. [Simple description] 12 200926746 Fig. 1 is a block diagram of a hardware frame of a preferred embodiment of the fast-starting mobile phone of the present invention. FIG. 2 is a functional block diagram of the booting program shown in FIG. 1. Fig. 3 is a flow chart showing a preferred embodiment of the method for quickly turning on the handset of the present invention. [Main component symbol description]
微處理器 1 存儲體 2 記憶體 3 外部設備 4 開機程式 20 驅動模組 201 初始化模組 202 讀取模組 203 排序模組 204 檔案創建模組 205 更新模組 206 13Microprocessor 1 Bank 2 Memory 3 External Device 4 Boot Program 20 Driver Module 201 Initialization Module 202 Read Module 203 Sorting Module 204 File Creation Module 205 Update Module 206 13