CN105323269A - Method for updating APP in Android system, terminal and storage medium - Google Patents

Method for updating APP in Android system, terminal and storage medium Download PDF

Info

Publication number
CN105323269A
CN105323269A CN201410271733.9A CN201410271733A CN105323269A CN 105323269 A CN105323269 A CN 105323269A CN 201410271733 A CN201410271733 A CN 201410271733A CN 105323269 A CN105323269 A CN 105323269A
Authority
CN
China
Prior art keywords
app
plug
unit
osgi
updated
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.)
Pending
Application number
CN201410271733.9A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410271733.9A priority Critical patent/CN105323269A/en
Priority to PCT/CN2014/092819 priority patent/WO2015192608A1/en
Publication of CN105323269A publication Critical patent/CN105323269A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets

Abstract

The present invention discloses a method for updating an APP in an Android system. The method is applied to a terminal which runs an Android operating system which runs at least one APP. Each APP is configured with one open service gateway initiative (OSGI) architecture model for managing the plug-in of the APP. The method also comprises the steps that the context information of the plug-in to be updated of the APP is obtained through the OSGI architecture model corresponding to the APP, according to the plug-in context information, the OSGI architecture model obtains the plug-in to be updated of the APP, and the plug-in to be updated is configured to the APP so as to update the APP. The invention also discloses a terminal and a computer storage medium.

Description

The update method of APP, terminal and storage medium in Android system
Technical field
The present invention relates to application update method, be specifically related to a kind of update method of application (APP, Application) in Android (Android) system, terminal and computer-readable storage medium.
Background technology
Use the terminal such as mobile phone, platform computer of Android operation system when the renewal realizing APP, need the latest edition downloading this APP from server side, be then installed in mobile phone or platform computer.Visible, current APP renewal is the whole updating to APP application software; In Android operation system platform, whole updating is carried out to APP, there is following problem:
1) occupied terminal is more processed resource by whole updating;
2) after whole updating, the APP application software be updated can restart, thus the APP increasing terminal upgrades response cycle, reduces Consumer's Experience.
How the part upgraded is needed to be updated in order to problem demanding prompt solution to APP targetedly.Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention provides the update method of APP in a kind of android system, terminal and computer-readable storage medium, can realize needing the plug-in unit upgraded to upgrade to APP, shorten terminal to the renewal response cycle of APP, embody the convenience that APP upgrades, promote Consumer's Experience.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide the update method applying APP in a kind of Android system, described method is applied in a terminal, and described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; For each APP configures one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP, described method also comprises:
The contextual information of the plug-in unit to be updated of described APP is obtained by the OSGI framework model corresponding with APP;
According to described plug-in unit contextual information, by the plug-in unit to be updated utilizing described OSGI framework model to obtain described APP;
Configure described plug-in unit to be updated to described APP, to upgrade described APP.
In such scheme, the described contextual information being obtained the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP, being comprised:
The plug-in version of the described APP of server side is obtained by described OSGI framework model;
The plug-in version comparing obtained described APP and the plug-in version of described APP self managed;
When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
In such scheme, described according to described plug-in unit contextual information, described OSGI framework model obtains the plug-in unit to be updated of described APP, comprising:
By the OSGI service of described OSGI framework model, described contextual information is sent to server;
And after the registration notification message receiving described server, register described OSGI and serve;
Receive topology file and user interface UI class that described server is the plug-in unit described to be updated of registered OSGI service acquisition.
In such scheme, the described plug-in unit to be updated of described configuration, to described APP, to upgrade described APP, comprising:
Configure described topology file and described UI class extremely described APP, to upgrade described APP.
In such scheme, described method also comprises:
The OSGI service of being registered by described OSGI framework model announcement server.
The embodiment of the present invention additionally provides a kind of terminal, and described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; Described terminal comprises:
First dispensing unit, for configuring one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP for each APP;
First acquiring unit, for obtaining the contextual information of the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP;
Second acquisition unit, for according to described plug-in unit contextual information, by the plug-in unit to be updated utilizing described OSGI framework model to obtain described APP;
Second dispensing unit, for configuring described plug-in unit to be updated to described APP, to upgrade described APP.
In such scheme,
Described first acquiring unit, also for being obtained the plug-in version of the described APP of server side by described OSGI framework model;
The plug-in version comparing obtained described APP and the plug-in version of described APP self managed;
When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
In such scheme,
Described second acquisition unit, also for described contextual information being sent to server by utilizing the OSGI of described OSGI framework model to serve;
And after the registration notification message receiving described server, register described OSGI and serve;
Receive topology file and user interface UI class that described server is the plug-in unit described to be updated of registered OSGI service acquisition.
In such scheme,
Described second dispensing unit, for configuring described topology file and described UI class extremely described APP, to upgrade described APP.
In such scheme, described terminal also comprises:
First notification unit, for the OSGI service of being registered by described OSGI framework model announcement server.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, stores computer executable instructions in described computer-readable storage medium, and described computer executable instructions applies the update method of APP in aforesaid Android system for performing.
The update method of APP, terminal and computer-readable storage medium in the android system that the embodiment of the present invention provides, described method is applied in a terminal, described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; For each APP configures one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP, described method also comprises: the contextual information being obtained the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP; According to described plug-in unit contextual information, described OSGI framework model obtains the plug-in unit to be updated of described APP; Configure described plug-in unit to be updated to described APP, to upgrade described APP.Utilize the embodiment of the present invention, utilize described OSGI framework model can realize needing the plug-in unit upgraded to upgrade to APP, shorten the renewal response cycle of terminal to APP, embody the convenience that APP upgrades, improve Consumer's Experience.
Accompanying drawing explanation
The realization flow figure of the update method of APP in the android system that Fig. 1 provides for the embodiment of the present invention;
Application scenarios one schematic diagram of the update method of APP in the android system that Fig. 2 provides for the embodiment of the present invention;
Application scenarios two schematic diagram of the update method of APP in the android system that Fig. 3 provides for the embodiment of the present invention;
The terminal composition schematic diagram that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, should be appreciated that following illustrated preferred embodiment is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Open service gateway initiative agreement (OSGI, OpenServicesGatewayInitiative) is the standard of Java mobilism component system, can provide a kind of modularization framework for large-scale distributed system and embedded system; The function point of APP can be considered as plug-in unit, and realize the modularization management to APP plug-in unit; Therefore in the embodiment of the present invention, for each APP in terminal configures one for managing the OSGI framework model of the plug-in unit of APP, the OSGI service provided by described OSGI framework model is upgraded the plug-in unit of APP, to complete the renewal to described APP.Wherein, for each APP in terminal configures an OSGI framework model corresponded, such as, be QQ application configuration OSGI framework model, this model is for managing the plug-in unit of QQ application; For micro-letter application configuration OSGI framework model, this model is for managing the plug-in unit of micro-letter application.
In the android system that the embodiment of the present invention provides, the update method of APP, is applied in terminal, and described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; For each APP configures one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP.
The realization flow figure of the update method of APP in the android system that Fig. 1 provides for the embodiment of the present invention; As shown in Figure 1, described method comprises:
Step 11: the contextual information being obtained the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP;
Here, Fig. 2 is application scenarios one schematic diagram of the embodiment of the present invention; Shown in composition graphs 2, this step is described.
A usual APP has at least one function point, when research staff carries out APP research and development, usually the function point of the predetermined quantity of APP being arranged in the OSGI framework model of the plug-in unit for managing described APP, in described OSGI framework model, claiming described function point to be the plug-in unit of described APP.Also can be understood as, using the part of the n-back test of OSGI framework model as APP application function, wherein OSGI framework model is for managing the plug-in unit (upgrading plug-in unit) of this APP application, when needs terminal and server side for this APP apply carry out update of plug-in time, need the OSGI framework model arranged for this APP to serve by OSGI and carry out alternately with server side.
Preferably, this step can be: described OSGI framework model obtains the plug-in version of the described APP of server side; The plug-in version comparing obtained described APP and the plug-in version of described APP self managed; When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
Concrete, when the period 1 of presetting arrives, or when starting APP (starting the plug-in unit of APP), the described OSGI framework model corresponding with APP initiates the version request of the plug-in unit of described APP to server by OSGI service, and when receiving the version information of plug-in unit of the described APP that server returns, described OSGI framework model obtains the version information of the plug-in unit of the described APP that it manages, the plug-in unit of APP relatively self managed and the version information of the plug-in unit of received described APP, when the plug-in version that comparison is received APP is up-to-date, when namely determining that described APP needs to upgrade, obtain the contextual information of plug-in unit to be updated (pre-upgrade is the plug-in unit of described redaction plug-in unit), in OSGI framework model, described contextual information is plug-in unit bag content bundlecontext.Wherein, the described period 1 can be arranged voluntarily according to the concrete service condition of the application to terminal.
Step 12: according to described plug-in unit contextual information, by the plug-in unit to be updated utilizing described OSGI framework model to obtain described APP;
Here, described plug-in unit contextual information is sent to server side by OSGI service by described OSGI framework model; Described server, according to described plug-in unit contextual information, is searched described OSGI and is served, and searches described OSGI and serves, and when finding, sends registration notification message to described OSGI framework model; After described OSGI framework model receives described registration notification message, register described OSGI and serve to described server; Described server obtains the service interface (service entrance) having renewal, the topology file being registered OSGI service acquisition plug-in unit to be updated by described service interface and user interface UI class, and the topology file and the UI class extremely described terminal that return described plug-in unit to be updated.
Step 13: configure described plug-in unit to be updated to described APP, to upgrade described APP.
Here, the topology file of the plug-in unit described to be updated that described OSGI framework model reception server returns and UI class, and configure described topology file and UI class extremely described APP, to complete the renewal to the APP corresponding with described OSGI framework model.After the plug-in unit by upgrading APP has carried out the renewal to described APP, notify that described server is nullified described OSGI and served by described OSGI framework model.
In such scheme, OSGI framework model, by adopting action listener mode, monitors the states such as the peace loading, unloading of the plug-in unit of APP, and by described state recording in plug-in unit list, to facilitate the renewal (local updating of APP) of the plug-in unit realizing App.
In the embodiment of the present invention, described method also comprises:
When terminal starts APP, start the plug-in unit of described APP, and by obtaining the plug-in menu of this APP for the OSGI framework model of described APP configuration, and be shown in the toolbar of described APP.
Fig. 3 is application scenarios two schematic diagram of the embodiment of the present invention; Shown in composition graphs 3, OSGI framework model is except the update of plug-in for managing this APP application, can also when starting certain APP, obtained by OSGI framework model and start and the menu of the plug-in unit of startup with described APP, and function such as the instrument (it is an instrument from user perspective) corresponding to the menu of the plug-in unit obtained is shown in toolbar.
Preferably, when terminal starts described APP, the OSGI framework model configured for described APP starts the Activity of the plug-in unit of this APP by the BundleActivator of Boot Model, obtain start the contextual information of plug-in unit; And by OSGI service, this contextual information is sent to server side; Described server, according to described contextual information, is searched described OSGI and is served, and searches described OSGI and serves, and when finding, sends registration notification message to described OSGI framework model; After described OSGI framework model receives described registration notification message, register described OSGI and serve to described server; Described server obtains the service interface having renewal, by described service interface by registered OSGI service acquisition treat the plug-in menu information of startups plug-in unit, and return described plug-in menu information extremely described terminal; Configure described plug-in menu information to described APP, obtained plug-in menu is shown as the instrument of toolbar, checks to facilitate.
In such scheme, by the OSGI framework model for each APP configuration, plug-in unit is achieved to APP, modularization is achieved to the plug-in unit of APP, by OSGI service, plug-in unit is upgraded, and then reach the renewal to APP; Without the need to carrying out whole updating to APP, only needing the plug-in unit to be updated upgrading APP, shortening the renewal response cycle of terminal to APP, embodying the convenience that APP upgrades; Meanwhile, owing to only upgrading the plug-in unit of APP, without the need to whole updating, so after renewal APP, without the need to restarting APP, improve the experience of user.
In such scheme, the specific implementation such as inquiry, registration, cancellation of the OSGI service of described OSGI framework model refers to OSGI agreement, repeats no more here.Wherein, the reciprocal process transmission of described OSGI service be java object, be not the N system stream (N=2n, n are positive integer) of serializing; Adopt N system stream different from communicating between the service processes in existing Android, the OSGI framework model that the embodiment of the present invention provides, reached the object upgrading APP by the mode of the plug-in unit upgrading APP; Wherein, plug-in unit supports that Java this locality is called (JNI, JavaNativeInterface), and compatibility is comparatively strong, except compatible Java, can also other programming languages compatible as C, C++.
The embodiment of the present invention also describes a kind of computer-readable storage medium, stores computer executable instructions in described computer-readable storage medium, and described computer executable instructions is for performing the update method of APP in aforesaid android system.
Based on the update method of APP in above-mentioned android system, the embodiment of the present invention also describes a kind of terminal; Described terminal operating Android operation system, runs and has at least one application APP in described Android operation system.
Fig. 4 is the terminal composition schematic diagram of the embodiment of the present invention; As shown in Figure 4, described terminal comprises: the first dispensing unit 201, first acquiring unit 202, second acquisition unit 203 and the second dispensing unit 204; Wherein,
Described first dispensing unit 201, for configuring one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP for each APP;
Described first acquiring unit 202, for obtaining the contextual information of the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP;
Preferably, described first acquiring unit 202 obtains the plug-in version of the described APP of server side by described OSGI framework model; The plug-in version comparing obtained described APP and the plug-in version of described APP self managed; When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
Concrete, when the period 1 of presetting arrives, or when starting APP (starting the plug-in unit of APP), described terminal, specifically described first acquiring unit 202 utilizes the OSGI of the described OSGI framework model corresponding with APP service to initiate the version request of the plug-in unit of described APP to server, and when receiving the version information of plug-in unit of the described APP that server returns, described first acquiring unit 202 utilizes described OSGI framework model to obtain the version information of the plug-in unit of the described APP that it manages, and compare the version information of the plug-in unit of the APP self managed and the plug-in unit of received described APP, when the plug-in version that comparison is received APP is up-to-date, described first acquiring unit 202 obtains the contextual information of plug-in unit to be updated (pre-upgrade is the plug-in unit of described redaction plug-in unit), in OSGI framework model, described contextual information is plug-in unit bag content bundlecontext.Wherein, the described period 1 can be arranged voluntarily according to the concrete service condition of the application to terminal.
Described second acquisition unit 203, for according to described plug-in unit contextual information, described OSGI framework model obtains the plug-in unit to be updated of described APP;
Here, described terminal, specifically described second acquisition unit 203 utilize the OSGI of described OSGI framework model to serve and described plug-in unit contextual information are sent to server side; Described server, according to described plug-in unit contextual information, is searched described OSGI and is served, and searches described OSGI and serves, and when finding, sends registration notification message to described terminal, specifically described second acquisition unit 203; After described second acquisition unit 203 utilizes described OSGI framework model to receive described registration notification message, register described OSGI and serve to described server; Described server obtains the service interface (service entrance) having renewal, the topology file being registered OSGI service acquisition plug-in unit to be updated by described service interface and user interface UI class, and the topology file and UI class extremely described terminal, the specifically described second acquisition unit 203 that return described new plug-in unit.
Described second dispensing unit 204, for configuring described plug-in unit to be updated to described APP, to upgrade described APP.
Here, described second acquisition unit 203 transmits described topology file and UI class extremely described second dispensing unit 204, and described second dispensing unit 204 configures described topology file and UI class extremely described APP, to complete the renewal to APP.
In the embodiment of the present invention, as shown in Figure 4, described terminal also comprises: the first notification unit 205;
Described first notification unit 205, for notifying that by described OSGI framework model described server is nullified described OSGI and served.
In the embodiment of the present invention, as shown in Figure 4, described terminal also comprises: the 3rd acquiring unit 206, first display unit 207; Wherein,
Described 3rd acquiring unit 206, for when starting APP, starting the plug-in unit of this APP, and obtaining the plug-in menu of this APP by the OSGI framework model configured for this APP;
Described first display unit 207, for showing described plug-in menu in the toolbar of described APP.
Preferably, when terminal starts described APP, described 3rd acquiring unit 206 is utilized as the BundleActivator of OSGI framework model Boot Model that described APP configures, and then starts the Activity of plug-in unit of this APP, obtain start the contextual information of plug-in unit; And by OSGI service, this contextual information is sent to server side; Described server, according to described contextual information, is searched described OSGI and is served, and searches described OSGI and serves, and when finding, sends registration notification message to described terminal, specifically described 3rd acquiring unit 206; Described 3rd acquiring unit 206, by after utilizing described OSGI framework model to receive described registration notification message, is registered described OSGI and is served to described server; Described server obtains the service interface having renewal, by described service interface by registered OSGI service acquisition treat the plug-in menu information of startup plug-in unit, and return described plug-in menu information to described terminal, specifically described 3rd acquiring unit 206; Described 3rd acquiring unit 206 configures described plug-in menu information to described APP; The part of described plug-in menu as described APP toolbar shows by described first display unit 207, checks which plug-in unit described APP has to facilitate.
In such scheme, by the OSGI framework model for each APP configuration, plug-in unit is achieved to APP, modularization is achieved to the plug-in unit of APP, by OSGI service, plug-in unit is upgraded, and then reach the renewal to APP; Without the need to carrying out whole updating to APP, only needing the plug-in unit to be updated upgrading APP, shortening the renewal response cycle of terminal to APP, embodying the convenience that APP upgrades; Meanwhile, owing to only upgrading the plug-in unit of APP, without the need to whole updating, so after renewal APP, without the need to restarting APP, improve the experience of user.
It will be appreciated by those skilled in the art that the practical function of each processing unit in the terminal shown in Fig. 4 can refer to the associated description of the update method of APP in aforementioned android system and understands.It will be appreciated by those skilled in the art that the function of each processing unit in the terminal shown in Fig. 4 realizes by the program run on processor, also realize by concrete logical circuit.
In actual applications, described first dispensing unit 201, first acquiring unit 202, second acquisition unit 203, second dispensing unit 204, first notification unit 205, the 3rd acquiring unit 206, first display unit 207 all can by CPU (CPU, or Digital Signal Processing (DSP CentralProcessingUnit), or microprocessor (MPU DigitalSignalProcessor), MicroProcessorUnit) or field programmable gate array (FPGA, FieldProgrammableGateArray) etc. realize; Described CPU, DSP, MPU, FPGA all can be built in terminal.
In the embodiment of the present invention, described terminal includes but not limited to: panel computer, mobile phone, electronic reader etc.The object of the preferred terminal of the embodiment of the present invention is mobile phone.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (11)

1. apply a update method of APP in Android system, described method is applied in a terminal, it is characterized in that, described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; For each APP configures one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP, described method also comprises:
The contextual information of the plug-in unit to be updated of described APP is obtained by the OSGI framework model corresponding with APP;
According to described plug-in unit contextual information, by the plug-in unit to be updated utilizing described OSGI framework model to obtain described APP;
Configure described plug-in unit to be updated to described APP, to upgrade described APP.
2. method according to claim 1, is characterized in that, the described contextual information being obtained the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP, being comprised:
The plug-in version of the described APP of server side is obtained by described OSGI framework model;
The plug-in version comparing obtained described APP and the plug-in version of described APP self managed;
When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
3. method according to claim 1, is characterized in that, described according to described plug-in unit contextual information, described OSGI framework model obtains the plug-in unit to be updated of described APP, comprising:
By the OSGI service of described OSGI framework model, described contextual information is sent to server;
And after the registration notification message receiving described server, register described OSGI and serve;
Receive topology file and user interface UI class that described server is the plug-in unit described to be updated of registered OSGI service acquisition.
4. method according to claim 3, is characterized in that, the described plug-in unit to be updated of described configuration, to described APP, to upgrade described APP, comprising:
Configure described topology file and described UI class extremely described APP, to upgrade described APP.
5. method according to claim 4, it is characterized in that, described method also comprises:
The OSGI service of being registered by described OSGI framework model announcement server.
6. a terminal, is characterized in that, described terminal operating has Android Android operation system, runs and have at least one application APP in described Android operation system; Described terminal comprises:
First dispensing unit, for configuring one for managing the open service gateway initiative agreement OSGI framework model of the plug-in unit of described APP for each APP;
First acquiring unit, for obtaining the contextual information of the plug-in unit to be updated of described APP by the OSGI framework model corresponding with APP;
Second acquisition unit, for according to described plug-in unit contextual information, by the plug-in unit to be updated utilizing described OSGI framework model to obtain described APP;
Second dispensing unit, for configuring described plug-in unit to be updated to described APP, to upgrade described APP.
7. terminal according to claim 6, is characterized in that,
Described first acquiring unit, also for being obtained the plug-in version of the described APP of server side by described OSGI framework model;
The plug-in version comparing obtained described APP and the plug-in version of described APP self managed;
When the plug-in version that comparison is accessed described APP is up-to-date, determine that the contextual information of described latest edition plug-in unit is the contextual information of described plug-in unit to be updated.
8. terminal according to claim 6, is characterized in that,
Described second acquisition unit, also for described contextual information being sent to server by utilizing the OSGI of described OSGI framework model to serve;
And after the registration notification message receiving described server, register described OSGI and serve;
Receive topology file and user interface UI class that described server is the plug-in unit described to be updated of registered OSGI service acquisition.
9. terminal according to claim 8, is characterized in that,
Described second dispensing unit, for configuring described topology file and described UI class extremely described APP, to upgrade described APP.
10. terminal according to claim 9, is characterized in that, described terminal also comprises:
First notification unit, for the OSGI service of being registered by described OSGI framework model announcement server.
11. 1 kinds of computer-readable storage mediums, store computer executable instructions in described computer-readable storage medium, and described computer executable instructions is used for the update method that enforcement of rights requires to apply in the Android system described in 1 to 5 any one APP.
CN201410271733.9A 2014-06-17 2014-06-17 Method for updating APP in Android system, terminal and storage medium Pending CN105323269A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410271733.9A CN105323269A (en) 2014-06-17 2014-06-17 Method for updating APP in Android system, terminal and storage medium
PCT/CN2014/092819 WO2015192608A1 (en) 2014-06-17 2014-12-02 Method for updating app in android system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410271733.9A CN105323269A (en) 2014-06-17 2014-06-17 Method for updating APP in Android system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN105323269A true CN105323269A (en) 2016-02-10

Family

ID=54934820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410271733.9A Pending CN105323269A (en) 2014-06-17 2014-06-17 Method for updating APP in Android system, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN105323269A (en)
WO (1) WO2015192608A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657191A (en) * 2016-03-29 2016-06-08 Tcl集团股份有限公司 Application increment upgrading method and system based on Android system
CN105827712A (en) * 2016-04-05 2016-08-03 成都西可科技有限公司 Intelligent mobile phone platform interaction method based on content recommendation
CN106331135A (en) * 2016-08-31 2017-01-11 广州品唯软件有限公司 Partial interface updating method and system, client and server
CN106484487A (en) * 2016-10-27 2017-03-08 北京锐安科技有限公司 A kind of processing method and processing device of system mend
CN107239350A (en) * 2016-03-28 2017-10-10 中国电信股份有限公司 Method and system for calling gateway capacity
CN107273151A (en) * 2017-05-25 2017-10-20 西安理工大学 A kind of safe Android App feature card methods
CN107529637A (en) * 2017-08-10 2018-01-02 青岛萨纳斯新能源科技有限公司 Electric business platform base framework
CN108881393A (en) * 2018-05-22 2018-11-23 北京达佳互联信息技术有限公司 A kind of data distributing method, device, computer and storage medium
CN109032651A (en) * 2018-08-24 2018-12-18 深圳创维-Rgb电子有限公司 Using update method, intelligent terminal and computer readable storage medium
CN112231010A (en) * 2020-09-28 2021-01-15 四川新网银行股份有限公司 Application configuration information management and dynamic updating method based on OSGI (open service gateway initiative) specification

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824623B (en) * 2016-03-14 2019-03-26 广州趣丸网络科技有限公司 A kind of method and apparatus that Android application hot repair is multiple
CN112099830A (en) * 2020-09-25 2020-12-18 努比亚技术有限公司 System updating method, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103399792A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation scheme of Android-based plug-in applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103399792A (en) * 2013-07-24 2013-11-20 佳都新太科技股份有限公司 Implementation scheme of Android-based plug-in applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁大帅: "apklug插件托管服务开发教程之按条件查询云端插件-01", 《WWW.APKPLUG.COM/BLOG/?POST=18》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239350B (en) * 2016-03-28 2020-07-07 中国电信股份有限公司 Method and system for calling gateway capability
CN107239350A (en) * 2016-03-28 2017-10-10 中国电信股份有限公司 Method and system for calling gateway capacity
CN105657191A (en) * 2016-03-29 2016-06-08 Tcl集团股份有限公司 Application increment upgrading method and system based on Android system
CN105827712A (en) * 2016-04-05 2016-08-03 成都西可科技有限公司 Intelligent mobile phone platform interaction method based on content recommendation
CN105827712B (en) * 2016-04-05 2019-07-23 成都西可科技有限公司 A kind of intelligent mobile phone platform exchange method based on commending contents
CN106331135A (en) * 2016-08-31 2017-01-11 广州品唯软件有限公司 Partial interface updating method and system, client and server
CN106331135B (en) * 2016-08-31 2019-09-03 广州品唯软件有限公司 A kind of part interface update method, system, client and server-side
CN106484487B (en) * 2016-10-27 2019-11-12 北京锐安科技有限公司 A kind of processing method and processing device of system mend
CN106484487A (en) * 2016-10-27 2017-03-08 北京锐安科技有限公司 A kind of processing method and processing device of system mend
CN107273151B (en) * 2017-05-25 2020-11-17 西安理工大学 Safe Android App functional plug-in method
CN107273151A (en) * 2017-05-25 2017-10-20 西安理工大学 A kind of safe Android App feature card methods
CN107529637A (en) * 2017-08-10 2018-01-02 青岛萨纳斯新能源科技有限公司 Electric business platform base framework
CN108881393A (en) * 2018-05-22 2018-11-23 北京达佳互联信息技术有限公司 A kind of data distributing method, device, computer and storage medium
CN109032651A (en) * 2018-08-24 2018-12-18 深圳创维-Rgb电子有限公司 Using update method, intelligent terminal and computer readable storage medium
CN112231010A (en) * 2020-09-28 2021-01-15 四川新网银行股份有限公司 Application configuration information management and dynamic updating method based on OSGI (open service gateway initiative) specification
CN112231010B (en) * 2020-09-28 2023-06-06 四川新网银行股份有限公司 Method for managing and dynamically updating application configuration information based on OSGI (open service gateway initiative) specification

Also Published As

Publication number Publication date
WO2015192608A1 (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
CN104063239B (en) Application program update method and server, the client of mobile terminal
CN106897086B (en) Method, device and system for upgrading robot operating system
CN108241500B (en) Method, device and system for repairing hardware component and storage medium
CN107305553B (en) Method and system for dynamically jumping Hybrid page based on Hybrid App
CN109495433B (en) Data downloading method and device, storage medium and electronic device
CN109918166B (en) Applet processing method and device and electronic equipment
US9158521B2 (en) Automatic provisioning of a software platform to a device ecosystem
US20170330248A1 (en) Portable Electronic Device and Method for Displaying Data Thereon
CN110730090B (en) Batch updating method, device, medium and electronic equipment for agent terminals in cloud environment
CN107291481B (en) Component updating method, device and system
CN103353845A (en) Method and device for uploading and pushing script
US20130152069A1 (en) Method, apparatus and system for initiating terminal operation
CN106911500B (en) Physical machine configuration method and device and physical machine
CN105975298A (en) Method and system for remotely controlling applications of Android terminal
CN106502717B (en) Application program running method and device
CN103313231A (en) Method, system and server for upgrading application program in mobile terminal
US20220229654A1 (en) Enabling upgrading firmware of a target device
US20170351503A1 (en) Method and system for installing software
CN104267993A (en) Software updating method, device and mobile terminal
US10078532B2 (en) Resource management method and device for terminal system among multiple operating systems
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
KR20180050001A (en) Firmware upgrade system and method for IoT

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160210

WD01 Invention patent application deemed withdrawn after publication