TWI705373B - Loading method and device of terminal application program (APP) - Google Patents

Loading method and device of terminal application program (APP) Download PDF

Info

Publication number
TWI705373B
TWI705373B TW106101952A TW106101952A TWI705373B TW I705373 B TWI705373 B TW I705373B TW 106101952 A TW106101952 A TW 106101952A TW 106101952 A TW106101952 A TW 106101952A TW I705373 B TWI705373 B TW I705373B
Authority
TW
Taiwan
Prior art keywords
sub
app
application
loaded
application app
Prior art date
Application number
TW106101952A
Other languages
Chinese (zh)
Other versions
TW201828055A (en
Inventor
李立中
周光輝
Original Assignee
香港商阿里巴巴集團服務有限公司
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 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Priority to TW106101952A priority Critical patent/TWI705373B/en
Publication of TW201828055A publication Critical patent/TW201828055A/en
Application granted granted Critical
Publication of TWI705373B publication Critical patent/TWI705373B/en

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

本申請實施例公開了一種終端應用APP的加載方法及裝置,該方法包括:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令;回應於所述第一指令,獲取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。由於是根據獲取到的應用加載資訊來確定待加載的子應用APP,可以縮短應用加載過程的耗時,加快該主應用APP打開過程的速度。 The embodiment of the application discloses a method and device for loading a terminal application APP. The method includes: receiving a first instruction to trigger an opening action of a main application APP installed on the terminal and including at least one sub-application APP; In the first command, obtain the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded; according to the obtained application loading information, the information of the sub-application APP to be loaded included The identification information determines and loads the sub-application APP to be loaded in the process of opening the main application APP. Since the sub-application APP to be loaded is determined according to the obtained application loading information, the time-consuming process of the application loading process can be shortened, and the opening process of the main application APP can be accelerated.

Description

終端應用程式(APP)的加載方法及裝置 Loading method and device of terminal application program (APP)

本申請係關於軟體技術領域,特別關於終端應用APP的加載方法及裝置。 This application relates to the field of software technology, especially to the loading method and device of the terminal application APP.

目前,在終端上安裝的某個主應用(Application,APP)中通常嵌套有多個子應用APP,這樣可以實現在某個主應用APP的介面上選擇性地加載多個子應用APP。 At present, a certain main application (Application, APP) installed on a terminal usually has multiple sub-applications embedded therein, so that it is possible to selectively load multiple sub-applications on the interface of a certain main application APP.

現有技術中,對於嵌套有多個子應用APP的某個主應用APP而言,在用戶觸發該主應用APP的開啟動作的過程中,通常是在主應用APP的開啟過程中加載該主應用APP包含的所有子應用APP,其中,所述加載過程是把終端的硬碟上的有用程式調到終端的記憶體中的過程。舉例而言,假設某個主應用APP包含的子應用APP的集合是:{子應用1,子應用2,……,子應用n},則在用戶觸發該主應用APP的開啟動作的過程中,終端會依次加載上述子應用1、子應用2、……、子應用n。 In the prior art, for a main application APP with multiple sub-applications nested therein, when the user triggers the opening action of the main application APP, the main application APP is usually loaded during the opening process of the main application APP. In all the sub-application APPs included, the loading process is the process of transferring useful programs on the hard disk of the terminal to the memory of the terminal. For example, suppose that the set of sub-application APPs included in a main application APP is: {sub-application 1, sub-application 2, ..., sub-application n}, then when the user triggers the opening action of the main application APP , The terminal will load the aforementioned sub-application 1, sub-application 2, ..., sub-application n in sequence.

在實現本申請的過程中,發明人發現現有技術至少存在以下問題: 由於現有技術中在開啟某個主應用APP的過程中,需要依次加載該主應用APP包含的所有子應用APP,這樣勢必造成加載過程較為耗時、主應用APP打開過程速度慢。 In the process of realizing this application, the inventor found that the prior art has at least the following problems: In the prior art, in the process of opening a main application APP, all the sub-applications included in the main application APP need to be loaded sequentially, which is bound to cause The loading process is time-consuming and the main application APP opens slowly.

本申請實施例的目的是提供一種終端應用APP的加載方法及裝置,以解決現有技術中子應用APP加載過程較為耗時、主應用APP打開過程速度慢的問題。 The purpose of the embodiments of the present application is to provide a method and device for loading a terminal application APP, so as to solve the problem that the loading process of the sub-application APP is relatively time-consuming and the opening process of the main application APP is slow in the prior art.

為解決上述技術問題,本申請實施例提供的終端應用APP的加載方法及裝置是這樣實現的:一種終端應用APP的加載方法,包括:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令;回應於所述第一指令,獲取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 In order to solve the above technical problems, the method and device for loading a terminal application APP provided in the embodiments of the present application are implemented as follows: A method for loading a terminal application APP includes: receiving a method for triggering installation on a terminal and including at least one sub The first instruction of the opening action of the main application APP of the application APP; in response to the first instruction, obtain application loading information corresponding to the main application APP and containing identification information of the sub-application APP to be loaded; according to the obtained The application loading information includes the identification information of the sub-application APP to be loaded, and the sub-application APP to be loaded in the process of opening the main application APP is determined and loaded.

一種終端應用APP的加載裝置,包括:接收模組,用於接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的指令; 獲取模組,用於回應於所述指令,獲取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;加載模組,用於根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 A loading device for a terminal application APP, comprising: a receiving module for receiving an instruction used to trigger an opening action of a main application APP installed on the terminal and including at least one sub-application APP; an acquisition module for responding In the instruction, the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded is obtained; the loading module is used for obtaining the to-be-loaded information contained in the obtained application loading information The identification information of the sub-application APP determines and loads the sub-application APP to be loaded during the process of opening the main application APP.

由以上本申請實施例提供的技術方案可見,本申請實施例在接收到觸發主應用APP的開啟動作的第一指令後,獲取與該主應用APP對應的應用加載資訊,透過分析該應用加載資訊來確定待加載的子應用APP,從而在開啟該主應用APP的過程中加載上述確定的待加載的子應用APP。在上述過程中,由於是根據獲取到的應用加載資訊來確定待加載的子應用APP,相比於現有技術中將主應用APP包含的所有子應用APP進行加載,可以縮短應用加載過程的耗時,從而加快該主應用APP打開過程的速度。 As can be seen from the technical solutions provided by the above embodiments of the application, the embodiments of the application obtain the application loading information corresponding to the main application APP after receiving the first instruction that triggers the opening action of the main application APP, and analyze the application loading information To determine the sub-application APP to be loaded, so that the determined sub-application APP to be loaded is loaded during the process of starting the main application APP. In the above process, since the sub-application APP to be loaded is determined according to the obtained application loading information, compared to loading all sub-application APPs included in the main application APP in the prior art, the time-consuming application loading process can be shortened , Thereby speeding up the opening process of the main application APP.

10‧‧‧終端 10‧‧‧Terminal

11‧‧‧主介面 11‧‧‧Main interface

110‧‧‧圖示 110‧‧‧ icon

112‧‧‧圖示 112‧‧‧Icon

113‧‧‧圖示 113‧‧‧ icon

114‧‧‧圖示 114‧‧‧ icon

115‧‧‧圖示 115‧‧‧ icon

116‧‧‧圖示 116‧‧‧ icon

117‧‧‧圖示 117‧‧‧ icon

12‧‧‧介面 12‧‧‧Interface

401‧‧‧接收模組 401‧‧‧Receiving Module

402‧‧‧獲取模組 402‧‧‧Get Module

403‧‧‧加載模組 403‧‧‧Loading Module

404‧‧‧請求發送單元 404‧‧‧Request sending unit

405‧‧‧資訊接收單元 405‧‧‧Information receiving unit

406‧‧‧第一確定單元 406‧‧‧First determination unit

407‧‧‧第一生成單元 407‧‧‧First generating unit

501‧‧‧資訊獲取單元 501‧‧‧Information Acquisition Unit

502‧‧‧第二確定單元 502‧‧‧Second determination unit

503‧‧‧第二生成單元 503‧‧‧Second Generation Unit

4031‧‧‧第三確定單元 4031‧‧‧The third determination unit

4032‧‧‧判斷單元 4032‧‧‧Judging unit

4033‧‧‧路徑獲取單元 4033‧‧‧Path acquisition unit

4034‧‧‧應用加載單元 4034‧‧‧Application Load Unit

604‧‧‧安裝模組 604‧‧‧Install module

605‧‧‧路徑資訊儲存單元 605‧‧‧Path Information Storage Unit

為了更清楚地說明本申請實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are merely present For some of the embodiments described in the application, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative labor.

圖1為本申請實施例中終端上的主應用APP及該主應用包含的各子應用APP的介面示意圖;圖2為本申請第一實施例中終端應用APP的加載方法的流程圖;圖3為本申請實施例中終端應用APP的加載方法中在主應用APP中加載子應用APP的流程圖;圖4為本申請第二實施例中終端應用APP的加載方法的流程圖;圖5為本申請第三實施例中終端應用APP的加載方法的流程圖;圖6為本申請第一實施例中終端應用APP的加載裝置的模組圖;圖7為本申請第二實施例中終端應用APP的加載裝置的模組圖;圖8為本申請第三實施例中終端應用APP的加載裝置的模組圖;圖9為本申請第四實施例中終端應用APP的加載裝置的模組圖。 Fig. 1 is a schematic diagram of the interface of the main application APP on the terminal in an embodiment of the application and each sub-application APP included in the main application; Fig. 2 is a flowchart of the loading method of the terminal application APP in the first embodiment of the application; Fig. 3 This is a flowchart of loading a sub-application APP in the main application APP in the method for loading a terminal application APP in an embodiment of this application; FIG. 4 is a flowchart of a method for loading a terminal application APP in the second embodiment of this application; A flowchart of a method for loading a terminal application APP in the third embodiment of the application; Figure 6 is a module diagram of a terminal application APP loading device in the first embodiment of this application; Figure 7 is a terminal application APP in the second embodiment of this application Figure 8 is a module diagram of the terminal application APP loading device in the third embodiment of this application; Figure 9 is a module diagram of the terminal application APP loading device in the fourth embodiment of this application.

為了使本技術領域的人員更好地理解本申請中的技術方案,下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分實施例,而不是全部的實施 例。基於本申請中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本申請保護的範圍。 In order to enable those skilled in the art to better understand the technical solutions in the application, the following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Obviously, the described The embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

參照圖1所示,為安裝於終端上的主應用APP及該主應用包含的各子應用APP的介面示意圖。其中,在終端10的主介面11上,包括各個安裝到該終端10上的應用APP的圖示,這些應用APP的圖示可以是包含多個子應用APP的主應用APP的圖示,也可以是不包含子應用APP的獨立應用APP的圖示。當使用該終端10的用戶觸發主應用APP的開啟動作時(可以透過用戶手指觸摸該主應用APP的圖示110來觸發),則該終端由上述主介面11跳轉至主應用APP的介面12。可以看到,在該主應用APP(即與圖示110對應的應用APP)的介面12上,包括多個可以在該主應用APP內運行的子應用APP的圖示112、113、114、115、116、117,用戶可以透過點擊這些子應用APP的圖示,來在該主應用APP的介面12內加載上述各個子應用APP。值得一提的是,圖1只是示例性地示出了其中幾個,但是主應用APP包含的子應用APP的數目並不限於圖中所示的情況。 Referring to FIG. 1, it is a schematic diagram of the interface of a main application APP installed on a terminal and each sub-application APP included in the main application. Wherein, the main interface 11 of the terminal 10 includes the icons of each application APP installed on the terminal 10. The icons of these application APPs may be the icons of the main application APP including multiple sub-application APPs, or The icon of a standalone application APP that does not include sub-application APP. When the user using the terminal 10 triggers the opening action of the main application APP (which can be triggered by the user's finger touching the icon 110 of the main application APP), the terminal jumps from the aforementioned main interface 11 to the interface 12 of the main application APP. It can be seen that on the interface 12 of the main application APP (that is, the application APP corresponding to the icon 110), there are several icons 112, 113, 114, 115 of the sub-application APP that can be run in the main application APP. , 116, 117, the user can click on the icons of these sub-apps to load the above-mentioned sub-apps in the interface 12 of the main application APP. It is worth mentioning that FIG. 1 only shows a few of them by way of example, but the number of sub-applications included in the main application APP is not limited to the situation shown in the figure.

上述終端設備可以是平板電腦、智慧手機、智慧手錶、或其他電腦裝置和通信裝置。這些終端設備(或稱用戶端設備)在架構上都包含一些基本元件,如匯流排、處理裝置、儲存裝置、一個或多個輸入/輸出裝置、和通信介面等。匯流排可以包括一個或多個導線,用來實現伺服 器和終端各元件之間的通信。處理裝置可以包括各類型的用來執行指令、處理進程或執行緒的處理器或微處理器。儲存裝置可以包括用以儲存動態資訊的動態儲存裝置器,如隨機存取記憶體(RAM),或用以儲存靜態資訊的靜態記憶體,如唯讀記憶體(ROM),以及包括磁或光學記錄媒體與相應驅動的大容量記憶體。輸入裝置可以是鍵盤、滑鼠、手寫筆、觸控式螢幕、聲音識別裝置、或生物測定裝置等。輸出裝置可以是用以輸出資訊的顯示器、印表機、或揚聲器等。通信介面用來使伺服器或用戶端設備與其他系統或裝置進行通信。通信介面之間可透過有線連接方式、無線連接方式、或光連接方式連接到上述網路中。每個網路都可以包括區域網路(LAN)、廣域網路(WAN)、內部網、互聯網、行動電話網路、虛擬私人網路(VPN)、蜂窩式或其它移動通信網路、藍牙、NFC或其任何組合。終端設備上均包含用來管理系統資源、控制其他程式運行的作業系統軟體,以及用來實現特定功能的應用軟體或程式指令。 The aforementioned terminal equipment may be a tablet computer, a smart phone, a smart watch, or other computer devices and communication devices. These terminal devices (or client devices) all include some basic components in the architecture, such as a bus, a processing device, a storage device, one or more input/output devices, and a communication interface. The bus bar can include one or more wires to realize the communication between the components of the server and the terminal. The processing device may include various types of processors or microprocessors for executing instructions, processing processes or threads. Storage devices may include dynamic storage devices for storing dynamic information, such as random access memory (RAM), or static memory for storing static information, such as read-only memory (ROM), and include magnetic or optical Large-capacity memory for recording media and corresponding drives. The input device can be a keyboard, mouse, stylus, touch screen, voice recognition device, or biometric device, etc. The output device may be a display, a printer, or a speaker for outputting information. The communication interface is used to enable the server or client device to communicate with other systems or devices. The communication interfaces can be connected to the aforementioned network through wired connection, wireless connection, or optical connection. Each network can include local area network (LAN), wide area network (WAN), intranet, Internet, mobile phone network, virtual private network (VPN), cellular or other mobile communication networks, Bluetooth, NFC Or any combination thereof. The terminal equipment contains operating system software used to manage system resources, control the operation of other programs, and application software or program instructions used to implement specific functions.

圖2為本申請第一實施例中終端應用APP的加載方法的流程圖。結合圖1、圖2所示,本實施例的終端應用APP的加載方法包括:S101:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令。 Fig. 2 is a flowchart of a method for loading a terminal application APP in the first embodiment of this application. As shown in FIG. 1 and FIG. 2, the method for loading a terminal application APP in this embodiment includes: S101: receiving a first application to trigger an opening action of a main application APP installed on the terminal and including at least one sub-application APP instruction.

具體地,用戶可以透過手指觸摸終端的觸控式螢幕的指定區域,該指定區域即是上述主應用APP的圖示110 所處的位置。終端透過感應用戶點擊該主應用APP的圖示110的動作,來接收用戶觸發主應用APP的開啟動作的第一指令。 Specifically, the user can touch a designated area of the touch screen of the terminal with a finger, and the designated area is the position where the icon 110 of the main application APP is located. The terminal receives the first instruction that the user triggers the opening action of the main application APP by sensing the user's action of clicking the icon 110 of the main application APP.

S102:回應於所述第一指令,獲取根據所述子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 S102: In response to the first instruction, obtain application loading information that is generated based on the usage frequency information of the sub-application APP for a preset duration and includes identification information of the sub-application APP to be loaded.

本實施例中,在用戶觸發某個主應用APP的開啟動作後,需確定在開啟該主應用APP的過程待加載的子應用APP。在本實施例中,終端可以在接收到上述第一指令後,透過從該終端的某個目錄下讀取所述應用加載資訊,該應用加載資訊可以指示在開啟主應用APP的過程中應加載的子應用APP包括哪幾個。 In this embodiment, after the user triggers the opening action of a certain main application APP, it is necessary to determine the sub-application APP to be loaded in the process of opening the main application APP. In this embodiment, after receiving the above-mentioned first command, the terminal can read the application loading information from a certain directory of the terminal, and the application loading information can indicate that the application should be loaded during the process of opening the main application APP. Which sub-application APP includes?

上述應用加載資訊可以根據子應用APP在預設時長的使用頻率資訊來生成。其中,使用頻率資訊是用以表徵各個子應用APP的使用頻繁程度的資訊。舉例而言,某個主應用APP(圖示110對應的應用APP)的介面12包含的子應用的集合是:{第一子應用APP、第二子應用APP、第三子應用APP、第四子應用APP、第五子應用APP、第六子應用APP},其中,第一子應用APP是與圖示112對應的應用APP,第二子應用APP是與圖示113對應的應用APP,第三子應用APP是與圖示114對應的應用APP,第四子應用APP是與圖示115對應的應用APP,第五子應用APP是與圖示116對應的應用APP,第六子應用APP是與圖示117對應的應用APP。如上所 述,假設用以統計使用頻率資訊的預設時長是一個星期的時長,透過統計分析得到:第一子應用APP在過去一個星期內的使用頻率資訊:3.2次/天;第二子應用APP在過去一個星期內的使用頻率資訊:8.5次/天;第三子應用APP在過去一個星期內的使用頻率資訊:4.3次/天;第四子應用APP在過去一個星期內的使用頻率資訊:5.5次/天;第五子應用APP在過去一個星期內的使用頻率資訊:1.2次/天;第六子應用APP在過去一個星期內的使用頻率資訊:0.5次/天。 The above application loading information may be generated based on the usage frequency information of the sub-application APP during a preset time period. Among them, the usage frequency information is information used to characterize the usage frequency of each sub-application APP. For example, the set of sub-applications contained in the interface 12 of a certain main application APP (the application APP corresponding to the figure 110) is: {first sub-application APP, second sub-application APP, third sub-application APP, fourth Sub-application APP, fifth sub-application APP, sixth sub-application APP}, where the first sub-application APP is the application APP corresponding to the illustration 112, the second sub-application APP is the application APP corresponding to the illustration 113, The three sub-application APP is the application APP corresponding to the icon 114, the fourth sub-app APP is the application APP corresponding to the icon 115, the fifth sub-application APP is the application APP corresponding to the icon 116, and the sixth sub-application APP is The application APP corresponding to illustration 117. As mentioned above, assuming that the default duration used to count the usage frequency information is one week, through statistical analysis: the usage frequency information of the first sub-app APP in the past week: 3.2 times/day; the second Use frequency information of the sub-app APP in the past week: 8.5 times/day; Use frequency information of the third sub-app APP in the past week: 4.3 times/day; Use the fourth sub-app APP in the past week Frequency information: 5.5 times/day; information on the frequency of use of the fifth sub-app in the past week: 1.2 times/day; information on the frequency of use of the sixth sub-app in the past week: 0.5 times/day.

則根據上述統計分析得到的各個子應用在預設時長(如一個星期)的使用頻率資訊,可以按照使用頻率資訊進行從高到低的排序,並將使用頻率較高的一個或多個子應用APP確定為在開啟主應用APP的過程中待加載的子應用APP。當然,終端上可以預先根據定期獲取的使用頻率資訊來確定上述待加載的子應用APP,並相應地生成可供終端讀取的應用加載資訊。 Then, based on the above statistical analysis, the usage frequency information of each sub-application in a preset period of time (such as one week) can be sorted from high to low according to the usage frequency information, and one or more sub-applications with a higher frequency of use can be sorted The APP is determined as the sub-application APP to be loaded during the process of starting the main application APP. Of course, the terminal can determine the sub-application APP to be loaded in advance according to the usage frequency information obtained periodically, and accordingly generate application loading information that can be read by the terminal.

在本申請實施例中,應用加載資訊可以包含各個待加載的子應用APP的標識資訊,如:確定的待加載的子應用APP是第二子應用APP(圖示113對應的應用APP) 和第四子應用APP(圖示115對應的應用APP),則該應用加載資訊中可以攜帶有上述第二子應用APP的標識資訊及第四子應用APP的標識資訊。其中,上述標識資訊可以是應用名稱、或應用編號等。 In this embodiment of the present application, the application loading information may include identification information of each sub-application APP to be loaded, such as: the determined sub-application APP to be loaded is the second sub-application APP (the application APP corresponding to Figure 113) and the first sub-application APP. The four sub-application APP (the application APP corresponding to the figure 115), the application loading information may carry the identification information of the second sub-application APP and the identification information of the fourth sub-application APP. Wherein, the aforementioned identification information may be an application name, or an application number, etc.

本申請某些實施例中,在獲取上述應用加載資訊之前,可以透過如下步驟來生成該應用加載資訊: In some embodiments of the present application, before obtaining the above application loading information, the application loading information can be generated through the following steps:

a1)向伺服器端發送獲取使用頻率資訊的請求資訊。 a1) Send request information for obtaining usage frequency information to the server.

對於終端(用戶端)上安裝的各個子應用APP而言,可以透過各個子應用APP的伺服器端來統計各個用戶在預設時長內使用該子應用的使用頻率資訊。相應地,伺服器端可以記錄用戶登錄應用APP帳號的次數、或記錄用戶存取服務端資料的次數。一般地,終端可以向伺服器端發送請求獲取某個主應用APP所包含的各個子應用APP的使用頻率資訊的請求資訊,該請求資訊可以攜帶用戶ID、預設時長、主應用APP的標識資訊等。值得一提的是,在某些實施例中,終端可以向主應用APP的伺服器端發送上述請求資訊,之後由該主應用APP的伺服器向各個子應用APP的伺服器端收集上述使用頻率資訊。 For each sub-application APP installed on the terminal (client side), the server side of each sub-application APP can be used to count the usage frequency information of each user using the sub-application within a preset period of time. Correspondingly, the server can record the number of times the user logs in to the application APP account, or the number of times the user accesses the server data. Generally, the terminal can send to the server side request information for obtaining usage frequency information of each sub-application APP contained in a certain main application APP. The request information can carry the user ID, the preset duration, and the identification of the main application APP. Information etc. It is worth mentioning that, in some embodiments, the terminal may send the above request information to the server of the main application APP, and then the server of the main application APP collects the above usage frequency from the server of each sub-application APP. Information.

a2)回應於所述請求資訊,接收伺服器端發送的所述主應用APP包含的各子應用APP在預設時長的使用頻率資訊。 a2) Responding to the request information, receiving the usage frequency information of each sub-application APP included in the main application APP from the server side for a preset duration.

伺服器端將統計得到的該用戶在過去預設時長內使用各個子應用APP的使用頻率資訊回饋至上述終端。 The server-side feeds back the usage frequency information of each sub-app APP used by the user in the past preset period of time obtained by statistics to the aforementioned terminal.

a3)將接收的所述使用頻率資訊從高到低進行排序, 並將所述使用頻率資訊排序位於前列的所述子應用APP確定為待加載的子應用APP。 a3) Sort the received usage frequency information from high to low, and determine the sub-application APP whose usage frequency information is ranked at the top as the sub-application APP to be loaded.

如前所述,可以根據使用頻率資訊進行排序,並取排序位於前列(表明子應用APP的使用較為頻繁)的子應用APP,作為待加載的子應用APP,關於所需確定的待加載的子應用APP的數量,可以由用戶自己來選擇或確定,也可以由終端根據主應用APP所包含的子應用的總數來確定(比如:確定待加載的子應用APP的數量是總數的一半)。 As mentioned above, it is possible to sort according to the frequency of use information, and take the sub-apps ranked at the top (indicating that the sub-apps are used more frequently) as the sub-apps to be loaded. The number of application APPs can be selected or determined by the user, or can be determined by the terminal according to the total number of sub-applications contained in the main application APP (for example, it is determined that the number of sub-applications to be loaded is half of the total).

a4)生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到所述終端的指定目錄中。 a4) Generate application loading information containing identification information of the sub-application APP to be loaded and store it in the designated directory of the terminal.

應用加載資訊可以寫入到某個可被讀取的檔案當中,並將該檔案儲存到上述主應用APP的指定目錄中。 Application loading information can be written into a readable file, and the file can be stored in the designated directory of the main application APP.

本申請另一實施例中,在獲取上述應用加載資訊之前,可以透過如下步驟來生成該應用加載資訊: In another embodiment of the present application, before obtaining the above application loading information, the application loading information can be generated through the following steps:

b1)從終端的主應用APP的安裝目錄中獲取所述主應用APP包含的各子應用APP在預設時長的使用頻率資訊。 b1) Obtain the usage frequency information of each sub-application APP included in the main application APP in the preset duration from the installation directory of the main application APP of the terminal.

b2)將獲取的所述使用頻率資訊從高到低進行排序,並將所述使用頻率資訊排序位於前列的所述子應用APP確定為待加載的子應用APP。 b2) Sort the acquired usage frequency information from high to low, and determine the sub-application APP whose usage frequency information is ranked at the top as the sub-application APP to be loaded.

b3)生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到所述終端的指定目錄中。 b3) Generate application loading information containing the identification information of the sub-application APP to be loaded and store it in the designated directory of the terminal.

上述過程中,終端可以監控用戶使用主應用APP及 其包含的各個子應用APP的行為資料,並統計得到用戶使用各個子應用APP的使用頻率資訊並儲存到終端的本機儲存空間中。終端可以定期從本機儲存空間讀取上述使用頻率資訊,並生成可供讀取的包含應用加載資訊的檔案。 In the above process, the terminal can monitor the user's use of the main application APP and the behavior data of each sub-application APP contained therein, and obtain statistics on the usage frequency information of the user using each sub-application APP and store it in the local storage space of the terminal. The terminal can periodically read the above-mentioned usage frequency information from the local storage space and generate a readable file containing application loading information.

S103:根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 S103: According to the identification information of the sub-application APP to be loaded included in the obtained application loading information, determine and load the sub-application APP to be loaded in the process of opening the main application APP.

在步驟S103中,終端可以根據獲取到的預先寫入上述應用加載資訊的檔案,可以分析得到在待加載的各個子應用APP,並在開啟主應用APP的過程中加載上述確定的各個子應用APP。例如:若確定的待加載應用APP是第二應用APP和第四應用APP,則在開啟主應用APP的過程中,只需加載上述兩個應用APP,從而避免現有技術中在開啟某個主應用APP的過程中,需要一次性加載該主應用APP包含的所有子應用APP所導致的加載時間久、主應用開啟速度慢的弊端。 In step S103, the terminal can analyze each sub-application APP to be loaded according to the obtained file pre-written with the above-mentioned application loading information, and load each sub-application APP determined above during the process of opening the main application APP. . For example: if the determined application APPs to be loaded are the second application APP and the fourth application APP, only the above two application APPs need to be loaded during the process of opening the main application APP, thereby avoiding opening a certain main application in the prior art In the process of APP, it is necessary to load all the sub-apps included in the main application at one time, resulting in long loading time and slow opening speed of the main application.

圖3為本申請實施例中終端應用APP的加載方法中在主應用APP中加載子應用APP的流程圖。本實施例中,在主應用APP中加載子應用APP的過程具體包括: FIG. 3 is a flowchart of loading a sub-application APP in a main application APP in a method for loading a terminal application APP in an embodiment of the application. In this embodiment, the process of loading the sub-application APP in the main application APP specifically includes:

S1031:根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP。 S1031: Determine the sub-application APP to be loaded in the process of opening the main application APP according to the identification information of the sub-application APP to be loaded included in the obtained application loading information.

S1032:判斷所述終端是否存在所述待加載的子應用 APP的安裝目錄。 S1032: Determine whether the terminal has an installation directory of the sub-application APP to be loaded.

本申請實施例中,對於主應用APP包含的各個子應用APP,可以被封裝成單獨的應用APP並安裝於上述終端上。請繼續參照圖1,在終端的主介面11上除主應用的圖示110外,還包括該主應用所包含的各個子應用的圖示112、113、114、115、116。也就是說,各個子應用APP可以獨立安裝於終端10上,在安裝完成後,終端10上分別存在與各個子應用APP相應的安裝目錄,該安裝目錄存放各個子應用APP的安裝檔案。最終,終端可以透過掃描儲存空間,來判定該終端的儲存空間中是否存在與待加載的子應用APP對應的安裝目錄。 In the embodiment of the present application, each sub-application APP included in the main application APP can be packaged into a separate application APP and installed on the aforementioned terminal. Please continue to refer to FIG. 1, in addition to the icon 110 of the main application, the main interface 11 of the terminal also includes the icons 112, 113, 114, 115, 116 of the sub-applications included in the main application. In other words, each sub-application APP can be installed independently on the terminal 10. After the installation is completed, an installation directory corresponding to each sub-application APP exists on the terminal 10, and the installation directory stores the installation files of each sub-application APP. Finally, the terminal can scan the storage space to determine whether there is an installation directory corresponding to the sub-application APP to be loaded in the storage space of the terminal.

S1033:若該終端的儲存空間中存在與待加載的子應用APP對應的安裝目錄,則獲取與待加載的子應用APP的安裝目錄對應的儲存路徑資訊。 S1033: If there is an installation directory corresponding to the sub-application APP to be loaded in the storage space of the terminal, obtain storage path information corresponding to the installation directory of the sub-application APP to be loaded.

本實施例中,在某個子應用APP安裝成功後,在該子應用APP對應的主應用APP的安裝目錄下的某個指定路徑中可以儲存一個檔案,該檔案可以被寫入上述待加載的子應用APP的安裝目錄對應的儲存路徑資訊。這樣,在觸發主應用APP的開啟動作後,主應用APP會讀取上述被寫入某個待加載的子應用APP的安裝目錄對應的儲存路徑資訊的檔案,以獲取到當前待加載的子應用APP的安裝目錄對應的儲存路徑資訊。例如,第一子應用APP(圖示112對應的APP)的安裝目錄對應的儲存路徑資訊是:Program Files/appl/a,主應用APP的安裝目錄是: Program Files/app,則可以將上述儲存路徑資訊寫入到某個檔案中,並將該檔案存放到主應用APP的安裝目錄是:Program Files/app中。 In this embodiment, after a sub-application APP is successfully installed, a file can be stored in a specified path under the installation directory of the main application APP corresponding to the sub-application APP, and the file can be written into the sub-application to be loaded. The storage path information corresponding to the installation directory of the application APP. In this way, after triggering the opening action of the main application APP, the main application APP will read the above-mentioned file written into the storage path information corresponding to the installation directory of a certain sub-app APP to be loaded to obtain the sub-application currently to be loaded The storage path information corresponding to the APP installation directory. For example, the storage path information corresponding to the installation directory of the first sub-app APP (the APP corresponding to figure 112) is: Program Files/appl/a, and the installation directory of the main application APP is: Program Files/app, then the above can be stored The path information is written into a file, and the file is stored in the installation directory of the main application APP: Program Files/app.

S1034:基於獲取的儲存路徑資訊,在所述主應用APP中調用所述待加載的子應用APP的安裝目錄中的檔案並加載該待加載的子應用APP。 S1034: Based on the obtained storage path information, call the file in the installation directory of the sub-application APP to be loaded in the main application APP and load the sub-application APP to be loaded.

本申請實施例中,在獲取到待加載的子應用APP的儲存路徑資訊後,主應用APP即透過該儲存路徑來調用待加載的子應用的資源,也就是說,終端可以在當前主應用APP的框架下複用某個子應用APP的安裝目錄中的安裝檔案,以實現在主應用APP下加載待加載的子應用APP。當然,在主應用APP未開啟時,用戶也可以透過在主介面11內點擊各個子應用的圖示,來獨立運行各個子應用APP。 In the embodiment of the present application, after obtaining the storage path information of the sub-application APP to be loaded, the main application APP calls the resources of the sub-application to be loaded through the storage path, that is, the terminal can be in the current main application APP The installation file in the installation directory of a certain sub-application APP is reused under the framework of the above, so as to load the sub-application APP to be loaded under the main application APP. Of course, when the main application APP is not opened, the user can also click on the icon of each sub-application in the main interface 11 to independently run each sub-application APP.

S104:若終端不存在待加載的子應用APP的安裝目錄,則獲取與所述待加載的子應用APP對應的安裝包並安裝於所述終端。 S104: If the terminal does not have an installation directory of the sub-application APP to be loaded, obtain an installation package corresponding to the sub-application APP to be loaded and install it on the terminal.

舉例而言,最終確定待加載的子應用APP包含第六子應用APP(與圖示117對應的APP),可以發現,假設在終端的主介面11上沒有該第六子應用APP的圖示,則表明當前終端並未安裝該第六子應用APP(也就是不存在待加載的子應用APP的安裝目錄),則此時終端可以向用戶推送是否需要下載並安裝該第六子應用APP的請求資訊,若用戶同意下載並安裝,則終端可以從互聯網上獲 取該第六子應用APP的安裝包並下載、安裝到終端上。 For example, it is finally determined that the sub-application APP to be loaded includes the sixth sub-application APP (the APP corresponding to the illustration 117). It can be found that, assuming that there is no icon of the sixth sub-application APP on the main interface 11 of the terminal, It indicates that the current terminal does not install the sixth sub-app APP (that is, there is no installation directory of the sub-app APP to be loaded), then the terminal can push to the user a request to download and install the sixth sub-app APP at this time Information, if the user agrees to download and install, the terminal can obtain the installation package of the sixth sub-application APP from the Internet and download and install it on the terminal.

S105:在所述主應用APP的安裝目錄中儲存與所述待加載的子應用APP的安裝目錄對應的儲存路徑資訊。 S105: Store the storage path information corresponding to the installation directory of the sub-application APP to be loaded in the installation directory of the main application APP.

如前所述,在某個子應用APP安裝完成後,可以將與該子應用APP的安裝目錄對應的儲存路徑資訊寫入到某個檔案中,並將該檔案儲存到主應用APP的安裝目錄中。這樣,在用戶後續觸發該主應用APP的開啟動作的過程中,便可以查找到該子應用APP對應的儲存路徑資訊,並依據儲存路徑資訊來調用該子應用APP的安裝目錄中的資源。 As mentioned earlier, after the installation of a sub-app APP is completed, the storage path information corresponding to the installation directory of the sub-app APP can be written into a file, and the file can be stored in the installation directory of the main application APP . In this way, when the user subsequently triggers the opening action of the main application APP, the storage path information corresponding to the sub-application APP can be found, and resources in the installation directory of the sub-application APP can be called according to the storage path information.

本申請實施例中,所述方法還包括:接收用以觸發所述主應用APP包含的第一子應用APP的開啟動作的第二指令。 In the embodiment of the present application, the method further includes: receiving a second instruction used to trigger an opening action of the first sub-application APP included in the main application APP.

相應於所述第二指令,判斷所述第一子應用APP是否為在開啟所述主應用APP的過程中加載的子應用APP。 Corresponding to the second instruction, it is determined whether the first sub-application APP is a sub-application APP loaded in the process of opening the main application APP.

若所述第一子應用APP不是在開啟所述主應用APP的過程中加載的子應用APP,則判斷所述終端是否存在所述第一子應用APP的安裝目錄。 If the first sub-application APP is not a sub-application APP loaded in the process of opening the main application APP, it is determined whether the terminal has an installation directory of the first sub-application APP.

若所述終端不存在與所述第一子應用APP對應的安裝目錄,獲取與所述第一子應用APP對應的安裝包並安裝於所述終端;在所述主應用APP的安裝目錄中儲存與所述待加載的第一子應用APP的安裝目錄對應的儲存路徑資訊。 If the terminal does not have an installation directory corresponding to the first sub-application APP, obtain the installation package corresponding to the first sub-application APP and install it on the terminal; store in the installation directory of the main application APP Storage path information corresponding to the installation directory of the first sub-application APP to be loaded.

若所述終端存在與所述第一子應用APP對應的安裝目錄,獲取與所述待加載的第一子應用APP的安裝目錄對應的儲存路徑資訊;基於獲取的儲存路徑資訊,在所述主應用APP中調用所述待加載的第一子應用APP的安裝目錄中的檔案並加載該待加載的第一子應用APP。 If the terminal has an installation directory corresponding to the first sub-application APP, obtain the storage path information corresponding to the installation directory of the first sub-application APP to be loaded; based on the obtained storage path information, in the main The application APP calls the file in the installation directory of the first sub-application APP to be loaded and loads the first sub-application APP to be loaded.

若結合具體應用場景,上述過程可以是:用戶在打開某個主應用APP的介面後,可以在該主應用APP的介面內透過點擊某個子應用APP的圖示來觸發某子應用APP的開啟動作。此後,終端可以透過掃描終端的儲存空間,來判斷儲存空間中是否已經存在該待開啟的子應用APP的安裝目錄(判斷子應用APP是否已安裝),若不存在,則透過互聯網下載該子應用APP的安裝包並安裝為一個獨立的應用APP,同時將該子應用APP的儲存路徑資訊寫入到特定檔案中,該特定檔案儲存於主應用APP的安裝目錄下。另一方面,若掃描發現儲存空間記憶體在該待開啟的子應用APP的安裝目錄,則在主應用APP的安裝目錄內讀取該子應用的儲存路徑資訊,以調用該子應用APP的安裝目錄下的安裝檔案,從而實現在主應用APP透過資源複用的方式來開啟該子應用APP。 If combined with specific application scenarios, the above process can be: after the user opens the interface of a certain main application APP, the user can click on the icon of a certain sub-app APP in the interface of the main application APP to trigger the opening action of a certain sub-app APP . Thereafter, the terminal can scan the storage space of the terminal to determine whether the installation directory of the sub-app APP to be opened already exists in the storage space (determine whether the sub-app APP has been installed), if not, download the sub-app via the Internet The APP installation package is installed as an independent application APP, and the storage path information of the sub-app APP is written into a specific file, and the specific file is stored in the installation directory of the main application APP. On the other hand, if the scan finds that the storage space memory is in the installation directory of the sub-application APP to be opened, read the storage path information of the sub-application in the installation directory of the main application APP to invoke the installation of the sub-application APP The installation files in the directory, so as to realize the main application APP to open the sub-application APP through resource reuse.

圖4為本申請第二實施例中終端應用APP的加載方法的流程圖。本實施例的終端應用APP的加載方法包括: Fig. 4 is a flowchart of a method for loading a terminal application APP in the second embodiment of this application. The loading method of the terminal application APP in this embodiment includes:

S201:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令。 S201: Receive a first instruction used to trigger an opening action of a main application APP installed on a terminal and including at least one sub-application APP.

可以參圖2中的步驟S101的內容。 You can refer to the content of step S101 in FIG. 2.

S202:回應於所述第一指令,獲取根據用戶預先選取的待加載的子應用APP生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 S202: In response to the first instruction, obtain application loading information that is generated according to the sub-application APP to be loaded pre-selected by the user and includes identification information of the sub-application APP to be loaded.

本實施例中,步驟S202與上一實施例中的步驟S102相比,其區別在於:應用加載資訊可以根據用戶自身選擇的待加載的子應用APP來生成。例如:透過主應用APP的加載設置功能,用戶可以選取幾個需要加載的子應用APP,來作為在開啟主應用APP過程中需要加載的物件。如:用戶可以選取日常較為常用的第一子應用APP、第二子應用APP作為上述待加載的子應用APP。 In this embodiment, the difference between step S202 and step S102 in the previous embodiment is that the application loading information can be generated according to the sub-application APP to be loaded selected by the user. For example, through the loading setting function of the main application APP, the user can select several sub-applications that need to be loaded as objects that need to be loaded during the process of opening the main application APP. For example, the user can select the first sub-application APP and the second sub-application APP that are commonly used daily as the aforementioned sub-application APPs to be loaded.

S203:根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 S203: Determine and load the sub-application APP to be loaded during the process of opening the main application APP according to the identification information of the sub-application APP to be loaded included in the obtained application loading information.

可以參圖2中的步驟S103的內容。 You can refer to the content of step S103 in FIG. 2.

圖5為本申請第三實施例中終端應用APP的加載方法的流程圖。本實施例的終端應用APP的加載方法包括: Fig. 5 is a flowchart of a method for loading a terminal application APP in the third embodiment of this application. The loading method of the terminal application APP in this embodiment includes:

S301:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令。 S301: Receive a first instruction used to trigger an opening action of a main application APP installed on the terminal and including at least one sub-application APP.

可以參圖2中的步驟S101的內容。 You can refer to the content of step S101 in FIG. 2.

S302:回應於所述第一指令,獲取根據用戶預先確定的待加載的子應用APP的數量以及所述子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用 APP的標識資訊的應用加載資訊。 S302: In response to the first instruction, obtain the sub-application APP to be loaded, which is generated according to the number of sub-application APPs to be loaded and the usage frequency information of the sub-application APP in the preset duration, which is predetermined by the user. The application loading information of the identification information.

本實施例中,步驟S302與以上實施例相比,其區別在於:用戶可以透過主應用APP的設置功能,確定待加載的子應用APP的數量,如:3個,則終端透過定期獲取到的各個子應用APP的使用頻率資訊,假設按照使用頻率資訊進行排序,最終得到的各個子應用APP的排名是:第二子應用APP>第四子應用APP>第一子應用APP>第五子應用APP>第三子應用APP>第六子應用APP。最終得到三個待加載的應用APP分別是:第二子應用APP、第四子應用APP及第一子應用APP,從而生成所述應用加載資訊並儲存到終端的儲存空間內。 In this embodiment, step S302 is compared with the above embodiments. The difference is that the user can determine the number of sub-application APPs to be loaded through the setting function of the main application APP. The usage frequency information of each sub-application APP, assuming sorting according to the usage frequency information, the final ranking of each sub-application APP is: the second sub-app> the fourth sub-app> the first sub-app> the fifth sub-app APP>The third sub-application APP>The sixth sub-application APP. Finally, three application APPs to be loaded are obtained: the second sub-application APP, the fourth sub-application APP, and the first sub-application APP, so that the application loading information is generated and stored in the storage space of the terminal.

S303:根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 S303: Determine and load the sub-application APP to be loaded during the process of opening the main application APP according to the identification information of the sub-application APP to be loaded included in the obtained application loading information.

可以參圖2中的步驟S103的內容。 You can refer to the content of step S103 in FIG. 2.

由以上本申請實施例提供的技術方案可見,本申請實施例在接收到觸發主應用APP的開啟動作的第一指令後,獲取與該主應用APP對應的應用加載資訊,透過分析該應用加載資訊來確定待加載的子應用APP,從而在開啟該主應用APP的過程中加載上述確定的待加載的子應用APP。在上述過程中,由於是根據獲取到的應用加載資訊來確定待加載的子應用APP,相比於現有技術中將主應用APP包含的所有子應用APP進行加載,可以縮短應用加載過程的耗時,從而加快該主應用APP打開過程的速 度。另外,本申請實施例中,終端可以在主應用APP中調用子應用APP的安裝目錄中的資源(檔案),而現有技術中,用戶在主應用APP中打開某個子應用APP時,通常是直接運行待開啟的子應用APP(獨立安裝的APP),所以本申請實施例相比於現有技術中,可以減小對終端的資源耗用。 As can be seen from the technical solutions provided by the above embodiments of the application, the embodiments of the application obtain the application loading information corresponding to the main application APP after receiving the first instruction that triggers the opening action of the main application APP, and analyze the application loading information To determine the sub-application APP to be loaded, so that the determined sub-application APP to be loaded is loaded during the process of starting the main application APP. In the above process, since the sub-application APP to be loaded is determined according to the obtained application loading information, compared to loading all sub-application APPs included in the main application APP in the prior art, the time-consuming application loading process can be shortened , Thereby speeding up the opening process of the main application APP. In addition, in the embodiment of the present application, the terminal can call the resources (files) in the installation directory of the sub-application APP in the main application APP. In the prior art, when the user opens a certain sub-application APP in the main application APP, it is usually directly Run the sub-application APP to be opened (APP that is installed independently), so the embodiment of the present application can reduce the resource consumption of the terminal compared with the prior art.

以下將介紹本申請實施例中終端應用APP的加載裝置的技術方案,該裝置基於上述方法的原理,故具體技術內容可參照上述方法的實施例。 The following will introduce the technical solution of the loading device of the terminal application APP in the embodiment of the present application. The device is based on the principle of the above method, so the specific technical content can refer to the embodiment of the above method.

圖6為本申請第一實施例中終端應用APP的加載裝置的模組圖。該裝置包括:接收模組401,用於接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的指令;獲取模組402,用於回應於所述指令,獲取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;加載模組403,用於根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP並加載。 FIG. 6 is a module diagram of the loading device of the terminal application APP in the first embodiment of the application. The device includes: a receiving module 401 for receiving an instruction to trigger the opening action of a main application APP installed on the terminal and including at least one sub-application APP; an acquisition module 402 for responding to the instruction , Obtain the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded; the loading module 403 is used to obtain the sub-application APP to be loaded included in the obtained application loading information The identification information of, determines and loads the sub-application APP to be loaded in the process of opening the main application APP.

本申請實施例中,所述獲取模組402具體用於:獲取根據所述子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或, 獲取根據用戶預先選取的待加載的子應用APP生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或,獲取根據用戶預先確定的待加載的子應用APP的數量以及所述子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 In this embodiment of the application, the acquisition module 402 is specifically configured to: acquire application loading information generated based on the usage frequency information of the sub-application APP for a preset duration and containing identification information of the sub-application APP to be loaded ; Or, obtain application loading information generated according to the sub-application APP to be loaded pre-selected by the user and include identification information of the sub-application APP to be loaded; or, obtain the number of sub-application APPs to be loaded predetermined by the user And the application loading information generated by the usage frequency information of the sub-application APP in the preset duration and containing the identification information of the sub-application APP to be loaded.

圖7為本申請第二實施例中終端應用APP的加載裝置的模組圖。本實施例中,所述裝置還包括:請求發送單元404,用於向伺服器端發送獲取使用頻率資訊的請求資訊;資訊接收單元405,用於回應於所述請求資訊,接收伺服器端發送的所述主應用APP包含的各子應用APP在預設時長的使用頻率資訊;第一確定單元406,用於將接收的所述使用頻率資訊從高到低進行排序,並將所述使用頻率資訊排序位於前列的所述子應用APP確定為待加載的子應用APP;第一生成單元407,用於生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到所述終端的指定目錄中;則,所述獲取模組402具體用於:從所述終端的指定目錄中讀取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 FIG. 7 is a module diagram of the loading device of the terminal application APP in the second embodiment of the application. In this embodiment, the device further includes: a request sending unit 404, configured to send request information for obtaining usage frequency information to the server side; an information receiving unit 405, configured to receive the request information from the server side in response to the request information The usage frequency information of each sub-application APP included in the main application APP for a preset duration; the first determining unit 406 is configured to sort the received usage frequency information from high to low, and to compare the usage The sub-application APP whose frequency information is ranked at the top is determined to be the sub-application APP to be loaded; the first generating unit 407 is configured to generate application loading information containing identification information of the sub-application APP to be loaded and store it in the terminal In a designated directory; then, the acquisition module 402 is specifically configured to read the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded from the designated directory of the terminal .

圖8為本申請第三實施例中終端應用APP的加載裝置的模組圖。本實施例中,所述裝置還包括:資訊獲取單元501,用於從終端的主應用APP的安裝目錄中獲取所述主應用APP包含的各子應用APP在預設時長的使用頻率資訊;第二確定單元502,用於將獲取的所述使用頻率資訊從高到低進行排序,並將所述使用頻率資訊排序位於前列的所述子應用APP確定為待加載的子應用APP;第二生成單元503,用於生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到所述終端的指定目錄中;則,所述獲取模組402具體用於:從所述終端的指定目錄中讀取與所述主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 FIG. 8 is a module diagram of the loading device of the terminal application APP in the third embodiment of the application. In this embodiment, the device further includes: an information acquiring unit 501, configured to acquire the usage frequency information of each sub-application APP included in the main application APP in the preset duration from the installation directory of the main application APP of the terminal; The second determining unit 502 is configured to sort the acquired use frequency information from high to low, and determine the sub-application APP whose use frequency information is ranked in the front row as the sub-application APP to be loaded; The generating unit 503 is configured to generate application loading information including identification information of the sub-application APP to be loaded and store it in the designated directory of the terminal; then, the acquisition module 402 is specifically used to: specify from the terminal The directory reads application loading information corresponding to the main application APP and containing identification information of the sub-application APP to be loaded.

圖9為本申請第四實施例中終端應用APP的加載裝置的模組圖。本實施例中,所述加載模組403包括:第三確定單元4031,用於根據獲取的所述應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟所述主應用APP的過程中待加載的子應用APP;判斷單元4032,用於判斷所述終端是否存在所述待加載的子應用APP的安裝目錄;路徑獲取單元4033,用於在所述終端存在所述待加載的子應用APP的安裝目錄時,獲取與所述待加載的子 應用APP的安裝目錄對應的儲存路徑資訊;應用加載單元4034,用於基於獲取的儲存路徑資訊,在所述主應用APP中調用所述待加載的子應用APP的安裝目錄中的檔案並加載該待加載的子應用APP。 FIG. 9 is a module diagram of the loading device of the terminal application APP in the fourth embodiment of this application. In this embodiment, the loading module 403 includes: a third determining unit 4031, configured to determine whether to open the main application APP according to the identification information of the sub-application APP to be loaded included in the obtained application loading information The sub-application APP to be loaded in the process; the judging unit 4032, for judging whether the terminal has the installation directory of the sub-application APP to be loaded; the path obtaining unit 4033, for the existence of the to-be-loaded in the terminal When installing the sub-application APP installation directory, obtain the storage path information corresponding to the installation directory of the sub-app APP to be loaded; the application loading unit 4034 is configured to call the main application APP based on the obtained storage path information Describe the files in the installation directory of the sub-application APP to be loaded and load the sub-application APP to be loaded.

本申請實施例中,所述裝置還包括:安裝模組604,用於在所述終端不存在所述待加載的子應用APP的安裝目錄時,獲取與所述待加載的子應用APP對應的安裝包並安裝於所述終端;路徑資訊儲存單元605,用於在所述主應用APP的安裝目錄中儲存與所述待加載的子應用APP的安裝目錄對應的儲存路徑資訊。 In the embodiment of the present application, the device further includes: an installation module 604, configured to obtain the sub-application APP corresponding to the sub-application APP to be loaded when the installation directory of the sub-application APP to be loaded does not exist in the terminal The installation package is installed on the terminal; the path information storage unit 605 is used to store the storage path information corresponding to the installation directory of the sub-application APP to be loaded in the installation directory of the main application APP.

為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本申請時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。 For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and/or hardware.

本領域內的技術人員應明白,本發明的實施例可提供為方法、系統、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. .

本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每 一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得透過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。 The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processor of the computer or other programmable data processing equipment A device for realizing the functions specified in one flow or multiple flows in the flowchart and/or one block or multiple blocks in the block diagram is generated.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。 These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to generate computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並 不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity or equipment including the element.

本領域技術人員應明白,本申請的實施例可提供為方法、系統或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, this application may adopt the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, this application can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes .

本申請可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、元件、資料結構等等。也可以在分散式運算環境中實踐本申請,在這些分散式運算環境中,由透過通信網路而被連接的遠端處理設備來執行任務。在分散式運算環境中,程式模組可以位於包括存放裝置在內的本地和遠端電腦儲存媒體中。 This application can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This application can also be implemented in a distributed computing environment. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

以上所述僅為本申請的實施例而已,並不用於限制本申請。對於本領域技術人員來說,本申請可以有各種更改 和變化。凡在本申請的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本申請的申請專利範圍的範圍之內。 The above descriptions are only examples of this application and are not used to limit this application. For those skilled in the art, this application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the patent application of this application.

Claims (13)

一種終端應用程式(APP)的加載方法,其特徵在於,包括:接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的第一指令;回應於該第一指令,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;根據獲取的該應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟該主應用APP的過程中待加載的子應用APP並加載。 A method for loading a terminal application program (APP), which is characterized by comprising: receiving a first instruction used to trigger an opening action of a main application APP installed on the terminal and including at least one sub-application APP; A command to obtain application loading information corresponding to the main application APP and containing identification information of the sub-application APP to be loaded; according to the obtained application loading information including the identification information of the sub-application APP to be loaded, it is determined to start The sub-application APP to be loaded in the process of the main application APP is loaded. 根據申請專利範圍第1項所述的方法,其中,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊,包括:獲取根據該子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或,獲取根據用戶預先選取的待加載的子應用APP生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或,獲取根據用戶預先確定的待加載的子應用APP的數量以及該子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 The method according to item 1 of the scope of patent application, wherein obtaining the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded includes: obtaining according to the preset of the sub-application APP Application loading information generated by the duration of usage frequency information and containing the identification information of the sub-application APP to be loaded; or, obtained based on the sub-application APP selected by the user in advance and containing the sub-application APP to be loaded The application loading information of the identification information; or, obtain the information generated based on the user's predetermined number of sub-apps to be loaded and the usage frequency information of the sub-apps in the preset duration and containing the sub-apps to be loaded The application that identifies the information loads the information. 根據申請專利範圍第1項所述的方法,其中,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊之前,該方法還包括:向伺服器端發送獲取使用頻率資訊的請求資訊;回應於該請求資訊,接收伺服器端發送的該主應用APP包含的各子應用APP在預設時長的使用頻率資訊;將接收的該使用頻率資訊從高到低進行排序,並將該使用頻率資訊排序位於前列的該子應用APP確定為待加載的子應用APP;生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到該終端的指定目錄中;則,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊,包括:從該終端的指定目錄中讀取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 According to the method described in item 1 of the scope of patent application, before obtaining the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded, the method further includes: sending to the server Obtain request information for usage frequency information; in response to the request information, receive the usage frequency information of each sub-application APP included in the main application APP from the server for the preset duration; change the received usage frequency information from high to Sort by low, and determine the sub-application APP that is ranked at the top of the frequency of use information as the sub-application APP to be loaded; generate application loading information containing the identification information of the sub-application APP to be loaded and store it in the designated directory of the terminal Then, obtaining the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded includes: reading from the designated directory of the terminal corresponding to the main application APP and containing Application loading information of the identification information of the sub-application APP to be loaded. 根據申請專利範圍第1項所述的方法,其中,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊之前,該方法還包括:從終端的主應用APP的安裝目錄中獲取該主應用APP包含的各子應用APP在預設時長的使用頻率資訊;將獲取的該使用頻率資訊從高到低進行排序,並將該使用頻率資訊排序位於前列的該子應用APP確定為待加載的子應用APP; 生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到該終端的指定目錄中;則,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊,包括:從該終端的指定目錄中讀取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 According to the method described in item 1 of the scope of patent application, before obtaining the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded, the method further includes: the main application of the slave terminal Obtain the usage frequency information of each sub-app APP contained in the main application APP in the APP installation directory; sort the obtained usage frequency information from high to low, and sort the usage frequency information to the top The sub-application APP is determined to be the sub-application APP to be loaded; the application loading information containing the identification information of the sub-application APP to be loaded is generated and stored in the designated directory of the terminal; then, the main application APP corresponding to the main application APP and The application loading information containing the identification information of the sub-application APP to be loaded includes: reading the application loading information corresponding to the main application APP from the designated directory of the terminal and containing the identification information of the sub-application APP to be loaded. 根據申請專利範圍第1項所述的方法,其中,根據獲取的該應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟該主應用APP的過程中待加載的子應用APP並加載,包括:根據獲取的該應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟該主應用APP的過程中待加載的子應用APP;判斷該終端是否存在該待加載的子應用APP的安裝目錄;若是,則獲取與該待加載的子應用APP的安裝目錄對應的儲存路徑資訊;基於獲取的儲存路徑資訊,在該主應用APP中調用該待加載的子應用APP的安裝目錄中的檔案並加載該待加載的子應用APP。 The method according to item 1 of the scope of patent application, wherein, according to the identification information of the sub-application APP to be loaded included in the obtained application loading information, the sub-application APP to be loaded in the process of opening the main application APP is determined and Loading includes: determining the sub-application APP to be loaded during the process of opening the main application APP according to the identification information of the sub-application APP to be loaded contained in the obtained application loading information; judging whether the terminal has the sub-application APP to be loaded The installation directory of the application APP; if yes, obtain the storage path information corresponding to the installation directory of the sub-app APP to be loaded; based on the obtained storage path information, call the installation of the sub-app APP to be loaded in the main application APP Files in the directory and load the sub-application APP to be loaded. 根據申請專利範圍第1項所述的方法,其中,該方法還包括:若該終端不存在該待加載的子應用APP的安裝目 錄,則獲取與該待加載的子應用APP對應的安裝包並安裝於該終端;在該主應用APP的安裝目錄中儲存與該待加載的子應用APP的安裝目錄對應的儲存路徑資訊。 The method according to item 1 of the scope of patent application, wherein the method further includes: if the terminal does not have an installation directory of the sub-application APP to be loaded, obtaining an installation package corresponding to the sub-application APP to be loaded and Installed on the terminal; storage path information corresponding to the installation directory of the sub-application APP to be loaded is stored in the installation directory of the main application APP. 根據申請專利範圍第1項所述的方法,其中,該方法還包括:接收用以觸發該主應用APP包含的第一子應用APP的開啟動作的第二指令;相應於該第二指令,判斷該第一子應用APP是否為在開啟該主應用APP的過程中加載的子應用APP;若該第一子應用APP不是在開啟該主應用APP的過程中加載的子應用APP,則判斷該終端是否存在該第一子應用APP的安裝目錄;若該終端不存在與該第一子應用APP對應的安裝目錄,獲取與該第一子應用APP對應的安裝包並安裝於該終端;在該主應用APP的安裝目錄中儲存與該待加載的第一子應用APP的安裝目錄對應的儲存路徑資訊;若該終端存在與該第一子應用APP對應的安裝目錄,獲取與該待加載的第一子應用APP的安裝目錄對應的儲存路徑資訊;基於獲取的儲存路徑資訊,在該主應用APP中調用該待加載的第一子應用APP的安裝目錄中的檔案並加載該待加載的第一子應用APP。 The method according to item 1 of the scope of patent application, wherein the method further comprises: receiving a second instruction used to trigger the opening action of the first sub-application APP included in the main application APP; corresponding to the second instruction, determining Whether the first sub-app APP is a sub-app APP loaded in the process of opening the main application APP; if the first sub-app APP is not a sub-app APP loaded in the process of opening the main application APP, determine the terminal Whether there is an installation directory for the first sub-application APP; if the terminal does not have an installation directory corresponding to the first sub-application APP, obtain the installation package corresponding to the first sub-application APP and install it on the terminal; The installation directory of the application APP stores the storage path information corresponding to the installation directory of the first sub-app APP to be loaded; if the terminal has an installation directory corresponding to the first sub-app APP, obtain the first sub-app to be loaded The storage path information corresponding to the installation directory of the sub-application APP; based on the obtained storage path information, call the file in the installation directory of the first sub-app APP to be loaded in the main application APP and load the first sub-app to be loaded Application APP. 一種終端應用程式(APP)的加載裝置,其特徵在於,包括: 接收模組,用於接收用以觸發安裝於終端上的、且包含至少一個子應用APP的主應用APP的開啟動作的指令;獲取模組,用於回應於該指令,獲取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊;加載模組,用於根據獲取的該應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟該主應用APP的過程中待加載的子應用APP並加載。 A terminal application program (APP) loading device, which is characterized by comprising: a receiving module for receiving an instruction used to trigger an opening action of a main application APP installed on a terminal and including at least one sub-application APP; The obtaining module is used to obtain application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded in response to the command; the loading module is used to obtain the application loading information including The identification information of the sub-application APP to be loaded is determined and loaded during the process of opening the main application APP. 根據申請專利範圍第8項所述的裝置,其中,該獲取模組具體用於:獲取根據該子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或,獲取根據用戶預先選取的待加載的子應用APP生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊;或,獲取根據用戶預先確定的待加載的子應用APP的數量以及該子應用APP在預設時長的使用頻率資訊生成的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 The device according to item 8 of the scope of patent application, wherein the acquisition module is specifically configured to: acquire the identification of the sub-application APP to be loaded, which is generated according to the usage frequency information of the sub-app APP for a preset duration Information; or, obtain application loading information that is generated based on the sub-application APP to be loaded pre-selected by the user and contains the identification information of the sub-application APP to be loaded; or, obtain the application loading information that is predetermined by the user Application loading information generated by the number of sub-apps and usage frequency information of the sub-apps during a preset period of time and containing identification information of the sub-apps to be loaded. 根據申請專利範圍第8項所述的裝置,其中,該裝置還包括:請求發送單元,用於向伺服器端發送獲取使用頻率資 訊的請求資訊;資訊接收單元,用於回應於該請求資訊,接收伺服器端發送的該主應用APP包含的各子應用APP在預設時長的使用頻率資訊;第一確定單元,用於將接收的該使用頻率資訊從高到低進行排序,並將該使用頻率資訊排序位於前列的該子應用APP確定為待加載的子應用APP;第一生成單元,用於生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到該終端的指定目錄中;則,該獲取模組具體用於:從該終端的指定目錄中讀取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 The device according to item 8 of the scope of patent application, wherein the device further includes: a request sending unit for sending request information for obtaining usage frequency information to the server side; an information receiving unit for responding to the request information, Receive the usage frequency information of each sub-application APP included in the main application APP sent by the server for the preset duration; the first determining unit is used to sort the received usage frequency information from high to low, and The sub-application APP that is ranked in the front row by the frequency of use information is determined to be the sub-application APP to be loaded; the first generating unit is used for generating application loading information containing identification information of the sub-application APP to be loaded and storing it in the designated directory of the terminal Then, the acquisition module is specifically used to read the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded from the designated directory of the terminal. 根據申請專利範圍第8項所述的裝置,其中,該裝置還包括:資訊獲取單元,用於從終端的主應用APP的安裝目錄中獲取該主應用APP包含的各子應用APP在預設時長的使用頻率資訊;第二確定單元,用於將獲取的該使用頻率資訊從高到低進行排序,並將該使用頻率資訊排序位於前列的該子應用APP確定為待加載的子應用APP;第二生成單元,用於生成包含待加載的子應用APP的標識資訊的應用加載資訊並儲存到該終端的指定目錄 中;則,該獲取模組具體用於:從該終端的指定目錄中讀取與該主應用APP對應的、且包含待加載的子應用APP的標識資訊的應用加載資訊。 The device according to item 8 of the scope of patent application, wherein the device further includes: an information acquiring unit for acquiring, from the installation directory of the main application APP of the terminal, each sub-application APP included in the main application APP at a preset time Long usage frequency information; a second determining unit for sorting the acquired usage frequency information from high to low, and determining the sub-application APP whose usage frequency information is ranked at the top as the sub-application APP to be loaded; The second generating unit is used to generate application loading information containing the identification information of the sub-application APP to be loaded and store it in the designated directory of the terminal; then, the acquisition module is specifically used to: read from the designated directory of the terminal Get the application loading information corresponding to the main application APP and containing the identification information of the sub-application APP to be loaded. 根據申請專利範圍第8項所述的裝置,其中,該加載模組包括:第三確定單元,用於根據獲取的該應用加載資訊包含的待加載的子應用APP的標識資訊,確定在開啟該主應用APP的過程中待加載的子應用APP;判斷單元,用於判斷該終端是否存在該待加載的子應用APP的安裝目錄;路徑獲取單元,用於在該終端存在該待加載的子應用APP的安裝目錄時,獲取與該待加載的子應用APP的安裝目錄對應的儲存路徑資訊;應用加載單元,用於基於獲取的儲存路徑資訊,在該主應用APP中調用該待加載的子應用APP的安裝目錄中的檔案並加載該待加載的子應用APP。 The device according to item 8 of the scope of patent application, wherein the loading module includes: a third determining unit for determining whether to open the application according to the identification information of the sub-application APP to be loaded included in the obtained application loading information The sub-application APP to be loaded in the process of the main application APP; the judging unit is used to judge whether the terminal has an installation directory of the sub-application APP to be loaded; the path obtaining unit is used to store the sub-application to be loaded in the terminal When the APP installation directory, obtain the storage path information corresponding to the installation directory of the sub-app APP to be loaded; the application loading unit is used to call the sub-application to be loaded in the main application APP based on the obtained storage path information Files in the APP installation directory and load the sub-application APP to be loaded. 根據申請專利範圍第8項所述的裝置,其中,該裝置還包括:安裝模組,用於在該終端不存在該待加載的子應用APP的安裝目錄時,獲取與該待加載的子應用APP對應的安裝包並安裝於該終端;路徑資訊儲存單元,用於在該主應用APP的安裝目 錄中儲存與該待加載的子應用APP的安裝目錄對應的儲存路徑資訊。 The device according to item 8 of the scope of patent application, wherein the device further includes: an installation module for obtaining the sub-application to be loaded when the installation directory of the sub-application APP to be loaded does not exist in the terminal The installation package corresponding to the APP is installed in the terminal; the path information storage unit is used to store the storage path information corresponding to the installation directory of the sub-application APP to be loaded in the installation directory of the main application APP.
TW106101952A 2017-01-19 2017-01-19 Loading method and device of terminal application program (APP) TWI705373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106101952A TWI705373B (en) 2017-01-19 2017-01-19 Loading method and device of terminal application program (APP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101952A TWI705373B (en) 2017-01-19 2017-01-19 Loading method and device of terminal application program (APP)

Publications (2)

Publication Number Publication Date
TW201828055A TW201828055A (en) 2018-08-01
TWI705373B true TWI705373B (en) 2020-09-21

Family

ID=63960197

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101952A TWI705373B (en) 2017-01-19 2017-01-19 Loading method and device of terminal application program (APP)

Country Status (1)

Country Link
TW (1) TWI705373B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999268A (en) * 2012-11-29 2013-03-27 广东欧珀移动通信有限公司 Dynamic unlocking method and dynamic unlocking device based on application and use times and mobile terminal
CN103853606A (en) * 2012-11-29 2014-06-11 北京三星通信技术研究有限公司 Application program switching method and device
CN104199735A (en) * 2014-09-26 2014-12-10 酷派软件技术(深圳)有限公司 Switching method, switching system and terminal for operating system
TWI494786B (en) * 2010-08-10 2015-08-01 Biglobe Inc Application program distribution system, application program distribution method, terminal and program product
US20150378593A1 (en) * 2013-05-16 2015-12-31 Beijing Qihoo Technology Company Limited Implementation method for user interface of mobile device, and mobile device
US20160085514A1 (en) * 2014-09-23 2016-03-24 Quixey, Inc. Development System and Method for Providing External Functionality
TWI533212B (en) * 2014-10-07 2016-05-11 Mobile device APP integrated application method and device thereof
TW201617921A (en) * 2014-11-14 2016-05-16 喬治 斯特徹夫 Application matching method for mobile device and accessory device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI494786B (en) * 2010-08-10 2015-08-01 Biglobe Inc Application program distribution system, application program distribution method, terminal and program product
CN102999268A (en) * 2012-11-29 2013-03-27 广东欧珀移动通信有限公司 Dynamic unlocking method and dynamic unlocking device based on application and use times and mobile terminal
CN103853606A (en) * 2012-11-29 2014-06-11 北京三星通信技术研究有限公司 Application program switching method and device
US20150378593A1 (en) * 2013-05-16 2015-12-31 Beijing Qihoo Technology Company Limited Implementation method for user interface of mobile device, and mobile device
US20160085514A1 (en) * 2014-09-23 2016-03-24 Quixey, Inc. Development System and Method for Providing External Functionality
CN104199735A (en) * 2014-09-26 2014-12-10 酷派软件技术(深圳)有限公司 Switching method, switching system and terminal for operating system
TWI533212B (en) * 2014-10-07 2016-05-11 Mobile device APP integrated application method and device thereof
TW201617921A (en) * 2014-11-14 2016-05-16 喬治 斯特徹夫 Application matching method for mobile device and accessory device

Also Published As

Publication number Publication date
TW201828055A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
WO2017050146A1 (en) Loading method and device for terminal application (app)
CN107193750B (en) Script recording method and device
US10185611B2 (en) System for monitoring and tracking application crashes occurring on different mobile devices
US11240290B2 (en) Application download method and apparatus, application sending method and apparatus, and system
JP6726285B2 (en) Client side activity monitoring
US20150236799A1 (en) Method and system for quick testing and detecting mobile devices
CN105607986A (en) Acquisition method and device of user behavior log data
CN103294335A (en) Apparatus and method for creating a shortcut menu
CN112099800A (en) Code data processing method and device and server
CN110555074A (en) method for extracting and processing data at fixed time, terminal and computer readable storage medium
KR20210034558A (en) Artificial intelligence development platform managing method, device, and medium
CN115454629A (en) AI algorithm and micro-service scheduling method and device based on cloud native technology
CN107102937B (en) User interface testing method and device
CN113971130A (en) Software performance testing method, device, equipment and storage medium
US11537377B2 (en) Method and system for profile based deployments
CN114357029A (en) Method, device, equipment, medium and program product for processing service data
US10289219B2 (en) Communicating with an unsupported input device
CN116028108B (en) Method, device, equipment and storage medium for analyzing dependent package installation time
CN116886534A (en) Adaptive optimization incomplete flow table method and device, electronic equipment and storage medium
CN112235132A (en) Method, device, medium and server for dynamically configuring service
TWI705373B (en) Loading method and device of terminal application program (APP)
TWI706343B (en) Sample playback data access method, device and computer equipment
CN111078418A (en) Operation synchronization method and device, electronic equipment and computer readable storage medium
CN113779122B (en) Method and device for exporting data
KR101684454B1 (en) Hybrid application and event handling method thereof