Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The embodiment of the invention provides a kind of method of down load application, and wherein, the execution main frame of the embodiment of the invention is terminal, and referring to Fig. 1, the method comprises:
Step 101: the interior module id of application that obtains user selection;
Step 102: send the module download request of obtaining functional module corresponding to this module id to server;
Step 103: receive functional module corresponding to this module id that this server returns according to described module download request, and received functional module is loaded in application framework corresponding to this application; Wherein, this application framework is used for supporting the operation of this functional module.
The method of the down load application that the embodiment of the invention provides, by functional module corresponding to module id in the application of obtaining user selection to server, and the functional module that gets access to is loaded into uses corresponding application framework, realized that the functional module of the application that the on-demand loading user needs is to terminal, save downloading flow, and improve the response speed of using.
On basis embodiment illustrated in fig. 1, the embodiment of the invention provides a kind of method of down load application.Wherein, when the user need to move certain functional module of application, the user can select to need this functional module of operation, and then the method that provides by this enforcement of terminal is downloaded this functional module, this functional module of reruning, and referring to Fig. 2, the method comprises:
Step 201: when needs were downloaded certain application, terminal to server sends used download request, and this application download request comprises the application identities of this application;
Preferably, when needs were downloaded certain application, terminal sends used download request to server, and this application download request is carried the application identities of this application.
Preferably, the application identities of this application can be agreement (IP, Internet Protocol) address of interconnecting between the URL(uniform resource locator) (URL, Uniform/Universal Resource Locator) of this application or the network etc.
Step 202: application framework corresponding to this application that the terminal reception server sends, this application framework is that server obtains according to this application identities;
Preferably, server receives this application download request, obtains application framework corresponding to this application according to this application identities that this application download request is carried, and sends this application framework to terminal, and terminal receives this application framework.
Preferably, this application identities that server carries according to this application download request is obtained the installation kit of application framework corresponding to this application, send the installation kit of this application framework to terminal, terminal is installed this application framework according to the installation kit of this application architecture.
Wherein, this application framework is for the operation of supporting the functional module that this application comprises.
Wherein, this application framework comprises main interface and module loading device; To this application framework, main interface provides navigation for the user to the module loading device for the functional module in the application that loads user selection, so that user selection is used interior module id.
Wherein, the module id that comprises the functional module that this application comprises in the module loading device; Preferably, the module id of functional module can be URL or the IP address of this functional module.
For example, suppose, this application comprises functional module 1,2 and 3, and functional module 1,2 and 3 module id are respectively URL1, URL2 and URL3, thereby comprise the module id URL1 of the functional module 1 that this application comprises, the module id URL2 of functional module 2 and the module id URL3 of functional module 3 in the module loading device.
Wherein, this application framework can also comprise the icon of the functional module that basic function module that this application comprises and/or this application comprise; The functional module that other functional modules that basic function module comprises for this application of operation all can be used, for example, the basic function module that this application comprises can be prologue animation, welcome interface module and/or navigation module etc.
For example, suppose, the functional module 1 that this application comprises, 2 and 3 icon are respectively icon 1,2 and 3, then this application framework can also comprise the icon 1 of the functional module 1 that this application comprises, the icon 2 of functional module 2 and the icon 3 of functional module 3, can also comprise the basic function module of this application.
Preferably, terminal can according to the installation kit of this application framework, be installed in this application framework in the memory of terminal this locality; The memory of terminal this locality can for the internal memory of terminal, storage card and/or other with medium of storage properties etc.
Preferably, behind the complete application framework that should use of terminal downloads, the module id of the functional module that terminal can comprise this application is presented in the main interface; For example, module id URL1, the module id URL2 of functional module 2 of the terminal functional module 1 that this application can be comprised and the module id URL3 of functional module 3 are presented in the main interface.
Perhaps,
Behind the complete application framework that should use of terminal downloads, the icon of the functional module that terminal can comprise this application is presented in the main interface, and icon and the module id of the functional module that this application is comprised are bound; For example, the icon 1 of the functional module 1 that terminal can comprise this application is presented in the main interface, and the icon 2 of the functional module 2 that icon 1 and the module id URL1 of functional module 1 bound, this application is comprised is presented in the main interface, and icon 2 and the module id URL2 of functional module 2 bound, and the functional module 3 that this application comprises is presented in the main interface, and icon 3 and the module id URL3 of functional module 3 bound.
Preferably, when the user need to move this application, terminal can be opened this main interface, and the module id of the functional module that this application is comprised is presented in the main interface; For example, terminal can be opened main interface, and module id URL1, the module id URL2 of functional module 2 of the functional module 1 that this application is comprised and the module id URL3 of functional module 3 are presented in the main interface.
Perhaps,
When the user need to move this application, terminal can be opened this main interface, and the icon of the functional module that this application is comprised is presented in the main interface, and icon and the module id of the functional module that this application is comprised are bound; For example, terminal can be opened this interface, the icon 1 of the functional module 1 that this application is comprised is presented in the main interface, and the icon 2 of the functional module 2 that icon 1 and the module id URL1 of functional module 1 bound, this application is comprised is presented in the main interface, and icon 2 and the module id URL2 of functional module 2 bound, and the functional module 3 that this application comprises is presented in the main interface, and icon 3 and the module id URL3 of functional module 3 bound.
Wherein, the user can in main interface, select to need operation functional module module id or icon and submit to terminal, triggering terminal is moved this functional module.For example, the user selects to need module id URL1 and the icon 1 of the functional module 1 of operation in main interface, submits to the module id URL1 of functional module 1 of the needs operation of selecting and icon 1 to terminal, triggering terminal operation function module 1.
Step 203: terminal is obtained the module id of functional module of this application of the needs operation of user selection;
Preferably, terminal is obtained the user by the module id of the functional module of this application of the needs operation of main interface selection.
Preferably, terminal receives the user by the module id of the functional module of this application of the needs operation of main interface selection, perhaps, receive the user by the icon of the functional module of this application of the needs operation of main interface selection, obtain the module id of binding with the icon of this functional module.
For example, terminal receives the user by the module id URL1 of the functional module 1 of the needs operation of main interface selection, perhaps, receive the user by the icon 1 of the functional module 1 of the needs operation of main interface selection, obtain the module id URL1 that binds with the icon 1 of functional module 1.
Step 204: terminal detects functional module corresponding to module id that self whether has this functional module, if there is no, execution in step 205, if exist, then execution in step 207;
Preferably, terminal is obtained the functional module that comprises of this application of self storage, according to the module id of this functional module, detects in the functional module that this application of self storage comprises whether have corresponding functional module.
Preferably, terminal also can not carried out this step, namely terminal can execution of step 203 after, execution in step 205.
Step 205: terminal to server sends the module download request of obtaining functional module corresponding to this module id, and this request comprises this module id;
Step 206: this functional module that the terminal reception server returns according to described module download request, and this functional module is loaded in the application framework of this application, this functional module is that server obtains according to this module id;
Preferably, server receives the module download request obtain functional module corresponding to this module id, obtains the installation kit of this functional module according to this module id, sends the installation kit of this functional module to terminal; Terminal receive this functional module installation kit and according to the installation kit of this functional module with this functional module in application framework corresponding to this application.
Wherein, in embodiments of the present invention, terminal is downloaded this functional module to this application framework according to the module id of this functional module by the module loading device; Be that terminal is passed through the module downloader and sent this module download request to server, receive this download response by the module downloader, and according to the installation kit of this functional module, and by the module loading device this functional module is installed in this application framework.
For example, suppose that terminal detects self and do not have functional module 1, the request that functional module 1 is obtained in transmission is to server, and this request comprises the module id URL1 of functional module 1; Server receives this request, obtains functional module 1 according to the module id URL1 of functional module 1, returns functional module 1 to terminal; Terminal receiving module 1, and functional module 1 is loaded in this application framework.
Wherein, in embodiments of the present invention, in server, this application is split into each functional module, and the installation kit of each functional module that comprises in this application of server stores.
Preferably, terminal can show that for pointing out the current generation be the information of download phase when downloading the installation kit of this functional module; For example, terminal display reminding information can be " current download, please wait for ".
Preferably, terminal can show that for pointing out the current generation be the information of erection stage when the installation kit of this functional module is installed; For example, terminal display reminding information can be " current install, please wait for ".
Wherein, in embodiments of the present invention, terminal is downloaded the application framework of this application first, when the user need to move certain functional module that this application comprises, the module id of this functional module that terminal reception user selection need to move, if there be not the functional module corresponding to module id of this functional module in the functional module that this application of self storing comprises, download this functional module from server again, the functional module that so can download user need to move, can not download for the functional module that the user does not need to move, therefore compare and download whole application, the method that the embodiment of the invention provides can be saved downloading flow.
Wherein, in embodiments of the present invention, terminal downloads is also installed the functional module that the user need to use, and the size of a functional module is less than the size of whole application, therefore the speed of terminal downloads and installation function module is greater than the speed of downloading and whole application being installed, therefore when the user downloads and move application first, can reduce the time that the user waits for, improve the user and experience.
Step 207: this functional module of terminal operating, to realize this application of operation, end operation.
Preferably, if there be functional module corresponding to the module id of this functional module in terminal, then terminal can also judge whether and need to upgrade this functional module, if necessary, this functional module is upgraded.
Wherein, the embodiment of the invention provides the more new model of two kinds of update functions modules, comprises synchronously more new model and asynchronous refresh pattern.
Preferably, referring to Fig. 3, if terminal adopts synchronously new model more to upgrade the functional module of application, then whether terminal judges needs this functional module is upgraded, if necessary, this functional module is upgraded, can for:
301: whether terminal judges needs this functional module is upgraded, and if necessary, then carries out 302;
Preferably, terminal is obtained the latest edition this shop of this functional module from server, the latest edition this shop of the version number of this functional module that comparison terminal has been stored and this functional module, if both are identical, then judging does not need this functional module is upgraded, if both are different, then judge and to upgrade this functional module.
Preferably, need to upgrade this functional module when terminal judges goes out, the version number of this functional module that terminal has been stored self is updated to the latest edition this shop of this functional module.
Preferably, when terminal judges goes out not need this functional module is upgraded, terminal can directly be moved this functional module.
302: terminal to server sends the module download request of obtaining this functional module, and this request comprises the module id of this functional module;
303: this functional module of the latest edition that the terminal reception server returns according to described module download request, this functional module of latest edition is loaded in this application framework, and this functional module of latest edition is that server obtains according to this module id;
Preferably, the module download request that this functional module is obtained in the terminal transmission is to server, and the module id of this functional module is carried in this request; Server receives this request, and the module id of this functional module of carrying according to this request obtains the installation kit of this functional module of latest edition, sends the installation kit of this functional module of latest edition; Terminal receives the installation kit of this functional module of latest edition, and this functional module of latest edition is installed in this application framework according to the installation kit of this functional module of latest edition.
304: this functional module of terminal operating latest edition.
Wherein, adopt synchronously more new model, the functional module of latest edition can be downloaded and move to terminal, makes the user use as early as possible the functional module of latest edition.
Preferably, referring to Fig. 4, if terminal adopts the asynchronous refresh pattern to upgrade the functional module of application, then whether terminal judges needs this functional module is upgraded, if necessary, this functional module is upgraded, can for:
401: this functional module of terminal operating,, judge whether and need to upgrade this functional module, if necessary, then carry out 402;
Preferably, this functional module of terminal operating, obtain the latest edition this shop of this functional module from server, the latest edition this shop of the version number of this functional module that comparison terminal has been stored and this functional module, if both are identical, then judging does not need this functional module is upgraded, if both are different, then judge and need to upgrade this functional module.
Preferably, need to upgrade this functional module when terminal judges goes out, the version number of this functional module that terminal will have been stored is updated to the latest edition this shop of this functional module.
402: terminal to server is sent out the module download request of obtaining this functional module, and this request comprises the module id of this functional module;
403: this functional module of the latest edition that the terminal reception server returns according to described module download request, this functional module of latest edition is loaded in this application framework, and this functional module of latest edition is that server obtains according to this module id.
Preferably, the module download request that this functional module is obtained in the terminal transmission is to server, and this request comprises the module id of this functional module; Server receives this request, obtains the installation kit of this functional module of latest edition according to the module id of this this functional module, sends the installation kit of this functional module of latest edition to terminal; Terminal receives the installation kit of this functional module of latest edition, and this functional module of latest edition is installed in this application framework according to the installation kit of this functional module of latest edition.
Wherein, adopt the asynchronous refresh pattern, terminal can the operation function module and is downloaded this functional module of latest edition, reduce the stand-by period that the user uses this functional module, and the user when moving this functional module next time, terminal can be moved this functional module of latest edition, so that the user is using this functional module of latest edition next time.
The method of a kind of down load application that the embodiment of the invention provides, application framework by down load application, this application architecture comprises module loading device and main interface, obtain the user by the module id of the functional module of this application of the needs operation of main interface selection, detect functional module corresponding to module id that there is not this functional module in terminal, download this functional module in this application framework according to the module id of this functional module, and move this functional module, so realize the functional module of this application that download user need to be moved, thereby saved downloading flow.
On basis embodiment illustrated in fig. 1, the embodiment of the invention provides a kind of method of down load application.Wherein, when the user needed certain functional module of down load application, the user can select this functional module of need downloading, and then the method that provides by this enforcement of terminal is downloaded this functional module, and referring to Fig. 5, the method comprises:
Step 501: when needs were downloaded certain application, terminal to server sends used download request, and this application download request comprises the application identities of this application;
Preferably, when needs were downloaded certain application, terminal sends used download request to server, and this application download request is carried the application identities of this application.
Step 502: application framework corresponding to this application that the terminal reception server sends, this application framework is that server obtains according to this application identities;
Preferably, server receives this application download request, obtains application framework corresponding to this application according to this application identities that this application download request is carried, and sends this application framework to terminal, and terminal receives this application framework.
Preferably, this application identities that server carries according to this application download request is obtained the installation kit of application framework corresponding to this application, send the installation kit of this application framework to terminal, terminal is installed this application framework according to the installation kit of this application architecture.
Wherein, this application framework is for the operation of supporting the functional module that this application comprises.
Wherein, this application framework comprises main interface and module loading device; To this application framework, main interface provides navigation for the user to the module loading device for the functional module in the application that loads user selection, so that user selection is used interior module id.
Wherein, the module id that comprises the functional module that this application comprises in the module loading device; For example, suppose, this application comprises functional module 1,2 and 3, and functional module 1,2 and 3 module id are respectively URL1, URL2 and URL3, thereby comprise the module id URL1 of the functional module 1 that this application comprises, the module id URL2 of functional module 2 and the module id URL3 of functional module 3 in the module loading device.
Wherein, this application framework can also comprise the icon of the functional module that basic function module that this application comprises and/or this application comprise; The functional module that other functional modules that basic function module comprises for this application of operation all can be used, for example, the basic function module that this application comprises can be prologue animation, welcome interface module and/or navigation module etc.
For example, suppose, the functional module 1 that this application comprises, 2 and 3 icon are respectively icon 1,2 and 3, then this application framework can also comprise the icon 1 of the functional module 1 that this application comprises, the icon 2 of functional module 2 and the icon 3 of functional module 3, can also comprise the basic function module of this application.
Preferably, terminal can according to the installation kit of this application framework, be installed in this application framework in the memory of terminal this locality; The memory of terminal this locality can for the internal memory of terminal, storage card and/or other with medium of storage properties etc.
Preferably, behind the complete application framework that should use of terminal downloads, the module id of the functional module that terminal can comprise this application is presented in the main interface; For example, module id URL1, the module id URL2 of functional module 2 of the terminal functional module 1 that this application can be comprised and the module id URL3 of functional module 3 are presented in the main interface.Perhaps,
Behind the complete application framework that should use of terminal downloads, the icon of the functional module that terminal can comprise this application is presented in the main interface, and icon and the module id of the functional module that this application is comprised are bound; For example, the icon 1 of the functional module 1 that terminal can comprise this application is presented in the main interface, and the icon 2 of the functional module 2 that icon 1 and the module id URL1 of functional module 1 bound, this application is comprised is presented in the main interface, and icon 2 and the module id URL2 of functional module 2 bound, and the functional module 3 that this application comprises is presented in the main interface, and icon 3 and the module id URL3 of functional module 3 bound.
Preferably, when the user need to download the functional module of this application, terminal can be opened this main interface, and the module id of the functional module that this application is comprised is presented in the main interface; For example, terminal can be opened main interface, and module id URL1, the module id URL2 of functional module 2 of the functional module 1 that this application is comprised and the module id URL3 of functional module 3 are presented in the main interface.Perhaps,
When the user need to download the functional module of this application, terminal can be opened this main interface, and the icon of the functional module that this application is comprised is presented in the main interface, and icon and the module id of the functional module that this application is comprised are bound; For example, terminal can be opened this interface, the icon 1 of the functional module 1 that this application is comprised is presented in the main interface, and the icon 2 of the functional module 2 that icon 1 and the module id URL1 of functional module 1 bound, this application is comprised is presented in the main interface, and icon 2 and the module id URL2 of functional module 2 bound, and the functional module 3 that this application comprises is presented in the main interface, and icon 3 and the module id URL3 of functional module 3 bound.
Wherein, the user can select module id or the icon of functional module that need to download and submit to terminal in main interface, and triggering terminal is downloaded this functional module.For example, the user selects module id URL1 and the icon 1 of functional module 1 that need to download in main interface, submits to the module id URL1 of the functional module 1 that the needs selected download and icon 1 to terminal, triggering terminal download function module 1.
Step 503: terminal is obtained the module id of the functional module of this application that the needs of user selection download;
Preferably, terminal is obtained the user by the module id of the functional module of this application of the needs download of main interface selection.
Preferably, terminal receives the user by the module id of the functional module of this application of the needs download of main interface selection, perhaps, receive the user by the icon of the functional module of this application of the needs download of main interface selection, obtain the module id of binding with the icon of this functional module.
For example, terminal receives the user by the module id URL1 of the functional module 1 of the needs download of main interface selection, perhaps, receive the user by the icon 1 of the functional module 1 of the needs download of main interface selection, obtain the module id URL1 that binds with the icon 1 of functional module 1.
Step 504: terminal detects the functional module corresponding to module id of the functional module that self whether has this application, and if there is no, if execution in step 505 is existence, then end operation;
Preferably, terminal is obtained the functional module that comprises of this application of self storage, according to the module id of this functional module, detects in the functional module that this application of self storage comprises whether have corresponding functional module.
Preferably, terminal also can not carried out this step, namely terminal can execution of step 503 after, execution in step 505.
Step 505: terminal to server sends the module download request of obtaining functional module corresponding to this module id, and this request comprises this module id;
Step 506: this functional module that the terminal reception server returns according to described module download request, and this functional module is loaded in the application framework of this application, this functional module is that server obtains according to this module id.
Preferably, server receives the module download request obtain functional module corresponding to this module id, obtains the installation kit of this functional module according to this module id, sends the installation kit of this functional module to terminal; Terminal receive this functional module installation kit and according to the installation kit of this functional module with this functional module in application framework corresponding to this application.
For example, suppose that terminal detects self and do not have functional module 1, the request that functional module 1 is obtained in transmission is to server, and this request comprises the module id URL1 of functional module 1; Server receives this request, obtains functional module 1 according to the module id URL1 of functional module 1, returns functional module 1 to terminal; Terminal receiving module 1, and functional module 1 is loaded in this application framework.
Wherein, in embodiments of the present invention, in server, this application is split into each functional module, and the installation kit of each functional module that comprises in this application of server stores.
Preferably, terminal can show that for pointing out the current generation be the information of download phase when downloading the installation kit of this functional module; For example, terminal display reminding information can be " current download, please wait for ".
Preferably, terminal can show that for pointing out the current generation be the information of erection stage when the installation kit of this functional module is installed; For example, terminal display reminding information can be " current install, please wait for ".
The method of a kind of down load application that the embodiment of the invention provides, the application framework by down load application, this application architecture comprises module loading device and main interface, obtain the user by the module id of the functional module of this application of the needs download of main interface selection, detect functional module corresponding to module id that there is not this functional module in terminal, download this functional module in this application framework according to the module id of this functional module, so realize the functional module of this application that download user need to be downloaded, thereby save downloading flow.
The embodiment of the invention provides a kind of method of down load application, and referring to Fig. 6, the method comprises:
Step 601: when needs are downloaded certain and used, download the application framework of this application, this application framework comprises main interface and module loading device, comprises the WebView(webpage view in the module loading device) and the primary code of this application;
Step 602: the detection module event that in the main interface that this application framework comprises, triggers the script among the WebView according to the user by the functional module of user interactions selection;
Wherein, the user can pass through user interactions selection function module in main interface, and user interactions can and/or be clicked screen etc. for gesture operation, touch, slip.
Step 603: the script according to this detection module Event triggered WebView calls detection method, obtains the module id of the functional module of user selection according to this detection method;
Step 604: the primary code of the module id of this functional module being informed this application by WebView;
Preferably, the module id of this functional module of script notice WebView in the WebView, the primary code of WebView and this application communicates and the module id of this functional module is informed the primary code of this application.
Step 605: whether store the functional module corresponding to module id of this functional module by primary code sense terminals this locality of this application, if exist, execution in step 606, if there is no, execution in step 607;
Step 606: by the script in the primary code notice WebView of this application, and by this functional module of the triggering of the script in WebView operation, end operation;
Preferably, when the primary code of this application detects functional module corresponding to the module id of this functional module of terminal storage, send response to Webview, WebView notifies the script in self, and triggers this functional module of operation according to the script in self.
Step 607: according to the module id of this functional module, download this functional module by the primary code of this application;
Preferably, the primary code of this application obtains the installation kit of this functional module according to the module id of this functional module from server, according to the installation kit of this functional module this functional module is installed in this application framework.
Step 608: by the script in the primary code notice WebView of this application, and by this functional module of the triggering of the script in WebView operation, end operation.
Preferably, the primary code of this application sends response to WebView, and WebView notifies the script in himself, and triggers this functional module of operation according to the script in himself.
The embodiment of the invention provides a kind of method of down load application, and wherein, the executive agent of the embodiment of the invention is server, and referring to Fig. 7, the method comprises:
Step 701: the module download request of obtaining the functional module of using inner module sign correspondence that receiving terminal sends;
Step 702: obtain functional module corresponding to this module id according to this module id;
Wherein, obtaining functional module corresponding to this module id according to module id can comprise:
Server is searched corresponding relation between the local Function Identification of storing and functional module according to this Function Identification, obtains functional module corresponding to this Function Identification.
Step 703: the functional module of obtaining is sent to terminal;
So that terminal is loaded into received functional module in application architecture corresponding to this application, wherein, this application framework is used for supporting the operation of this functional module.
The method of a kind of down load application that the embodiment of the invention provides, the request of obtaining the functional module of using inner module sign correspondence that receiving terminal sends, obtain functional module corresponding to this module id according to this module id, the functional module of obtaining is sent to terminal, so that terminal is loaded into received functional module in application architecture corresponding to this application, so realize the functional module that download user need to be moved or the user need to download, thereby saved downloading flow.
The embodiment of the invention provides a kind of terminal, and referring to Fig. 8, described terminal comprises:
Acquisition module 801 is for the module id in the application of obtaining user selection;
The first sending module 802 is used for sending the module download request of obtaining functional module corresponding to described module id to server;
The first download module 803, be used for receiving functional module corresponding to described module id that described server returns according to described module download request, and received functional module is loaded in the application framework of described application correspondence, wherein, described application framework is used for supporting the operation of described functional module.
Preferably, referring to Fig. 9, described terminal also comprises:
The second sending module 804 is used for sending the application download request to server, and described application download request comprises the application identities of the application that needs are downloaded;
The second download module 805, be used for loading the described application framework of using correspondence that described server returns according to described application download request, wherein, described application architecture comprises module loading device and main interface, described module loading device be used for to load functional module in the application of user selection to described application framework, described main interface provides navigation for the user, so that described user selection is used interior module id.
Preferably, described acquisition module 801 is used for obtaining the interior module id of described application that described user selects by described main interface.
Preferably, described the first download module 803 is used for according to described module id, by described module loading device described functional module is loaded into described the application in the corresponding application framework.
Preferably, referring to Figure 10, described terminal also comprises:
Whether detection module 806 exists functional module corresponding to described module id for detection of terminal;
The first update processing module 807, if detecting described functional module, described detection module exists, then judge whether and to upgrade described functional module, if necessary, the described functional module of latest edition is downloaded to described application framework, and the described functional module of operation latest edition; Perhaps, the second update processing module exists if described detection module detects described functional module, then move described functional module,, judge whether and need to upgrade described functional module, if necessary, then the described functional module of latest edition is loaded in the described application framework;
Control module 808 does not exist if described detection module detects described functional module, then controls described the first sending module and carries out the operation that sends the request of obtaining functional module corresponding to described module id to server.
The terminal that the embodiment of the invention provides, by functional module corresponding to module id in the application of obtaining user selection to server, and the functional module that gets access to is loaded into uses corresponding application framework, realized that the functional module of the application that the on-demand loading user needs is to terminal, save downloading flow, and improve the response speed of using.
The embodiment of the invention provides a kind of server, and referring to Figure 11, described server comprises:
The first receiver module 901 is used for the module download request of obtaining the functional module of using inner module sign correspondence that receiving terminal sends;
The first acquisition module 902 is used for obtaining functional module corresponding to described module id according to described module id;
The first sending module 903, the functional module that is used for described the first acquisition module is obtained is sent to described terminal;
Like this, described terminal just can be loaded into received functional module described the application in the corresponding application architecture, and wherein, described application framework is used for supporting the operation of described functional module.
Preferably, referring to Figure 12, described server also comprises:
The second receiver module 904 is used for the application download request that receiving terminal sends, and described application download request comprises the application identities of the application that described terminal need to be downloaded;
The second acquisition module 905 is used for obtaining the described corresponding application framework of using according to described application identities;
The second sending module 906, be used for the application framework that obtains is sent to described terminal, wherein, described application architecture comprises module loading device and main interface, described module loading device be used for to load the functional module of described application of user selection to described application framework, described main interface provides navigation for the user, so that described user selection is used interior module id.
A kind of server that the embodiment of the invention provides, the request of obtaining the functional module of using inner module sign correspondence that receiving terminal sends, obtain functional module corresponding to this module id according to this module id, the functional module of obtaining is sent to terminal, so that terminal is loaded into received functional module in application architecture corresponding to this application, so realize the functional module of this application that download user need to be moved or download, thereby saved downloading flow.
The embodiment of the invention provides a kind of system of down load application, and referring to Figure 13, this system comprises such as Fig. 8,9 or 10 described terminals 1001 with such as Figure 11 or 12 described servers 1002.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.