[go: up one dir, main page]

TW201232400A - Method for pre-loading frequently launched application and electronic device using the same - Google Patents

Method for pre-loading frequently launched application and electronic device using the same Download PDF

Info

Publication number
TW201232400A
TW201232400A TW100102042A TW100102042A TW201232400A TW 201232400 A TW201232400 A TW 201232400A TW 100102042 A TW100102042 A TW 100102042A TW 100102042 A TW100102042 A TW 100102042A TW 201232400 A TW201232400 A TW 201232400A
Authority
TW
Taiwan
Prior art keywords
application
memory
size
threshold
loaded
Prior art date
Application number
TW100102042A
Other languages
Chinese (zh)
Inventor
Chun-Lin Chu
Chih-Hao Hsin
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to TW100102042A priority Critical patent/TW201232400A/en
Priority to CN2011100646142A priority patent/CN102609276A/en
Publication of TW201232400A publication Critical patent/TW201232400A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A method for pre-loading frequently launched applications and an electronic device using the same are provided. The method is adapted for an electronic device to pre-load frequently launched applications in background, and includes following procedures. It is checked whether currently used memory size is less than a first threshold. When the currently used memory size is less then the first threshold, at least a frequently launched application is selectively loaded in background. It is checked whether currently used memory size is greater than a second threshold. When the currently used memory size is greater than the second threshold, the procedure of loading the at least a frequently launched application in background is stopped. Also, the second threshold is greater than the first threshold.

Description

201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種預先載入常用應用程式 (pre-loading frequently launched applications)的方法,且特 別是有關於預先載入常用應用程式的方法及其電子裝置。 【先前技術】 目前行動裝置的運作效能明顯受限於記憶體大小。舉 例來說’行動裝置普遍僅配置256位元組或512位 兀組的揮發性記憶體。行動裝置的作業系統(operating 通常會將久未使用白勺應用程式從揮發性記憶體(例 ^體if存Γ記憶體,RAM)中移除,以提升行動裝置的 =作效能(或作執行程式的速度)。 程式錯存的:^置(通吊為非揮發性記憶體)中,找到應用 用程式完全&趣此應用喊載人敎憶體中。應 入應用程式的、⑧i後二才會開始執行此應用程式。這段載 要因素。、"^所花費的時間,一般取決於下列幾個主 程式:载式佔用記憶體的大小,此即應用 存襄置與記憶體之憶體空間愈大,則作業系統在儲 ,應用程式,例如Η : 就;fΑ。另外’不同類 或三維⑽)繪圖軟應用程式,記事本應用程式, 圆季人體應用程式,或遊戲等的執 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 明顯差異的。第二個因素為儲存装置的種類,應用程式 資料存放於不同種類的儲存裝置,則作業系統讀取資料的 速度就會不同,這也影響到應用程式載入記憶體的時間。' 例如硬碟快於光碟,而單階儲存單元儲存型快閃記^體 (SLC NAND Flash)則快於多階儲存單元儲存型快閃^ 體(MLCNANDFlash)。第三個因素為匯流排速度,匯流= 的種類影響資料的傳輸速率,因此也影響到應用程式的 入時間。第四個因素為系統負荷動態地決定作業系統目前 的忙碌程度,此因素包括是否有別的應用程式在佔用處^ 器、儲存裝置輸入/輸出(I/O) '以及佔用匯流排資源。當系 統負荷愈重時,應用程式載入時間也就愈長。 不過,應用程式的大小在應用開發後便無法改變,而 上述第二、三項因素在行動裝置的產品開發時期就已決 .定。對於作業系統而言,上述第四項是可以藉由軟體工程 技術來改善的。因此,如何提前將應用程式載入到記憶體, 讓使用者一執行便可以馬上使用,目前是一個重要的議題。 【發明内容】 承上所述,本發明之示範實施例提供一種預先载入常 用應用程摘方法及其電子職。藉蛾計麵程式被載 入的頻率數值、被載入所需記憶體的平均數值,以及是否 被認證等數據,找出可預先载入的應用程式。另外,藉由 偵測目刚使用記憶體是否足夠,來選取載入應用程式在背 景中執行,以節省载入應用程式的時間。 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 根據本發明的一示範實施例,本發明提出一種預先載 入常用應用程式的方法。所述的預先载入常用應用程式的 方法適用於電子裝置載入經常使用的至少—應用程式,真 包括以下步驟。檢查目前已使用的記憶體大小是否小於_ 第一門限值;當目前已使用的記憶體大小為小於所述第〆 門限值時’選擇性載入經常使用的至少一應用程式於背景 中執行;以及檢查目前已使用的記憶體大小是否大於一第 ❿二Η限值’其中’當目前已使用的記憶體大小為大於所述 第二門限值時,停止在背景中載入經常使用的所述至少〆 應用程式,且所述第二門限值大於所述第一門限值。 在本發明之一示範實施例中,上述的預先載入常用應 用程式的方法在檢查目前已使用的記憶體大小是否小於所 述第一門限值的步驟之前,更包括以下步驟。統計每一個 應用程式的執行次數;統計每一個應用程式載入所需要的 圮憶體大小;確認每一個應用程式是否被認證;以及根攄 上述每一個應用程式的執行次數、每一個應用程式載入所 • 冑要的記憶體大小,以及每-個應用程式是否被認證等數 據,整理一預先載入的應用程式清單。 在本發明之一示範實施例中,上述的預先載入常用應 用程式的方法在整理所述預先载入的應用程式清單的步驟 =,更包括以下步驟。根據每一個應用程式的執行次數、 每一個應用程式載入所需要的記憶體大小,以及每一個應 用程式是否被認證,來選取至少一可載入的應用程式,並 排序所述至少一可載入的應用程式至所述預先載入的應用 201232400 PNAl-AC-0075-TWXx 36870twf.doc/n 程式清單中。 . 在本發明之一示範實施例中’上述的預先载入常用應 用程式的方法在選擇性載入經常使用的所述至少一應用^ 式於背景中執行的步驟中’更包括以下步驟。從所述預先 載入的應用程式清單中,選取一最常使用的應用程式;檢 查未使用的記憶體大小是否足夠載入所選取的應用程式; 以及當未使用的記憶體大小足夠載入所選取的應用程式 時,載入所選取的應用程式於背景中執行。 在本發明之一示範實施例中’上述的先载入常用應用 程式的方法在檢查目前已使用的記憶體大小是否小於所述 第一門限值的步驟之前,更包括以下步驟。檢查目前是否 有可以預先載入的應用程式,以及當目前有可以預先載入 的應用程式時’檢查目前已使用的記憶體大小是否小於所 述第一門限值。 在本發明之一示範實施例中’上述的先载入常用應用 程式的方法更包括以下步驟。當目前已使用的記憶體大小 為小於所述第二門限值時,返回檢查目前是否有可以預先 載入的應用程式。 在本發明之一示範實施例中,上述的先载入常用應用 程式的方法在檢查是否有可以預先載入的應用程式的步驟 中,更進一步檢查所述預先載入的應用程式清單中,是否 有應用輕式尚未被嘗試預先載入於背景中執行。 根據本發明的一示範實施例,本發明提出一種電子裝 置。所述的電子裝置適用於預先載入常用應用程式,且包 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n Φ 括一儲存裝置、一記憶體模組、一資料庫模組、一應用程 式啟動單元、一作業系統模組。作業系統模組包括一記憶 體監測單元。儲存裝置包栝至少一應用程式,而資料庫模 組連接至所述儲存裝置。應用程式啟動單元,連接至所述 資料庫模組以及所述記憶體模組,以載入至少一應用程式 至記憶體模組。記憶體監測單元,連接至所述記憶體模組, 以監測目前已使用的記憶體大小。此外,當所述記憶體監 測單元確認未使用的記憶體大小足夠載入所選取的應用程 式且目前已使用的記憶體大小為小於第一門限值時,所述 應用程式啟動單元載入所述儲存裝置中的至少一應用程式 於背景中執行。 根據本發明的示範實施例’本發明提出預先載入常用 應用程式的方法及其電子裝置。藉由統計應用程式被載入 的頻率數值、統計應用程式被載入所需記憶體大小的平均 數值,以及應祕式是否被認證,整理可預先載入的岸用 程式清單。另外’藉由_目前使用記憶體的大小,可以 口 選取載入應用程式在背景中執行。據此, 可即唱載入應用程式的時間。 舉實 下文特 【實施方式】 本發明提供一種預先澈 電子裝置。㈣_ Λ Λ制程柄方法及其 用應用程式的方法為位於電子裝 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 置的作業系統中的一種記憶體管理的機制。當電子骏置具 有足夠的動態存取記憶體時,可以將一些使用者較常執^ 的應用程式(或較常載入的應用程式),悄悄地載入到動if 存取§己憶體中,但僅在背景中執行。因此,當使用者下^ 執行此應用程式時,便可以直接從動態存取記憶體上執 行,並顯示使用者指定的應用程式於視頻顯示模組中(例 如’螢幕)’因此節省了從儲存裝置載入應用程式的時間。 在本發明以下敘述中’簡稱動態存取記憶體為記憶 體’並將儲存應用程式資料的非揮發性記憶體稱為儲存^ 置。另外’所述常用的應用程式包括在記憶體中經常被載 入(frequently launched)的應用程式。 圖1是根據本發明的一示範實施例所緣示一種電子裝 置1〇的功能方塊圖。請參照圖1,此電子裝置10包括至少 一處理器模組11、一作業系統模組(或稱為操作系統模 組)12、一應用程式啟動(application launcher)單元 13、一 記憶體模組14、一資料庫模組15與一儲存裝置16。處理 器模組11連接至作業系統模組12與記憶體模組14,用以 執行記憶體模組14中的應用程式,執行作業系統模組12 以及協調管理記憶體模組14與儲存裝置16。記憶體模組 14為動態存取記憶體(RAM),或揮發性記憶體。儲存裝置 16為非揮發性記憶體,例如為快閃記憶體(flash memory)。 作業系統模組14包括一記憶體監測(memory monitor) 單元121與一學習單元122。記憶體監測單元121連接至 記憶體模組14、學習單元122與資料庫模組15。學習單元 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 122連接至資料庫模組i5。應用裎式啟動單元13連接至 業系統模組12、資料庫模組15、儲存裝置16 ,並連接至 處理器模組11與記憶體模組14。此外,資料庫模組 接至儲存裝置16。 、、 連 電子裝置10還可以包括輸入模組(例如:觸控式 出模組(例如:音頻輸出模組或‘顯: 杈、,且)寻,但本發明的重點在於電子裝置10的作業系 組12利用記憶體監測單元121與學習單元122,來統計健^ 裝置16中的各應用程式的被載入頻率(或被使用頻率卜所: 記憶體大小的平均值以及應用程式是否被認證等數據,並利= 違些數據來進行預先載入常用應用程式的方法。因此, 本揭露中不詳細介紹電子裝置1G的其他可驗成元件 在本發明中,所述的電子裝置1〇可以為任何具有 2程式的電子裝置,例如:筆記型電腦、平板電腦、行 :=¾慧型手機、手持式電子裝置、多媒體播放器與 ^ ^ 1據本發明的—τ範實施例崎示—種預先載 ,軍1日士 rf程式f要流程的示意圖。由於在電子裝置10 ^ °己隱體模組14中的記憶體的使用量會持續地改201232400 PNAI-AC-0075-TWXX 36870twf.doc/n VI. Description of the Invention: [Technical Field] The present invention relates to a method of pre-loading frequently launched applications, and There are methods for pre-loading commonly used applications and their electronic devices. [Prior Art] The operational performance of mobile devices is currently limited by the size of the memory. For example, mobile devices typically only have 256-bit or 512-bit 挥发性 groups of volatile memory. The operating system of the mobile device (operating usually removes the unused application from the volatile memory (the memory, RAM) to improve the performance of the mobile device (or as an executable program) The speed of the program: The program is wrong: ^ set (passing into non-volatile memory), find the application program completely & this application is called the person in the memory. Should be entered into the application, 8i second This application will be started. The time factor of this, and the time spent by "^, generally depends on the following main programs: the size of the memory occupied by the load, which is the application memory and memory The larger the memory space, the operating system is stored, the application program, such as Η: ;; Α 另外. In addition to 'different or three-dimensional (10)) drawing soft application, Notepad application, round season human body application, or game, etc. Obtained 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n Significant difference. The second factor is the type of storage device. When the application data is stored in different types of storage devices, the operating system can read the data at different speeds, which also affects the time the application loads the memory. For example, a hard disk is faster than a compact disk, and a single-stage memory cell flash memory (SLC NAND Flash) is faster than a multi-level memory cell memory flash memory (MLCNANDFlash). The third factor is the bus speed, and the type of sink = affects the data transfer rate, which also affects the application's entry time. The fourth factor is that the system load dynamically determines the current busyness of the operating system. This factor includes whether there are other applications in the occupancy, storage device input/output (I/O), and occupancy bus resources. The heavier the system load, the longer the application will load. However, the size of the application cannot be changed after the application is developed, and the second and third factors mentioned above have been determined during the product development period of the mobile device. For the operating system, the fourth item above can be improved by software engineering technology. Therefore, how to load the application into the memory in advance and let the user use it as soon as it is executed is an important issue. SUMMARY OF THE INVENTION As described above, an exemplary embodiment of the present invention provides a pre-loading common application extraction method and its electronic job. Find the preloadable application by the frequency value loaded by the moth meter, the average value loaded into the desired memory, and whether it is authenticated or not. In addition, by detecting whether the memory is just enough, the load application is selected to execute in the background to save time in loading the application. 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n In accordance with an exemplary embodiment of the present invention, the present invention provides a method of preloading a common application. The method of pre-loading a common application is suitable for loading at least an application that is frequently used by an electronic device, and includes the following steps. Check whether the currently used memory size is less than the _ first threshold; when the currently used memory size is less than the third threshold, at least one application that is frequently used for selective loading is executed in the background. And checking whether the currently used memory size is greater than a second limit value 'where' when the currently used memory size is greater than the second threshold value, stop loading in the background frequently used The at least one application, and the second threshold is greater than the first threshold. In an exemplary embodiment of the present invention, the method of preloading a common application includes the following steps before the step of checking whether the currently used memory size is smaller than the first threshold. Count the number of executions of each application; count the size of each application's required memory; verify that each application is authenticated; and the number of executions of each of these applications, each application Incorporate the size of the memory, and whether each application is authenticated, etc., to compile a list of pre-loaded applications. In an exemplary embodiment of the present invention, the method for pre-loading a common application is to step through the step of arranging the pre-loaded application list, and further includes the following steps. Select at least one loadable application according to the number of executions of each application, the size of the memory required for each application load, and whether each application is authenticated, and sort the at least one loadable The incoming application is in the list of pre-loaded applications 201232400 PNAl-AC-0075-TWXx 36870twf.doc/n. In an exemplary embodiment of the present invention, the above-described method of preloading a common application includes the following steps in the step of selectively loading the at least one application frequently used in the background. From the list of pre-loaded applications, select one of the most commonly used applications; check if the unused memory size is sufficient to load the selected application; and when the unused memory size is sufficient to load the application When the selected application is selected, the selected application is loaded and executed in the background. In an exemplary embodiment of the present invention, the method of loading the commonly used application described above further includes the following steps before the step of checking whether the currently used memory size is smaller than the first threshold. Check if there is currently a preloadable application and when there are currently preloadable applications, check to see if the currently used memory size is less than the first threshold. In an exemplary embodiment of the present invention, the above method of loading a commonly used application program further includes the following steps. When the currently used memory size is less than the second threshold, it returns to check if there is currently an application that can be preloaded. In an exemplary embodiment of the present invention, the method for loading a commonly used application first checks in the step of checking whether there is a preloadable application, and further checks whether the preloaded application list is There are applications that have not been attempted to be preloaded into the background for execution. In accordance with an exemplary embodiment of the present invention, the present invention provides an electronic device. The electronic device is suitable for pre-loading a common application, and the package 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n Φ includes a storage device, a memory module, a database module, and an application. Start unit, a working system module. The operating system module includes a memory monitoring unit. The storage device includes at least one application, and the library module is coupled to the storage device. An application launching unit is coupled to the database module and the memory module to load at least one application to the memory module. A memory monitoring unit is coupled to the memory module to monitor the size of the memory currently in use. In addition, when the memory monitoring unit confirms that the unused memory size is sufficient to load the selected application and the currently used memory size is less than the first threshold, the application startup unit loads the location At least one application in the storage device is executed in the background. According to an exemplary embodiment of the present invention, the present invention proposes a method of preloading a common application and an electronic device thereof. The list of preloaded shoreloaders is compiled by counting the frequency values loaded by the application, the statistical application being loaded with the average value of the required memory size, and whether the secret is authenticated. In addition, by using the size of the current memory, you can choose to load the application to execute in the background. According to this, you can sing the time to load the application. DETAILED DESCRIPTION OF THE INVENTION The present invention provides a pre-clear electronic device. (4) The _ Λ Λ process handle method and its application method are a memory management mechanism in the operating system of the electronic device 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n. When the electronic master has enough dynamic access memory, some applications that are more commonly used by the user (or the more frequently loaded applications) can be quietly loaded into the if if access. Medium, but only executed in the background. Therefore, when the user executes the application, the application can be directly executed from the dynamic access memory, and the user-specified application is displayed in the video display module (for example, 'screen'), thereby saving storage. The time the device loaded the app. In the following description of the present invention, the term "the dynamic access memory is referred to as a memory" and the non-volatile memory storing the application data is referred to as a storage. In addition, the commonly used applications include applications that are frequently launched in memory. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a functional block diagram showing an electronic device 1A according to an exemplary embodiment of the present invention. Referring to FIG. 1 , the electronic device 10 includes at least one processor module 11 , an operating system module (or operating system module) 12 , an application launcher unit 13 , and a memory module. 14. A database module 15 and a storage device 16. The processor module 11 is connected to the operating system module 12 and the memory module 14 for executing an application in the memory module 14, executing the operating system module 12, and coordinating the management memory module 14 and the storage device 16. . The memory module 14 is a dynamic access memory (RAM), or a volatile memory. The storage device 16 is a non-volatile memory such as a flash memory. The operating system module 14 includes a memory monitor unit 121 and a learning unit 122. The memory monitoring unit 121 is connected to the memory module 14, the learning unit 122, and the database module 15. Learning unit 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 122 is connected to the library module i5. The application start unit 13 is connected to the system module 12, the database module 15, the storage device 16, and is connected to the processor module 11 and the memory module 14. In addition, the database module is connected to the storage device 16. The electronic device 10 may further include an input module (for example, a touch-type output module (for example, an audio output module or an audio display module), but the focus of the present invention is on the operation of the electronic device 10. The system 12 uses the memory monitoring unit 121 and the learning unit 122 to count the loaded frequency (or frequency of use) of each application in the device 16: the average value of the memory size and whether the application is authenticated. The method of pre-loading the commonly used application is not described in detail in the data. Therefore, other detectable components of the electronic device 1G are not described in detail in the present disclosure. In the present invention, the electronic device 1 can be For any electronic device with 2 programs, such as: notebook, tablet, line: = 3⁄4 smart phone, handheld electronic device, multimedia player and ^ ^ 1 according to the invention - τ fan embodiment - A pre-loaded, schematic diagram of the flow of the military 1st sf program. Since the amount of memory in the electronic device 10 ^ hidden module 14 will continue to change

使用量(或作記憶體使用量)降低到如同文 =門限值(或作門_時,此即圖2中的A 作業系統模組12即可以開始在背景 二「或多個經常使用(或經常被載入)的綱 n组14中一旦開始預先載人應用程式的流程, 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 記憶體模組14中的記憶體使用量便會持續地上升。接著, -旦達到了如同圖2所示的第二n限值時,此即圖2中的 B狀態,預先載入應用程式的流程便會停止。所述的第一 門限值例如為記憶體模組14中所有記憶體容量的3〇%的 水平,而所述的第二門限值例如為記憶體模纽14 憶體容量的80%的水平。 ° 為了達成上述預先载人常用應用程式 目的,電子裝置10需要具備一此功能。策, 二力 第〜個功能為統計 各應用粒式被使用錢行的次數,以算^ 用程式是哪些。第二個功m、目⑴以*,破執盯的應 栋用μ.靜* η。為 統的剩餘記憶體(尚未 使用的此體大小)只有在記顏大小 重新載入(—g)1三個功能為統計^= 個應用程式可能佔用⑷_}的記T置 些數據可以在每次應用程式被執行後記錄S,=; 次記錄後便可以算出〜個平均值。 、來而I過夕 因此,電子裝置10夕从聲么 122被設置來統12巾的學習單元 計儲存裝置16中每 憶體大小。作業系統模心2 φ二二$、(或所需要)的5己 測記憶體模組14的目前記憶體使己用:體2單元121則監 14的目前剩餘記憶體。另〔_里’或檢測記憶體模組 攄,即為各;》用程h 卜’還可以再加上第三維度的數 據P為各應用私式X否為獨立單位 體廠商)所認證過,來決定3末心1 权體嚴商或硬 中。應用程式啟動單元13:夾::程式預先載入在背景 則用來啟動被選取的應用程式。 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 學習單元12 2統計每一個應用程式的執行次數,統計 每一個應用程式載入所需要的記憶體大小,確認每—個應 用程式是否被認證’以及根據上述每—個應用程式的執行 次數、每一個應用程式載入所需要的記憶體大小,以及 一個應用程式是否被認證等數據,整理_預先載入的應: 程式清單(未繪示),並儲存所述預先狀的制程式^ 於所述資料庫模組15中。同時,學習單元122還提供=— 個應用程式的執行次數,以及每個應用程式可能佔用' = 需要)的平均記憶體大小數值給資料庫模組。 更進-步說明’學習單元122根據每一個應用程式的 執二次數、每一個應用程式載入所需要的記憶體大小,以 及母一個應用程式是否被認證,來選取至少一 „處並排序所述至少一可載入的應用程式至所 載入^用程式清單中。另外,作業系統模組12 ^ =應用程式是否被認證的數據給資料庫模組15。資料: 模、,且15則紀錄每-個應用程式被使用、— 個應用程式可能制(或所需要)的記憶體n’t 個應用程式是倾認證過。儲存裝置丨 , 用程式的資料。 笊儲存母一個應 應用程式啟動單元13則由儲存裝置16 =程;=將;用或多個歸式栽入至 更進乂 5兒月,應用程式啟動單元13可以截 個應用程式在背景中執行。記憶體監測 ,一或二 已使用的記憶體大小。另外,當所述記憶體監測S3 11 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 經過檢查,確認未使用的記憶體大小足夠載入所選取的應 用程式且目前已使用的記憶體大小為小於一第一門限值 時,則應用程式啟動單元13載入儲存裝置16中的至少一 應用程式於背景中執行。 當所述記憶體監測單元121經過檢查,確認目前已使 用的記憶體大小為大於一第二門限值時,則應用程式啟動 單元13停止載入所選取的應用程式的程序。 以下將會參照表1來概略介紹記憶體監測單元121與 學習單元122所統計或獲得的數據,以及根據所獲得的數 籲 據來排定應用程式被預先載入的優先次序。請參照表1,舉 例說明原先在儲存裝置16中有5個應用程式,分別為應用 程式1〜應用程式5。學習單元122可在一學習時間内,統計 應用程式1〜應用程式5被使用者執行的次數,並獲得所有 應用程式的最常載入頻率的順序例如為應用程式5 >應用程 式4>應用程式3>應用程式2>應用程式卜所述的學習時間^ 為數日、數週、數月。 表1 應用 程式 編號 最常載入 頻率的順 序 載入頻 率的得 分 記憶體 使用量 (位元 組) 記憶體 使用量 的得分 是否被 認證 認證得 分 總積分 1 5 1 300 3 是 1 5 2 4 2 200 4 否 0 -—-- 6 3 3 3 100 5 是 1 ------ 9 4 2 4 500 1 否 0 — 〜 5 5 1 5 400 2 是 1 -—一 8The usage amount (or memory usage) is reduced to the same as the text = threshold (or gate _, this is the A operating system module 12 in Figure 2 can start in the background 2 or more frequently used (or Once the pre-loaded application process is started in the group n 14 that is often loaded, the memory usage in the memory module 14 will continue to rise in 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n Then, when the second n-limit value as shown in Fig. 2 is reached, this is the B state in Fig. 2, and the process of preloading the application program is stopped. The first threshold value is, for example, The level of all memory capacity in the memory module 14 is 3%, and the second threshold is, for example, a level of 80% of the memory capacity of the memory module 14. ° In order to achieve the above-mentioned pre-loading For the purpose of the application, the electronic device 10 needs to have one function. The policy is to count the number of times the application is used to calculate the number of money lines to calculate which program is used. The second function m, the target (1) With *, the stubborn star should use μ. static * η. The remaining memory of the system (not used yet) Body size) only reloads in the size of the face (-g)1. The three functions are counted. ^= The application may occupy (4)_}. The data can be recorded after each application is executed. After the secondary recording, it is possible to calculate the average value. Therefore, the electronic device 10 is set to the size of each memory in the learning unit 16 of the learning unit. 2 φ二二$, (or as needed) the current memory of the 5 memory memory module 14 is used: the body 2 unit 121 monitors the current remaining memory of 14. The other [_里' or the detection memory Module 摅, that is, each; "use h h" can also be added to the third dimension of the data P for each application private X is not a separate unit manufacturer) to determine the 3 end of the heart 1 Strict or hard. Application launch unit 13: Clip:: Program preloaded in the background to launch the selected application. 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n Learning unit 12 2 Statistics per The number of executions of an application, counting the amount of memory required for each application to load. Whether each application is authenticated' and based on the number of executions of each of the above applications, the size of the memory required for each application, and whether an application is authenticated, etc. The program list (not shown) and the pre-formatted program are stored in the database module 15. At the same time, the learning unit 122 provides the number of executions of the - application, and each The application may take up the average memory size value of ' = required) to the database module. Further step-by-step description 'Learning unit 122 loads the required memory according to the number of executions of each application and each application. The size, and whether the parent application is authenticated, select at least one and sort the at least one loadable application into the list of loaded applications. In addition, the operating system module 12^= whether the application is authenticated to the database module 15. Data: Mode, and 15 records that every application is used, and the application's possible (or required) memory n't applications are certified. Storage device 丨, program data.笊Storage mother application application start unit 13 is stored by the storage device 16 ==; will; with or more categorization into more than 5 months, the application launch unit 13 can intercept an application in the background carried out. Memory monitoring, one or two memory sizes used. In addition, when the memory monitor S3 11 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n is checked, it is confirmed that the unused memory is large enough to load the selected application and the currently used memory size is When less than a first threshold, the application launch unit 13 loads at least one application in the storage device 16 to execute in the background. When the memory monitoring unit 121 checks to confirm that the currently used memory size is greater than a second threshold, the application launch unit 13 stops loading the program of the selected application. The data counted or obtained by the memory monitoring unit 121 and the learning unit 122 will be briefly described below with reference to Table 1, and the priority order in which the applications are preloaded is scheduled based on the obtained data. Please refer to Table 1, for example, there are five applications in the storage device 16, which are Application 1 to Application 5. The learning unit 122 can count the number of times the application 1 to the application 5 are executed by the user within a learning time, and obtain the order of the most frequently loaded frequencies of all the applications, for example, the application 5 > the application 4 > application The learning time ^ described in Program 3 > Application 2 > Application is several days, weeks, and months. Table 1 Application number The most frequently loaded frequency of the sequence load frequency score memory usage (bytes) Is the memory usage score scored by the certification certification score total points 1 5 1 300 3 is 1 5 2 4 2 200 4 No 0 ---- 6 3 3 3 100 5 Yes 1 ------ 9 4 2 4 500 1 No 0 — ~ 5 5 1 5 400 2 Yes 1 -—1 8

S 12 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 元=實施範例有5個應用程式,因此學習單 分)岸Γ應用程式5(5分)、應用程式_ Λ㈣2(2分)、_式…分)。 體監測單元序,學習單元122還藉由記憶 =(^_的 :===: 平均值。如表1所示,應用程式 體的平均值分別為:300位元組 (二)200位歧、100位元組、500位元組、400位元組。 學習早το 122可根據所需要記龍的平均值 用最少記憶體的應用程式猝得畏古八 吏 =個載入頻率的得分:例如:二^ 5^分)^)、應用程式3(5分)、應用程式4(1分)、應用程式 至於認證的得分’僅有魏證的應 有被認證的應用程式得〇分。有上述此3個面向可綜;J用又 t為應用程式1(5分)、應用程式2(£分)、應用程 式3(9分)、應用程式4么分)、應用程 代表此應用程式目前未被認證。本發觀 ^:的5個應贿式,錢子裝置1Q的儲存裝置16可以 =予個應用程式的資料。而表1中的各數據僅作為解 貫施方式之用,並雜定本發明。因此,在其他可能 的貧施例令,本發明的儲存裝置可以具有超過5個庫用 13 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 程式,或是少於5個應用程式。所述的應用程式例如為: 計算機應用程式、電子郵件觀器應用程式、社群網站應 用程式、網頁瀏覽器、遊戲等。 另外’上述表1中的數據可以被儲存在資料庫模組15 中。介紹可用於預先載入常用應用程式之方法的電子裝置 10的主要7C件及其對應的基本功能後,以下將參照圖3來 概略性地介紹預先載入常用應用程式的方法。 圖3是根據本發明的一示範實施例所綠示一種預先 入常用制程式的方法的魏方塊圖。此預 :3 =式的方法3⑻起始於步驟S3⑽,在步驟幻 統計每—個應用程式的執行次 數以及,、先计母一個應用程式被載入 小的平均數值。另外,在步驟_ + 可以根據上述數據,㈣有翻程式的執行次數* = 應用程式載入所需要的平均記侉體 /、母一個 載入的應用程式至-個預先載::::程先 ==:=:::=用程式是否被 程式排序至-個預S 12 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n yuan = implementation example has 5 applications, so learn single point) shore application 5 (5 points), application _ Λ (four) 2 (2 points), _ Formula... points). The body monitoring unit sequence, the learning unit 122 also by memory = (^_: ===: average. As shown in Table 1, the average value of the application body is: 300 bytes (two) 200 bit difference 100 octets, 500 octets, 400 octets. Learning early το 122 can be based on the average value of the required dragons with the least memory application 猝 古 吏 吏 = = = For example: 2^5^ points)^), application 3 (5 points), application 4 (1 point), application score for certification 'only certified applications should be scored. There are three aspects of the above-mentioned aspects; J uses t for application 1 (5 points), application 2 (£ points), application 3 (9 points), application 4 points, and the application represents this application. The program is currently not certified. The five views of the present view:: The storage device 16 of the money device 1Q can be given the data of an application. The data in Table 1 is only used as a solution, and the present invention is mixed. Therefore, in other possible lean embodiments, the storage device of the present invention can have more than 5 libraries, 13 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n programs, or less than 5 applications. The applications are, for example, computer applications, email viewer applications, social networking applications, web browsers, games, and the like. Further, the data in Table 1 above may be stored in the database module 15. After introducing the main 7C components of the electronic device 10 that can be used to preload the commonly used application and their corresponding basic functions, a method of preloading a common application will be briefly described below with reference to FIG. 3 is a block diagram of a method of pre-entering a conventional program in accordance with an exemplary embodiment of the present invention. This pre-composition: 3 = method 3 (8) starts at step S3 (10), in the step scam counts the number of executions of each application, and, first, an application is loaded with a small average value. In addition, in step _ + can be based on the above data, (4) the number of executions of the program * * the application needs to load the required average file body /, the parent one loaded application to - preloaded :::: First ==:=:::= Whether the program is sorted by program to - pre

在步驟S3G4中,電子褒置1G 根據上述數據,即所有應用程式 欠組12則 程式被載入時所需要的平均記憶體數與母一個應用 常用應用程式的流程。此預先载入,執行預先载入 吊用應用程式的方法 201232400 PNAI-AC-0075-TWXX 3687〇twf.doc/„ 300在步驟S304後結束。 圖4是根據本發明的一示範實施例所緣示電子 運作的示意圖。圖4繪示在步驟隨中,卿系 12可能執行的動作。在步驟請4中,假設原本記憶^ :Η中:已有兩個應用程式⑷、142已經被載入:由: 業糸統她12來運作。記憶體監測單幻22仙到 用的記憶體大小低於如圖2所示的第_門限值,因此發 -個通知信號(notification)給作業系統模組12。作業L 模組12接㈣通知信驗,進—步蚊要啟動哪些應用^ 式’可以根據應雜式的執行次數與每—個應用程 = 要的平均記憶體大小(或每-制程式被載人時的記憶f 使用大小預估值)’來決定哪些應用程式可以被預先载二 在圖4的實施例中’假設目前記憶體大小僅足夠再载入 -個應用程式,而作業系統模組12選取要預先載人應用程 式143,而所使用的記憶體大小仍不會超過如圖2所示 第二門限值。因此,應用程式啟動單幻3可以將應用程式 143載入至記憶體模組Μ中,但於背景中執行,而不顯示 在視頻顯雜組中。在圖4竹X虛線表示的應隸式143 即代表此應用程式143為在$景巾執行。假若使用者稍後 選取啟動應用程式143 ’作業系統模組12可立即將已預先 载入的應用程式143顯示在視頻|貝示模組中。據此,可以 節省載入所需的時間。 圖5是根據本發明的一示範實施例所繪示另一種預先 載入常用應用程式的方法500的叻能方塊圖。此預先载入 15 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 常用應雜式的方法· 法·’但更清楚地介紹上述步驟—^ = 此預先載人常_程式的方法_起始# ,S502 ^綠步驟S302,因此在此不重述娜 二在步驟隨卜開始執行預先载入常用應用程式的In step S3G4, the electronic device 1G is based on the above data, that is, the average memory required for all applications to be loaded into the group 12 and the flow of the application of the parent application. This preloading, method of executing the preloading application is 201232400 PNAI-AC-0075-TWXX 3687〇twf.doc/„ 300 ends after step S304. Fig. 4 is a perspective of an exemplary embodiment of the present invention. A schematic diagram showing the operation of the electronic device. Figure 4 shows the actions that the Qing system 12 may perform in the step. In the fourth step, assume that the original memory ^: Η: two applications (4), 142 have been loaded : by: industry system, she operates 12. The memory monitors the single illusion 22 sen to use the memory size lower than the _th threshold shown in Figure 2, so send a notification signal (notification) to the operating system Group 12. The operation L module 12 is connected to the (four) notification letter, and the application of the step-by-step mosquito can be based on the number of executions of the application and the average memory size of each application (or per-application). When the program is loaded, the memory f uses the size estimate) to determine which applications can be preloaded in the embodiment of Figure 4. 'Assume that the current memory size is only enough to load another application, and The operating system module 12 selects the pre-loaded application 1 43, and the size of the memory used will not exceed the second threshold shown in Figure 2. Therefore, the application launches the single magic 3 to load the application 143 into the memory module, but in the background. Executed in the video display group. In Figure 4, the bamboo X-line indicates that the application 143 means that the application 143 is executed in the $scene. If the user selects the launch application 143 'job later The system module 12 can immediately display the pre-loaded application 143 in the video|beauty module. According to this, the time required for loading can be saved. Fig. 5 is a drawing according to an exemplary embodiment of the present invention. An alternative block diagram of a method 500 preloaded with a common application. This preloaded 15 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n commonly used method of method · method · 'but more clearly Introduce the above steps - ^ = this pre-loaded _ program's method _ start #, S502 ^ green step S302, so here is no restatement of Na 2 at the beginning of the step to perform pre-loading of commonly used applications

=驟S506中,作業系統模組12檢查是否有可預先 载入的應用程式。在此假設在步驟S5Q4之前,學習單元 122已經根據類似在表!中所示的總積分,將已認證過的 應用程式依照可預鍵人的助程式的優先次序,並逐z 檢查在此可預先載人的應餘式的優先次序巾,是否每〆 個應用程式都曾經被嘗試被預先载入至 组14In step S506, the operating system module 12 checks if there is a preloadable application. It is assumed here that before step S5Q4, the learning unit 122 has been based on the similar table! The total points shown in the table, according to the priority of the pre-keyed helper program, and check the priority order of the pre-loadable person in advance, whether each application Programs have been tried to be preloaded into group 14

二。換言之,在檢查是否有可以贱狀的應雜式的步 彳S506中,作業系統模組12檢查所述預先載入的應用程 ^清單中’是衫應隸式尚未被f試預先載人於背景中 或者,學習單元122藉由檢查在預先載人的應用程 2單中,是否有應用程式尚未被f試預先載人於背景中 行,來判斷目前是否有可以預先載入的一或多個應用程 式。 ,假若在步驟S506中,沒有可預先載入的應用程式, =在步驟S506之後,此預先載入常用應用程式的方法5〇〇 ,束。或者,假若在步驟S506中,可預先载入的應用程 式都已經被嘗試預先載入至記憶體模組14中,但可能不符 合後續的步驟S508、步驟S512或步驟S516中的判斷式而two. In other words, in the step S506 of checking whether there is a shackle, the operating system module 12 checks the pre-loaded application list, and the slogan has not been pre-loaded by the f test. In the background, the learning unit 122 determines whether there is one or more preloadable devices by checking whether the application has not been pre-loaded in the background in the pre-loaded application list. application. If there is no pre-loadable application in step S506, then after step S506, the method of pre-loading the common application is bundled. Alternatively, if the preloaded application has been attempted to be preloaded into the memory module 14 in step S506, it may not conform to the subsequent judgments in step S508, step S512 or step S516.

S 16 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 無法成功被載入,則此預先載入常用應用程式的方法5⑻ 在步驟S506之後即結束。相反地,假若在步驟S5%中, 有可預先載入的應用程式,且尚未被嘗試預先載入至記憶 體模組14中,則在步驟S5〇6之後,接續進行步驟s5〇8。 在步驟S508中,記憶體監測單元121檢查目前已使 用的記憶體是否大小小於第一門限值。假若在步驟S5〇8 中,§己憶體監測單元121確認目前已使用的記憶體大小為 φ 小於第一門限值,則接續進行步驟S510。相反地,假若在 步“ S508中,§己憶體監測單元121嫁認目前已使用的記 憶體大小為大於等於第一門限值,則返回進行步驟S5〇6。 在步驟S510中,作業系統模組12從可預先載入的應 用程式清單中,選取一最常使用的應用程式。舉例說明, 在可預先載入的應用程式清單中有3個應用程式符合要 求,但其中有2個應用程式已經被嘗試預先載入,但是在 步驟S504、S506、S510或步驟S514中不符合預設的條件, 則作業系統模組12會選取尚未被嘗試預先載入的第3個應 • 用程式。在步驟S512中,作業系統模組12檢查目前未使 用記憶體的大小是否足夠載入已選取的應用程式。 假若在步驟S512中,記憶體監測單元121確認目前 未使用記憶體的大小不足夠載入已選取的應用程式,則在 步驟S512之後’返回進行步驟。相反地’假若在步 驟S512中,記憶體監測單元121確認未使用記憶體的大 小足夠載入已選取的應用程式,則在步驟S512之後’接 續進行步驟S514。 17 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 在步驟S514中,應用程式啟勁單元13載入已選取的 應用程式於背景中執行。此即’類似圖4所示的應用程式 143。在步驟S516中,記憶體監測單元121檢查目前已使 用的記憶體大小是否大於第二門限值。若在步驟S516中, 記憶體監測單元121確認目前已使用的記憶體大小為大於 第二門限值,則在步驟S516之後,停止載入已選&的應 用程式於背景中執行’此預先載入常用應用程式的方^ 500結束。相反地,假若在步驟S516中,記憶體監測單元 121確認目前已使用的記憶體大小為小於等於第二門限 值,則在步驟S516之後,返回進行步驟S5〇6。 又 在此值得-提的是,由於目前已使用的記憶體大小為 小於等於第二門限值時,會返回進行步驟S5()6,可能 =過-織雜式觀縫人㈣景巾執行,且此狀= 決於電子裝置10航,隨驗丨4的錢 上述步驟S510、步驟S512與步驟S514 : 中’综整為選擇性載人經常使用的〃他實施例 程式於背景中執行。 用的應、用程式或多個應用 本發明並非限定於上述,且步驟幻 以有其他可能的實施方式。由於在 ^驟漏叮 用程式被就載人❾肢次序可卩是依 巾’選擇應 積分來進行排序。假若遇到兩個1所示的總 總積分相同時’應用程式被預先 =用程= 「每一個應用程式的執行次數」高於^優先次序可以根據 需記憶體大小」的判斷方式,來=栽人此應用程式所 應用程^行排序。 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 舉例說明,請參照圖4,假若應用程式 應_式⑷尚未被载人到記憶體模 ^ 此些應用程式之「每一個瘅田 、 中 應用程式141>應餘式====數」的排序為 萨彳沾「被X LL成m 應用私式143,但是此些應用 广、*此應用程式所需記憶體大 由於應用程式⑷具#最^「二^上述假設狀況下’ 此作業系統模組U可====::頻率」數值’因 用Μ、、主留用Μ 141排在可預先戴入的應 有r ^ /月「哉μ庙順位。接著,作業系統模組12可將具 ,較小ft入此應用程式所需記憶體大 ί:=預r入的應用程式清單中的第 耻狀的刺程式清科的最後 預先根據上述的示範實施例,本發明提供-種 預先载人“制料的方法及其電衫置。藉 應餘錢載人的解練、崎_程式被 ί,二大小的平均數值,以及應用程式是否被認 2電子裝置的目前使用記憶體的大小,可以適時:;;員 中,但單巾,選取應隸式獻到記憶體 用程柄時Γ 此,可節省從儲存裝置載入應 ^本發明6以實關減如上,然其並_以限定 努月,任何所屬技術領域中具有通常知識者,在不脫離 19 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 本發明之精神和範_,當可作些許之 發明之保護範圍當視後附之申請專利範圍所界$為:本 【圖式簡單說明】 圖1是根據本發_-示範實 置的功能方塊ffi。 谓、日V-種電子裝 二是根據本發明的-示範實施例所繪 入常用應祕式主要流程的示意圖。 徑預先载 圖3是根據本發明的-示範實施例所綠示 入常用應用程式的方法的功能方塊圖。 圖4是根據本發明的一示範實施例所繪示電子 作的示意圖。 、運 圖5是根據本發明的一示範實施例所繪示另—種預先 載入常用應用程式的方法的功能方塊圖。 【主要元件符號說明】 10 :電子裝置 11 :處理器模組 12 :作業系統模組 121 :記憶體監測單元 122 :學習單元 123 :高頻介質基板 13 :應用程式啟動單元 14 :記憶體模組 141、142、143 :應用程式 15 ·資料庫模多且 16 :儲存裝置 300、500:預先載入常用應用 程式的方法 405 :第五部 406 :第六部 A、B :狀態 S302〜S304 、 S502〜S516 :步 驟S 16 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n cannot be successfully loaded, then the method 5(8) of preloading the usual application ends after step S506. Conversely, if there is a preloadable application in step S5% and has not been attempted to be preloaded into the memory module 14, then step s5 〇 8 is followed by step s5 〇 8. In step S508, the memory monitoring unit 121 checks whether the currently used memory is smaller than the first threshold. If, in step S5〇8, the memory unit 121 confirms that the currently used memory size is φ less than the first threshold value, step S510 is continued. On the contrary, if in step S508, the hex memory monitoring unit 121 marries that the currently used memory size is equal to or greater than the first threshold value, the process returns to step S5 〇 6. In step S510, the operating system Module 12 selects one of the most commonly used applications from a list of preloadable applications. For example, three applications meet the requirements in the list of preloadable applications, but there are 2 applications. The program has been attempted to be preloaded, but in step S504, S506, S510 or step S514, the default condition is not met, and the operating system module 12 selects the third application that has not been attempted to be preloaded. In step S512, the operating system module 12 checks whether the size of the currently unused memory is sufficient to load the selected application. If in step S512, the memory monitoring unit 121 confirms that the size of the currently unused memory is not sufficient. After the selected application is entered, the process returns to step S512. Conversely, if in step S512, the memory monitoring unit 121 confirms that the memory is not used. If the size is sufficient to load the selected application, then step S514 is followed by step S514. 17 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n In step S514, the application startup unit 13 loads the loaded The selected application is executed in the background. This is 'similar to the application 143 shown in Fig. 4. In step S516, the memory monitoring unit 121 checks whether the currently used memory size is greater than the second threshold. In step S516, the memory monitoring unit 121 confirms that the currently used memory size is greater than the second threshold, and after step S516, stops loading the selected & application to perform 'preloading' in the background. The routine application 500 ends. Conversely, if the memory monitoring unit 121 confirms that the currently used memory size is equal to or less than the second threshold in step S516, then after step S516, the process returns to step S5. 〇 6. It is worthwhile to mention that, since the memory size currently used is less than or equal to the second threshold, it will return to step S5()6, possibly = over-weaving The sewing person (4) the scarf is executed, and the shape = depends on the electronic device 10, and the money of the inspection 4 is the above steps S510, S512, and S514: in the embodiment of the invention The program is executed in the background. The application, application or application of the invention is not limited to the above, and the steps are illusory to have other possible implementations.卩 依 依 巾 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择 选择According to the way of determining the size of the memory, it is used to sort the application lines of the application. 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n For example, please refer to Figure 4, if the application should be _-type (4) has not been loaded into the memory module ^ "Applications for each of the fields" The program 141 > should be the remainder ====number" is sorted by Sa 彳 「 "X LL into m application private 143, but these applications are wide, * This application requires large memory due to the application (4) with # The most ^ "2 ^ under the above assumptions] This operating system module U can ====:: frequency "value" due to the use of Μ, the main retention Μ 141 ranked in the pre-wearable should be r ^ / month "哉μ Temple order. Next, the operating system module 12 can put the smaller ft into the memory required by the application. ::= Pre-ragged application list in the list of the shame-like thorns In accordance with the above-described exemplary embodiments, the present invention provides a method of pre-loading "materials" and their electric shirts. The amount of money that can be used to carry people, the average value of the size of the two, and whether the application is recognized by the current memory size of the electronic device can be timely:; When the selection is applied to the memory handle, it can save the load from the storage device. The invention is reduced to the above, but it is limited to any one of the technical fields. Without departing from 19 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n The spirit and scope of the invention, when the scope of protection of some inventions can be seen, the scope of the patent application is bounded by: Brief Description of the Drawings Fig. 1 is a functional block ffi implemented according to the present invention. The present invention is a schematic diagram of the main flow of the commonly used secret method according to the exemplary embodiment of the present invention. Trail Preload Figure 3 is a functional block diagram of a method of displaying a green application in accordance with an exemplary embodiment of the present invention. 4 is a schematic diagram of an electronic circuit in accordance with an exemplary embodiment of the present invention. Figure 5 is a functional block diagram of another method of preloading a commonly used application, in accordance with an exemplary embodiment of the present invention. [Main component symbol description] 10: Electronic device 11: Processor module 12: Operating system module 121: Memory monitoring unit 122: Learning unit 123: High frequency dielectric substrate 13: Application startup unit 14: Memory module 141, 142, 143: application 15 · database module and 16 : storage device 300, 500: method 405 preloading a common application: fifth part 406: sixth part A, B: state S302 ~ S304, S502~S516: Steps

Claims (1)

201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 七、申請專利範圍: 1· 一種預先載入常用應用程式的方法,適用於一電子 裝置載入經常使用的至少一應用程式,該方法包括: 檢查目剞已使用的記憶體大小是否小於〆第一門限 值; 當目前已使用的記憶體大小為小於所述第一門限值201232400 PNAI-AC-0075-TWXX 36870twf.doc/n VII. Patent Application Range: 1. A method for preloading a common application, which is suitable for loading an electronic device into at least one application that is frequently used, and the method includes: Check whether the size of the used memory is less than the first threshold; when the currently used memory size is less than the first threshold 時’選擇性載人經常使用的至少―應用程式於背景中執 行;以及 " 檢查目前已使用的記憶體大小是否大於/第二門限 值,其中, 當目前已使用的記憶體大小為大於所述第二門限 值時,停止載入經常使用的所述 式於背景 執行,且所述第二門限值大於所述;一=值。 2.如申請專利範圍第1項所述的方法,在檢查目前已 使用的。己f思體大小是否小於所述第_門限值的步驟之前, 所述的方法更包括: 統計每一個應用程式的執行次數; 統計,—個應用程式載人所需要的記 憶體大小; 確認每-個應用程式是否被認證;以及 1U應用程式的執行次數、每一個應用程 Γ載入所需要的記憶體大小,以及每-個應用程式是否被 認'證等數據^整理―預先載入的應用程式清單。 3. ★ 專利範圍帛2項所述的方法,在整理所述預 先载入的應m清單的步驟中,所述的方法更包括: 21 36870twf.doc/n 201232400 finai-aC-0075-TWXX 根據每,個應用程式的執行次數、每一個應用程式載 入所需要的記憶體大小,以及每一個應用程式是否被切 證’來選取至少-可載人的應用程式,並排序所述至少二 可載入的應用程式至所述預先載入的應用程式清單中。 4.如申請專利範圍第3項所述的方法,其中,在選擇 性載入經常使用的所述至少-應用程式於背景中執行的步 驟中,所述的方法更包括: 從所述預先載入的應用程式清單中,選取一最常使用 的應用程式; 春 檢查未使用的s己憶體大小是否足夠載入所選取的應用 裎式;以及 當未使用的5己憶體大小足夠載入所選取的應用程式 時,載入所選取的應用程式於背景中執行。 5·如申請專利範圍第2項所述的方法,其中在檢查目 前已使用的記憶體大小是否小於所述第一門限值的步驟之 前,所述的方法更包括: 檢查目前是否有可以預先載入的應用程式;以及 鲁 當目前有可以預先載入的應用程式時,檢查目前已使 用的記憶體大小是否小於所述第一門限值。 6. 如申請專利範圍第5項所述的方法,其中,當目前 已使用的記憶體大小為小於所述第二門限值時,返回檢查 目前是否有可以預先載入的應用程式。 7. 如申請專利範圍第5項所述的方法,其中,在檢查 是否有玎以預先载入的應用程式的步驟中,所述的方法更 £ 22 201232400 PNAI-AC-0075-TWXX 36870twf.doc/n 包括: 檢查所述預先載入的應用程式清單中,是否有應用程 式尚未被嘗試預先載入於背景中執行。 8. —種電子裝置,適用於預先載入常用應用程式,該 電子裝置包括: 一儲存裝置’包括至少一應用程式; 一記憶體模組; 一資料庫模組,連接至所述儲存裝置; 一應用程式啟動單元,連接至所述資料庫模組,以及 所述記憶體模組,以載入至少一應用程式炱記憶體模組; 一作業系統模組,其包括: 一記憶體監測單元,連接至所述記憶體模組,以監 測目前已使用的記憶體大小,其中,當戶斤述記憶體監測單 元確認未使用的記憶體大小足夠載入所選取的應用程式且 目前已使用的記憶體大小為小於—第一門限值時,所述應 用程式啟動單元載入所述儲存裝置中的至少一應用程式於 φ 背景中執行。 9. 如申請專利範圍第8項所述的電子裝置,所述的作 業系統模組更包括: 一學習單元,連接至所述記憶體監測單元,以統計每 一個應用程式的執行次數,統計每一個應用程式載入所需 要的记憶體大小,確認每一個應用程式是否被認證,以及 根據上述每一個應用程式的執行次數、每一個應用程式載 入所需要的記憶體大小,以及每一個應用程式是否被認證 23 201232400 PNAI-AC-0075-TWXX 36870twf.d〇c/n 等數據’整理一預先載入的應用程式清單,並儲存所述預 先載入的應用程式清單於所述資料庫模組中。 10. 如申請專利範圍第9項所述的電子裝置,其中所述 的學習單元根據每一個應用程式的執行次數、每一個應用 程式載入所需要的記憶體大小’以及每一個應用程式是否 被認證,來選取至少一可載入的應用程式,並排序所述至 少一可載入的應用程式至所述預先載入的應用程式清單 中〇 11. 如申請專利範圍第8項所述的電子裝置,其中,當 _ 所述記憶體監測單元確認目前已使用的記憶體大小為大於 ,第二門限值時’所述應用程式啟動單元停止载入所選取 的應用程式’其中所述第二門限值大於所述第一門限值。 12_如^申_請專利範圍第1〇項所述的電子裝置,其中所 述的學習早凡藉由檢查所述預先载入的應用程式清單中, 是否用程式尚未被嘗試預先載入於背景中執行,來判 斷目刖疋否有可以預先載入的所述至少一應用程式。 £ 24At least the application is often used in the background by the selective manned; and " checks if the currently used memory size is greater than / the second threshold, where the currently used memory size is greater than In the second threshold, stopping the loading of the frequently used formula is performed in the background, and the second threshold is greater than the; 2. The method described in claim 1 of the patent application, which is currently in use. Before the step of whether the size of the body is smaller than the first threshold, the method further includes: counting the number of executions of each application; statistics, the size of the memory required by the application manned; - Whether an application is authenticated; and the number of executions of the 1U application, the size of the memory required for each application, and whether each application is recognized or not. Application list. 3. The method of claim 2, in the step of sorting the pre-loaded list of m, the method further comprises: 21 36870twf.doc/n 201232400 finai-aC-0075-TWXX according to The number of executions of each application, the size of the memory required for each application load, and whether each application is certified to select at least a human-readable application and sort the at least two The loaded application is in the list of pre-loaded applications. 4. The method of claim 3, wherein in the step of selectively loading the at least one application frequently used in the background, the method further comprises: preloading from the preload In the list of incoming applications, select one of the most commonly used applications; Spring check if the unused s replied size is sufficient to load the selected application style; and when the unused 5 replies are large enough to load When the selected application is selected, the selected application is loaded and executed in the background. 5. The method of claim 2, wherein before the step of checking whether the currently used memory size is less than the first threshold, the method further comprises: checking whether there is currently available The loaded application; and Ludang currently has a preloadable application that checks if the currently used memory size is less than the first threshold. 6. The method of claim 5, wherein when the currently used memory size is less than the second threshold, a check is made to check if there is currently an application that can be preloaded. 7. The method of claim 5, wherein in the step of checking whether there is a preloaded application, the method is more than 22 201232400 PNAI-AC-0075-TWXX 36870twf.doc /n Include: Check if the application has not been preloaded into the background for execution in the list of preloaded applications. 8. An electronic device, suitable for pre-loading a common application, the electronic device comprising: a storage device comprising at least one application; a memory module; a database module connected to the storage device; An application activation unit connected to the database module and the memory module to load at least one application memory module; an operating system module comprising: a memory monitoring unit And connecting to the memory module to monitor the size of the currently used memory, wherein the memory monitoring unit confirms that the unused memory is large enough to load the selected application and is currently used. When the memory size is less than the first threshold, the application startup unit loads at least one application in the storage device to execute in the φ background. 9. The electronic device of claim 8, wherein the operating system module further comprises: a learning unit connected to the memory monitoring unit to count the number of executions of each application, and statistics An application loads the required memory size, verifies that each application is authenticated, and based on the number of executions of each of the above applications, the amount of memory required for each application, and each application. Whether the program is authenticated 23 201232400 PNAI-AC-0075-TWXX 36870twf.d〇c/n and other data 'organize a list of pre-loaded applications, and store the list of pre-loaded applications in the database module In the group. 10. The electronic device of claim 9, wherein the learning unit loads the required memory size according to the number of executions of each application, each application, and whether each application is Authenticating to select at least one loadable application and sorting the at least one loadable application into the list of preloaded applications 〇 11. The electronic device as claimed in claim 8 The device, wherein when the memory monitoring unit confirms that the currently used memory size is greater than, the second threshold value, the application start unit stops loading the selected application, wherein the second The threshold value is greater than the first threshold value. The electronic device of claim 1, wherein the learning is performed by checking whether the program has not been pre-loaded by the pre-loaded application list. Executing in the background to determine whether there is at least one application that can be preloaded. £ 24
TW100102042A 2011-01-20 2011-01-20 Method for pre-loading frequently launched application and electronic device using the same TW201232400A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW100102042A TW201232400A (en) 2011-01-20 2011-01-20 Method for pre-loading frequently launched application and electronic device using the same
CN2011100646142A CN102609276A (en) 2011-01-20 2011-03-17 Method for pre-loading common application program and electronic device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100102042A TW201232400A (en) 2011-01-20 2011-01-20 Method for pre-loading frequently launched application and electronic device using the same

Publications (1)

Publication Number Publication Date
TW201232400A true TW201232400A (en) 2012-08-01

Family

ID=46526675

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100102042A TW201232400A (en) 2011-01-20 2011-01-20 Method for pre-loading frequently launched application and electronic device using the same

Country Status (2)

Country Link
CN (1) CN102609276A (en)
TW (1) TW201232400A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017213878A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Memory management for application loading
CN107817995A (en) * 2016-09-12 2018-03-20 华为技术有限公司 A kind of silent method, apparatus and terminal device for starting application in backstage
EP3499367A4 (en) * 2016-08-17 2019-08-21 Huawei Technologies Co., Ltd. METHOD AND DEVICE FOR STARTING AN APPLICATION
US10520979B2 (en) 2016-06-10 2019-12-31 Apple Inc. Enhanced application preview mode
US10725761B2 (en) 2016-06-10 2020-07-28 Apple Inc. Providing updated application data for previewing applications on a display

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102083316B1 (en) * 2013-04-24 2020-04-14 삼성전자주식회사 Method and apparatus for managing memory of a user device
CN104423887B (en) * 2013-08-22 2019-04-12 深圳富泰宏精密工业有限公司 Mobile device EMS memory management process and system
CN104683387A (en) * 2013-11-27 2015-06-03 英业达科技有限公司 System and method for prereading target data required for performing target function
CN106293805A (en) * 2016-07-26 2017-01-04 深圳天珑无线科技有限公司 The method and device that program loads

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6910210B1 (en) * 1998-11-24 2005-06-21 Microsoft Corp. System and method for terminating applications
US7334228B2 (en) * 2001-07-27 2008-02-19 International Business Machines Corporation Runtime-resource management
JP4597032B2 (en) * 2005-10-24 2010-12-15 株式会社ソニー・コンピュータエンタテインメント Computer system, basic program startup method, and loader program
KR101128234B1 (en) * 2006-08-23 2012-03-23 엘지전자 주식회사 Apparatus and method for controlling access of memory
WO2010033497A1 (en) * 2008-09-18 2010-03-25 Marvell World Trade Ltd. Preloading applications onto memory at least partially during boot up

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11150696B2 (en) 2016-06-10 2021-10-19 Apple Inc. Enhanced application preview mode
US12045598B2 (en) 2016-06-10 2024-07-23 Apple Inc. Providing updated application data for previewing applications on a display
CN109313570A (en) * 2016-06-10 2019-02-05 苹果公司 Memory management for application loading
WO2017213878A1 (en) * 2016-06-10 2017-12-14 Apple Inc. Memory management for application loading
US11513557B2 (en) 2016-06-10 2022-11-29 Apple Inc. Enhanced application preview mode
US10520979B2 (en) 2016-06-10 2019-12-31 Apple Inc. Enhanced application preview mode
US10725761B2 (en) 2016-06-10 2020-07-28 Apple Inc. Providing updated application data for previewing applications on a display
US10747467B2 (en) 2016-06-10 2020-08-18 Apple Inc. Memory management for application loading
CN109313570B (en) * 2016-06-10 2021-11-05 苹果公司 Memory management for application loading
EP3499367A4 (en) * 2016-08-17 2019-08-21 Huawei Technologies Co., Ltd. METHOD AND DEVICE FOR STARTING AN APPLICATION
US11132219B2 (en) 2016-08-17 2021-09-28 Huawei Technologies Co., Ltd. Starting method for applications which are closed automatically based on the insufficient memory of the system
US12386653B2 (en) 2016-08-17 2025-08-12 Huawei Technologies Co., Ltd. Starting method for applications which are closed based on the insuficient memory of the system
US10901779B2 (en) 2016-09-12 2021-01-26 Huawei Technologies Co., Ltd. Method and apparatus for silently starting application in background and terminal device
EP3506090A4 (en) * 2016-09-12 2019-09-04 Huawei Technologies Co., Ltd. METHOD AND APPARATUS FOR DISCREETLY STARTING A BACKGROUND APPLICATION, AND TERMINAL DEVICE
CN107817995A (en) * 2016-09-12 2018-03-20 华为技术有限公司 A kind of silent method, apparatus and terminal device for starting application in backstage

Also Published As

Publication number Publication date
CN102609276A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
TW201232400A (en) Method for pre-loading frequently launched application and electronic device using the same
CN104598270B (en) The method and apparatus that resource loads in a kind of more people's online games
US8065659B1 (en) Method and apparatus for executing scripts within a web browser
CN109074286B (en) Control over applications that use system resources
US10664443B2 (en) Method and apparatus for presenting to-be-cleaned data, and electronic device
KR20080113353A (en) Data Delivery System and Data Delivery Methods
TW200921509A (en) Techniques for switching threads within routines
CN112988066B (en) Data processing method and device
TW200844754A (en) USB port access management
US20170185454A1 (en) Method and Electronic Device for Determining Resource Consumption of Task
RU2009116607A (en) METHOD FOR STORING DATA AND MAKING ACCESS TO THEM
WO2018227736A1 (en) Test construction method and device
TW201015440A (en) Lock windows for reducing contention
CN110633148A (en) A system operation optimization method, device, electronic device and storage medium
CN104375896B (en) A kind of information processing method and electronic equipment
CN110908880A (en) Buried code injection method, event reporting method and related equipment
CN110798521A (en) File sharing method and device, electronic equipment and storage medium
CN107682389A (en) A kind of method, terminal and computer-readable recording medium for performing network request
CN102187340B (en) Breakpoint information management method and breakpoint information manager
CN110602163B (en) File uploading method and device
CN104573495B (en) A kind for the treatment of method and apparatus of startup item
CN115964180A (en) Task scheduling method and device and electronic equipment
CN106874718A (en) Privacy processing method, device and terminal
US20160041900A1 (en) Testing integrated business systems
CN1877527A (en) Power-on system and method and mobile phone thereof