CN105204879A - Application updating method and device - Google Patents

Application updating method and device Download PDF

Info

Publication number
CN105204879A
CN105204879A CN201410283462.9A CN201410283462A CN105204879A CN 105204879 A CN105204879 A CN 105204879A CN 201410283462 A CN201410283462 A CN 201410283462A CN 105204879 A CN105204879 A CN 105204879A
Authority
CN
China
Prior art keywords
unit
data
plug
application program
renewal
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
CN201410283462.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.)
Beijing Xiaomi Technology Co Ltd
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
Priority to CN201410283462.9A priority Critical patent/CN105204879A/en
Publication of CN105204879A publication Critical patent/CN105204879A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an application updating method and device, and relates to the technical field of data processing. The problem that application updating operation is complex can be solved. The method comprises the steps that an updating plugin of an application is acquired, wherein the updating plugin comprises updating data for replacing the part to be replaced of the application; the part to be replaced of the application is replaced by the updating plugin to update the application. The application updating method and device are used for updating the application.

Description

Application program update method and device
Technical field
The disclosure relates to technical field of data processing, particularly relates to a kind of application program update method and device.
Background technology
Along with the progressively development of smart mobile phone, the application program (App) of smart mobile phone also becomes product indispensable in people's life.
The App of some and network side interaction data, as weather App, need to obtain data, once data source changes from one or more data source, or some contents such as the data layout in data source changes, all or part of disabler of App will be caused even to collapse.In order to make App normally to work, in correlation technique, if App is in systems in which built-in, then needing to reinstall mobile phone operating system, normally could use this App.For in non-built App in systems in which, then need user pass through application shop or search for new Android installation kit (AndroidPackage, Apk) from network, could normally use after reinstalling this App.
In correlation technique, there are the following problems: reinstall mobile phone operating system or reinstall App and all consume and cost plenty of time and data traffic, cause the wasting of resources.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of application program update method and device.
According to the first aspect of disclosure embodiment, provide a kind of application program update method, described method comprises:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
The technical scheme that embodiment of the present disclosure provides can realize following beneficial effect: user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Optionally, the renewal plug-in unit of described acquisition application program, comprising:
Whether requester network side exists the renewal plug-in unit of described application program;
When described network side exists described renewal plug-in unit, obtain described renewal plug-in unit from network side;
Or the renewal plug-in unit of described acquisition application program, comprising:
Obtain the renewal plug-in unit of the described application program that network side pushes.
In possibility, no matter be that application program active inquiry or server carry out propelling movement renewal plug-in unit, the renewal of App can be completed in the complete unwitting situation of user, saved user time and data traffic, drastically increased Consumer's Experience.
Optionally, described method also comprises:
Determine the function type of described renewal plug-in unit;
The operation corresponding with described function type is performed according to described renewal plug-in unit.
In possibility, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, the described function type determining described renewal plug-in unit, comprising:
The function type of described renewal plug-in unit is determined according to described more new data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with the function type of described renewal plug-in unit is performed according to described more new data.
In possibility, perform the operation that more new data is corresponding by the way, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, the described function type determining described renewal plug-in unit, comprising:
According to predefined description mark, inquire about in described renewal plug-in unit and comprise the described more new data describing mark;
Determine to comprise the first function type that the more new data of described description mark is corresponding;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with described first function type is performed according to comprising the described more new data describing mark.
In possibility, perform the operation that more new data is corresponding by the way, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described more new data packets draws together at least one item in the variate-value of the function of renewal, the variable of renewal and renewal.
In possibility, according to the amendment made App, can only upgrade amendment part, without the need to reinstalling whole App, reduce the more amount of new data needing to download, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described renewal plug-in unit comprises the new data source interface data that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is for obtaining application data according to described new data source interface data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
According to described new data source interface data determination new data source interface;
Application data is obtained from described new data source interface.
In possibility, when the data resource interface of App changes, only data resource interface data are upgraded, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described renewal plug-in unit comprises the service data for format conversion, the application data of described service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is that application data carries out format conversion according to described service data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
By the application data of not identifiable design form obtained from data resource interface, be converted to the application data of the form that described application program can identify.
In possibility, when the data layout that the data source of App provides changes, the service data for format conversion can be added in App, format data are converted to the data that App can identify, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
According to the second aspect of disclosure embodiment, a kind of application program update device is provided, comprises:
Acquisition module, for obtaining the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replacement module, for replacing the part to be updated of described application program with described renewal plug-in unit, upgrades described application program.
The technical scheme that embodiment of the present disclosure provides can realize following beneficial effect: user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Optionally, described device also comprises:
Whether enquiry module, exist the renewal plug-in unit of described application program for requester network side;
Described acquisition module, for when described network side exists described renewal plug-in unit, obtains described renewal plug-in unit from network side.
In possibility, no matter be that application program active inquiry or server carry out propelling movement renewal plug-in unit, the renewal of App can be completed in the complete unwitting situation of user, saved user time and data traffic, drastically increased Consumer's Experience.
Optionally, described acquisition module, for obtaining the renewal plug-in unit of the described application program that network side pushes.
In possibility, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described device also comprises:
Determination module, for determining the function type of described renewal plug-in unit;
Execution module, for performing the operation corresponding with described function type according to described renewal plug-in unit.
In possibility, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described determination module, for determining the function type of described renewal plug-in unit according to described more new data;
Described execution module, for performing the operation corresponding with the function type of described renewal plug-in unit according to described more new data.In possibility, perform the operation that more new data is corresponding by the way, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described determination module comprises:
Query unit, for according to predefined description mark, inquires about in described renewal plug-in unit and comprises the described more new data describing mark;
Determining unit, the first function type that the more new data for determining to comprise described description mark is corresponding;
Described execution module, for performing the operation corresponding with described first function type according to comprising the described more new data describing mark.
In possibility, perform the operation that more new data is corresponding by the way, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described renewal plug-in unit comprises the new data source interface data that described application program can identify;
Described determination module, for determining that according to described new data source interface data the function type of described renewal plug-in unit is for obtaining application data;
Described execution module comprises:
Determining unit, for according to described new data source interface data determination new data source interface;
Acquiring unit, for obtaining application data from described new data source interface.In possibility, when the data resource interface of App changes, only data resource interface data are upgraded, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, described renewal plug-in unit comprises the service data for format conversion, the application data of described service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that described application program can identify;
Described determination module, for determining that according to described service data the function type of described renewal plug-in unit is that application data carries out format conversion;
Described execution module comprises:
Converting unit, for the application data of not identifiable design form will obtained from data resource interface, is converted to the application data of the form that described application program can identify.
In possibility, when the data layout that the data source of App provides changes, the service data for format conversion can be added in App, format data are converted to the data that App can identify, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
According to the third aspect of disclosure embodiment, a kind of application program update device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
The technical scheme that embodiment of the present disclosure provides can realize following beneficial effect: user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of application program update method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of application program update method according to another exemplary embodiment;
Fig. 3 is the process flow diagram of a kind of application program update method according to another exemplary embodiment;
Fig. 4 is the process flow diagram of a kind of application program update method according to another exemplary embodiment;
Fig. 5 is the block diagram of a kind of application program update device according to an exemplary embodiment;
Fig. 6 is the block diagram of a kind of application program update device according to another exemplary embodiment;
Fig. 7 is the block diagram of a kind of application program update device according to another exemplary embodiment;
Fig. 8 is the block diagram of the determination module according to an exemplary embodiment.
Fig. 9 is the block diagram of the execution module according to another exemplary embodiment;
Figure 10 is the block diagram of the execution module according to another exemplary embodiment;
Figure 11 is the block diagram of a kind of device 1300 for application program update according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
In disclosure embodiment, when finding that the data resource interface (URL of such as data source) of certain App changes, or data resource interface is when providing data layout to change, slip-stick artist writes respective code for new data resource interface or new data layout, respective code is compiled into and upgrades plug-in unit (such as, jar file), upload on the server of network side.
Such as, when this App is weather App, code comprises new weather data source interface, and/or, the service data of User Format conversion, this service data is used for the application data of the format obtained from data resource interface, the application data being converted to the compatible form of weather app.The effect of this code is: make weather app can obtain weather data from the data resource interface after change, and/or, the data of format are converted to the data layout that weather app can be compatible.
Fig. 1 is the process flow diagram of a kind of application program update method according to an exemplary embodiment, and as shown in Figure 1, application program update method is used for, in terminal, comprising the following steps.
In step s 11, obtain the renewal plug-in unit of application program, upgrade the more new data that part to be updated that plug-in unit comprises application programs carries out replacing.
In step s 12, by the part to be updated upgrading plug-in unit replacement application program, application programs upgrades.
In the present embodiment, when the data source of App or function change, by upgrade plug-in unit provide App upgrade needed for more new data, and more new data only for part to be updated, after using the part to be updated upgrading plug-in unit replacement App, make App can adapt to the change of data source or obtain new function.Like this, user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Optionally, more new data packets draws together at least one item in the variate-value of the function of renewal, the variable of renewal and renewal.
Such as, in more new data, can comprise: for replacing the new function of existing function in App, or increase the new function for performing new operation newly; For replacing the new variables of existing variable in App, or newly-increased variable; For replacing the new variables value of existing variate-value in App; Etc..
Again such as, for weather App, when weather data source interface changes, when URL as weather data source changes, then more new data packets draws together the new URL in weather data source, to replace the URL in the former weather data source in App, is equivalent to replace former variate-value by new variables value.Or when weather data source interface quantity changes, as changed another one data source, new data resource interface quantity is 4, former data resource interface quantity is 3, like this, more new data comprises the interface message in new weather data source, to replace the interface message in the former weather data source in App, is equivalent to replace former variable and former variate-value by new variables and new variables value.When the data layout that data source provides changes, then more can comprise a new function in new data, the data for format data source provided are converted to the data of the former form that App can identify.
In possibility, according to the amendment made App, can only upgrade amendment part, without the need to reinstalling whole App, reduce the more amount of new data needing to download, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, the application program be arranged in terminal can initiatively go server lookup whether to have renewal plug-in unit, also can work as have upgrade plug-in unit time, pushed by server.
Step S11 comprises: whether requester network side exists the renewal plug-in unit of application program; When network side exists renewal plug-in unit, obtain from network side and upgrade plug-in unit.Or step S11 comprises: the renewal plug-in unit obtaining the application program that network side pushes.
In possibility, no matter be that application program active inquiry or server carry out propelling movement renewal plug-in unit, the renewal of App can be completed in the complete unwitting situation of user, saved user time and data traffic, drastically increased Consumer's Experience.
Fig. 2 is the process flow diagram of a kind of application program update method according to another exemplary embodiment, and as shown in Figure 2, optionally, the method is further comprising the steps of.
In step s 13, the function type upgrading plug-in unit is determined.
In step S14, perform the operation corresponding with function type according to upgrading plug-in unit.
Upgrade the function type of plug-in unit, refer to the type of this renewal plug-in unit function achieved in App.Such as, be replace the weather data source interface information in weather App when upgrading plug-in unit, then the function type of this renewal plug-in unit is for obtaining weather data; When upgrade plug-in unit be increase in weather App the operation of format conversion is carried out to weather data time, then the function type of this renewal plug-in unit is for carry out format conversion to weather data.
In possibility, after App upgrades, can after the function type determining renewal plug-in unit, the operation that n-back test type is corresponding.Such as, upgrading plug-in unit can wrap for jar, is a kind of file that java generates after compilation process, can comprises a part of java code because jar wraps, and java applies and can use function wherein by the reflection process of class.Therefore, App can utilize the reflex mechanism of android to call the more new data upgraded in plug-in unit.
At least can realize above-mentioned steps S13 and step S14 by following two kinds of modes.
Fig. 3 is the process flow diagram of a kind of application program update method according to another exemplary embodiment, and as shown in Figure 3, optionally, step S13 can comprise: in step S31, determines according to more new data the function type upgrading plug-in unit; .
Step S14 can comprise: in step s 32, the operation corresponding with the function type upgrading plug-in unit according to more new data execution.
Such as, multiple action name (operation 1, operation 2 can be stored in weather App ...), wherein, the data in advance of operation 1 is given for the special operation obtaining weather data.After then weather App obtains the data of new operation 1 from new renewal plug-in unit, directly call the data of new operation 1 to obtain available weather data.
Fig. 4 is the process flow diagram of a kind of application program update method according to another exemplary embodiment, and as shown in Figure 4, optionally, step S13 can comprise the following steps.:
In step S41, according to predefined description mark, inquiry upgrades the more new data comprising in plug-in unit and describe mark.
In step S42, determine to comprise the first function type that the more new data of description mark is corresponding.
Step S14 can comprise: in step S43, performs the operation corresponding with the first function type according to comprising the more new data describing mark.
Such as, weather app can search the more new data upgraded in plug-in unit by certain scheme, the description mark of some is pre-defined in weather app, such as " weather " character string, then obtain upgrade in plug-in unit upgrade and have data, travel through these more new datas, then find containing " weather " character string, after finding, then can use the more new data containing " weather " character string.
In possibility, perform operation corresponding to more new data by above-mentioned two kinds of modes, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, renewal plug-in unit comprises the new data source interface data that application program can identify; Above-mentioned steps S13 comprises: determine that the function type of described renewal plug-in unit is for obtaining application data according to described new data source interface data; .Above-mentioned steps S14 comprises: according to described new data source interface data determination new data source interface; Application data is obtained from described new data source interface.
In possibility, when the data resource interface of App changes, only data resource interface data are upgraded, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, renewal plug-in unit comprises the service data for format conversion, the application data of service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that application program can identify.Above-mentioned steps S13 comprises: determine that the function type of described renewal plug-in unit is that application data carries out format conversion according to described service data.Above-mentioned steps S14 comprises: by the application data of not identifiable design form obtained from data resource interface, be converted to the application data of the form that application program can identify.
In possibility, when the data layout that the data source of App provides changes, the service data for format conversion can be added in App, format data are converted to the data that App can identify, without the need to reinstalling whole App, improve App renewal speed, App can be made quickly according to the data executable operations after renewal, improve the accuracy that App performs.
Optionally, upgrade in plug-in unit and also can comprise above-mentioned new data source interface data and service data simultaneously, like this, in above-mentioned steps S13, determine that the function type of described renewal plug-in unit comprises acquisition application data and application data carries out format conversion.In above-mentioned steps S14, perform and obtain data from new data source interface, and format conversion is carried out to the data got.
Fig. 5 is the block diagram of a kind of application program update device according to an exemplary embodiment.As shown in Figure 5, this device comprises acquisition module 51 and replacement module 52.
Acquisition module 51 is configured to obtain the renewal plug-in unit of application program, upgrades the more new data that part to be updated that plug-in unit comprises application programs carries out replacing.
Replacement module 52 is configured to, by the part to be updated upgrading plug-in unit replacement application program, upgrade described application program.
Fig. 6 is the block diagram of a kind of application program update device according to another exemplary embodiment, and as shown in Figure 6, optionally, this device also comprises enquiry module 53.
Enquiry module 53 is configured to the renewal plug-in unit whether requester network side exists application program.
Acquisition module 51 is configured to, when network side exists renewal plug-in unit, obtain upgrade plug-in unit from network side.
Optionally, acquisition module 51 is configured to the renewal plug-in unit obtaining the application program that network side pushes.
Fig. 7 is the block diagram of a kind of application program update device according to another exemplary embodiment, and as shown in Figure 7, optionally, this device also comprises: determination module 54 and execution module 55.
Determination module 54 is configured to the function type determining described renewal plug-in unit.
Execution module 55 is configured to perform corresponding operation according to renewal plug-in unit.
Optionally, determination module 54 is configured to the function type determining described renewal plug-in unit according to described more new data; Execution module is drawn together 55 and is configured to perform the operation corresponding with the function type of described renewal plug-in unit according to described more new data.
Fig. 8 is the block diagram of the determination module according to another exemplary embodiment, and as shown in Figure 8, optionally, determination module 54 comprises:
Query unit 541 is configured to, according to predefined description mark, inquire about in described renewal plug-in unit and comprise the described more new data describing mark;
The first function type that the more new data that determining unit 542 is configured to determine to comprise described description mark is corresponding.
Execution module 55 is configured to perform the operation corresponding with described first function type according to comprising the described more new data describing mark.
Fig. 9 is the block diagram of the execution module according to another exemplary embodiment, and as shown in Figure 9, optionally, renewal plug-in unit comprises the new data source interface data that application program can identify.
Determination module 54 is configured to determine that the function type of described renewal plug-in unit is for obtaining application data according to described new data source interface data.
Execution module 55 comprises: determining unit 551 and acquiring unit 552.
Determining unit 551 is configured to call new data source interface data determination new data source interface;
Acquiring unit 552 is configured to obtain application data from new data source interface.
Figure 10 is the block diagram of the execution module according to another exemplary embodiment, as shown in Figure 10, optionally, renewal plug-in unit comprises the service data for format conversion, the application data of service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that application program can identify.Determination module 54 is configured to determine that the function type of described renewal plug-in unit is that application data carries out format conversion according to described service data;
Execution module 54 comprises: converting unit 553.
Converting unit 553 is configured to, by the application data of the not identifiable design form obtained from data resource interface, be converted to the application data of the form that application program can identify.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The device of the present embodiment, when the data source of App or function change, by upgrade plug-in unit provide App upgrade needed for more new data, and more new data only for part to be updated, after using the part to be updated upgrading plug-in unit replacement App, make App can adapt to the change of data source or obtain new function.Like this, user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Originally implement and a kind of application program update device be also provided, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
The technical scheme that embodiment of the present disclosure provides can realize following beneficial effect: user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Figure 11 is the block diagram of a kind of device 1300 for application program update according to an exemplary embodiment.Such as, device 1300 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 11, device 1300 can comprise following one or more assembly: processing components 1302, storer 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, the interface 1312 of I/O (I/O), sensor module 1314, and communications component 1316.
The integrated operation of the usual control device 1300 of processing components 1302, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1302 can comprise one or more processor 1320 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1302 can comprise one or more module, and what be convenient between processing components 1302 and other assemblies is mutual.Such as, processing components 1302 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1308 and processing components 1302.
Storer 1304 is configured to store various types of data to be supported in the operation of equipment 1300.The example of these data comprises for any application program of operation on device 1300 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1304 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1306 is device 1300 provide electric power.Power supply module 1306 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1300 and be associated.
Multimedia groupware 1308 is included in the screen providing an output interface between described device 1300 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1308 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1300 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1310 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1310 comprises a microphone (MIC), and when device 1300 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1304 further or be sent via communications component 1316.In certain embodiments, audio-frequency assembly 1310 also comprises a loudspeaker, for output audio signal.
I/O interface 1312 is for providing interface between processing components 1302 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1314 comprises one or more sensor, for providing the state estimation of various aspects for device 1300.Such as, sensor module 1314 can detect the opening/closing state of equipment 1300, the relative positioning of assembly, such as described assembly is display and the keypad of device 1300, the position of all right pick-up unit 1300 of sensor module 1314 or device 1300 assemblies changes, the presence or absence that user contacts with device 1300, the temperature variation of device 1300 orientation or acceleration/deceleration and device 1300.Sensor module 1314 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1314 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1314 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1316 is configured to the communication being convenient to wired or wireless mode between device 1300 and other equipment.Device 1300 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1316 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1316 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1300 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1304 of instruction, above-mentioned instruction can perform said method by the processor 1320 of device 1300.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of application program update method, described method comprises:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
Optionally, the renewal plug-in unit of described acquisition application program, comprising:
Whether requester network side exists the renewal plug-in unit of described application program;
When described network side exists described renewal plug-in unit, obtain described renewal plug-in unit from network side;
Or the renewal plug-in unit of described acquisition application program, comprising:
Obtain the renewal plug-in unit of the described application program that network side pushes.
Optionally, described method also comprises:
Determine the function type of described renewal plug-in unit;
The operation corresponding with described function type is performed according to described renewal plug-in unit.
Optionally, the described function type determining described renewal plug-in unit, comprising:
The function type of described renewal plug-in unit is determined according to described more new data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with the function type of described renewal plug-in unit is performed according to described more new data.
Optionally, the described function type determining described renewal plug-in unit, comprising:
According to predefined description mark, inquire about in described renewal plug-in unit and comprise the described more new data describing mark;
Determine to comprise the first function type that the more new data of described description mark is corresponding;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with described first function type is performed according to comprising the described more new data describing mark.
Optionally, described more new data packets draws together at least one item in the variate-value of the function of renewal, the variable of renewal and renewal.
Optionally, described renewal plug-in unit comprises the new data source interface data that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is for obtaining application data according to described new data source interface data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
According to described new data source interface data determination new data source interface;
Application data is obtained from described new data source interface.
Optionally, described renewal plug-in unit comprises the service data for format conversion, the application data of described service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is that application data carries out format conversion according to described service data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
By the application data of not identifiable design form obtained from data resource interface, be converted to the application data of the form that described application program can identify.
The technical scheme that embodiment of the present disclosure provides can realize following beneficial effect: user just can solve the replacement problem of App without the need to the operating system reinstalling terminal, also without the need to user search App installation kit and install, avoid the corrupted data that repacking operation thrashing causes, also avoid user to lose, save user time and data traffic.Owing to only upgrading the partial data of App, renewal process is very fast, does not affect the normal operation of App.The renewal process of whole App, can complete when user knows nothing, drastically increase Consumer's Experience.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (17)

1. an application program update method, is characterized in that, comprising:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
2. method according to claim 1, is characterized in that, the renewal plug-in unit of described acquisition application program, comprising:
Whether requester network side exists the renewal plug-in unit of described application program;
When described network side exists described renewal plug-in unit, obtain described renewal plug-in unit from network side;
Or the renewal plug-in unit of described acquisition application program, comprising:
Obtain the renewal plug-in unit of the described application program that network side pushes.
3. method according to claim 1, is characterized in that, described method also comprises:
Determine the function type of described renewal plug-in unit;
The operation corresponding with described function type is performed according to described renewal plug-in unit.
4. method according to claim 3, is characterized in that, the described function type determining described renewal plug-in unit, comprising:
The function type of described renewal plug-in unit is determined according to described more new data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with the function type of described renewal plug-in unit is performed according to described more new data.
5. method according to claim 3, is characterized in that, the described function type determining described renewal plug-in unit, comprising:
According to predefined description mark, inquire about in described renewal plug-in unit and comprise the described more new data describing mark;
Determine to comprise the first function type that the more new data of described description mark is corresponding;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
The operation corresponding with described first function type is performed according to comprising the described more new data describing mark.
6. method according to claim 1, is characterized in that, described more new data packets draws together at least one item in the variate-value of the function of renewal, the variable of renewal and renewal.
7. method according to claim 3, is characterized in that, described renewal plug-in unit comprises the new data source interface data that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is for obtaining application data according to described new data source interface data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
According to described new data source interface data determination new data source interface;
Application data is obtained from described new data source interface.
8. the method according to claim 3 or 7, it is characterized in that, described renewal plug-in unit comprises the service data for format conversion, the application data of described service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that described application program can identify;
The described function type determining described renewal plug-in unit, comprising:
Determine that the function type of described renewal plug-in unit is that application data carries out format conversion according to described service data;
The described operation corresponding with described function type according to described renewal plug-in unit execution, comprising:
By the application data of not identifiable design form obtained from data resource interface, be converted to the application data of the form that described application program can identify.
9. an application program update device, is characterized in that, comprising:
Acquisition module, for obtaining the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replacement module, for replacing the part to be updated of described application program with described renewal plug-in unit, upgrades described application program.
10. device according to claim 9, is characterized in that, described device also comprises:
Whether enquiry module, exist the renewal plug-in unit of described application program for requester network side;
Described acquisition module, for when described network side exists described renewal plug-in unit, obtains described renewal plug-in unit from network side.
11. devices according to claim 9, is characterized in that, described acquisition module, for obtaining the renewal plug-in unit of the described application program that network side pushes.
12. devices according to claim 9, is characterized in that, described device also comprises:
Determination module, for determining the function type of described renewal plug-in unit;
Execution module, for performing the operation corresponding with described function type according to described renewal plug-in unit.
13. devices according to claim 12, is characterized in that, described determination module, for determining the function type of described renewal plug-in unit according to described more new data;
Described execution module, for performing the operation corresponding with the function type of described renewal plug-in unit according to described more new data.
14. devices according to claim 12, is characterized in that, described determination module comprises:
Query unit, for according to predefined description mark, inquires about in described renewal plug-in unit and comprises the described more new data describing mark;
Determining unit, the first function type that the more new data for determining to comprise described description mark is corresponding;
Described execution module, for performing the operation corresponding with described first function type according to comprising the described more new data describing mark.
15. devices according to claim 12, is characterized in that, described renewal plug-in unit comprises the new data source interface data that described application program can identify;
Described determination module, for determining that according to described new data source interface data the function type of described renewal plug-in unit is for obtaining application data;
Described execution module comprises:
Determining unit, for according to described new data source interface data determination new data source interface;
Acquiring unit, for obtaining application data from described new data source interface.
16. devices according to claim 12 or 15, it is characterized in that, described renewal plug-in unit comprises the service data for format conversion, the application data of described service data for by the data transformation of the not identifiable design form obtained from data resource interface being the form that described application program can identify;
Described determination module, for determining that according to described service data the function type of described renewal plug-in unit is that application data carries out format conversion;
Described execution module comprises:
Converting unit, for the application data of not identifiable design form will obtained from data resource interface, is converted to the application data of the form that described application program can identify.
17. 1 kinds of application program update devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the renewal plug-in unit of application program, described renewal plug-in unit comprises the more new data replaced the part to be updated of described application program;
Replace the part to be updated of described application program with described renewal plug-in unit, described application program is upgraded.
CN201410283462.9A 2014-06-23 2014-06-23 Application updating method and device Pending CN105204879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410283462.9A CN105204879A (en) 2014-06-23 2014-06-23 Application updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410283462.9A CN105204879A (en) 2014-06-23 2014-06-23 Application updating method and device

Publications (1)

Publication Number Publication Date
CN105204879A true CN105204879A (en) 2015-12-30

Family

ID=54952584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410283462.9A Pending CN105204879A (en) 2014-06-23 2014-06-23 Application updating method and device

Country Status (1)

Country Link
CN (1) CN105204879A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092496A (en) * 2016-12-28 2017-08-25 北京小度信息科技有限公司 The upgrade method and device of a kind of application software
CN108845812A (en) * 2018-05-31 2018-11-20 康键信息技术(深圳)有限公司 Update of plug-in method, apparatus, computer equipment and storage medium
CN109933357A (en) * 2017-12-18 2019-06-25 优酷网络技术(北京)有限公司 Application program updating method and device
CN109933355A (en) * 2017-12-18 2019-06-25 优酷网络技术(北京)有限公司 Application program updating method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081535A (en) * 2010-12-17 2011-06-01 东莞宇龙通信科技有限公司 Android-based application program upgrading method and system and application development platform
CN103176809A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Application upgrading method and application upgrading system
CN103677877A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Method and device for updating local advertisement software development kit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081535A (en) * 2010-12-17 2011-06-01 东莞宇龙通信科技有限公司 Android-based application program upgrading method and system and application development platform
CN103176809A (en) * 2011-12-23 2013-06-26 腾讯科技(深圳)有限公司 Application upgrading method and application upgrading system
CN103677877A (en) * 2012-09-12 2014-03-26 腾讯科技(深圳)有限公司 Method and device for updating local advertisement software development kit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092496A (en) * 2016-12-28 2017-08-25 北京小度信息科技有限公司 The upgrade method and device of a kind of application software
CN109933357A (en) * 2017-12-18 2019-06-25 优酷网络技术(北京)有限公司 Application program updating method and device
CN109933355A (en) * 2017-12-18 2019-06-25 优酷网络技术(北京)有限公司 Application program updating method and device
CN109933357B (en) * 2017-12-18 2022-07-15 阿里巴巴(中国)有限公司 Application program upgrading method and device
CN109933355B (en) * 2017-12-18 2022-08-05 阿里巴巴(中国)有限公司 Application program upgrading method and device
CN108845812A (en) * 2018-05-31 2018-11-20 康键信息技术(深圳)有限公司 Update of plug-in method, apparatus, computer equipment and storage medium
CN108845812B (en) * 2018-05-31 2024-04-05 康键信息技术(深圳)有限公司 Plug-in updating method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104951336A (en) Application program installation method and device
CN104484200A (en) Method and device for updating firmware
CN103870310A (en) Program compilation method and relevant device
CN105160854A (en) Equipment control method, device and terminal equipment
CN105094931A (en) Software upgrading method and device
CN104778063A (en) Method and device for updating resource
CN105204894A (en) Method and device for installing plug-in of intelligent equipment
CN105511907A (en) Application program upgrade method, device and system
CN104679599A (en) Application program duplicating method and device
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN104486451A (en) Application program recommendation method and device
CN105094904A (en) Application program installation method and device
CN104811776A (en) Multimedia playing method and device
CN105119790A (en) Apparatus control method and device
CN104536783A (en) Method and device for setting reserved space
CN104536935A (en) Calculation displaying method, calculation editing method and device
CN105068848A (en) System upgrading method and apparatus
CN105376412A (en) Information processing method and device
CN105808305A (en) Static resource loading method and device
CN105630546A (en) System updating method and system updating device
CN105094830A (en) Method and device for executing target functions
CN104636170A (en) Application acquiring method and device and electronic device
CN105204879A (en) Application updating method and device
CN105468417A (en) Application software installation method and device
CN105426210A (en) Method and device for upgrading system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151230

RJ01 Rejection of invention patent application after publication