CN107643920A - Application software update method and device - Google Patents

Application software update method and device Download PDF

Info

Publication number
CN107643920A
CN107643920A CN201610579058.5A CN201610579058A CN107643920A CN 107643920 A CN107643920 A CN 107643920A CN 201610579058 A CN201610579058 A CN 201610579058A CN 107643920 A CN107643920 A CN 107643920A
Authority
CN
China
Prior art keywords
application software
module
update
renewal
new
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
CN201610579058.5A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610579058.5A priority Critical patent/CN107643920A/en
Publication of CN107643920A publication Critical patent/CN107643920A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of application software update method, this method includes:Detection is updated to locally-installed application software according to the more new configuration file that server is sent, obtains each module that the application software need to update;Each module that need to be updated according to the application software, each more new file bag corresponding to download;According to each more new file bag, the application software is updated.The invention also discloses a kind of application software updating device.The present invention realizes carries out part renewal according to modular more new file bag to application software, reduce the version updating iteration cost of application software, the increase of New function only can be achieved by the renewal of module or functional is safeguarded, greatly improve Consumer's Experience.

Description

Application software update method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of application software update method and device.
Background technology
Mobile terminal has turned into a part essential in people's daily life and work, in order to enrich mobile terminal Function, the application software of personalization, such as social software, video software, reference software etc. are provided the user using shop.
Because application software needs constantly to improve itself function, patching bugs, therefore, user needs often renewal movement The application software installed in terminal.At present, the renewal of application software usually requires the whole peace that application vendor provides application software Dress bag, user must also download the installation kit of whole application software, can just be updated.
But the renewal of commonly used software is only the renewal or maintenance of partial function, then include in installation kit big Measure the module data that need not be updated.This, which arrives, result in the installation kit for application software of packing, and have extensive work to be Useless, waste development cost.
The content of the invention
It is a primary object of the present invention to provide a kind of application software update method, it is intended to solve being updated to for application software This high technical problem.
To achieve the above object, the present invention provides a kind of application software update method, the application software update method bag Include following steps:
Detection is updated to locally-installed application software according to the more new configuration file that server is sent, described in acquisition Each module that application software need to update;
Each module that need to be updated according to the application software, each more new file bag corresponding to download;
According to each more new file bag, the application software is updated.
In one embodiment, when detecting described application software initiated, according to each more new file bag, institute is updated State application software.
In one embodiment, it is described according to each more new file bag, before the step of updating the application software also Including:
Store the original document bag of each module before the application software updates;
It is described according to each more new file bag, after the step of updating the application software, in addition to:
If the application software renewal failure, according to the original document bag, controls the application software to be rolled back to more Version before new
In one embodiment, the more new configuration file sent according to server is entered to locally-installed application software The step of row renewal detects, obtains each module that the application software need to update includes:
Renewal request is sent to server based on locally-installed application software, the renewal that the server returns is obtained and matches somebody with somebody Put file;
According to the more new configuration file record each module of the application software renewal version information, and it is described should With the locally-installed each module release information of software, detect whether the application software needs update module;
Obtain each module that the application software need to update.
In one embodiment, each module that need to be updated according to the application software, each renewal text corresponding to download The step of part bag, includes:
According to the more new configuration file, the more new file bag for obtaining each module that the application software need to update downloads ground Location;
The more new file bag download address for each module that need to be updated according to the application software, download obtain each renewal respectively File bag.
In addition, to achieve the above object, the present invention also provides a kind of application software updating device, the application software renewal Device includes:
Detection module, the more new configuration file for being sent according to server are updated to locally-installed application software Detection, obtains each module that the application software need to update;
Download module, for each module that need to be updated according to the application software, each more new file bag corresponding to download;
Update module, for according to each more new file bag, updating the application software.
In one embodiment, the update module is additionally operable to,
When detecting described application software initiated, according to each more new file bag, the application software is updated.
In one embodiment, the application software updating device also includes:
Roll-back module, for storing the original document bag of each module before the application software updates;If the application software Renewal failure, then according to the original document bag, the version for controlling the application software to be rolled back to before renewal.
In one embodiment, the detection module is additionally operable to,
Renewal request is sent to server based on locally-installed application software, the renewal that the server returns is obtained and matches somebody with somebody Put file;According to the more new configuration file record each module of the application software renewal version information, and it is described should With the locally-installed each module release information of software, detect whether the application software needs update module;Obtain the application Each module that software need to update.
In one embodiment, the download module is additionally operable to,
According to the more new configuration file, the more new file bag for obtaining each module that the application software need to update downloads ground Location;The more new file bag download address for each module that need to be updated according to the application software, download obtain each more new file respectively Bag.
A kind of application software update method proposed by the present invention and device, text is configured by the renewal sent according to server Part is updated detection to locally-installed application software, obtains each module that application software need to update;Then, it is soft according to application Each module that part need to update, each more new file bag corresponding to download;And according to respectively more new file bag, update the application software. Example of the present invention obtains each module that current application software needs to update, under only by being updated detection to application software More new file bag corresponding to needing renewal and increased each module is carried, is realized soft to application according to modular more new file bag Part carries out part renewal, reduces the version updating iteration cost of application software, only can be real by the renewal or increase of module The increase of existing New function or functional maintenance, greatly improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of application software update method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of application software update method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of application software update method 3rd embodiment of the present invention;
Fig. 4 is the schematic flow sheet of application software update method fourth embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the embodiment of application software update method the 5th of the present invention;
Fig. 6 is application software updating device first embodiment of the present invention, second embodiment, fourth embodiment and the 5th implementation The high-level schematic functional block diagram of example;
Fig. 7 is the high-level schematic functional block diagram of application software updating device 3rd embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Reference picture 1, application software update method first embodiment of the present invention provides a kind of application software update method, described Application software update method includes:
Step S10, the more new configuration file sent according to server is updated detection to locally-installed application software, Obtain each module that the application software need to update.
The present invention obtains each module that application software need to update, and only download needs more by being detected to application software The more new file bag of new each module, to update application software, so as to reduce the renewal cost of application software.
In the present embodiment, application software is configured in a modular fashion, in order to carry out modularization to application software Renewal, for example, application software is divided into homepage module, registration login module, mapping module, flight module etc..Need Bright, the software installation bag of each module of application software is according to the storage rule being pre-configured with the present embodiment, is carried out respectively Storage.
Specifically, as a kind of embodiment, first, the application software renewal configuration that acquisition for mobile terminal server is sent File.
Mobile terminal can actively send and ask, obtain the renewal of application software after application software initiated to server Configuration file, the more new configuration file of server push can also be received, can flexibly set as needed.
Wherein, the more new configuration file of application software describes the fresh information of each module in current application software.For example, When the application software of application vendor issue redaction, the more new configuration file of application software is described in redaction application software The fresh information of each module.
Then, mobile terminal detects each module of locally-installed application software, judging respectively should according to more new configuration file Whether need to update with each module of software.
It should be noted that the module that detection obtains needing to update in the present embodiment includes:Locally applied software needs to increase Module, module, module, the module etc. of modification replaced deleted.
For example, for the locally-installed application software 1 of mobile terminal, if in application software 1 described in more new configuration file The version of modules A is 3, and locally-installed modules A version is 1, then judges that application software 1 needs update module A;If renewal configuration Module C version is 1 in application software 1 described in file, local not install module C, then judges that application software 1 needs to increase Module C.
Thus, each module that the software that is applied need to update.
Step S20, each module that need to be updated according to the application software, each more new file bag corresponding to download.
In the renewal of each module that the software that is applied need to update, respectively each module that downloading application software need to be updated File bag.
Then, mobile terminal stores each more new file bag downloaded according to the file path being pre-configured with.
For example, application software 1 needs update module A, increase module C, mobile terminal download to obtain respectively more new file bag A and More new file bag C, then mobile terminal, will text corresponding to more new file bag A storages to modules A according to the file path being pre-configured with In part folder, more new file bag is stored into file corresponding to module C.
Step S30, according to each more new file bag, the application software is updated.
After each more new file bag is obtained, according to each module corresponding to each more new file bag renewal of root, so as to update application Software.
In the present embodiment, the more new configuration file sent according to server is updated to locally-installed application software Detection, obtain each module that application software need to update;Then, each module that need to be updated according to application software, it is each corresponding to download More new file bag;And according to respectively more new file bag, update the application software.The present embodiment to application software by being updated Detection, each module that current application software needs to update is obtained, so as to only download renewal text corresponding to each module for needing to update Part bag, realize and part renewal is carried out to application software according to modular more new file bag, reduce the version of application software Iteration cost is updated, the increase of New function only can be achieved by the renewal of module or functional is safeguarded, greatly carry Consumer's Experience is risen.
Further, reference picture 2, application software update method second embodiment of the present invention provide a kind of application software renewal Method, based on the embodiment shown in above-mentioned Fig. 1, the step S30 includes:
Step S31, when detecting described application software initiated, according to each more new file bag, the application is updated Software.
In the present embodiment, after each module more new file bag that application software need to update is obtained, each module wouldn't be updated, with Avoid being updated during user uses application software.
Then, the starting state of mobile terminal detection application software.
When detecting application software initiated, each more new file bag of download, each module corresponding to renewal are called;For working as The preceding each module that need not be updated, then original document bag is called, so as to start application software.
Hereby it is achieved that the renewal of application software.
In the present embodiment, when detecting application software initiated, the renewal for each module that calling application software need to update File bag, carry out the renewal of application software.The present embodiment is only updated operation when application software initiated, avoids grasping in user When making application software, regeneration behavior interrupts user's operation, influences Consumer's Experience.Also, it is updated when application software initiated, The silence for realizing application software automatically updates, and pays close attention to more new state in real time without user, improves Consumer's Experience.
Further, reference picture 3, application software update method 3rd embodiment of the present invention provide a kind of application software renewal Method, based on the embodiment (the present embodiment is by taking Fig. 1 as an example) shown in above-mentioned Fig. 1 or Fig. 2, also include before the step S30:
Step S40, the original document bag of each module before the application software updates is stored.
After the step S30, in addition to:
If step S50, described application software renewal failure, according to the original document bag, controls the application software The version being rolled back to before renewal.
In the present embodiment, each more new file bag is obtained in download, when being stored, does not replace the original text of each module Part bag, but according to the version of each file bag, stored respectively.
Thus, when application software updates failure, the original document bag before each module renewal can be called, control is using soft The version that part is rolled back to before renewal, application software is caused to use so as to avoid application software renewal failure.
Further, if same module is stored with the original document bag of multiple versions, according to the version of original document bag, The newest original document bag of version is used for rollback application software before preferential selection renewal.
For example, the modules A of application software 1, can correspond to and store multiple version file bags:File bag 1.0, file bag 2.0 With file bag 3.0.Wherein, the original document bag before file bag 1.0 and file bag 2.0 update for application software 1, file bag 3.0 For the more new file bag for being used to update for download.
If be updated according to file bag 3.0, the renewal failure of application software 1, then mobile terminal to update application software 1 is more Before new, the newest file bag 2.0 of version, for the version before controlling application software 1 to be rolled back to renewal.
Further, mobile terminal is can configure when detecting that current spatial cache occupancy reaches preset ratio, from Each module old edition this document stored in dynamic cleaning spatial cache, but at least need the upper version for retaining current more redaction File is as standby.
In the present embodiment, the original document bag of each module before application software updates is stored;If application software renewal failure, The version before renewal is then rolled back to according to the original document bag of each module of application software, control application software.The present embodiment is being answered When being failed with software upgrading, automatically restore to renewal before version and normally start so that no matter application software is updated to Work(still fails all without the use for influenceing user to application software, improves Consumer's Experience.
Further, reference picture 4, application software update method fourth embodiment of the present invention provide a kind of application software renewal Method, based on the embodiment (the present embodiment is by taking Fig. 1 as an example) shown in above-mentioned Fig. 1, Fig. 2 or Fig. 3, the step S10 includes:
Step S11, renewal request is sent to server based on locally-installed application software, obtains the server and return The more new configuration file of the application software.
In the present embodiment, mobile terminal actively sends application software more based on locally-installed application software to server New request, carry out the renewal detection of application software.Certainly, mobile terminal can also receive user input more new command after, The renewal that application software is sent to server according to more new command is asked.
Server is asked after the renewal request of mobile terminal transmission is received according to renewal, searches the renewal of application software Configuration file, and return to mobile terminal.It should be noted that the more new configuration file of application software is stored in server, Describe the renewal version information of application software, such as version number etc..
The more new configuration file that mobile terminal the reception server returns.
Step S12, the renewal version information for each module of the application software that the more new configuration file according to is recorded, with And each module release information that the application software is locally-installed, detect whether the application software needs update module.
After more new configuration file is obtained, the more redaction of each module of the mobile terminal according to described in more new configuration file Information, and each module release information that mobile terminal is locally-installed, check respectively for the locally-installed application software of mobile terminal In each module, judge whether to need to carry out the renewal of module release, if need to increase module, if need removing module Deng.
It should be noted that the renewal version information for each module that more new configuration file is recorded, can be entered using version number Row identification, distinguish the module of different editions.
Specifically, can be corresponding with configuration file according to the version number of the locally-installed application software module of mobile terminal The renewal version information for this module recorded is compared, so as to detect whether each module of application software needs to update respectively.
For example, according to the record of more new configuration file, the renewal version information of the modules A of application software 1, namely version number For 2.1.
If the version number of the modules A of the locally-installed application software 1 of mobile terminal is 2.0, than remembering in more new configuration file The version of the modules A of load is old, then determination module A needs to update;If the modules A of the locally-installed application software 1 of mobile terminal Version number is 2.1, and identical with the version of the modules A described in more new configuration file, then determination module A need not update.
If not having modules A in the locally-installed application software 1 of mobile terminal, judge that application software 1 needs to increase mould Block A.
By that analogy, whether mobile terminal detects each module of locally applied software and updates respectively.
Step S13, each module that the application software need to update is obtained.
In the present embodiment, renewal request is sent to server based on locally-installed application software, obtains server and return Return more new configuration file;The renewal version information for each module of application software recorded according to more new configuration file, and application are soft Whether the locally-installed each module release information of part, detection application software need update module;Obtain what application software need to update Each module.The present embodiment judges whether the detection for needing update module, obtaining by being detected respectively to each module of application software Result is based on each module.So as to which when updating application software, the mould for needing to update can be only updated according to testing result Block, and be not that renewal application software is overall, reduce the workload of software upgrading, reduce the renewal cost of software.
Further, reference picture 5, the embodiment of application software update method the 5th of the present invention provide a kind of application software renewal Method, based on the embodiment shown in above-mentioned Fig. 4, the step S20 includes:
Step S21, the more new configuration file according to, the more new file for each module that the application software need to update is obtained Bag download address.
Step S22, the more new file bag download address for each module that need to be updated according to the application software, is downloaded respectively To respectively more new file bag.
After each module that the software that is applied need to currently update, mobile terminal answering according to described in more new configuration file With the more new file bag download address of each module of software, the more new file bag for obtaining each module for being currently needed for renewal downloads ground Location.
Then, according to obtained each more new file bag download address, download respectively obtain being currently needed for being updated it is each The more new file bag of module.
Then, mobile terminal will need each module more new file bag for being updated, according to the file path being pre-configured with, Stored respectively.
For example, the version of modules A is 2.0 in the locally-installed application software 1 of mobile terminal, the modules A downloading to obtain More new file bag version is 2.1, then will download the obtained corresponding storage of more new file bag into the cache file of modules A, and with Version number makes a distinction the more new file bag of each version of modules A.
Thus, the more new file bag for each module that the software that is applied need to update.
In the present embodiment, the more new file bag for each module that need to be updated according to more new configuration file, acquisition application software Download address;Then, the more new file bag download address for each module that need to be updated according to application software, download obtain respectively more respectively New file bag, and stored.The present embodiment only downloads the more new file bag for the module for needing to be updated, and reduces renewal text Part bag downloads the flow expended and time, improves the speed of download of more new file bag.
Reference picture 6, application software updating device first embodiment of the present invention provides a kind of application software updating device, described Application software updating device includes:
Detection module 10, for being carried out more to locally-installed application software according to the more new configuration file that server is sent New detection, obtains each module that the application software need to update.
The present invention is detected by application software updating device to application software, obtains each mould that application software need to update Block, and only download and need to update and the more new file bag of increased each module, to update application software, so as to reduce application software Renewal cost.
In the present embodiment, application software is configured in a modular fashion, in order to carry out modularization to application software Renewal, for example, application software is divided into homepage module, registration login module, mapping module, flight module etc..Need Bright, the software installation bag of each module of application software is according to the storage rule being pre-configured with the present embodiment, is carried out respectively Storage.
Specifically, as a kind of embodiment, first, detection module 10 obtains the application software renewal that server is sent and matched somebody with somebody Put file.
Detection module 10 can actively send and ask, obtain application software more after application software initiated to server New configuration file, the more new configuration file of server push can also be received, can flexibly set as needed.
Wherein, the more new configuration file of application software describes the fresh information of each module in current application software.For example, When the application software of application vendor issue redaction, the more new configuration file of application software is described in redaction application software The fresh information of each module.
It is then detected that module 10 detects each module of locally-installed application software, judged respectively according to more new configuration file Whether each module of application software needs to update.
It should be noted that the module that detection obtains needing to update in the present embodiment includes:Locally applied software needs to increase Module, module, module, the module etc. of modification replaced deleted.
For example, for the locally-installed application software 1 of mobile terminal, if in application software 1 described in more new configuration file The version of modules A is 3, and locally-installed modules A version is 1, then judges that application software 1 needs update module A;If renewal configuration Module C version is 1 in application software 1 described in file, local not install module C, then judges that application software 1 needs to increase Module C.
Thus, each module that the software that is applied need to update.
Download module 20, for each module that need to be updated according to the application software, each more new file bag corresponding to download.
In each module that the software that is applied need to update, download module 20 respectively downloading application software need to be updated it is each The more new file bag of module.
Then, download module 20 stores each more new file bag downloaded according to the file path being pre-configured with.
For example, application software 1 needs update module A, increase module C, download module 20 is downloaded obtain more new file bag A respectively More new file bag C, then mobile terminal is according to the file path being pre-configured with, will be corresponding to more new file bag A storages to modules A In file, more new file bag C is stored into file corresponding to module C.
Update module 30, for according to each more new file bag, updating the application software.
After each more new file bag is obtained, each module according to corresponding to each more new file bag renewal of root of update module 30, from And update application software.
In the present embodiment, the more new configuration file that detection module 10 is sent according to server is soft to locally-installed application Part is updated detection, obtains each module that application software need to update;Then, download module 20 need to update according to application software Each module, each more new file bag corresponding to download;Update module 30 updates the application software according to respectively more new file bag.This Embodiment obtains each module that current application software needs to update, so as to only download by being updated detection to application software More new file bag corresponding to needing each module for updating, is realized according to modular more new file bag to application software carry out portion Divide renewal, reduce the version updating iteration cost of application software, the increase of New function can be achieved in the renewal for only passing through module Or functional is safeguarded, greatly improves Consumer's Experience.
Further, reference picture 6, application software updating device second embodiment of the present invention provide a kind of application software renewal Device, based on the invention described above application software updating device first embodiment, the renewal mould 30 is additionally operable to,
When detecting described application software initiated, according to each more new file bag, the application software is updated.
In the present embodiment, download module 20 is after each module more new file bag that the software that is applied need to update is downloaded, more New mould 30 wouldn't update each module, to avoid being updated during user uses application software.
Then, update module 30 detects the starting state of application software.
When renewal mould 30 detects application software initiated, each more new file bag of download, each mould corresponding to renewal are called Block;For each module that need not be currently updated, then original document bag is called, so as to start application software.
Hereby it is achieved that the renewal of application software.
In the present embodiment, when detecting application software initiated, it is each that update module 30 calls application software to update The more new file bag of module, carries out the renewal of application software.The present embodiment is only updated operation when application software initiated, keeps away Exempt from user's operation and application software, regeneration behavior interrupts user's operation, influences Consumer's Experience.Also, application software initiated When be updated, the silence for realizing application software automatically updates, and pays close attention to more new state in real time without user, improves user's body Test.
Further, reference picture 7, application software updating device 3rd embodiment of the present invention provide a kind of application software renewal Device, based on the invention described above application software updating device first embodiment or second embodiment, the application software more new clothes Putting also includes roll-back module 40:
The roll-back module 40, for storing the original document bag of each module before the application software updates;If described should Failed with software upgrading, then according to the original document bag, the version for controlling the application software to be rolled back to before renewal.
In the present embodiment, each more new file bag is obtained in download, when being stored, does not replace the original text of each module Part bag, but roll-back module 40 is stored respectively according to the version of each file bag.
Thus, when application software updates failure, roll-back module 40 can call the original document bag before each module renewal, The version that control application software is rolled back to before renewal, application software is caused to make so as to avoid application software renewal failure With.
Further, if same module is stored with the original document bag of multiple versions, according to the version of original document bag, The newest original document bag of version is used for rollback application software before preferential selection renewal.
For example, the modules A of application software 1, can correspond to and store multiple version file bags:File bag 1.0, file bag 2.0 With file bag 3.0.Wherein, the original document bag before file bag 1.0 and file bag 2.0 update for application software 1, file bag 3.0 For the more new file bag for being used to update for download.
If be updated according to file bag 3.0, the renewal of application software 1 fails, then roll-back module 40 updates application software 1 Before renewal, the newest file bag 2.0 of version, for the version before controlling application software 1 to be rolled back to renewal.
Further, mobile terminal is can configure when detecting that current spatial cache occupancy reaches preset ratio, from Each module old edition this document stored in dynamic cleaning spatial cache, but at least need the upper version for retaining current more redaction File is as standby.
In the present embodiment, roll-back module 40 stores the original document bag of each module before application software renewal;If using soft Part renewal failure, then the version before renewal is rolled back to according to the original document bag of each module of application software, control application software.This Embodiment application software update failure when, automatically restore to renewal before version and normally start so that application software No matter it is updated successfully or failure is all without use of the user to application software is influenceed, improves Consumer's Experience
Further, reference picture 6, application software updating device fourth embodiment of the present invention provide a kind of application software renewal Device, based on the invention described above application software updating device first embodiment, second embodiment or 3rd embodiment (the present embodiment By taking application software updating device first embodiment of the present invention as an example), the detection module 10 is additionally operable to,
Renewal request is sent to server based on locally-installed application software, the server is obtained and returns to the application The more new configuration file of software;The more redaction for each module of the application software recorded according to the more new configuration file is believed Breath, and each module release information that the application software is locally-installed, detect whether the application software needs update module; Obtain each module that the application software need to update.
In the present embodiment, the active of detection module 10 sends application software based on locally-installed application software to server Renewal request, carry out the renewal detection of application software.Certainly, detection module 10 can also receive the more new command of user's input Afterwards, the renewal for sending application software to server according to more new command is asked.
Server is asked according to renewal after the renewal request of the transmission of detection module 10 is received, searches application software more New configuration file, and return to detection module 10.It should be noted that the renewal configuration text of application software is stored in server Part, describe the renewal version information of application software, such as version number etc..
The more new configuration file that the reception server of detection module 10 returns.
After more new configuration file is obtained, the more new edition of each module of the detection module 10 according to described in more new configuration file This information, and each module release information that mobile terminal is locally-installed, it is soft to check respectively for the locally-installed application of mobile terminal Each module in part, judge whether to need the renewal for carrying out module release, if need to increase module, if need to delete mould Block etc..
It should be noted that the renewal version information for each module that more new configuration file is recorded, can be entered using version number Row identification, distinguish the module of different editions.
Specifically, can be corresponding with configuration file according to the version number of the locally-installed application software module of mobile terminal The renewal version information for this module recorded is compared, so as to detect whether each module of application software needs to update respectively.
For example, according to the record of more new configuration file, the renewal version information of the modules A of application software 1, namely version number For 2.1.
If the version number of the modules A of the locally-installed application software 1 of mobile terminal is 2.0, than remembering in more new configuration file The version of the modules A of load is old, then the determination module A of detection module 10 needs to update;If the locally-installed application software 1 of mobile terminal Modules A version number be 2.1, it is identical with the version of the modules A described in more new configuration file, then detection module 10 judge mould Block A need not update.
If not having modules A in the locally-installed application software 1 of mobile terminal, judge that application software 1 needs to increase mould Block A.
By that analogy, whether detection module 10 detects each module of locally applied software and updates respectively.
Detection module 10 obtains each module that application software need to update.
In the present embodiment, detection module 10 sends renewal request based on locally-installed application software to server, obtains Server is taken to return to more new configuration file;The renewal version information for each module of application software recorded according to more new configuration file, And whether each module release information that application software is locally-installed, detection application software need update module;It is soft to obtain application Each module that part need to update.The present embodiment judges whether to need update module by detecting each module of application software respectively, Obtained testing result is based on each module.So as to when updating application software, can only update needs according to testing result The module of renewal, and be not that renewal application software is overall, reduce the workload of software upgrading, reduce being updated to for software This.
Further, reference picture 6, the embodiment of application software updating device the 5th of the present invention provide a kind of application software renewal Device, based on the invention described above application software updating device fourth embodiment, the download module 20 is additionally operable to,
According to the more new configuration file, the more new file bag for obtaining each module that the application software need to update downloads ground Location;The more new file bag download address for each module that need to be updated according to the application software, download obtain each more new file respectively Bag.
After each module that the software that is applied need to currently update, download module 20 is according to described in more new configuration file The more new file bag download address of each module of application software, the more new file bag for obtaining each module for being currently needed for renewal download ground Location.
Then, download module 20 is according to obtained each more new file bag download address, download respectively obtain being currently needed for into The more new file bag of each module of row renewal.
Then, each module more new file bag that needs are updated by download module 20, according to the file road being pre-configured with Footpath, stored respectively.
For example, the version of modules A is 2.0 in the locally-installed application software 1 of mobile terminal, the modules A downloading to obtain More new file bag version is 2.1, then will download the obtained corresponding storage of more new file bag into the cache file of modules A, and with Version number makes a distinction the more new file bag of each version of modules A.
Thus, download module 20 is applied the more new file bag for each module that software need to update.
In the present embodiment, download module 20 obtains each module that application software need to update according to more new configuration file More new file bag download address;Then, the more new file bag download address for each module that need to be updated according to application software, respectively under Load obtains each more new file bag, and being stored.The present embodiment only downloads the more new file bag for the module for needing to be updated, and subtracts Lack more new file bag and downloaded the flow expended and time, improve the speed of download of more new file bag.
The alternative embodiment of the present invention is these are only, is not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of application software update method, it is characterised in that the application software update method comprises the following steps:
Detection is updated to locally-installed application software according to the more new configuration file that server is sent, obtains the application Each module that software need to update;
Each module that need to be updated according to the application software, each more new file bag corresponding to download;
According to each more new file bag, the application software is updated.
2. application software update method as claimed in claim 1, it is characterised in that described application software initiated detecting When, according to each more new file bag, update the application software.
3. application software update method as claimed in claim 1, it is characterised in that it is described according to each more new file bag, Also include before the step of updating the application software:
Store the original document bag of each module before the application software updates;
It is described according to each more new file bag, after the step of updating the application software, in addition to:
If application software renewal failure, according to the original document bag, before controlling the application software to be rolled back to renewal Version.
4. the application software update method as described in claim 1,2 or 3, it is characterised in that it is described according to server send More new configuration file is updated detection to locally-installed application software, obtains each module that the application software need to update Step includes:
Renewal request is sent to server based on locally-installed application software, obtains the renewal configuration text that the server returns Part;
The renewal version information for each module of the application software recorded according to the more new configuration file, and the application are soft The locally-installed each module release information of part, detects whether the application software needs update module;
Obtain each module that the application software need to update.
5. application software update method as claimed in claim 4, it is characterised in that described to need to update according to the application software Each module, include the step of each more new file bag corresponding to download:
According to the more new configuration file, the more new file bag download address for each module that the application software need to update is obtained;
The more new file bag download address for each module that need to be updated according to the application software, download obtain each more new file respectively Bag.
6. a kind of application software updating device, it is characterised in that the application software updating device includes:
Detection module, the more new configuration file for being sent according to server are updated inspection to locally-installed application software Survey, obtain each module that the application software need to update;
Download module, for each module that need to be updated according to the application software, each more new file bag corresponding to download;
Update module, for according to each more new file bag, updating the application software.
7. application software updating device as claimed in claim 6, it is characterised in that the update module is additionally operable to,
When detecting described application software initiated, according to each more new file bag, the application software is updated.
8. application software updating device as claimed in claim 6, it is characterised in that the application software updating device also wraps Include:
Roll-back module, for storing the original document bag of each module before the application software updates;If the application software renewal Failure, then according to the original document bag, the version for controlling the application software to be rolled back to before renewal.
9. the application software updating device as described in claim 6,7 or 8, it is characterised in that the detection module is additionally operable to,
Renewal request is sent to server based on locally-installed application software, obtains the renewal configuration text that the server returns Part;The renewal version information for each module of the application software recorded according to the more new configuration file, and the application are soft The locally-installed each module release information of part, detects whether the application software needs update module;Obtain the application software Each module that need to be updated.
10. application software updating device as claimed in claim 9, it is characterised in that the download module is additionally operable to,
According to the more new configuration file, the more new file bag download address for each module that the application software need to update is obtained; The more new file bag download address for each module that need to be updated according to the application software, download obtain each more new file bag respectively.
CN201610579058.5A 2016-07-20 2016-07-20 Application software update method and device Pending CN107643920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610579058.5A CN107643920A (en) 2016-07-20 2016-07-20 Application software update method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610579058.5A CN107643920A (en) 2016-07-20 2016-07-20 Application software update method and device

Publications (1)

Publication Number Publication Date
CN107643920A true CN107643920A (en) 2018-01-30

Family

ID=61108766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610579058.5A Pending CN107643920A (en) 2016-07-20 2016-07-20 Application software update method and device

Country Status (1)

Country Link
CN (1) CN107643920A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683533A (en) * 2018-05-14 2018-10-19 平安科技(深圳)有限公司 Configure update method, the newer response method of configuration and server, system
CN108845824A (en) * 2018-07-10 2018-11-20 平安科技(深圳)有限公司 Using update method and device and computer readable storage medium
CN109445815A (en) * 2018-10-15 2019-03-08 江苏恒宝智能系统技术有限公司 A kind of smart card and its application upgrade method
CN110134416A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Oftware updating method, device and computer readable storage medium
CN111124458A (en) * 2019-12-29 2020-05-08 北京浪潮数据技术有限公司 Software updating method and related device
CN112306552A (en) * 2020-11-01 2021-02-02 国铁吉讯科技有限公司 System software version management method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130247023A1 (en) * 2002-09-12 2013-09-19 Harry Aderton System and Method for Updating Network Computer Systems
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN103902299A (en) * 2012-12-24 2014-07-02 航天信息股份有限公司 Software version updating method and system
CN103995721A (en) * 2014-05-22 2014-08-20 广州金山网络科技有限公司 Application program upgrading method, device and system
CN105224344A (en) * 2014-05-28 2016-01-06 济南政和科技有限公司 A kind of software upgrading file configuration method realized based on XML
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN107423078A (en) * 2017-02-28 2017-12-01 福建中金在线信息科技有限公司 A kind of Oftware updating method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130247023A1 (en) * 2002-09-12 2013-09-19 Harry Aderton System and Method for Updating Network Computer Systems
CN103902299A (en) * 2012-12-24 2014-07-02 航天信息股份有限公司 Software version updating method and system
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN103995721A (en) * 2014-05-22 2014-08-20 广州金山网络科技有限公司 Application program upgrading method, device and system
CN105224344A (en) * 2014-05-28 2016-01-06 济南政和科技有限公司 A kind of software upgrading file configuration method realized based on XML
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN107423078A (en) * 2017-02-28 2017-12-01 福建中金在线信息科技有限公司 A kind of Oftware updating method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683533A (en) * 2018-05-14 2018-10-19 平安科技(深圳)有限公司 Configure update method, the newer response method of configuration and server, system
CN108683533B (en) * 2018-05-14 2021-05-04 平安科技(深圳)有限公司 Configuration updating method, configuration updating response method, server and system
CN108845824A (en) * 2018-07-10 2018-11-20 平安科技(深圳)有限公司 Using update method and device and computer readable storage medium
CN109445815A (en) * 2018-10-15 2019-03-08 江苏恒宝智能系统技术有限公司 A kind of smart card and its application upgrade method
CN110134416A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 Oftware updating method, device and computer readable storage medium
CN111124458A (en) * 2019-12-29 2020-05-08 北京浪潮数据技术有限公司 Software updating method and related device
CN112306552A (en) * 2020-11-01 2021-02-02 国铁吉讯科技有限公司 System software version management method, device and storage medium

Similar Documents

Publication Publication Date Title
CN107643920A (en) Application software update method and device
CN105487980B (en) The method and device that repairing applications are operating abnormally
CN102622241B (en) A kind of method for upgrading software and device
CN103685495B (en) The upgrade method and system of software
US8196136B2 (en) Configuration and change management system with restore points
CN103294514A (en) System software release integrated method, compiling server and system
CN108241500A (en) A kind of restorative procedure of hardware component, device, system and storage medium
CN101826026A (en) Embedded equipment and on-line updating system and method of firmware in embedded equipment
CN103136027B (en) Immediate updating device and immediate updating method
CN105373396A (en) Method and device for updating plug-in in plug-in platform
CN106610839B (en) Method for issuing upgrade package, lightweight upgrade method, device and system
CN104216749A (en) Updating method and updating device for applications
CN104834555A (en) Method for invoking functional module, related device and device repairing method
CN106406768A (en) Android system user data partitioning adjustment method and device
CN102833350A (en) Processing method and processing device of WebApp updating
NO312269B1 (en) Software Upgrade Automation Procedure
CN109413186A (en) Application program update method, terminal, server and system
CN107220074A (en) To the access of supporting layer software function, upgrade method and device
CN103024782B (en) A kind of method and system of base station software version management
CN102681874B (en) A kind ofly guarantee the method that software normally runs and device
CN108255708B (en) Method, device, storage medium and equipment for accessing production file in test environment
CN102968321B (en) Application program erecting device and application program installation method
CN109753301A (en) Application system dispositions method, device, storage medium and electronic equipment
CN110286922A (en) Using downloading updating method, device, computer equipment and storage medium
CN108536460A (en) A kind of software automatic updating system of lightweight

Legal Events

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

Application publication date: 20180130