CN108509211A - Application program updating method, apparatus, mobile terminal and storage medium - Google Patents

Application program updating method, apparatus, mobile terminal and storage medium Download PDF

Info

Publication number
CN108509211A
CN108509211A CN201810120596.7A CN201810120596A CN108509211A CN 108509211 A CN108509211 A CN 108509211A CN 201810120596 A CN201810120596 A CN 201810120596A CN 108509211 A CN108509211 A CN 108509211A
Authority
CN
China
Prior art keywords
application program
upgrading
client
application
upgrade
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
CN201810120596.7A
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810120596.7A priority Critical patent/CN108509211A/en
Publication of CN108509211A publication Critical patent/CN108509211A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

A kind of upgrade method of application program, device, mobile terminal and storage medium, wherein the method includes:Server receives the upgrade request from client, and version information is called to obtain function, obtains application version information;The application version information of acquisition is compared with newly-increased application version information, judge whether application program has latest edition, if having, then obtain upgrade server address list, and execute next step, if nothing, start the application program, terminates the upgrading of client application;According to the upgrade server address list, attachable upgrade server address is selected;The upgrade server address is accessed, the xml configuration informations of the latest edition are obtained, and downloads the corresponding upgrade file of xml configuration informations of the latest edition, completes the upgrading of client application.The small version increment updating speed of the present invention is fast, do not interrupt current business, update packet is small.

Description

Application program updating method, apparatus, mobile terminal and storage medium
Technical field
The present invention relates to application program updating technical field more particularly to a kind of upgrade method of application program, device, shiftings Dynamic terminal and storage medium.
Background technology
Existing client application is mounted on the mobile terminal of different user, since business needs client can frequency The new application version of numerous publication, the application program for being mounted on client at this time just need to upgrade automatically.
For existing application program updating scheme due to relying on version number always, upgrading every time includes only an installation procedure; And when server replaces installation procedure, need server restarting that could work normally.Therefore in actual application, Even if the change for very little occur also is required for downloading new installation procedure, the full dose upgrading of client is carried out, is not only resulted in just It opens or client currently in use needs is restarted, it is often more important that directly contribute service disconnection.And server operation maintenance personnel exists Server is also restarted manually after replacing installation procedure, cause of short duration unavailable of server.
Invention content
Based on this, it is necessary to which when for existing application upgrading, client relies on version number, and the change of very little is required for The problem of carrying out the full dose upgrading of client, and needing to restart client, cause service disconnection, provides a kind of application program liter Grade method, apparatus, mobile terminal and storage medium.
A kind of method of application program updating, the method for the application program updating include:
Step S1, server receive the upgrade request from client, and version information is called to obtain function, obtain application program version This information, the application version information include the xml configuration informations of local file, and the xml of the local file matches confidence Breath includes the first MD5 value lists, and the first MD5 value lists are for MD5 verification comparisons;
The application version information of acquisition is compared with newly-increased application version information, judges to answer by step S2 Whether there is latest edition with program, if so, then obtaining upgrade server address list, and executes step S3, if nothing, start institute Application program is stated, the upgrading of client application is terminated;
Step S3 selectes attachable upgrade server address according to the upgrade server address list;
Step S4 accesses the upgrade server address, obtains the xml configuration informations of the latest edition, and described in download most The xml configuration informations of the corresponding upgrade file of xml configuration informations of new version, the latest edition include changbig parameter values With the 2nd MD5 value lists, the 2nd MD5 value lists complete the upgrading of client application for MD5 verification comparisons.
The step S4 of the application program updating method further includes in one of the embodiments,:To the institute of acquisition It states changbig parameter values to be judged, if changbig parameter values are 0, part upgrading is carried out to the application program, if Changbig parameter values are 1, then carry out full dose upgrading to the application program.
The full dose upgrades to download upgrade file in one of the embodiments, closes client, carries out silent peace Dress;The part upgrades to the file downloaded after MD5 verification comparisons, and the MD5 verifications comparison is comparison described first Whether MD5 value lists and the 2nd MD5 value lists are consistent, if so, locking the application program, complete client application journey The upgrading of sequence executes file covering if it is not, then only downloading the inconsistent file of MD5 values.
Further include in one of the embodiments, directly initiating client after the full dose upgrading, the part upgrading Further include that client re-reads updated file content, and updates corresponding internal storage data later.
A kind of application program updating device, the application program updating device include:
Receiving unit receives the upgrade request from client for server, version information is called to obtain function, obtains application Program version information, the application version information include the xml configuration informations of local file, the xml of the local file Configuration information includes the first MD5 value lists;
Comparison unit compares the application version information of acquisition with newly-increased application version information, judges Whether application program has latest edition, if so, then obtaining upgrade server address list, and executes step S3, if nothing, starts The application program terminates the upgrading of client application;
Selected unit selectes attachable upgrade server address according to the upgrade server address list;
Upgrade unit accesses the upgrade server address, obtains the xml configuration informations of the latest edition, and described in download The xml configuration informations of the corresponding upgrade file of xml configuration informations of latest edition, the latest edition include changbig parameters Value and the 2nd MD5 value lists, complete the upgrading of client application.
The upgrade unit is additionally operable to sentence the changbig parameter values of acquisition in one of the embodiments, It is disconnected, if changbig parameter values are 0, part upgrading is carried out to the application program, it is right if changbig parameter values are 1 The application program carries out full dose upgrading.
The full dose upgrades to download upgrade file in one of the embodiments, closes client, carries out silent peace Dress;The part upgrades to the file downloaded after MD5 verification comparisons, executes file covering.
Further include in one of the embodiments, directly initiating client after the full dose upgrading, the part upgrading Further include that client re-reads updated file content, and updates corresponding internal storage data later.
A kind of mobile terminal, the mobile terminal, including:Touch-sensitive display;Memory;One or more processors;
One or more of processors are configurable for the step of executing the above method.
A kind of storage medium being stored with computer-readable instruction, the computer-readable instruction are handled by one or more When device executes so that one or more processors execute the step of above method.
Above application programme upgrade method, device, mobile terminal and storage medium are received by server and come from client Upgrade request, call version information to obtain function, obtain application version information, the application version information includes The xml configuration informations of the xml configuration informations of local file, the local file include the first MD5 value lists, described in acquisition Application version information is compared with newly-increased application version information, judges whether application program has latest edition, if Have, then obtain upgrade server address list, and execute step S3, if nothing, start the application program, terminates client and answer Attachable upgrade server address is selected, the liter is accessed according to the upgrade server address list with the upgrading of program Grade server address, obtains the xml configuration informations of the latest edition, and download the xml configuration informations pair of the latest edition The xml configuration informations of the upgrade file answered, the latest edition include changbig parameter values and the 2nd MD5 value lists, to obtaining The changbig parameter values taken are judged, if changbig parameter values are 0, part liter is carried out to the application program Grade carries out full dose upgrading, the full dose upgrades to download upgrading text if changbig parameter values are 1 to the application program Part closes client, carries out silent installation;The part upgrades to the file downloaded after MD5 verification comparisons, executes text Part covers, and whether the MD5 verifications comparison is consistent to compare the first MD5 value lists and the 2nd MD5 value lists, if It is then to lock the application program, completes the upgrading of client application, if it is not, then only downloads the inconsistent text of MD5 values Part executes file covering, completes the upgrading of client application, distinguished client size upgraded version, small version increment Updating speed is fast, do not interrupt current business, update packet is small.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.
Fig. 1 is the flow chart of application program updating method in one embodiment of the invention;
Fig. 2 is the structure diagram of application program updating device in one embodiment of the invention;
Fig. 3 is the schematic block diagram of mobile terminal part-structure provided by one embodiment of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that is used in the specification of the present invention arranges It refers to there are the feature, integer, step, operation, element and/or component, but it is not excluded that presence or addition to take leave " comprising " Other one or more features, integer, step, operation, element, component and/or their group.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various assemblies herein, But these components should not be limited by these terms.These terms are only used to distinguish first component and another component.Citing comes It says, in the case where not departing from scope of the present application, the first MD5 value lists can be known as the 2nd MD5 value lists, and similar 2nd MD5 value lists can be known as the first MD5 value lists by ground.
As a preferable embodiment, as shown in Figure 1, a kind of method of application program updating, application program updating Method includes:
Step S1, server receive the upgrade request from client, and version information is called to obtain function, obtain application program version This information, application version information include the xml configuration informations of local file, and the xml configuration informations of local file include the One MD5 value lists, the first MD5 value lists are for MD5 verification comparisons;
When receiving the upgrade request of client, version information is called to obtain function, obtains application version information, application Program version information includes the xml configuration informations of local file, and the xml configuration informations of local file include the first MD5 value lists. MD5 values are that file content is compressed to the regular length character string calculated using hash algorithm.Feature is if file content MD5 values that are different then calculating also differ, therefore can be used for file consistence verification.
The application version information of acquisition and newly-increased application version information are compared, judge to answer by step S2 Whether there is latest edition with program, if so, then obtaining upgrade server address list, and execute step S3, if nothing, startup is answered With program, terminate the upgrading of client application;
Newest version number is compared with current local version, judges whether the application program of client has latest edition This, if server version number is smaller than local version number, skips upgrading, otherwise enters step S3, with obtaining upgrade server Location.
Step S3 selectes attachable upgrade server address according to upgrade server address list;
According to upgrade server address list, the connected upgrade server address of selection energy realizes application program update clothes Business is uninterrupted.
Step S4 accesses upgrade server address, obtains the xml configuration informations of latest edition, and download latest edition The xml configuration informations of the corresponding upgrade file of xml configuration informations, latest edition include changbig parameter values and the 2nd MD5 values List, the 2nd MD5 value lists complete the upgrading of client application for MD5 verification comparisons.
Upgrade server address is accessed, the xml configuration informations of latest edition are obtained, and downloads xml configuration informations correspondence Upgrade file, which includes changbig parameter values and the 2nd MD5 value lists, completes client application Upgrading.The information for the certain format that xml configuration informations are generated for the difference between version, for example, customer end B Application program is 2.1 editions, and the corresponding version of customer end B is 2.2 editions in upgrade server at present, client and upgrade server In version it is different, span a version, then the xml configuration informations obtained in upgrade server are 2.2 editions relative to 2.1 editions The configuration information that is produced of difference.For client local file, all md5 lists are generated, according to the application program Current version configuration information and the xml configuration informations, judge the current version of the application program and the latest edition The MD5 values of All Files in this, the first MD5 values are that the xml configuration informations of local file include the first MD5 value lists, institute It is upgrade file packet MD5 values to state the 2nd MD5 values, that is, it is right inside the MD5 values and update.xml version informations of local file to compare Answer the MD5 values of file whether consistent, it is inconsistent, upgraded, then download this file, local file backup is replaced, weight New loading section file.
In one embodiment, step S4 further includes:The changbig parameter values of acquisition are judged, if changbig Parameter value is 0, then carries out part upgrading to application program, if changbig parameter values are 1, full dose liter is carried out to application program Grade.
Really judge that current upgrading type is that full dose upgrading or part upgrade according to the changbig parameters in configuration file, And record upgrading type.Changbig is 0 expressed portion decilitre grade, and 1 indicates full dose upgrading.Changbig parameters are version information text The parameter for including inside part update.xml is that full dose upgrading is gone back for marking client to be directed to the upgrading type of a upper version It is part upgrading.
In one embodiment, full dose upgrades to download upgrade file, closes client, carries out silent installation;Part rises Grade is the file for downloading after passing through MD5 verification comparisons, and the MD5 verifications comparison is comparison the first MD5 value lists and institute It whether consistent states the 2nd MD5 value lists, if so, locking the application program, completes the upgrading of client application, if It is no, then the inconsistent file of MD5 values is only downloaded, file covering is executed.
For client local file, all MD5 lists are generated, according to the configuration of the current version of the application program Information and the xml configuration informations judge the MD5 of the current version and All Files in the latest edition of the application program Value, the first MD5 values are that the xml configuration informations of local file include the first MD5 value lists, and the 2nd MD5 values are upgrading Whether the MD5 values of respective file inside file packet MD5 values, i.e. the MD5 values of comparison local file and update.xml version informations Unanimously, inconsistent, upgraded, then download this file, local file backup is replaced, and partial document is reloaded.
It is automatic to download upgrade file, and carry out silent installation.According to being part upgrading or full dose upgrading, risen to download Grade file, and installation.If changbig parameters are 0, partly to upgrade, need at this time under being needed according to the comparison of md5 values The listed files of load, then according to file covering is executed, client has been newest version by the time.If changbig Parameter is 1, then upgrades for full dose, downloads upgrade file, closes client, executes silent installation.Silence installation refers to installing Any user interventions of Shi Wuxu are directly pressed default setting and are installed.There are mainly two types of modes for silent installation at present, soft one is utilizing The included silent parameter establishment batch processing of part is installed, and another kind is to simulate the script of mouse-keyboard operation by establishment to realize The installation of software.The former can be used for the software that installation operation system mend etc. provides silent parameter, but with patch number and software Quantity variation need to modify to autoexec.The latter can be used for installation process complexity and installation software can not use silent ginseng Several software, but software need to be installed to acquire relevant operation when making silence installation script.
In one embodiment, further include directly initiating client after full dose upgrading, further include visitor after the upgrading of part Family end re-reads updated file content, and updates corresponding internal storage data.
The load mechanism of content after update is to upgrade if it is full dose, directly restart client;If it is portion Decilitre grade, then client re-reads updated content, and updates the data of current memory.Whether complete to rise according to client Grade, handles backup file, and specific processing mode can be divided into, and client completes upgrading, then deletes the backup of original version File retains the corresponding file of main program.Client is if upgrading is completed, then by restoring the backup file of new version program, The preservation of new version main program respective file is completed.
In one embodiment, a kind of application program updating device is provided, as shown in Fig. 2, the update device includes:
Receiving unit receives the upgrade request from client for server, version information is called to obtain function, obtains application Program version information, the application version information include the xml configuration informations of local file, the xml of the local file Configuration information includes the first MD5 value lists, and the first MD5 value lists are for MD5 verification comparisons;
Comparison unit compares the application version information of acquisition with newly-increased application version information, judges Whether application program has latest edition, if so, then obtaining upgrade server address list, and executes step S3, if nothing, starts The application program terminates the upgrading of client application;
Selected unit selectes attachable upgrade server address according to the upgrade server address list;
Upgrade unit accesses the upgrade server address, obtains the xml configuration informations of the latest edition, and described in download The xml configuration informations of the corresponding upgrade file of xml configuration informations of latest edition, the latest edition include changbig parameters Value and the 2nd MD5 value lists, the 2nd MD5 value lists complete the upgrading of client application for MD5 verification comparisons.
In one embodiment, the upgrade unit is additionally operable to judge the changbig parameter values of acquisition, If changbig parameter values are 0, part upgrading is carried out to the application program, if changbig parameter values are 1, to described Application program carries out full dose upgrading.
In one embodiment, the full dose upgrades to download upgrade file, closes client, carries out silent installation;Institute It states part and upgrades to the file downloaded and passed through after MD5 verification comparisons, the MD5 verifications comparison is to compare the first MD5 values Whether list and the 2nd MD5 value lists are consistent, if so, locking the application program, complete client application Upgrading executes file covering if it is not, then only downloading the inconsistent file of MD5 values.
In one embodiment, a kind of mobile terminal is provided, for realizing application program updating method, as shown in figure 3, For convenience of description, it illustrates only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details, please refer to this Inventive embodiments method part.The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrary terminal device such as vehicle-mounted computer, By taking mobile terminal is mobile phone as an example:
Fig. 3 shows the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided in an embodiment of the present invention.Reference chart 3, mobile phone includes:Baseband processing module 310, memory 320, input unit 330, display unit 340, sensor 350, audio-frequency electric The components such as road 360, Wireless Fidelity (Wireless Fidelity, WiFi) module 370, processor 380 and power supply 390.This Field technology personnel are appreciated that handset structure shown in Fig. 3 does not constitute the restriction to mobile phone, may include than illustrating more More or less component either combines certain components or different components arrangement.
Baseband processing module 310 can be used for synthesizing the baseband signal that will emit, or the baseband signal to receiving carries out Decoding.Memory 320 can be used for storing software program and module, and processor 380 is stored in memory 320 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 320 may include height Fast random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device, Or other volatile solid-state parts.Input unit 330 can be used for receiving the number or character information of input, and generate Key signals input related with the user setting of mobile phone and function control.Specifically, input unit 330 may include touch surface Plate 331 and other input equipments 332.Display unit 340 can be used for showing information input by user or be supplied to user Information and mobile phone various menus.Display unit 340 may include display panel 341, optionally, liquid crystal may be used Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 341.Mobile phone may also include at least one sensor 350, such as optical sensor, movement Sensor and other sensors.Voicefrequency circuit 360, loud speaker 361, microphone 362 can provide the sound between user and mobile phone Frequency interface.WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 370 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 3 is shown WiFi module 370, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can not change as needed completely Become in the range of the essence of invention and omits.Processor 380 is the control centre of mobile phone, utilizes various interfaces and connection The various pieces of whole mobile phone, by running or executing the software program and/or module that are stored in memory 320, and tune With the data being stored in memory 320, the various functions and processing data of mobile phone are executed, to carry out whole prison to mobile phone Control.Mobile phone further includes the power supply 390 (such as battery) powered to all parts.Although being not shown, mobile phone can also include camera shooting Head, bluetooth module etc., details are not described herein.
In embodiments of the present invention, the processor 380 included by the terminal can execute following steps:
Step S1, server receive the upgrade request from client, and version information is called to obtain function, obtain application program version This information, application version information include the xml configuration informations of local file, and the xml configuration informations of local file include the One MD5 value lists, the first MD5 value lists are for MD5 verification comparisons;
Step S2 compares the application version information of acquisition and newly-increased application version information, judges to apply journey Whether sequence has latest edition, if so, then obtaining upgrade server address list, and executes step S3, if nothing, starts using journey Sequence terminates the upgrading of client application;
Step S3 selectes attachable upgrade server address according to upgrade server address list;
Step S4 accesses upgrade server address, obtains the xml configuration informations of latest edition, and the xml for downloading latest edition matches Confidence ceases corresponding upgrade file, and the xml configuration informations of latest edition include changbig parameter values and the 2nd MD5 value lists, The 2nd MD5 value lists complete the upgrading of client application for MD5 verification comparisons.
In one embodiment, step S4 further includes:The changbig parameter values of acquisition are judged, if changbig Parameter value is 0, then carries out part upgrading to application program, if changbig parameter values are 1, full dose liter is carried out to application program Grade.
In one embodiment, full dose upgrades to download upgrade file, closes client, carries out silent installation;Part rises Grade is the file for downloading after passing through MD5 verification comparisons, and the MD5 verifications comparison is comparison the first MD5 value lists and institute It whether consistent states the 2nd MD5 value lists, if so, locking the application program, completes the upgrading of client application, if It is no, then the inconsistent file of MD5 values is only downloaded, file covering is executed.
In one embodiment, further include directly initiating client after full dose upgrading, further include visitor after the upgrading of part Family end re-reads updated file content, and updates corresponding internal storage data.
In one embodiment it is proposed that a kind of storage medium being stored with computer-readable instruction, the computer can When reading instruction is executed by one or more processors so that one or more processors execute following steps:Step S1, server The upgrade request from client is received, version information is called to obtain function, obtains application version information, application program version This information includes the xml configuration informations of local file, and the xml configuration informations of local file include the first MD5 value lists, and described the One MD5 value lists are for MD5 verification comparisons;Step S2, by the application version information of acquisition and newly-increased application version Information is compared, and judges whether application program has latest edition, if so, then obtaining upgrade server address list, and is executed Step S3 starts application program if nothing, terminates the upgrading of client application;Step S3, according to upgrade server address Attachable upgrade server address is selected in list;Step S4, accesses upgrade server address, and the xml for obtaining latest edition matches Confidence ceases, and downloads the corresponding upgrade file of xml configuration informations of latest edition, and the xml configuration informations of latest edition include Changbig parameter values and the 2nd MD5 value lists, the 2nd MD5 value lists complete client application for MD5 verification comparisons The upgrading of program.
In one embodiment, step S4 further includes:The changbig parameter values of acquisition are judged, if changbig Parameter value is 0, then carries out part upgrading to application program, if changbig parameter values are 1, full dose liter is carried out to application program Grade.
In one embodiment, full dose upgrades to download upgrade file, closes client, carries out silent installation;Part rises Grade is the file for downloading after passing through MD5 verification comparisons, and the MD5 verifications comparison is comparison the first MD5 value lists and institute It whether consistent states the 2nd MD5 value lists, if so, locking the application program, completes the upgrading of client application, if It is no, then the inconsistent file of MD5 values is only downloaded, file covering is executed.
In one embodiment, further include directly initiating client after full dose upgrading, further include visitor after the upgrading of part Family end re-reads updated file content, and updates corresponding internal storage data.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between In matter, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be Magnetic disc, CD, read-only memory(Read-Only Memory, ROM)Equal non-volatile memory mediums or random storage note Recall body(Random Access Memory, RAM)Deng.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of application program updating method, which is characterized in that the method includes:
Step S1, server receive the upgrade request from client, and version information is called to obtain function, obtain application program version This information, the application version information include the xml configuration informations of local file, and the xml of the local file matches confidence Breath includes the first MD5 value lists, and the first MD5 value lists are for MD5 verification comparisons;
The application version information of acquisition is compared with newly-increased application version information, judges to answer by step S2 Whether there is latest edition with program, if so, then obtaining upgrade server address list, and executes step S3, if nothing, start institute Application program is stated, the upgrading of client application is terminated;
Step S3 selectes attachable upgrade server address according to the upgrade server address list;
Step S4 accesses the upgrade server address, obtains the xml configuration informations of the latest edition, and described in download most The xml configuration informations of the corresponding upgrade file of xml configuration informations of new version, the latest edition include changbig parameter values With the 2nd MD5 value lists, the 2nd MD5 value lists complete the upgrading of client application for MD5 verification comparisons.
2. application program updating method according to claim 1, which is characterized in that the step S4 further includes:To obtaining The changbig parameter values judged, if changbig parameter values be 0,
Part upgrading is carried out to the application program, if changbig parameter values are 1, full dose liter is carried out to the application program Grade.
3. application program updating method according to claim 2, which is characterized in that the full dose upgrades to download upgrading text Part closes client, carries out silent installation;The part upgrades to the file downloaded after MD5 verification comparisons, described Whether MD5 verifications comparison is consistent to compare the first MD5 value lists and the 2nd MD5 value lists, if so, described in locking Application program completes the upgrading of client application, if it is not, then only downloading the inconsistent file of MD5 values, executes file and covers Lid.
4. application program updating method according to claim 2, which is characterized in that further include straight after the full dose upgrading Startup client is connect, further includes that client re-reads updated file content, and updates corresponding after the part upgrading Internal storage data.
5. a kind of application program updating device, which is characterized in that the update device includes:
Receiving unit receives the upgrade request from client for server, version information is called to obtain function, obtains application Program version information, the application version information include the xml configuration informations of local file, the xml of the local file Configuration information includes the first MD5 value lists;
Comparison unit compares the application version information of acquisition with newly-increased application version information, judges Whether application program has latest edition, if so, then obtaining upgrade server address list, and executes step S3, if nothing, starts The application program terminates the upgrading of client application;
Selected unit selectes attachable upgrade server address according to the upgrade server address list;
Upgrade unit accesses the upgrade server address, obtains the xml configuration informations of the latest edition, and described in download The xml configuration informations of the corresponding upgrade file of xml configuration informations of latest edition, the latest edition include changbig parameters Value and the 2nd MD5 value lists, complete the upgrading of client application.
6. application program updating device according to claim 6, which is characterized in that the upgrade unit is additionally operable to obtaining The changbig parameter values judged, if changbig parameter values be 0,
Part upgrading is carried out to the application program, if changbig parameter values are 1, full dose liter is carried out to the application program Grade.
7. application program updating device according to claim 6, which is characterized in that the full dose upgrades to download upgrading text Part closes client, carries out silent installation;The part upgrades to the file downloaded after MD5 verification comparisons, described Whether MD5 verifications comparison is consistent to compare the first MD5 value lists and the 2nd MD5 value lists, if so, described in locking Application program completes the upgrading of client application, if it is not, then only downloading the inconsistent file of MD5 values, executes file and covers Lid.
8. application program updating device according to claim 6, which is characterized in that further include straight after the full dose upgrading Startup client is connect, further includes that client re-reads updated file content, and updates corresponding after the part upgrading Internal storage data.
9. a kind of mobile terminal, which is characterized in that including:
Touch-sensitive display;
Memory;
One or more processors;
One or more of processors are configurable for executing such as the step of any one of claims 1 to 4 the method.
10. a kind of storage medium being stored with computer-readable instruction, which is characterized in that the computer-readable instruction is by one Or multiple processors are when executing so that one or more processors execute the step such as any one of claims 1 to 4 the method Suddenly.
CN201810120596.7A 2018-02-07 2018-02-07 Application program updating method, apparatus, mobile terminal and storage medium Pending CN108509211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810120596.7A CN108509211A (en) 2018-02-07 2018-02-07 Application program updating method, apparatus, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810120596.7A CN108509211A (en) 2018-02-07 2018-02-07 Application program updating method, apparatus, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108509211A true CN108509211A (en) 2018-09-07

Family

ID=63375626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810120596.7A Pending CN108509211A (en) 2018-02-07 2018-02-07 Application program updating method, apparatus, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108509211A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491693A (en) * 2018-12-29 2019-03-19 深圳点猫科技有限公司 A kind of the heat update processing method and electronic equipment of graphical programming client
CN109522038A (en) * 2018-11-22 2019-03-26 凌云天博光电科技股份有限公司 A kind of client side upgrading method and device of CS framework
CN109656595A (en) * 2018-12-10 2019-04-19 北京百家互联科技有限公司 The method, apparatus and system that client-side program updates
CN109803177A (en) * 2018-12-06 2019-05-24 安徽站乾科技有限公司 A kind of set-top box quickly loads and upgrade method
CN109814897A (en) * 2018-12-18 2019-05-28 福建新大陆支付技术有限公司 A kind of application file management method and system
CN110308915A (en) * 2019-06-25 2019-10-08 维沃移动通信有限公司 The method of system upgrade, mobile terminal
CN110727454A (en) * 2019-10-24 2020-01-24 北京云迹科技有限公司 Updating method and device of intelligent equipment, electronic equipment and storage medium
CN110865832A (en) * 2019-09-26 2020-03-06 北京和德宇航技术有限公司 Communication protocol upgrading method, device and system based on low earth orbit satellite
CN110990038A (en) * 2019-11-29 2020-04-10 中化信息技术有限公司 Method, apparatus, electronic device, and medium for applying local updates
CN110981253A (en) * 2019-11-25 2020-04-10 浙江龙游通衢建材有限公司 Vibration-free high-durability concrete and preparation method thereof
CN111158716A (en) * 2019-12-20 2020-05-15 中国平安财产保险股份有限公司 Version upgrade calling method and device, computer system and readable storage medium
CN111158719A (en) * 2019-12-26 2020-05-15 湖南快乐阳光互动娱乐传媒有限公司 Application software upgrading method and device
CN111176679A (en) * 2019-12-24 2020-05-19 中国建设银行股份有限公司 Application program updating method and device
CN111338717A (en) * 2020-03-27 2020-06-26 广州华多网络科技有限公司 Interface calling method, application program upgrading method, server and client
CN111427595A (en) * 2019-09-03 2020-07-17 杭州海康威视数字技术股份有限公司 Client upgrading method, device and system
CN111522567A (en) * 2020-04-30 2020-08-11 中国工商银行股份有限公司 Program upgrading method, device, system and medium
CN112328284A (en) * 2020-11-13 2021-02-05 杭州萤石软件有限公司 Application program upgrading method, system, equipment and storage medium
CN112328283A (en) * 2020-11-12 2021-02-05 北京字节跳动网络技术有限公司 Application program updating method, device, equipment and medium
CN112398666A (en) * 2019-08-13 2021-02-23 中兴通讯股份有限公司 Software differential upgrading method, device, equipment and storage medium
CN112416412A (en) * 2020-11-28 2021-02-26 郑州信大捷安信息技术股份有限公司 Heat deployment method and system based on sub-application
CN112486520A (en) * 2020-12-07 2021-03-12 深圳市欢太科技有限公司 Application program upgrading method and device, mobile terminal and server
CN112508715A (en) * 2020-11-30 2021-03-16 泰康保险集团股份有限公司 Method and device for online deployment of insurance dual-core data model, electronic equipment and medium
CN112783529A (en) * 2021-01-27 2021-05-11 上海淇玥信息技术有限公司 Method and device for controlling pre-release and upgrade of application program and electronic equipment
CN114090048A (en) * 2021-11-27 2022-02-25 深圳市元征科技股份有限公司 Software upgrading method and device
CN115333937A (en) * 2022-06-27 2022-11-11 中国第一汽车股份有限公司 Data downloading method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866351A (en) * 2015-05-27 2015-08-26 百富计算机技术(深圳)有限公司 Data transmission method, server and client
CN105808273A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Software upgrading method and software upgrading device
US20170017349A1 (en) * 2015-07-14 2017-01-19 International Business Machines Corporation User interface pattern mapping
CN107016280A (en) * 2017-03-31 2017-08-04 武汉票据交易中心有限公司 The upgrade method and system of a kind of client application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808273A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Software upgrading method and software upgrading device
CN104866351A (en) * 2015-05-27 2015-08-26 百富计算机技术(深圳)有限公司 Data transmission method, server and client
US20170017349A1 (en) * 2015-07-14 2017-01-19 International Business Machines Corporation User interface pattern mapping
CN107016280A (en) * 2017-03-31 2017-08-04 武汉票据交易中心有限公司 The upgrade method and system of a kind of client application

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522038A (en) * 2018-11-22 2019-03-26 凌云天博光电科技股份有限公司 A kind of client side upgrading method and device of CS framework
CN109803177A (en) * 2018-12-06 2019-05-24 安徽站乾科技有限公司 A kind of set-top box quickly loads and upgrade method
CN109656595A (en) * 2018-12-10 2019-04-19 北京百家互联科技有限公司 The method, apparatus and system that client-side program updates
CN109814897B (en) * 2018-12-18 2022-04-19 福建新大陆支付技术有限公司 Application program file management method and system
CN109814897A (en) * 2018-12-18 2019-05-28 福建新大陆支付技术有限公司 A kind of application file management method and system
CN109491693A (en) * 2018-12-29 2019-03-19 深圳点猫科技有限公司 A kind of the heat update processing method and electronic equipment of graphical programming client
CN110308915A (en) * 2019-06-25 2019-10-08 维沃移动通信有限公司 The method of system upgrade, mobile terminal
CN112398666A (en) * 2019-08-13 2021-02-23 中兴通讯股份有限公司 Software differential upgrading method, device, equipment and storage medium
CN112398666B (en) * 2019-08-13 2024-04-30 中兴通讯股份有限公司 Software differential upgrading method, device, equipment and storage medium
CN111427595A (en) * 2019-09-03 2020-07-17 杭州海康威视数字技术股份有限公司 Client upgrading method, device and system
CN111427595B (en) * 2019-09-03 2024-03-05 杭州海康威视数字技术股份有限公司 Client upgrading method, device and system
CN110865832A (en) * 2019-09-26 2020-03-06 北京和德宇航技术有限公司 Communication protocol upgrading method, device and system based on low earth orbit satellite
CN110865832B (en) * 2019-09-26 2020-12-04 北京和德宇航技术有限公司 Communication protocol upgrading method, device and system based on low earth orbit satellite
CN110727454A (en) * 2019-10-24 2020-01-24 北京云迹科技有限公司 Updating method and device of intelligent equipment, electronic equipment and storage medium
CN110981253A (en) * 2019-11-25 2020-04-10 浙江龙游通衢建材有限公司 Vibration-free high-durability concrete and preparation method thereof
CN110981253B (en) * 2019-11-25 2022-12-06 浙江龙游通衢建材有限公司 Vibration-free high-durability concrete and preparation method thereof
CN110990038B (en) * 2019-11-29 2023-08-22 中化信息技术有限公司 Method, apparatus, electronic device and medium for applying local update
CN110990038A (en) * 2019-11-29 2020-04-10 中化信息技术有限公司 Method, apparatus, electronic device, and medium for applying local updates
CN111158716A (en) * 2019-12-20 2020-05-15 中国平安财产保险股份有限公司 Version upgrade calling method and device, computer system and readable storage medium
CN111176679B (en) * 2019-12-24 2023-06-16 中国建设银行股份有限公司 Application program updating method and device
CN111176679A (en) * 2019-12-24 2020-05-19 中国建设银行股份有限公司 Application program updating method and device
CN111158719A (en) * 2019-12-26 2020-05-15 湖南快乐阳光互动娱乐传媒有限公司 Application software upgrading method and device
CN111158719B (en) * 2019-12-26 2023-06-16 湖南快乐阳光互动娱乐传媒有限公司 Application software upgrading method and device
CN111338717A (en) * 2020-03-27 2020-06-26 广州华多网络科技有限公司 Interface calling method, application program upgrading method, server and client
CN111338717B (en) * 2020-03-27 2023-02-21 广州方硅信息技术有限公司 Interface calling method, application program upgrading method, server and client
CN111522567B (en) * 2020-04-30 2023-09-01 中国工商银行股份有限公司 Program upgrading method, device, system and medium
CN111522567A (en) * 2020-04-30 2020-08-11 中国工商银行股份有限公司 Program upgrading method, device, system and medium
CN112328283A (en) * 2020-11-12 2021-02-05 北京字节跳动网络技术有限公司 Application program updating method, device, equipment and medium
CN112328284A (en) * 2020-11-13 2021-02-05 杭州萤石软件有限公司 Application program upgrading method, system, equipment and storage medium
CN112416412B (en) * 2020-11-28 2022-04-15 郑州信大捷安信息技术股份有限公司 Heat deployment method and system based on sub-application
CN112416412A (en) * 2020-11-28 2021-02-26 郑州信大捷安信息技术股份有限公司 Heat deployment method and system based on sub-application
CN112508715A (en) * 2020-11-30 2021-03-16 泰康保险集团股份有限公司 Method and device for online deployment of insurance dual-core data model, electronic equipment and medium
CN112486520A (en) * 2020-12-07 2021-03-12 深圳市欢太科技有限公司 Application program upgrading method and device, mobile terminal and server
CN112783529A (en) * 2021-01-27 2021-05-11 上海淇玥信息技术有限公司 Method and device for controlling pre-release and upgrade of application program and electronic equipment
CN112783529B (en) * 2021-01-27 2024-03-29 上海淇玥信息技术有限公司 Method and device for controlling pre-release and upgrading of application program and electronic equipment
CN114090048A (en) * 2021-11-27 2022-02-25 深圳市元征科技股份有限公司 Software upgrading method and device
CN115333937A (en) * 2022-06-27 2022-11-11 中国第一汽车股份有限公司 Data downloading method and device and electronic equipment
CN115333937B (en) * 2022-06-27 2023-09-01 中国第一汽车股份有限公司 Data downloading method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN108509211A (en) Application program updating method, apparatus, mobile terminal and storage medium
US9032383B2 (en) Automatically updating applications on a client's device without interrupting the user's experience
KR100663415B1 (en) System and method for updating dataset versions resident on a wireless device
CN106648725B (en) Terminal, server and configuration file upgrading method
KR100915564B1 (en) Method, software and apparatus for application upgrade during execution
US20100093396A1 (en) Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device
CN111316230B (en) Method and equipment for generating patch package
KR20040019841A (en) Server processing for updating dataset versions president on a wireless device
KR20100081720A (en) Method and system for fota service
US9529603B2 (en) Method and apparatus for dynamic network device start up
CN1791859A (en) Methods and apparatus for generating upgraded software from initial software and software upgrade packages
CN105373396A (en) Method and device for updating plug-in in plug-in platform
WO2011095914A1 (en) Systems, methods, and apparatuses for facilitating distribution of firmware updates
CN110445841B (en) Cloud disk mounting method and device for cloud physical machine and storage medium
CN108228230A (en) Upgrade method, terminal and the computer readable storage medium of UFS firmwares
CN112162795B (en) Plug-in starting method and device, computer equipment and storage medium
CN105446768B (en) Method for upgrading system and device
CN109002314A (en) Oftware updating method, device, electronic equipment and storage medium
CN114937452A (en) Service calling method and system, calling device, target device and readable storage medium
CN1327649C (en) Mobile communication system and mobile terminal device
CN110457052A (en) Application upgrade method and device
CN104866349A (en) Application updating method and device
CN111381845B (en) Software gray scale upgrading method, device, storage medium, terminal and server
CN105144090A (en) Method and apparatus for prefetching device drivers for peripheral devices connected to a smartphone prior to high-level operating system (HLOS) boot
CN106293814A (en) Upgrade method and device

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: 20180907