WO2014063552A1 - 一种下载应用的方法、终端、服务器及系统 - Google Patents

一种下载应用的方法、终端、服务器及系统 Download PDF

Info

Publication number
WO2014063552A1
WO2014063552A1 PCT/CN2013/084121 CN2013084121W WO2014063552A1 WO 2014063552 A1 WO2014063552 A1 WO 2014063552A1 CN 2013084121 W CN2013084121 W CN 2013084121W WO 2014063552 A1 WO2014063552 A1 WO 2014063552A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
application
terminal
function module
identifier
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2013/084121
Other languages
English (en)
French (fr)
Inventor
任远
张明
许大芮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Publication of WO2014063552A1 publication Critical patent/WO2014063552A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits

Definitions

  • a method, a terminal, a server and a system for downloading an application is based on a Chinese patent application with the application number 201210417517.1, the application date being October 26, 2012, and claiming the priority of the Chinese patent application, the Chinese patent application The entire disclosure is hereby incorporated by reference.
  • the present disclosure relates to the field of computers and communications, and in particular, to a method, a terminal, and a server for downloading an application. Background technique
  • the mobile phone downloads the entire application from the network to the local mobile phone, that is, downloads all the functional modules included in the application to the mobile phone local, and the user includes all the applications from the application.
  • the function module select the function module that needs to be run, and then the mobile phone runs the function module selected by the user, so that the application is run.
  • Embodiments of the present disclosure provide a method, a terminal, a server, and a system for downloading an application, which can download download traffic of an application.
  • the technical solution is as follows:
  • the disclosure provides a method for downloading an application, where the method includes: acquiring a module identifier in an application selected by a user;
  • the present disclosure provides a method for downloading an application, where the method includes: receiving, by a terminal, a module download request for acquiring a function module corresponding to an identifier of an in-app module, and acquiring, according to the module identifier, the module identifier functional module;
  • the acquired function module is sent to the terminal.
  • the disclosure provides a terminal, where the terminal includes:
  • An obtaining module configured to obtain a module identifier in an application selected by a user
  • a first sending module configured to send, to the server, a module download request for acquiring a function module corresponding to the module identifier
  • a first downloading module configured to receive a function module corresponding to the module identifier returned by the server according to the module download request, and load the received function module into an application framework corresponding to the application, where The application framework is used to support the operation of the functional modules.
  • the disclosure provides a server, where the server includes:
  • a first receiving module configured to receive a module download request sent by the terminal to obtain a function module corresponding to the module identifier in the application
  • a first acquiring module configured to acquire, according to the module identifier, a function module corresponding to the module identifier
  • a first sending module configured to send the function module acquired by the first acquiring module to the terminal.
  • the present disclosure provides a system for downloading an application, the system comprising the terminal and server described above.
  • the method for downloading an application obtained by an embodiment of the present disclosure obtains a function module corresponding to a module identifier in an application selected by a user, and loads the obtained function module into an application application framework corresponding to the application, thereby implementing an on-demand loading user.
  • the functional modules of the required applications are applied to the terminal, saving download traffic and improving the responsiveness of the application.
  • FIG. 1 is an exemplary flowchart of a method for downloading an application according to an embodiment of the present disclosure
  • FIG. 2 is an exemplary flowchart of another method for downloading an application provided by an embodiment of the present disclosure
  • An exemplary flowchart of a synchronous update function module is provided.
  • FIG. 4 is an exemplary flowchart of an asynchronous update function module according to an embodiment of the present disclosure.
  • FIG. 5 is another download application provided by an embodiment of the present disclosure.
  • FIG. 6 is an exemplary flowchart of another method for downloading an application provided by an embodiment of the present disclosure.
  • FIG. 7 is an exemplary flowchart of another method for downloading an application according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a first structure of a terminal according to an embodiment of the present disclosure;
  • FIG. 9 is a schematic diagram of a second structure of a terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a third structure of a terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of a first structure of a server according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of a second structure of a server according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a system for downloading an application according to an embodiment of the present disclosure. detailed description
  • the embodiment of the present disclosure provides a method for downloading an application, where the execution host of the embodiment of the present disclosure is a terminal, and referring to FIG. 1, the method includes:
  • Step 101 Obtain a module identifier in an application selected by a user.
  • Step 102 Send, to the server, a module download request for acquiring a function module corresponding to the module identifier;
  • Step 103 Receive a function module corresponding to the module identifier returned by the server according to the module download request, and load the received function module into an application framework corresponding to the application; wherein the application framework is used to support The function module is running.
  • the method for downloading an application acquires a function module corresponding to a module identifier in an application selected by a user by using a function module, and loads the acquired function module into an application corresponding to the application.
  • the application framework implements on-demand loading of functional modules of the application required by the user to the terminal, saving download traffic and improving application response speed.
  • the embodiment of the present disclosure provides a method for downloading an application.
  • the user can select the function module that needs to be run, and then the terminal downloads the function module by using the method provided by the implementation, and then runs the function module.
  • the method includes :
  • Step 201 When an application needs to be downloaded, the terminal sends an application download request to the server, where the application download request includes an application identifier of the application.
  • the terminal when an application needs to be downloaded, the terminal sends an application download request to the server, and the application download request carries the application identifier of the application.
  • the application identifier of the application may be a uniform resource locator (URL, Uniform/Universal Resource Locator) of the application or an IP (Internet Protocol) address interconnected between the networks.
  • URL Uniform/Universal Resource Locator
  • IP Internet Protocol
  • Step 202 The terminal receives an application framework corresponding to the application sent by the server, where the application framework is obtained by the server according to the application identifier.
  • the server receives the application download request, obtains the application framework corresponding to the application according to the application identifier carried by the application download request, and sends the application framework to the terminal, and the terminal receives the application framework.
  • the server obtains an installation package of the application framework corresponding to the application according to the application identifier carried by the application download request, and sends an installation package of the application framework to the terminal, and the terminal installs the application framework according to the installation package of the application architecture.
  • the application framework is used to support the operation of the functional modules included in the application.
  • the application framework includes a main interface and a module loader; the module loader is configured to load a function module in the application selected by the user into the application framework, and the main interface provides navigation for the user, so that the user selects the module identifier in the application.
  • the module loader includes a module identifier of the function module included in the application; for example, the module identifier of the function module may be a URL or an IP address of the function module.
  • the application includes functional modules 1, 2 and 3, and the module identifiers of the functional modules 1, 2 and 3 are respectively URL1, URL2 and URL3, so that the module loader includes the module identifier of the functional module 1 included in the application.
  • URL1, module ID of function module 2, and module of function module 3 Identifies URL3.
  • the application framework may further include an icon of a basic function module included in the application and/or a function module included in the application; the basic function module is a function module that is used by other function modules included in the application, for example, the application.
  • the basic function modules included may be an opening animation module, a welcome interface module, and/or a navigation module.
  • the application framework may further include an icon of the function module 1 included in the application, and an icon of the function module 2.
  • 2 and icon 3 of function module 3 may also include basic functional modules of the application.
  • the terminal may install the application framework in the memory local to the terminal according to the installation package of the application framework; the memory local to the terminal may be the memory of the terminal, the memory card, and/or other media with storage properties.
  • the terminal may display the module identifier of the function module included in the application in the main interface; for example, the terminal may identify the module ID1 of the function module 1 included in the application.
  • the module identification URL 2 of the module 2 and the module identification URL 3 of the function module 3 are displayed in the main interface.
  • the terminal may display the icon of the function module included in the application in the main interface, and bind the icon of the function module included in the application to the module identifier; for example, the terminal may The icon 1 of the function module 1 included in the application is displayed in the main interface, and the icon 1 of the function module 1 and the module identifier URL1 are bound, and the icon 2 of the function module 2 included in the application is displayed in the main interface.
  • the icon 2 of the function module 2 and the module identifier URL2 are bound, and the function module 3 included in the application is displayed in the main interface, and the icon 3 of the function module 3 and the module identifier URL3 are bound.
  • the terminal may open the main interface, and display the module identifier of the function module included in the application in the main interface; for example, the terminal may open the main interface, and the function module 1 included in the application
  • the module identification URL1, the module identification URL2 of the function module 2, and the module identification URL3 of the function module 3 are displayed in the main interface.
  • the terminal can open the main interface, display the icon of the function module included in the application in the main interface, and display the icon and the module label of the function module included in the application.
  • the terminal can open the interface, display the icon 1 of the function module 1 included in the application in the main interface, and bind the icon 1 of the function module 1 and the module identifier URL1, and include the application.
  • the icon 2 of the function module 2 is displayed in the main interface, and the icon 2 of the function module 2 and the module identification URL 2 are bound, and the function module 3 included in the application is displayed in the main interface, and the function module 3 is Icon 3 is bound to module ID URL3.
  • the user can select a module identifier or icon of the function module to be run in the main interface and submit it to the terminal, and trigger the terminal to run the function module. For example, the user selects the module identification URL1 and icon 1 of the function module 1 to be run in the main interface, and submits the selected module identification URL1 and icon 1 of the function module 1 to be executed to the terminal, and triggers the terminal to run the function module 1.
  • Step 203 The terminal acquires a module identifier of a function module of the application that is selected by the user to be run.
  • the terminal acquires the module identifier of the function module of the application that the user needs to run through the main interface.
  • the terminal receives the module identifier of the function module of the application that is selected by the user through the main interface, or receives an icon of the function module of the application that is selected by the user through the main interface, and obtains an icon attached to the function module.
  • the specified module identification is the module identifier of the function module of the application that is selected by the user through the main interface, or receives an icon of the function module of the application that is selected by the user through the main interface, and obtains an icon attached to the function module.
  • the terminal receives the module identifier URL1 of the function module 1 that needs to be run by the user through the main interface, or receives the icon 1 of the function module 1 that needs to be operated by the user through the main interface, and obtains the binding with the icon 1 of the function module 1.
  • the module identifies the URL 1.
  • Step 204 The terminal detects whether there is a function module corresponding to the module identifier of the function module, if not, step 205 is performed, if yes, step 207 is performed;
  • the terminal acquires a function module included in the application stored by the terminal, and detects whether a function module included in the application stored in the application has a corresponding function module according to the module identifier of the function module.
  • the terminal may not perform this step, that is, after the terminal can perform step 203, step 205 is performed.
  • Step 205 The terminal sends a module download request for acquiring a function module corresponding to the module identifier to the server, where the request includes the module identifier.
  • Step 206 The terminal receives the function module returned by the server according to the module download request, and loads the function module into an application framework of the application, where the function module is a server according to the server.
  • the module identifier is obtained;
  • the server receives a module download request for acquiring a function module corresponding to the module identifier, obtains an installation package of the function module according to the module identifier, and sends an installation package of the function module to the terminal; the terminal receives the installation package of the function module according to the The installation package of the function module has the function module in the application framework corresponding to the application.
  • the terminal downloads the function module to the application framework by using the module loader according to the module identifier of the function module; that is, the terminal sends the module download request to the server through the module downloader, and the module downloader The download response is received, and the function module is installed in the application framework by the module loader according to the installation package of the function module.
  • the terminal detects that the function module 1 does not exist, and sends a request for acquiring the function module 1 to the server, the request includes the module identifier URL1 of the function module 1; the server receives the request, and acquires the function module according to the module identifier URL1 of the function module 1. 1. Return the function module 1 to the terminal; the terminal receives the function module 1 and load the function module 1 into the application framework.
  • the application is split into functional modules in the server, and the installation package of each functional module included in the application is stored in the server.
  • the terminal may display a prompt message for prompting the current stage to be the download phase; for example, the terminal may display the prompt information as "currently downloading, please wait".
  • the terminal when the terminal installs the installation package of the function module, the terminal may display a prompt message for prompting the current stage as the installation phase; for example, the terminal may display the prompt information as "currently being installed, please wait".
  • the terminal downloads the application framework of the application for the first time.
  • the terminal receives the module identifier of the function module that the user selects to run, if the user stores the module.
  • the function module included in the application does not have a function module corresponding to the module identifier of the function module, and then the function module is downloaded from the server, so that the function module that the user needs to run can be downloaded, and the function module that the user does not need to run may not be downloaded. Therefore, the method provided by the embodiment of the present disclosure can save download traffic compared to downloading the entire application.
  • the terminal downloads and installs a function module that the user needs to use, and the size of one function module is smaller than the size of the entire application, so the speed at which the terminal downloads and installs the function module is greater than that of downloading and installing the entire application. Speed, so when the user first downloads and runs should When used, it can reduce the waiting time of users and improve the user experience.
  • Step 207 The terminal runs the function module to implement the application and end the operation.
  • the terminal may also determine whether the function module needs to be updated, and if necessary, update the function module.
  • the embodiment of the present disclosure provides an update mode of two update function modules, including a synchronization update mode and an asynchronous update mode.
  • the terminal determines whether the function module needs to be updated, and if necessary, updates the function module, which may be:
  • the terminal determines whether the function module needs to be updated, and if necessary, performs 302. For example, the terminal acquires the latest version number of the function module from the server, compares the version number of the function module that the terminal has stored, and the function module. The latest version number, if the two are the same, it is judged that the function module does not need to be updated. If the two are different, it is determined that the function module needs to be updated.
  • the terminal updates the version number of the function module that has been stored by itself to the latest version number of the function module.
  • the terminal can directly run the function module.
  • the terminal sends a module download request for acquiring the function module to the server, where the request includes a module identifier of the function module;
  • the terminal receiving server loads the latest version of the function module into the application framework according to the latest version of the function module returned by the module download request, and the latest version of the function module is obtained by the server according to the module identifier;
  • the terminal sends a module download request for acquiring the function module to the server, where the request carries the module identifier of the function module; the server receives the request, and obtains the latest version of the function module according to the module identifier of the function module carried in the request.
  • the package sends the latest version of the installation package of the function module; the terminal receives the latest version of the installation package of the function module, and installs the latest version of the function module in the application framework according to the latest version of the installation package of the function module.
  • the terminal runs the latest version of this function module.
  • the synchronous update mode allows the terminal to download and run the latest version of the function module, so that the user can use the latest version of the function module as soon as possible.
  • the terminal determines whether the function module needs to be updated, and if necessary, updates the function module, which may be:
  • the terminal runs the function module, and determines whether the function module needs to be updated, and if necessary, executes 402;
  • the terminal runs the function module, obtains the latest version number of the function module from the server, compares the version number of the function module stored by the terminal with the latest version number of the function module, and if the two are the same, it is determined that the function version is not required.
  • the function module is updated. If the two are different, it is determined that the function module needs to be updated.
  • the terminal updates the stored version number of the function module to the latest version number of the function module.
  • the terminal sends a module download request of the function module to the server, where the request includes a module identifier of the function module;
  • the terminal receiving server loads the latest version of the function module into the application framework according to the latest version of the function module returned by the module download request, and the latest version of the function module is obtained by the server according to the module identifier.
  • the terminal sends a module download request for acquiring the function module to the server, where the request includes the module identifier of the function module; the server receives the request, obtains the latest version of the installation package of the function module according to the module identifier of the function module, and sends The latest version of the installation module of the function module is provided to the terminal; the terminal receives the latest version of the installation package of the function module, and installs the latest version of the function module in the application framework according to the latest version of the installation package of the function module.
  • the terminal can run the function module and download the latest version of the function module, reducing the waiting time for the user to use the function module, and the user can run the latest version of the function module when the user runs the function module next time. , so that the user can use the latest version of the function module the next time.
  • the method for downloading an application provided by the embodiment of the present disclosure, by downloading an application framework of an application, the application framework includes a module loader and a main interface, and acquiring a module of a function module of the application that needs to be run by the user through the main interface. Identification, detecting that the function module is not present in the terminal The function module corresponding to the module identifier downloads the function module into the application framework according to the module identifier of the function module, and runs the function module, thereby implementing the function module of the application that the user needs to run, thereby saving download traffic.
  • the embodiment of the present disclosure provides a method for downloading an application.
  • the user can select the function module that needs to be downloaded, and then the terminal downloads the function module by using the method provided in this embodiment.
  • the method includes:
  • Step 501 When an application needs to be downloaded, the terminal sends an application download request to the server, where the application download request includes an application identifier of the application.
  • the terminal when an application needs to be downloaded, the terminal sends an application download request to the server, and the application download request carries the application identifier of the application.
  • Step 502 The terminal receives an application framework corresponding to the application sent by the server, where the application framework is obtained by the server according to the application identifier.
  • the server receives the application download request, obtains the application framework corresponding to the application according to the application identifier carried by the application download request, and sends the application framework to the terminal, and the terminal receives the application framework.
  • the server obtains an installation package of the application framework corresponding to the application according to the application identifier carried by the application download request, and sends an installation package of the application framework to the terminal, and the terminal installs the application framework according to the installation package of the application architecture.
  • the application framework is used to support the operation of the functional modules included in the application.
  • the application framework includes a main interface and a module loader; the module loader is configured to load a function module in the application selected by the user into the application framework, and the main interface provides navigation for the user, so that the user selects the module identifier in the application.
  • the module loader includes a module identifier of the function module included in the application; for example, it is assumed that the application includes the function modules 1, 2, and 3, and the module identifiers of the function modules 1, 2, and 3 are URL1, URL2, and URL3, respectively. Therefore, the module loader includes the module identification URL1 of the function module 1 included in the application, the module identification URL2 of the function module 2, and the module identification URL3 of the function module 3.
  • the application framework may further include an icon of a basic function module included in the application and/or a function module included in the application; the basic function module is a function module that is used by other function modules included in the application, for example, the application.
  • the basic function module included can be the opening animation module. Blocks, welcome interface modules and/or navigation modules, etc.
  • the application framework may further include an icon of the function module 1 included in the application, and an icon of the function module 2.
  • 2 and icon 3 of function module 3 may also include basic functional modules of the application.
  • the terminal may install the application framework in the memory local to the terminal according to the installation package of the application framework; the memory local to the terminal may be the memory of the terminal, the memory card, and/or other media with storage properties.
  • the terminal may display the module identifier of the function module included in the application in the main interface; for example, the terminal may identify the module ID1 of the function module 1 included in the application.
  • the module identification URL 2 of the module 2 and the module identification URL 3 of the function module 3 are displayed in the main interface.
  • the terminal may display the icon of the function module included in the application in the main interface, and bind the icon of the function module included in the application to the module identifier; for example, the terminal may The icon 1 of the function module 1 included in the application is displayed in the main interface, and the icon 1 of the function module 1 and the module identifier URL1 are bound, and the icon 2 of the function module 2 included in the application is displayed in the main interface.
  • the icon 2 of the function module 2 and the module identifier URL2 are bound, and the function module 3 included in the application is displayed in the main interface, and the icon 3 of the function module 3 and the module identifier URL3 are bound.
  • the terminal may open the main interface, and display the module identifier of the function module included in the application in the main interface; for example, the terminal may open the main interface, and the function included in the application
  • the module identification URL1 of the module 1, the module identification URL2 of the function module 2, and the module identification URL3 of the function module 3 are displayed in the main interface.
  • the terminal may open the main interface, display an icon of the function module included in the application in the main interface, and bind the icon of the function module included in the application to the module identifier; For example, the terminal may open the interface, display the icon 1 of the function module 1 included in the application in the main interface, and bind the icon 1 of the function module 1 and the module identifier URL1, and the function module 2 included in the application
  • the icon 2 is displayed in the main interface, and the icon 2 of the function module 2 and the module identification URL 2 are bound
  • the function module 3 included in the application is displayed in the main interface, and the icon 3 and the module identifier of the function module 3 are displayed.
  • URL3 is bound.
  • the user can select a module identifier or icon of the function module that needs to be downloaded in the main interface. And submit to the terminal, trigger the terminal to download the function module. For example, the user selects the module identification URL 1 and the icon 1 of the function module 1 to be downloaded in the main interface, and submits the selected module identification URL 1 and icon 1 of the function module 1 to be downloaded to the terminal, and triggers the terminal to download the function module 1.
  • Step 503 The terminal acquires, by the user, a module identifier of a function module of the application that needs to be downloaded by the user.
  • the terminal acquires a module identifier of a function module of the application that is selected by the user through the main interface and needs to be downloaded.
  • the terminal receives the module identifier of the function module of the application that is selected by the user through the main interface, or receives an icon of the function module of the application that is selected by the user through the main interface, and obtains an icon attached to the function module.
  • the specified module identification is the module identifier of the function module of the application that is selected by the user through the main interface, or receives an icon of the function module of the application that is selected by the user through the main interface, and obtains an icon attached to the function module.
  • the terminal receives the module identifier URL1 of the function module 1 that needs to be downloaded by the user through the main interface, or receives the icon 1 of the function module 1 that needs to be downloaded by the user through the main interface, and obtains the binding with the icon 1 of the function module 1.
  • the module identifies URL1.
  • Step 504 The terminal detects whether there is a function module corresponding to the module identifier of the function module of the application, if not, executing step 505, if yes, ending the operation;
  • the terminal acquires a function module included in the application stored by the terminal, and detects whether a function module included in the application stored in the application has a corresponding function module according to the module identifier of the function module.
  • the terminal may not perform this step, that is, after the terminal can perform step 503, step 505 is performed.
  • Step 505 The terminal sends a module download request for acquiring a function module corresponding to the module identifier to the server, where the request includes the module identifier.
  • Step 506 The terminal receives the function module returned by the server according to the module download request, and loads the function module into an application framework of the application, where the function module is obtained by the server according to the module identifier.
  • the server receives a module download request for acquiring a function module corresponding to the module identifier, obtains an installation package of the function module according to the module identifier, and sends an installation package of the function module to the terminal; the terminal receives the installation package of the function module according to the The installation package of the function module has the function module in the application framework corresponding to the application.
  • the terminal detects that it does not have the function module 1 and sends the acquisition function module 1 Requesting the server, the request includes the module identifier URL1 of the function module 1; the server receives the request, acquires the function module 1 according to the module identifier URL1 of the function module 1, returns the function module 1 to the terminal; the terminal receives the function module 1, and the function module 1 Load into the application framework.
  • the application is split into functional modules in the server, and the installation package of each functional module included in the application is stored in the server.
  • the terminal may display a prompt message for prompting the current stage to be the download phase; for example, the terminal may display the prompt information as "currently downloading, please wait".
  • the terminal when the terminal installs the installation package of the function module, the terminal may display a prompt message for prompting the current stage as the installation phase; for example, the terminal may display the prompt information as "currently being installed, please wait".
  • the method for downloading an application provided by the embodiment of the present disclosure, by downloading an application framework of an application, the application framework includes a module loader and a main interface, and acquiring a module of a function module of the application that is selected by the user through the main interface and required to be downloaded. Identifying, by detecting, that the terminal does not have a function module corresponding to the module identifier of the function module, and downloading the function module to the application framework according to the module identifier of the function module, thereby implementing downloading the function module of the application that the user needs to download, thereby Save download traffic.
  • An embodiment of the present disclosure provides a method for downloading an application.
  • the method includes: Step 601: When an application needs to be downloaded, download an application framework of the application, where the application framework includes a main interface and a module loading.
  • the module loader contains the Web View and the native code of the application;
  • Step 602 Trigger a detection module event of the script in the Web View according to a function module selected by the user in the main interface included in the application framework by the user interaction;
  • the user can select a function module through user interaction in the main interface, and the user interaction can be gesture operation, touch, slide, and/or click on the screen.
  • Step 603 triggering a script call detection method of the WebView according to the detection module event, and acquiring a module identifier of the function module selected by the user according to the detection method;
  • Step 604 Informing the module of the function module of the native code of the function through the WebView
  • a script in WebView notifies WebView of the module identifier of the function module.
  • the Web View communicates with the application's native code and informs the application's native code of the module's module identification.
  • Step 605 detecting, by the native code of the application, whether the terminal locally stores the function module corresponding to the module identifier of the function module, if yes, executing step 606, if not, executing step 607;
  • Step 606 Notifying the script in the WebView by using the native code of the application, and triggering the function module to be triggered by the script in the WebView, and ending the operation;
  • the application's native code detects that the terminal stores the function module corresponding to the module identifier of the function module, it sends a response to the Webview, and the Web View notifies the script in itself, and triggers the function module according to the script in itself.
  • Step 607 Download the function module by using the original code of the application according to the module identifier of the function module;
  • the native code of the application obtains the installation package of the function module from the server according to the module identifier of the function module, and installs the function module in the application framework according to the installation package of the function module.
  • Step 608 Notifying the script in the WebView through the native code of the application, and triggering the function module to be triggered by the script in the WebView, and ending the operation.
  • the application's native code sends a response to the Web View, the Web View notifies itself of the script, and runs the function module based on its own script trigger.
  • the embodiment of the present disclosure provides a method for downloading an application, where the execution subject of the embodiment of the present disclosure is a server, and referring to FIG. 7, the method includes:
  • Step 701 Receive a module download request sent by the terminal to obtain a function module corresponding to the module identifier in the application;
  • Step 702 Obtain a function module corresponding to the module identifier according to the module identifier.
  • the obtaining, by the module identifier, the function module corresponding to the module identifier may include: the server searching for a corresponding relationship between the locally stored function identifier and the function module according to the function identifier, and obtaining a function module corresponding to the function identifier.
  • Step 703 Send the obtained function module to the terminal.
  • the terminal loads the received function module into the application architecture corresponding to the application, where the application framework is used to support the operation of the function module.
  • the method for downloading an application provided by the embodiment of the present disclosure, receiving a request for acquiring a function module corresponding to the module identifier in the application sent by the terminal, acquiring a function module corresponding to the module identifier according to the module identifier, and sending the acquired function module to the function module.
  • the terminal so that the terminal loads the received function module into the application architecture corresponding to the application, so that the function module that the download user needs to run or the user needs to download is implemented, thereby saving download traffic.
  • the terminal includes:
  • the obtaining module 801 is configured to obtain a module identifier in the application selected by the user.
  • a first sending module 802 configured to send, to the server, a module download request for acquiring a function module corresponding to the module identifier
  • a first downloading module 803 configured to receive a function module corresponding to the module identifier returned by the server according to the module download request, and load the received function module into an application framework corresponding to the application, where The application framework is configured to support the operation of the functional module.
  • the terminal further includes:
  • the second sending module 804 is configured to send an application download request to the server, where the application download request includes an application identifier of the application that needs to be downloaded;
  • a second downloading module 805 configured to load an application framework corresponding to the application returned by the server according to the application download request, where the application framework includes a module loader and a main interface, where the module loader is used A function module within the user-selected application is loaded into the application framework, the main interface providing navigation to the user for the user to select a module identification within the application.
  • the obtaining module 801 is configured to obtain a module identifier in the application selected by the user through the main interface.
  • the first downloading module 803 is configured to load the function module into the application framework corresponding to the application by using the module loader according to the module identifier.
  • the terminal further includes:
  • the detecting module 806 is configured to detect whether the terminal has a function module corresponding to the module identifier.
  • the first update processing module 807 determines whether the function module needs to be updated if the detecting module detects that the function module exists. Downloading, if necessary, the latest version of the function module to the application framework and running the latest version of the function module; or a second update processing module, if the detecting module detects that the function module exists, running the function module, determining whether the function module needs to be updated, and if necessary, using the latest version of the function module Load into the application framework;
  • the terminal provided by the embodiment of the present disclosure obtains the function module corresponding to the module identifier in the application selected by the user, and loads the obtained function module into the application application framework corresponding to the application, thereby implementing the application required by the user on demand. Functional modules to the terminal, saving download traffic and improving application responsiveness.
  • the server includes: a first receiving module 901, configured to receive a module download request sent by the terminal to obtain a function module corresponding to the module identifier in the application;
  • the first obtaining module 902 is configured to acquire, according to the module identifier, a function module corresponding to the module identifier;
  • the first sending module 903 is configured to send the function module acquired by the first acquiring module to the terminal;
  • the terminal can load the received function module into the application program corresponding to the application, where the application frame is used to support the operation of the function module.
  • the server further includes:
  • the second receiving module 904 is configured to receive an application download request sent by the terminal, where the application download request includes an application identifier of the application that the terminal needs to download;
  • a second sending module 906 configured to send the acquired application framework to the terminal, where the application framework includes a module loader and a main interface, where the module loader is configured to load the application selected by the user
  • the function module is into the application framework, and the main interface provides navigation for the user, so that the user selects a module identifier within the application.
  • a server provided by the embodiment of the present disclosure receives a request for acquiring a function module corresponding to an identifier of an in-app module sent by a terminal, and acquires a function module corresponding to the module identifier according to the identifier of the module, Sending the obtained function module to the terminal, so that the terminal loads the received function module into the application architecture corresponding to the application, so that the function module of the application that the user needs to run or download is downloaded, thereby saving the download. flow.
  • An embodiment of the present disclosure provides a system for downloading an application.
  • the system includes a terminal 1001 as described in Figures 8, 9 or 10 and a server 1002 as shown in Figure 11 or 12.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开公开了一种下载应用的方法、终端、服务器及系统,属于计算机及通信领域。本公开实施例提供的一种下载应用的方法、终端、服务器及系统,通过获取用户选择的应用内的模块标识;向服务器发送获取所述模块标识对应的功能模块的模块下载请求;接收所述服务器根据所述模块下载请求返回的所述模块标识对应的功能模块,并将所接收到的功能模块加载到所述应用对应的应用程序框架中,其中,所述应用程序框架用于支持所述功能模块的运行,实现下载用户需要运行或需要下载的应用的功能模块,因而节省下载应用的下载流量。

Description

一种下载应用的方法、 终端、 服务器及系统 本申请基于申请号为 201210417517.1、 申请日为 2012年 10月 26号的中国 专利申请提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内 容在此引入本申请作为参考。 技术领域
本公开涉及计算机及通信领域, 特别涉及一种下载应用的方法、 终端及 服务器。 背景技术
随着手机技术的快速发展, 越来越多的基于手机的应用不断涌现, 其中 不乏很多基于网络的应用, 这类应用大多需要用户在使用前下载到手机本 地, 然后再在手机本地运行该应用。
目前当用户需要使用某个应用时, 如果手机本地不存在该应用, 手机从 网络中下载整个应用到手机本地, 即下载该应用包括的全部功能模块到手机 本地, 用户再从该应用包括的全部功能模块中选择需要运行的功能模块, 然 后手机运行用户选择的功能模块, 如此实现运行该应用。
目前在运行应用前需要下载该应用包括的全部功能模块, 而有些功能模 块用户可能不会使用, 因而浪费了大量的下载流量。 发明内容
本公开实施例提供了一种下载应用的方法、 终端、 服务器及系统, 可以 下载应用的下载流量。 所述技术方案如下:
第一方面, 本公开提供了一种下载应用的方法, 所述方法包括: 获取用户选择的应用内的模块标识;
向服务器发送获取所述模块标识对应的功能模块的模块下载请求; 接收所述服务器根据所述模块下载请求返回的所述模块标识对应的功 能模块, 并将所接收到的功能模块加载到所述应用对应的应用程序框架中; 其中, 所述应用程序框架用于支持所述功能模块的运行。 第二方面, 本公开提供了一种下载应用的方法, 所述方法包括: 接收终端发送的获取应用内模块标识对应的功能模块的模块下载请求; 根据所述模块标识获取所述模块标识对应的功能模块;
将所获取的功能模块发送至所述终端。
第三方面, 本公开提供了一种终端, 所述终端包括:
获取模块, 用于获取用户选择的应用内的模块标识;
第一发送模块, 用于向服务器发送获取所述模块标识对应的功能模块的 模块下载请求;
第一下载模块, 用于接收所述服务器根据所述模块下载请求返回的所述 模块标识对应的功能模块, 并将所接收到的功能模块加载到所述应用对应的 应用程序框架中, 其中, 所述应用程序框架用于支持所述功能模块的运行。
第四方面, 本公开提供了一种服务器, 所述服务器包括:
第一接收模块, 用于接收终端发送的获取应用内模块标识对应的功能模 块的模块下载请求;
第一获取模块, 用于根据所述模块标识获取所述模块标识对应的功能模 块;
第一发送模块, 用于将所述第一获取模块所获取的功能模块发送至所述 终端。
第五方面, 本公开提供了一种下载应用的系统, 所述系统包括以上所述 的终端和服务器。
本公开实施例的一些有益效果可以包括:
本公开实施例提供的下载应用的方法, 通过向服务器获取用户选择的应 用内的模块标识对应的功能模块, 并将获取到的功能模块加载到应用对应的 应用程序框架, 实现了按需加载用户需要的应用的功能模块到终端, 节省下 载流量, 及提高应用的响应速度。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性的, 并不 能限制本公开。 附图说明
为了更清楚地说明本公开实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 公开的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是本公开实施例提供的一种下载应用的方法的示例性流程图; 图 2是本公开实施例提供的另一种下载应用的方法的示例性流程图; 图 3是本公开实施例提供的一种同步更新功能模块的示例性流程图; 图 4是本公开实施例提供的一种异步更新功能模块的示例性流程图; 图 5是本公开实施例提供的另一种下载应用的方法的示例性流程图; 图 6是本公开实施例提供的另一种下载应用的方法的示例性流程图; 图 7是本公开实施例提供的另一种下载应用的方法的示例性流程图; 图 8是本公开实施例提供的一种终端的第一结构示意图;
图 9是本公开实施例提供的一种终端的第二结构示意图;
图 10是本公开实施例提供的一种终端的第三结构示意图;
图 11是本公开实施例提供的一种服务器的第一结构示意图;
图 12是本公开实施例提供的一种服务器的第二结构示意图;
图 13是本公开实施例提供的一种下载应用的系统结构示意图。 具体实施方式
为使本公开的目的、 技术方案和优点更加清楚, 下面将结合附图对本公 开实施方式作进一步地详细描述。
本公开实施例提供了一种下载应用的方法, 其中, 本公开实施例的执行 主机为终端, 参见图 1 , 该方法包括:
步骤 101 : 获取用户选择的应用内的模块标识;
步骤 102: 向服务器发送获取该模块标识对应的功能模块的模块下载请 求;
步骤 103 : 接收该服务器根据所述模块下载请求返回的该模块标识对应 的功能模块, 并将所接收到的功能模块加载到该应用对应的应用程序框架 中; 其中, 该应用程序框架用于支持该功能模块的运行。
本公开实施例提供的下载应用的方法, 通过向服务器获取用户选择的应 用内的模块标识对应的功能模块, 并将获取到的功能模块加载到应用对应的 应用程序框架, 实现了按需加载用户需要的应用的功能模块到终端, 节省下 载流量, 及提高应用的响应速度。
在图 1所示实施例的基础上, 本公开实施例提供了一种下载应用的方法。 其中, 当用户需要运行应用的某功能模块时, 用户可以选择需要运行的该功 能模块, 然后终端通过本实施提供的方法来下载该功能模块, 再运行该功能 模块, 参见图 2, 该方法包括:
步骤 201 : 当需要下载某个应用时, 终端向服务器发送应用下载请求, 该应用下载请求包括该应用的应用标识;
例如, 当需要下载某个应用时, 终端发送应用下载请求给服务器, 该应 用下载请求携带该应用的应用标识。
例如, 该应用的应用标识可以为该应用的统一资源定位符 ( URL , Uniform/Universal Resource Locator ) 或网络之间互连的十办议 ( IP, Internet Protocol )地址等。
步骤 202: 终端接收服务器发送的该应用对应的应用程序框架, 该应用 程序框架是服务器根据该应用标识获取的;
例如, 服务器接收该应用下载请求, 根据该应用下载请求携带的该应用 标识获取该应用对应的应用程序框架, 发送该应用程序框架给终端, 终端接 收该应用程序框架。
例如, 服务器根据该应用下载请求携带的该应用标识获取该应用对应的 应用程序框架的安装包, 发送该应用程序框架的安装包给终端, 终端根据该 应用程序构架的安装包安装该应用程序框架。
其中, 该应用程序框架用于支持该应用包括的功能模块的运行。
其中, 该应用程序框架包含主界面和模块加载器; 模块加载器用于加载 用户选择的应用内的功能模块到该应用程序框架中, 主界面为用户提供导 航, 以便用户选择应用内的模块标识。
其中, 模块加载器中包括该应用包括的功能模块的模块标识; 例如, 功 能模块的模块标识可以为该功能模块的 URL或 IP地址。
例如, 假设, 该应用包括功能模块 1、 2和 3 , 且功能模块 1、 2和 3的模块 标识分别为 URL1、 URL2和 URL3 , 因而模块加载器中包括该应用包括的功 能模块 1的模块标识 URL1、 功能模块 2的模块标识 URL2和功能模块 3的模块 标识 URL3。
其中,该应用程序框架还可以包括该应用包括的基本功能模块和 /或该应 用包括的功能模块的图标; 基本功能模块为运行该应用包括的其他功能模块 都会使用的功能模块, 例如, 该应用包括的基本功能模块可以为开场动画模 块、 欢迎界面模块和 /或导航模块等。
例如, 假设, 该应用包括的功能模块 1、 2和 3的图标分别为图标 1、 2和 3 , 则该应用程序框架还可以包括该应用包括的功能模块 1的图标 1、 功能模块 2 的图标 2和功能模块 3的图标 3 , 还可以包括该应用的基本功能模块。
例如, 终端可以根据该应用程序框架的安装包, 将该应用程序框架安装 在终端本地的存储器中; 终端本地的存储器可以为终端的内存、 存储卡和 / 或其他带存储性质的媒介等。
例如, 当终端下载完该应用的应用程序框架后, 终端可以将该应用包括 的功能模块的模块标识显示在主界面中; 例如, 终端可以将该应用包括的功 能模块 1的模块标识 URL1、 功能模块 2的模块标识 URL2和功能模块 3的模块 标识 URL3显示在主界面中。
或者,
当终端下载完该应用的应用程序框架后, 终端可以将该应用包括的功能 模块的图标显示在主界面中, 并将该应用包括的功能模块的图标与模块标识 进行绑定; 例如, 终端可以将该应用包括的功能模块 1的图标 1显示在主界面 中, 并将功能模块 1的图标 1和模块标识 URL1进行绑定、 将该应用包括的功 能模块 2的图标 2显示在主界面中, 并将功能模块 2的图标 2和模块标识 URL2 进行绑定, 以及将该应用包括的功能模块 3显示在主界面中, 并将功能模块 3 的图标 3和模块标识 URL3进行绑定。
例如, 当用户需要运行该应用时, 终端可以打开该主界面, 将该应用包 括的功能模块的模块标识显示在主界面中; 例如, 终端可以打开主界面, 将 该应用包括的功能模块 1的模块标识 URL1、 功能模块 2的模块标识 URL2和功 能模块 3的模块标识 URL3显示在主界面中。
或者,
当用户需要运行该应用时, 终端可以打开该主界面, 将该应用包括的功 能模块的图标显示在主界面中, 并将该应用包括的功能模块的图标与模块标 识进行绑定; 例如, 终端可以打开该界面, 将该应用包括的功能模块 1的图 标 1显示在主界面中, 并将功能模块 1的图标 1和模块标识 URL1进行绑定、 将 该应用包括的功能模块 2的图标 2显示在主界面中, 并将功能模块 2的图标 2和 模块标识 URL2进行绑定, 以及将该应用包括的功能模块 3显示在主界面中, 并将功能模块 3的图标 3和模块标识 URL3进行绑定。
其中, 用户可以在主界面中选择需要运行的功能模块的模块标识或图标 并提交给终端, 触发终端来运行该功能模块。 例如, 用户在主界面中选择需 要运行的功能模块 1的模块标识 URL1和图标 1 , 提交选择的需要运行的功能 模块 1的模块标识 URL1和图标 1给终端, 触发终端运行功能模块 1。
步骤 203 : 终端获取用户选择的需要运行的该应用的功能模块的模块标 识;
例如, 终端获取用户通过主界面选择的需要运行的该应用的功能模块的 模块标识。
例如, 终端接收用户通过主界面选择的需要运行的该应用的功能模块的 模块标识, 或者, 接收用户通过主界面选择的需要运行的该应用的功能模块 的图标, 获取与该功能模块的图标绑定的模块标识。
例如, 终端接收用户通过主界面选择的需要运行的功能模块 1的模块标 识 URL1 , 或者, 接收用户通过主界面选择的需要运行的功能模块 1的图标 1 , 获取与功能模块 1的图标 1绑定的模块标识 URL 1。
步骤 204: 终端检测自身是否存在该功能模块的模块标识对应的功能模 块, 如果不存在, 执行步骤 205 , 如果存在, 则执行步骤 207;
例如, 终端获取自身存储的该应用包括的功能模块, 根据该功能模块的 模块标识,检测自身存储的该应用包括的功能模块中是否存在对应的功能模 块。
例如, 终端也可以不执行本步骤, 即终端可以执行完步骤 203后, 执行 步骤 205。
步骤 205: 终端向服务器发送获取该模块标识对应的功能模块的模块下 载请求, 该请求包括该模块标识;
步骤 206: 终端接收服务器根据所述模块下载请求返回的该功能模块, 并将该功能模块加载到该应用的应用程序框架中, 该功能模块是服务器根据 该模块标识获取的;
例如, 服务器接收获取该模块标识对应的功能模块的模块下载请求, 根 据该模块标识获取该功能模块的安装包, 发送该功能模块的安装包给终端; 终端接收该功能模块的安装包并根据该功能模块的安装包将该功能模块在 该应用对应的应用程序框架中。
其中, 在本公开实施例中, 终端根据该功能模块的模块标识, 通过模块 加载器下载该功能模块到该应用程序框架; 即终端通过模块下载器发送该模 块下载请求给服务器, 通过模块下载器接收该下载响应, 以及根据该功能模 块的安装包, 并通过模块加载器在该应用程序框架中安装该功能模块。
例如, 假设终端检测出自身不存在功能模块 1 , 发送获取功能模块 1的请 求给服务器, 该请求包括功能模块 1的模块标识 URL1 ; 服务器接收该请求, 根据功能模块 1的模块标识 URL1获取功能模块 1 , 返回功能模块 1给终端; 终 端接收功能模块 1 , 并将功能模块 1加载到该应用程序框架中。
其中, 在本公开实施例中, 在服务器内将该应用进行拆分成各个功能模 块, 并在服务器存储该应用包括的每个功能模块的安装包。
例如, 终端在下载该功能模块的安装包时, 可以显示用于提示当前阶段 为下载阶段的提示信息; 例如, 终端显示提示信息可以为 "当前正在下载, 请等待" 。
例如, 终端在安装该功能模块的安装包时, 可以显示用于提示当前阶段 为安装阶段的提示信息; 例如, 终端显示提示信息可以为 "当前正在安装, 请等待" 。
其中, 在本公开实施例中, 终端首次下载该应用的应用程序框架, 当用 户需要运行该应用包括的某个功能模块时, 终端接收用户选择需要运行的该 功能模块的模块标识, 如果自身存储的该应用包括的功能模块中不存在该功 能模块的模块标识对应的功能模块, 再从服务器下载该功能模块, 如此可以 下载用户需要运行的功能模块, 对于用户不需要运行的功能模块可以不下 载, 因此相比下载整个应用, 本公开实施例提供的方法可以节省下载流量。
其中, 在本公开实施例中, 终端下载并安装用户需要使用的功能模块, 而一个功能模块的大小要小于整个应用的大小, 因此终端下载并安装功能模 块的速度要大于下载并安装整个应用的速度, 因此当用户首次下载并运行应 用时, 可以减少用户等待的时间, 提高用户体验。
步骤 207: 终端运行该功能模块, 以实现运行该应用, 结束操作。
例如, 如果终端存在该功能模块的模块标识对应的功能模块, 则终端还 可以判断是否需要对该功能模块进行更新, 如果需要, 对该功能模块进行更 新。
其中, 本公开实施例提供了两种更新功能模块的更新模式, 包括同步更 新模式和异步更新模式。
例如, 参见图 3 , 如果终端采用同步更新模式来更新应用的功能模块, 则终端判断是否需要对该功能模块进行更新, 如果需要, 对该功能模块进行 更新, 可以为:
301 : 终端判断是否需要对该功能模块进行更新,如果需要, 则执行 302; 例如, 终端从服务器获取该功能模块的最新版本号, 比较终端已存储的 该功能模块的版本号与该功能模块的最新版本号, 如果两者相同, 则判断出 不需要对该功能模块进行更新, 如果两者不同, 则判断出需要对该功能模块 进行更新。
例如, 当终端判断出需要对该功能模块进行更新, 终端将自身已存储的 该功能模块的版本号更新为该功能模块的最新版本号。
例如, 当终端判断出不需要对该功能模块进行更新, 终端可以直接运行 该功能模块。
302: 终端向服务器发送获取该功能模块的模块下载请求, 该请求包括 该功能模块的模块标识;
303: 终端接收服务器根据所述模块下载请求返回的最新版本的该功能 模块, 将最新版本的该功能模块加载到该应用程序框架中, 最新版本的该功 能模块是服务器根据该模块标识获取的;
例如, 终端发送获取该功能模块的模块下载请求给服务器, 该请求携带 该功能模块的模块标识; 服务器接收该请求, 根据该请求携带的该功能模块 的模块标识获取最新版本的该功能模块的安装包, 发送最新版本的该功能模 块的安装包; 终端接收最新版本的该功能模块的安装包, 根据最新版本的该 功能模块的安装包在该应用程序框架中安装最新版本的该功能模块。
304: 终端运行最新版本的该功能模块。 其中, 采用同步更新模式, 终端可以下载并运行最新版本的功能模块, 使用户尽快使用到最新版本的功能模块。
例如, 参见图 4, 如果终端采用异步更新模式来更新应用的功能模块, 则终端判断是否需要对该功能模块进行更新, 如果需要, 对该功能模块进行 更新, 可以为:
401 : 终端运行该功能模块, , 判断是否需要对该功能模块进行更新, 如果需要, 则执行 402;
例如, 终端运行该功能模块, 从服务器获取该功能模块的最新版本号, 比较终端已存储的该功能模块的版本号与该功能模块的最新版本号, 如果两 者相同, 则判断出不需要对该功能模块进行更新, 如果两者不同, 则判断出 需要对该功能模块进行更新。
例如, 当终端判断出需要对该功能模块进行更新, 终端将已存储的该功 能模块的版本号更新为该功能模块的最新版本号。
402: 终端向服务器发获取该功能模块的模块下载请求, 该请求包括该 功能模块的模块标识;
403: 终端接收服务器根据所述模块下载请求返回的最新版本的该功能 模块, 将最新版本的该功能模块加载到该应用程序框架中, 最新版本的该功 能模块是服务器根据该模块标识获取的。
例如, 终端发送获取该功能模块的模块下载请求给服务器, 该请求包括 该功能模块的模块标识; 服务器接收该请求, 根据该该功能模块的模块标识 获取最新版本的该功能模块的安装包, 发送最新版本的该功能模块的安装包 给终端; 终端接收最新版本的该功能模块的安装包, 根据最新版本的该功能 模块的安装包在该应用程序框架中安装最新版本的该功能模块。
其中, 采用异步更新模式, 终端可以运行功能模块并下载最新版本的该 功能模块, 减少用户使用该功能模块的等待时间, 且用户在下一次运行该功 能模块时, 终端可以运行最新版本的该功能模块, 以使用户在下一次使用到 最新版本的该功能模块。
本公开实施例提供的一种下载应用的方法、 通过下载应用的应用程序框 架, 该应用程序构架包括模块加载器和主界面, 获取用户通过主界面选择的 需要运行的该应用的功能模块的模块标识,检测出终端不存在该功能模块的 模块标识对应的功能模块, 根据该功能模块的模块标识下载该功能模块到该 应用程序框架中, 并运行该功能模块, 如此实现了下载用户需要运行的该应 用的功能模块, 从而节省下载流量。
在图 1所示实施例的基础上, 本公开实施例提供了一种下载应用的方法。 其中, 当用户需要下载应用的某功能模块时, 用户可以选择需要下载的该功 能模块, 然后终端通过本实施提供的方法下载该功能模块, 参见图 5 , 该方 法包括:
步骤 501 : 当需要下载某个应用时, 终端向服务器发送应用下载请求, 该应用下载请求包括该应用的应用标识;
例如, 当需要下载某个应用时, 终端发送应用下载请求给服务器, 该应 用下载请求携带该应用的应用标识。
步骤 502: 终端接收服务器发送的该应用对应的应用程序框架, 该应用 程序框架是服务器根据该应用标识获取的;
例如, 服务器接收该应用下载请求, 根据该应用下载请求携带的该应用 标识获取该应用对应的应用程序框架, 发送该应用程序框架给终端, 终端接 收该应用程序框架。
例如, 服务器根据该应用下载请求携带的该应用标识获取该应用对应的 应用程序框架的安装包, 发送该应用程序框架的安装包给终端, 终端根据该 应用程序构架的安装包安装该应用程序框架。
其中, 该应用程序框架用于支持该应用包括的功能模块的运行。
其中, 该应用程序框架包含主界面和模块加载器; 模块加载器用于加载 用户选择的应用内的功能模块到该应用程序框架中, 主界面为用户提供导 航, 以便用户选择应用内的模块标识。
其中, 模块加载器中包括该应用包括的功能模块的模块标识; 例如, 假 设, 该应用包括功能模块 1、 2和 3 , 且功能模块 1、 2和 3的模块标识分别为 URL1、 URL2和 URL3 , 因而模块加载器中包括该应用包括的功能模块 1的模 块标识 URL1、 功能模块 2的模块标识 URL2和功能模块 3的模块标识 URL3。
其中,该应用程序框架还可以包括该应用包括的基本功能模块和 /或该应 用包括的功能模块的图标; 基本功能模块为运行该应用包括的其他功能模块 都会使用的功能模块, 例如, 该应用包括的基本功能模块可以为开场动画模 块、 欢迎界面模块和 /或导航模块等。
例如, 假设, 该应用包括的功能模块 1、 2和 3的图标分别为图标 1、 2和 3 , 则该应用程序框架还可以包括该应用包括的功能模块 1的图标 1、 功能模块 2 的图标 2和功能模块 3的图标 3 , 还可以包括该应用的基本功能模块。
例如, 终端可以根据该应用程序框架的安装包, 将该应用程序框架安装 在终端本地的存储器中; 终端本地的存储器可以为终端的内存、 存储卡和 / 或其他带存储性质的媒介等。
例如, 当终端下载完该应用的应用程序框架后, 终端可以将该应用包括 的功能模块的模块标识显示在主界面中; 例如, 终端可以将该应用包括的功 能模块 1的模块标识 URL1、 功能模块 2的模块标识 URL2和功能模块 3的模块 标识 URL3显示在主界面中。 或者,
当终端下载完该应用的应用程序框架后, 终端可以将该应用包括的功能 模块的图标显示在主界面中, 并将该应用包括的功能模块的图标与模块标识 进行绑定; 例如, 终端可以将该应用包括的功能模块 1的图标 1显示在主界面 中, 并将功能模块 1的图标 1和模块标识 URL1进行绑定、 将该应用包括的功 能模块 2的图标 2显示在主界面中, 并将功能模块 2的图标 2和模块标识 URL2 进行绑定, 以及将该应用包括的功能模块 3显示在主界面中, 并将功能模块 3 的图标 3和模块标识 URL3进行绑定。
例如, 当用户需要下载该应用的功能模块时, 终端可以打开该主界面, 将该应用包括的功能模块的模块标识显示在主界面中; 例如, 终端可以打开 主界面, 将该应用包括的功能模块 1的模块标识 URL1、 功能模块 2的模块标 识 URL2和功能模块 3的模块标识 URL3显示在主界面中。 或者,
当用户需要下载该应用的功能模块时, 终端可以打开该主界面, 将该应 用包括的功能模块的图标显示在主界面中, 并将该应用包括的功能模块的图 标与模块标识进行绑定; 例如, 终端可以打开该界面, 将该应用包括的功能 模块 1的图标 1显示在主界面中, 并将功能模块 1的图标 1和模块标识 URL1进 行绑定、 将该应用包括的功能模块 2的图标 2显示在主界面中, 并将功能模块 2的图标 2和模块标识 URL2进行绑定, 以及将该应用包括的功能模块 3显示在 主界面中, 并将功能模块 3的图标 3和模块标识 URL3进行绑定。
其中, 用户可以在主界面中选择需要下载的功能模块的模块标识或图标 并提交给终端, 触发终端来下载该功能模块。 例如, 用户在主界面中选择需 要下载的功能模块 1的模块标识 URL 1和图标 1 , 提交选择的需要下载的功能 模块 1的模块标识 URL 1和图标 1给终端, 触发终端下载功能模块 1。
步骤 503: 终端获取用户选择的需要下载的该应用的功能模块的模块标 识;
例如, 终端获取用户通过主界面选择的需要下载的该应用的功能模块的 模块标识。
例如, 终端接收用户通过主界面选择的需要下载的该应用的功能模块的 模块标识, 或者, 接收用户通过主界面选择的需要下载的该应用的功能模块 的图标, 获取与该功能模块的图标绑定的模块标识。
例如, 终端接收用户通过主界面选择的需要下载的功能模块 1的模块标 识 URL1 , 或者, 接收用户通过主界面选择的需要下载的功能模块 1的图标 1 , 获取与功能模块 1的图标 1绑定的模块标识 URL1。
步骤 504: 终端检测自身是否存在该应用的功能模块的模块标识对应的 功能模块, 如果不存在, 执行步骤 505 , 如果存在, 则结束操作;
例如, 终端获取自身存储的该应用包括的功能模块, 根据该功能模块的 模块标识,检测自身存储的该应用包括的功能模块中是否存在对应的功能模 块。
例如, 终端也可以不执行本步骤, 即终端可以执行完步骤 503后, 执行 步骤 505。
步骤 505: 终端向服务器发送获取该模块标识对应的功能模块的模块下 载请求, 该请求包括该模块标识;
步骤 506: 终端接收服务器根据所述模块下载请求返回的该功能模块, 并将该功能模块加载到该应用的应用程序框架中, 该功能模块是服务器根据 该模块标识获取的。
例如, 服务器接收获取该模块标识对应的功能模块的模块下载请求, 根 据该模块标识获取该功能模块的安装包, 发送该功能模块的安装包给终端; 终端接收该功能模块的安装包并根据该功能模块的安装包将该功能模块在 该应用对应的应用程序框架中。
例如, 假设终端检测出自身不存在功能模块 1 , 发送获取功能模块 1的请 求给服务器, 该请求包括功能模块 1的模块标识 URL1 ; 服务器接收该请求, 根据功能模块 1的模块标识 URL1获取功能模块 1 , 返回功能模块 1给终端; 终 端接收功能模块 1 , 并将功能模块 1加载到该应用程序框架中。
其中, 在本公开实施例中, 在服务器内将该应用进行拆分成各个功能模 块, 并在服务器存储该应用包括的每个功能模块的安装包。
例如, 终端在下载该功能模块的安装包时, 可以显示用于提示当前阶段 为下载阶段的提示信息; 例如, 终端显示提示信息可以为 "当前正在下载, 请等待" 。
例如, 终端在安装该功能模块的安装包时, 可以显示用于提示当前阶段 为安装阶段的提示信息; 例如, 终端显示提示信息可以为 "当前正在安装, 请等待" 。
本公开实施例提供的一种下载应用的方法、 通过下载应用的应用程序框 架, 该应用程序构架包括模块加载器和主界面, 获取用户通过主界面选择的 需要下载的该应用的功能模块的模块标识,检测出终端不存在该功能模块的 模块标识对应的功能模块, 根据该功能模块的模块标识下载该功能模块到该 应用程序框架中, 如此实现下载用户需要下载的该应用的功能模块, 从而节 省下载流量。
本公开实施例提供了一种下载应用的方法, 参见图 6, 该方法包括: 步骤 601 : 当需要下载某个应用时, 下载该应用的应用程序框架, 该应 用程序框架包含主界面和模块加载器, 模块加载器中包含 Web View (网页视 图)和该应用的原生代码;
步骤 602: 根据用户在该应用程序框架包括的主界面中通过用户交互选 择的功能模块触发 Web View中的脚本的检测模块事件;
其中, 用户可以在主界面中通过用户交互选择功能模块, 用户交互可以 为手势操作、 触摸、 滑动和 /或点击屏幕等。
步骤 603 : 根据该检测模块事件触发 WebView的脚本调用检测方法, 根 据该检测方法获取用户选择的功能模块的模块标识;
步骤 604: 通过 WebView将该功能模块的模块标识告知该应用的原生代 码;
例如, WebView内的脚本通知 WebView该功能模块的模块标识, Web View与该应用的原生代码进行通信并将该功能模块的模块标识告知该 应用的原生代码。
步骤 605 : 通过该应用的原生代码检测终端本地是否存储该功能模块的 模块标识对应的功能模块, 如果存在, 执行步骤 606, 如果不存在, 执行步 骤 607;
步骤 606 : 通过该应用的原生代码通知 WebView内的脚本, 并通过 WebView内的脚本触发运行该功能模块, 结束操作;
例如, 该应用的原生代码检测出终端存储该功能模块的模块标识对应的 功能模块时, 发送响应给 Webview, Web View通知自身内的脚本, 并根据自 身内的脚本触发运行该功能模块。
步骤 607: 根据该功能模块的模块标识, 通过该应用的原生代码下载该 功能模块;
例如, 该应用的原生代码根据该功能模块的模块标识, 从服务器中获取 该功能模块的安装包, 根据该功能模块的安装包在该应用程序框架中安装该 功能模块。
步骤 608 : 通过该应用的原生代码通知 WebView内的脚本, 并通过 WebView内的脚本触发运行该功能模块, 结束操作。
例如, 该应用的原生代码发送响应给 Web View , Web View通知其自身内 的脚本, 并根据其自身内的脚本触发运行该功能模块。
本公开实施例提供了一种下载应用的方法, 其中, 本公开实施例的执行 主体是服务器, 参见图 7, 该方法包括:
步骤 701 : 接收终端发送的获取应用内模块标识对应的功能模块的模块 下载请求;
步骤 702: 根据该模块标识获取该模块标识对应的功能模块;
其中, 根据模块标识获取该模块标识对应的功能模块可以包括: 服务器根据该功能标识查找本地存储的功能标识与功能模块间对应关 系, 得到该功能标识对应的功能模块。
步骤 703 : 将所获取的功能模块发送至终端;
以便终端将所接收到的功能模块加载到该应用对应的应用程序架构中, 其中, 该应用程序框架用于支持该功能模块的运行。 本公开实施例提供的一种下载应用的方法, 接收终端发送的获取应用内 模块标识对应的功能模块的请求, 根据该模块标识获取该模块标识对应的功 能模块, 将所获取的功能模块发送至终端, 以便终端将所接收到的功能模块 加载到该应用对应的应用程序架构中, 如此实现了下载用户需要运行或用户 需要下载的功能模块, 因而节省了下载流量。
本公开实施例提供了一种终端, 参见图 8, 所述终端包括:
获取模块 801 , 用于获取用户选择的应用内的模块标识;
第一发送模块 802 , 用于向服务器发送获取所述模块标识对应的功能模 块的模块下载请求;
第一下载模块 803 , 用于接收所述服务器根据所述模块下载请求返回的 所述模块标识对应的功能模块, 并将所接收到的功能模块加载到所述应用对 应的应用程序框架中, 其中, 所述应用程序框架用于支持所述功能模块的运 行。
例如, 参见图 9, 所述终端还包括:
第二发送模块 804 , 用于向服务器发送应用下载请求, 所述应用下载请 求包括需要下载的应用的应用标识;
第二下载模块 805 , 用于加载所述服务器根据所述应用下载请求返回的 所述应用对应的应用程序框架, 其中, 所述应用程序构架包含模块加载器和 主界面, 所述模块加载器用于加载用户选择的应用内的功能模块到所述应用 程序框架中, 所述主界面为用户提供导航, 以便所述用户选择应用内的模块 标识。
例如, 所述获取模块 801 , 用于获取所述用户通过所述主界面选择的所 述应用内的模块标识。
例如, 所述第一下载模块 803 , 用于根据所述模块标识, 通过所述模块 加载器将所述功能模块加载到所述应用对应的应用程序框架中。
例如, 参见图 10, 所述终端还包括:
检测模块 806, 用于检测终端是否存在所述模块标识对应的功能模块; 第一更新处理模块 807 , 如果所述检测模块检测到所述功能模块存在, 则判断是否需要对所述功能模块进行更新, 如果需要, 将最新版本的所述功 能模块下载到所述应用程序框架, 并运行最新版本的所述功能模块; 或者, 第二更新处理模块, 如果所述检测模块检测到所述功能模块存在, 则运行所 述功能模块, , 判断是否需要对所述功能模块进行更新, 如果需要, 则将最 新版本的所述功能模块加载到所述应用程序框架中;
控制模块 808 , 如果所述检测模块检测到所述功能模块不存在, 则控制 所述第一发送模块执行向服务器发送获取所述模块标识对应的功能模块的 请求的操作。
本公开实施例提供的终端, 通过向服务器获取用户选择的应用内的模块 标识对应的功能模块, 并将获取到的功能模块加载到应用对应的应用程序框 架, 实现了按需加载用户需要的应用的功能模块到终端, 节省下载流量, 及 提高应用的响应速度。
本公开实施例提供了一种服务器, 参见图 11 , 所述服务器包括: 第一接收模块 901 , 用于接收终端发送的获取应用内模块标识对应的功 能模块的模块下载请求;
第一获取模块 902 , 用于根据所述模块标识获取所述模块标识对应的功 能模块;
第一发送模块 903 , 用于将所述第一获取模块所获取的功能模块发送至 所述终端;
这样, 所述终端就可以将所接收到的功能模块加载到所述应用对应的应 用程序架构中, 其中, 所述应用程序框架用于支持所述功能模块的运行。
例如, 参见图 12 , 所述服务器还包括:
第二接收模块 904 , 用于接收终端发送的应用下载请求, 所述应用下载 请求包括所述终端需要下载的应用的应用标识; 序框架;
第二发送模块 906 , 用于将所获取的应用程序框架发送给所述终端, 其 中, 所述应用程序构架包含模块加载器和主界面, 所述模块加载器用于加载 用户选择的所述应用的功能模块到所述应用程序框架中, 所述主界面为用户 提供导航, 以便所述用户选择应用内的模块标识。
本公开实施例提供的一种服务器, 接收终端发送的获取应用内模块标识 对应的功能模块的请求, 根据该模块标识获取该模块标识对应的功能模块, 将所获取的功能模块发送至终端, 以便终端将所接收到的功能模块加载到该 应用对应的应用程序架构中, 如此实现了下载用户需要运行或下载的该应用 的功能模块, 因而节省了下载流量。
本公开实施例提供了一种下载应用的系统, 参见图 13 , 该系统包括如图 8、 9或 10所述的终端 1001和如图 11或 12所述的服务器 1002。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以 通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以 存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。
以上所述仅为本公开的较佳实施例, 并不用以限制本公开, 凡在本公开 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本公 开的保护范围之内。

Claims

权利要求
1、 一种下载应用的方法, 其特征在于, 所述方法包括:
获取用户选择的应用内的模块标识;
向服务器发送获取所述模块标识对应的功能模块的模块下载请求; 接收所述服务器根据所述模块下载请求返回的所述模块标识对应的功 能模块, 并将所接收到的功能模块加载到所述应用对应的应用程序框架中; 其中, 所述应用程序框架用于支持所述功能模块的运行。
2、 如权利要求 1所述的方法, 其特征在于, 所述获取用户选择的应用内 的模块标识之前, 还包括:
向服务器发送应用下载请求, 所述应用下载请求包括需要下载的应用的 应用标识;
加载所述服务器根据所述应用下载请求返回的所述应用对应的应用程 序框架;
其中, 所述应用程序构架包含模块加载器和主界面, 所述模块加载器用 于加载用户选择的应用内的功能模块到所述应用程序框架中, 所述主界面为 用户提供导航, 以便所述用户选择应用内的模块标识。
3、 如权利要求 2所述的方法, 其特征在于, 所述获取用户选择的应用内 的模块标识的方式为:
获取所述用户通过所述主界面选择的所述应用内的模块标识。
4、 如权利要求 2所述的方法, 其特征在于, 所述将所接收到的功能模块 加载到所述应用对应的应用程序框架中的方式为:
通过所述模块加载器将所述功能模块加载到所述应用对应的应用程序 框架中。
5、 如权利要求 1所述的方法, 其特征在于, 所述向服务器发送获取所述 模块标识对应的功能模块的模块下载请求之前, 还包括:
检测终端是否存在所述模块标识对应的功能模块;
如果存在, 判断是否需要对所述功能模块进行更新, 如果需要, 将最新 版本的所述功能模块加载到所述应用程序框架, 并运行最新版本的所述功能 模块; 或者, 如果存在, 运行所述功能模块, 判断是否需要对所述功能模块 进行更新, 如果需要, 则将最新版本的所述功能模块加载到所述应用程序框 架中;
如果不存在, 则执行向服务器发送获取所述模块标识对应的功能模块的 模块下载请求的步骤。
6、 一种下载应用的方法, 其特征在于, 所述方法包括:
接收终端发送的获取应用内模块标识对应的功能模块的模块下载请求; 根据所述模块标识获取所述模块标识对应的功能模块;
将所获取的功能模块发送至所述终端。
7、 如权利要求 6所述的方法, 其特征在于, 所述接收终端发送的获取应 用内模块标识对应的功能模块的模块下载请求之前, 还包括:
接收终端发送的应用下载请求, 所述应用下载请求包括所述终端需要下 载的应用的应用标识;
根据所述应用标识获取所述应用对应的应用程序框架;
将所获取的应用程序框架发送给所述终端;
其中, 所述应用程序构架包含模块加载器和主界面, 所述模块加载器用 于加载用户选择的所述应用的功能模块到所述应用程序框架中, 所述主界面 为用户提供导航, 以便所述用户选择应用内的模块标识。
8、 一种终端, 其特征在于, 所述终端包括:
获取模块, 用于获取用户选择的应用内的模块标识;
第一发送模块, 用于向服务器发送获取所述模块标识对应的功能模块的 模块下载请求;
第一下载模块, 用于接收所述服务器根据所述模块下载请求返回的所述 模块标识对应的功能模块, 并将所接收到的功能模块加载到所述应用对应的 应用程序框架中, 其中, 所述应用程序框架用于支持所述功能模块的运行。
9、 如权利要求 8所述的终端, 其特征在于, 所述终端还包括:
第二发送模块, 用于向服务器发送应用下载请求, 所述应用下载请求包 括需要下载的应用的应用标识;
第二下载模块, 用于加载所述服务器根据所述应用下载请求返回的所述 应用对应的应用程序框架, 其中, 所述应用程序构架包含模块加载器和主界 面, 所述模块加载器用于加载用户选择的应用内的功能模块到所述应用程序 框架中,所述主界面为用户提供导航,以便所述用户选择应用内的模块标识。
10、 如权利要求 9所述的终端, 其特征在于,
所述获取模块, 用于获取所述用户通过所述主界面选择的所述应用内的 模块标识。
11、 如权利要求 9所述的终端, 其特征在于,
所述第一下载模块, 用于根据所述模块标识, 通过所述模块加载器将所 述功能模块加载到所述应用对应的应用程序框架中。
12、 如权利要求 8所述的终端, 其特征在于, 所述终端还包括: 检测模块, 用于检测终端是否存在所述模块标识对应的功能模块; 第一更新处理模块, 如果所述检测模块检测到所述功能模块存在, 则判 断是否需要对所述功能模块进行更新, 如果需要, 将最新版本的所述功能模 块下载到所述应用程序框架, 并运行最新版本的所述功能模块; 或者, 第二 更新处理模块, 如果所述检测模块检测到所述功能模块存在, 则运行所述功 能模块, , 判断是否需要对所述功能模块进行更新, 如果需要, 则将最新版 本的所述功能模块加载到所述应用程序框架中;
控制模块, 如果所述检测模块检测到所述功能模块不存在, 则控制所述 第一发送模块执行向服务器发送获取所述模块标识对应的功能模块的请求 的操作。
13、 一种服务器, 其特征在于, 所述服务器包括:
第一接收模块, 用于接收终端发送的获取应用内模块标识对应的功能模 块的模块下载请求;
第一获取模块, 用于根据所述模块标识获取所述模块标识对应的功能模 块;
第一发送模块, 用于将所述第一获取模块所获取的功能模块发送至所述 终端。
14、 如权利要求 13所述的服务器, 其特征在于, 所述服务器还包括: 第二接收模块, 用于接收终端发送的应用下载请求, 所述应用下载请求 包括所述终端需要下载的应用的应用标识;
第二发送模块, 用于将所获取的应用程序框架发送给所述终端, 其中, 所述应用程序构架包含模块加载器和主界面, 所述模块加载器用于加载用户 选择的所述应用的功能模块到所述应用程序框架中, 所述主界面为用户提供 导航, 以便所述用户选择应用内的模块标识。
15、 一种下载应用的系统, 其特征在于, 所述系统包括如权利要求 8至 12任一项所述的终端, 如权利要求 13至 14任一项所述的服务器。
PCT/CN2013/084121 2012-10-26 2013-09-24 一种下载应用的方法、终端、服务器及系统 Ceased WO2014063552A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210417517.1 2012-10-26
CN2012104175171A CN102932441A (zh) 2012-10-26 2012-10-26 一种下载应用的方法、终端、服务器及系统

Publications (1)

Publication Number Publication Date
WO2014063552A1 true WO2014063552A1 (zh) 2014-05-01

Family

ID=47647138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084121 Ceased WO2014063552A1 (zh) 2012-10-26 2013-09-24 一种下载应用的方法、终端、服务器及系统

Country Status (2)

Country Link
CN (1) CN102932441A (zh)
WO (1) WO2014063552A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932441A (zh) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 一种下载应用的方法、终端、服务器及系统
CN104090781B (zh) * 2013-04-17 2016-05-25 腾讯科技(深圳)有限公司 升级信息处理方法和装置
CN103297275B (zh) * 2013-06-08 2016-08-17 烽火通信科技股份有限公司 Web网管客户端模块动态发现与加载方法
CN103313231A (zh) * 2013-07-03 2013-09-18 百度在线网络技术(北京)有限公司 移动终端中应用程序的升级方法、系统和服务器
CN104731607B (zh) 2013-12-18 2018-10-30 华为技术有限公司 终端终生学习处理方法、装置和系统
CN104111856A (zh) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 一种基于资源包的软件升级方法和系统
CN105573649A (zh) * 2015-12-15 2016-05-11 小米科技有限责任公司 多终端的合屏方法及终端设备
EP3402160B1 (en) 2016-03-15 2020-04-29 Huawei Technologies Co., Ltd. Service processing method and apparatus
JP6785572B2 (ja) * 2016-04-26 2020-11-18 株式会社Kmc 金型電子カルテシステム
CN107645521A (zh) * 2016-07-21 2018-01-30 平安科技(深圳)有限公司 功能组件安装方法、终端及服务器
CN107870771B (zh) * 2016-09-26 2021-12-17 平安科技(深圳)有限公司 应用程序构建与升级方法及系统
CN106790598A (zh) * 2016-12-29 2017-05-31 上海木爷机器人技术有限公司 功能配置方法和系统
CN108024136A (zh) * 2017-12-14 2018-05-11 深圳Tcl新技术有限公司 加载用户界面的方法、智能电视及计算机可读存储介质
CN109783092A (zh) * 2019-01-04 2019-05-21 珠海天燕科技有限公司 一种应用程序安装方法及装置
CN109991922B (zh) * 2019-05-07 2021-12-28 西门子(中国)有限公司 数控生产系统、数控生产方法及监控单元
CN112311818B (zh) * 2019-07-25 2022-08-23 腾讯科技(深圳)有限公司 一种小程序数据包的下载方法、装置、终端及存储介质
CN110888658B (zh) * 2019-12-02 2023-04-21 广州市百果园信息技术有限公司 应用程序中功能模块的动态化方法、装置及存储介质
CN111145897B (zh) * 2019-12-26 2024-01-12 深圳开立生物医疗科技股份有限公司 一种超声系统配置和维护方法及装置
CN113741911B (zh) * 2020-05-29 2026-03-17 华为技术有限公司 功能包的加载方法、装置、服务器和电子设备
CN112925539B (zh) * 2021-02-19 2022-12-06 天津车之家数据信息技术有限公司 一种应用更新方法,计算设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382894A (zh) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 下载计算机硬件设备驱动程序的方法、系统、计算机及服务器
CN101873580A (zh) * 2010-05-27 2010-10-27 大唐微电子技术有限公司 业务应用的下载方法及业务应用管理平台系统
CN101895872A (zh) * 2010-07-16 2010-11-24 南京烽火星空通信发展有限公司 一种移动终端应用程序便捷下载方法
CN102932441A (zh) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 一种下载应用的方法、终端、服务器及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100389564C (zh) * 2005-01-07 2008-05-21 腾讯科技(深圳)有限公司 一种网络服务信息处理系统及方法
JPWO2011118003A1 (ja) * 2010-03-25 2013-07-04 株式会社エヌ・ティ・ティ・データ・セキスイシステムズ ウェブアプリケーション構築システム、ウェブアプリケーション構築方法、ウェブアプリケーション構築プログラムおよびウェブアプリケーション構築プログラムを記録した記録媒体

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382894A (zh) * 2007-09-05 2009-03-11 北京软通科技有限责任公司 下载计算机硬件设备驱动程序的方法、系统、计算机及服务器
CN101873580A (zh) * 2010-05-27 2010-10-27 大唐微电子技术有限公司 业务应用的下载方法及业务应用管理平台系统
CN101895872A (zh) * 2010-07-16 2010-11-24 南京烽火星空通信发展有限公司 一种移动终端应用程序便捷下载方法
CN102932441A (zh) * 2012-10-26 2013-02-13 北京小米科技有限责任公司 一种下载应用的方法、终端、服务器及系统

Also Published As

Publication number Publication date
CN102932441A (zh) 2013-02-13

Similar Documents

Publication Publication Date Title
WO2014063552A1 (zh) 一种下载应用的方法、终端、服务器及系统
CN102929638B (zh) 扩展WebApp应用功能的方法和系统
CN110780930B (zh) 启动Android系统的方法、装置、电子设备及存储介质
US20150278033A1 (en) Terminal and application restoring method
CN107992308B (zh) 一种安卓终端应用程序的插件化管理方法
JP5736433B2 (ja) IoTブラウジング方法および装置
US9584612B2 (en) Systems and methods for pushing applications
CN114968406B (zh) 一种插件管理方法、装置、电子设备及存储介质
US20130166527A1 (en) System and methods thereof for dynamically updating the contents of a folder on a device
KR20130098775A (ko) 다중 운영체제를 지원하는 클라이언트 단말 및 다중 운영체제 지원방법
KR101369428B1 (ko) 이종의 게스트 오퍼레이팅 시스템을 지원하는 휴대용 단말을 위한 어플리케이션 관리 장치 및 방법
WO2013004183A1 (zh) 桌面切换方法、装置和系统
WO2015180601A1 (zh) WebApp启动运行、生成镜像文件的方法和装置
WO2019157860A1 (zh) 应用界面的启动方法、装置、存储介质及电子设备
US9378054B2 (en) Testing system with methodology for background application control
CN103838799A (zh) 一种推荐安装软件的方法、终端设备、云端服务器及系统
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN102819553B (zh) 一种进行页面交互的方法及装置
CN106502717B (zh) 应用程序运行方法及装置
WO2013023440A1 (zh) 一种应用管理方法及设备
US20130081010A1 (en) Template and server content download using protocol handlers
CN111212183B (zh) 一种用于运行寄宿应用的方法、设备及计算机可读介质
CN102750285B (zh) 提供离线浏览的系统及其方法
CN104239333B (zh) 进行浏览器网址导航的方法及终端设备
CN108287737A (zh) Service Worker启动方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13849961

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13849961

Country of ref document: EP

Kind code of ref document: A1