CN108845824A - Using update method and device and computer readable storage medium - Google Patents

Using update method and device and computer readable storage medium Download PDF

Info

Publication number
CN108845824A
CN108845824A CN201810749377.5A CN201810749377A CN108845824A CN 108845824 A CN108845824 A CN 108845824A CN 201810749377 A CN201810749377 A CN 201810749377A CN 108845824 A CN108845824 A CN 108845824A
Authority
CN
China
Prior art keywords
file
application
server end
application message
modules
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
CN201810749377.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 CN201810749377.5A priority Critical patent/CN108845824A/en
Priority to PCT/CN2018/108779 priority patent/WO2020010727A1/en
Publication of CN108845824A publication Critical patent/CN108845824A/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
    • G06F8/658Incremental updates; Differential updates

Abstract

The invention discloses a kind of application update methods and device and computer readable storage medium, this method to include:It updates and requests to server end sending application;Receive the application message that the server end returns;The application message returned according to the server end and the application message being locally stored, detect whether the file being locally stored needs to update;When the determining file being locally stored needs to update, the file path in application message returned according to the server end downloads file from server end, the file being locally stored is updated according to the file of downloading.It solves the problems, such as that the existing application using in the presence of renewal process updates inefficiency through the above scheme, has reached effective technical effect for promoting application and updating efficiency.

Description

Using update method and device and computer readable storage medium
Technical field
The present invention relates to field of computer technology, and in particular to a kind of application update method and device and computer-readable deposits Storage media.
Background technique
With the continuous development of Internet technology, software application also becomes more and more.Currently, most of App are (that is, soft Part application) update require to store the update packet of multiple versions in server end, that is, need this software is each updated The update packet of the version of journey is stored in server-side, and the maintenance cost that certainly will will lead to server end in this way is too high.
When carrying out software application update, client needs are disposably just updated comparison to all modules, so And do not need all to be updated all functional modules in actual application, the update mode of full dose certainly will will lead to Updating efficiency reduces, and general also without security verification in the updated, and the safety of renewal process cannot be guaranteed, and file is deposited In the possibility being tampered.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The purpose of the present invention is to provide a kind of application update methods and device and computer readable storage medium, and then solve The problem of service end pressure in the presence of certainly existing software application renewal process is big, updates low efficiency, has reached simple height Effect carries out the technical effect of software upgrading.
The present invention is to solve above-mentioned technical problem by following technical proposals:
Update method is applied this application provides a kind of, is included the following steps:
It updates and requests to server end sending application;
Receive the application message that the server end returns;
The application message returned according to the server end and the application message being locally stored, detect the file being locally stored Whether need to update;
When the determining file being locally stored needs to update, according to the file road in the application message of server end return Diameter downloads file from server end, the file being locally stored is updated according to the file of downloading.
In one embodiment, the application message includes:Using the current version number of modules, according to the visitor Family end the application message that the server end returns and the application message being locally stored are detected whether the file being locally stored needs It updates, including:
Judge the version number current using modules in application message that the server end returns and is locally stored Application message in modules latest edition number it is whether identical;
It is deposited when detecting the version number current using modules in the application message that the server end returns with local Modules latest edition number is identical in the application message of storage, then does not carry out to the file of the current block of the modules of application It updates;
It is deposited when detecting the version number current using modules in the application message that the server end returns with local Modules latest edition number is not identical in the application message of storage, then carries out to the file of the current block of the modules of application It updates.
In one embodiment, after updating the file being locally stored according to the file of downloading, the method is also wrapped It includes:
Judge the MD5 value of each file in the MD5 value for the file being locally stored and the application message that the client returns It is whether identical;
When the MD5 value of each file in the application message that the MD5 value of detection locally stored file and the client return It is identical, it is determined that be updated successfully;
When the MD5 value of each file in the application message that the MD5 value of detection locally stored file and the client return It is not identical, then generate abnormality warnings message.
In one embodiment, after generating abnormality warnings message, the method also includes:
Show Network Abnormal prompt information;
According to Network Abnormal prompt information, user's current operation type is detected;
When determining that user's current operation type is to retry operation, then application program is restarted;
When determining that user's current operation type is to exit operation, then application program is exited.
In one embodiment, it updates and requests to server end sending application, including:
Receive the application starting request of user;
Detect whether the application starting request meets trigger condition;
If detecting the application starting request meets trigger condition, updates and request to the server end sending application.
Updating device is applied this application provides a kind of, is located in client, including:
Sending module is requested for updating to server end sending application;
Receiving module, the application message returned for receiving the server end;
Detection module, the application message for being returned according to the server end and the application message being locally stored, are detected Whether the file being locally stored, which needs, updates;
Update module, for needing to update when the determining file being locally stored, the application returned according to the server end File path in information downloads file from server end, the file being locally stored is updated according to the file of downloading.
In one embodiment, the application message includes:Using the current version number of modules, the detection mould Block includes:
Judging unit, the version current using modules in application message for judging the server end return It is number whether identical as modules latest edition number in the application message that is locally stored;
Processing unit, for when the version current using modules in the application message for detecting the server end return This number identical as modules latest edition number in the application message being locally stored, then not to the current mould of the modules of application The file of block is updated;
Updating unit, for when the version current using modules in the application message for detecting the server end return This number not identical as modules latest edition number in the application message that is locally stored, then to the current mould of the modules of application The file of block is updated.
In one embodiment, the sending module includes:
Receiving unit, for receiving the application starting request of user;
Detection unit, for detecting whether the application starting request meets trigger condition;
Transmission unit is sent if meeting trigger condition for detecting the application starting request to the server end It is requested using updating.
This application provides a kind of computer equipment, including memory and processor, the memory is stored with computer The step of program, the processor realizes the above method when executing the computer program.
This application provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer journey The step of above-mentioned method is realized when sequence is executed by processor.
In this application, client sending application updates request;Receive the application for stating server end return Information;The application message returned according to the server end and the application message being locally stored, detecting the file being locally stored is It is no to need to update;When the determining file being locally stored needs to update, according to the text in the application message of server end return Part path downloads file from server end, the file being locally stored is updated according to the file of downloading.That is, for client It can first determine which file needs to update according to application message, which file does not need to update, and only updates the text for needing to update Part, rather than by the way of full dose update, it is the mode using incremental update, so as to effectively solve existing application more The problem of existing application updates inefficiency during new has reached effective technical effect for promoting application and updating efficiency.
Detailed description of the invention
Fig. 1 is a kind of optional flow diagram according to an embodiment of the present invention using update method;
Fig. 2 is the another kind optional flow diagram according to an embodiment of the present invention using update method;
Fig. 3 is a kind of optional program module schematic diagram of application more new system according to an embodiment of the present invention;
Fig. 4 is the optional program module schematic diagram of another kind of application more new system according to an embodiment of the present invention;And
Fig. 5 is a kind of optional hardware structure schematic diagram of electronic device according to an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
In view of the mode of full dose update in current application software renewal process, is usually used, it will lead to answer in this way It is too low with the efficiency of software upgrading, and after updating completion, the correctness of file and safety are not verified, in this way The safety that will result directly in software application after updating cannot be guaranteed.
Based on this, in this example, it is contemplated that application software can be updated by the way of incremental update, so as to The problem of updating caused software upgrading inefficiency to avoid full dose.And because the reasons such as full dose update, lead to server End needs to be stored with the installation of all versions of software and updates packet, this will aggravate the storage burden of server end.
For this purpose, providing a kind of application update method, electronic equipment in this example, update method and electricity are applied to this below Sub- equipment is specifically described as follows:
Embodiment one
Application update method provided by the invention is illustrated with reference to the accompanying drawing.
Fig. 1 is a kind of optional flow diagram that the present invention applies update method, as shown in Figure 1, this method can wrap Include following steps S01-S05:
S01:It updates and requests to server end sending application;
Such as:It can be the application starting request for receiving user, whether detection application starting request meets trigger condition;Such as Fruit detection application starting request meets trigger condition, then updates and request to the server end sending application.For example, the triggering item It is not to install for the first time in client that part, which can be this, which to be applied, and is not updated to start for the first time.That is, if meeting these startings Condition is requested then will trigger and update to server sending application, to trigger the update to application.
S02:Receive the application message that the server end returns;
It may include having in above-mentioned application message:Using the current version number of modules, each file to acquisite approachs, The MD5 value of each file and renewal time;Based on the application message that server-side returns, may be implemented to whether needing to be updated Judgement, and the store path for updating file is obtained, to read file to be updated, or the text for needing to update Part.
S03:The application message returned according to the server end and the application message that is locally stored are detected and are locally stored Whether file, which needs, updates;
Specifically, in order to realize the confirmation for whether needing to update to file, can be using version number when realizing The mode compared with MD5 value with the version number and MD5 value being locally stored.For example, can be with by the version number of module Whether determining module, which needs, updates, and can determine which file needs to update in module that needs update by MD5 value, which text Part does not need to update, so as to complete the incremental update of software application.
Specifically, the application message that the server end returns is believed with the application being locally stored according to the client Breath, detects whether the file being locally stored needs to update, may include:
S1:Judge that the version number current using modules in the application message of the server end return deposits with local Whether modules latest edition number is identical in the application message of storage;
S2:The version number and local current using modules in the application message for detecting the server end return Modules latest edition number is identical in the application message of storage, then not to the file of the current block of the modules of application into Row updates;
S3:The version number and local current using modules in the application message for detecting the server end return Modules latest edition number is not identical in the application message of storage, then to the file of the current block of the modules of application into Row updates.
That is, can first determine which file needs to update according to application message for client in upper example, which File does not need to update, and only updates the file for needing to update, rather than by the way of full dose update, it is using incremental update Mode reaches so as to effectively solve the problems, such as that the existing application using in the presence of renewal process updates inefficiency Effective technical effect for promoting application and updating efficiency.
Not to safety of file etc. after being completed in view of the update in the presence of existing software application renewal process Detected, caused by application security reduce the problem of, in embodiments of the present invention, using file update complete after The mode for comparing MD5 value again, to determine whether file is all correct, that is, all compare the MD5 value of all files Right, to determine whether file is all completed to update, and whether the file updated is correct.Specifically, can be in the text by downloading It, will be in the MD5 value of local file and the application message of client return after part updates the file of the client local The MD5 value of each file is compared;If consistent, it is determined that be updated successfully;Disappear if it is inconsistent, generating abnormality warnings Breath.
If it find that document lending, can be generated abnormality warnings message, after generating abnormality warnings message, can pass through Client shows Network Abnormal prompt information, and then whether detection user, which triggers, retries or exit operation;If user triggers weight Examination operation, then restart application;If operation is exited in user's triggering, application is exited.
Above-mentioned application more new technological process can be one and meet the process that condition just triggers, and trigger condition can be described answer Be not used in the client install for the first time, and be not it is updated start for the first time, then, the client is to the server Sending application is held to update request.That is, not being to install for the first time in determining application and being not using updated the case where starting for the first time Under, the more new technological process applied just is triggered, starts for the first time if it is installation for the first time is either updated, does not then need to trigger It updates.
It should be noted, however, that message content entrained by above-mentioned cited trigger condition and application message is only It is a kind of exemplary description, it, can be using other trigger conditions either message content, the application when actually realizing This is not construed as limiting.
Above-mentioned application update method is illustrated with a concrete scene, it should be noted, however, that the concrete scene Merely to better illustrating the application, do not constitute an undue limitation on the present application.
As shown in Fig. 2, application starting and application method may include:
S1:Before application program (that is, APP) enters business module, inquiry offline cache interface is called.
S2:Determine whether to start offline cache function, if starting, executes S3, otherwise execute S9;
S3:Determine whether application is installation for the first time or updated starting for the first time (that is, determining the application starting request of user Whether trigger condition is met), if it is not, then executing S4, otherwise execute S9;
S4:It determines whether business module needs to update, if necessary to update, then executes S5, otherwise execute S9;
S5:Call more new traffic module interface;
S6:Version is downloaded, whether comparison version number needs to update, and if necessary to update, executes S7, otherwise executes S9;
S7:Manifest is downloaded, whether comparison MD5 value has file to update, if so, then executing S8, otherwise execute S9;
S8:It determines whether file updates to finish, if it is, executing S9, otherwise continues waiting for file download.
S9:In order to determine whether business module can operate normally, can by the MD5 value for the All Files being locally stored with Manifest carries out consistency comparison, if unanimously, executing S10, otherwise executing S11;
S10:Into business module;
S11:Abnormality warnings are popped up, APP is exited.
During executing S6 to S8, if there is Network Abnormal, then Network Abnormal prompt can be popped up, and retry And exit button, determine that user retries or exits.
In the above-described embodiments, client sending application updates request, receives answering for server end return With information, wherein the application message includes:Using the current version number of modules, the to acquisite approachs, each of each file The MD5 value of file and renewal time;Client carries out the application message that server end returns and the application message being locally stored It compares, determines whether file needs to update;For the file that needs update, in the application message returned according to the server end File path, from server end download file, the file of the client local is updated by the file of downloading.That is, for It can first determine which file needs to update according to application message for client, which file does not need to update, and only updating needs The file to be updated, rather than by the way of full dose update, it is the mode using incremental update, it is existing so as to effectively solve The problem of application in the presence of some application renewal processes updates inefficiency has reached effective and has been promoted using update efficiency Technical effect.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.
Embodiment two
The application update method provided in one based on the above embodiment provides a kind of application more new system in the present embodiment, Specifically, Fig. 3 and Fig. 4 shows the optional structural block diagram of the application more new system, and the application more new system is divided into one A or multiple program modules, one or more program module are stored in storage medium, and by one or more processors It is performed, to complete the present invention.The so-called program module of the present invention is the series of computation machine journey for referring to complete specific function Sequence instruction segment is more suitable for implementation procedure of the description application more new system in storage medium than program itself, and being described below will have Body introduces the function of each program module of the present embodiment:
As shown in figure 3, including using more new system 30:
Sending module 31 is requested for updating to server end sending application;
Receiving module 32, the application message returned for receiving the server end;
Detection module 33, the application message for being returned according to the server end and the application message being locally stored, are examined Survey whether the file being locally stored needs to update;
Update module 34 is answered for needing to update when the determining file being locally stored according to what the server end returned With the file path in information, file is downloaded from server end, the file being locally stored is updated according to the file of downloading.
In one embodiment, detection module 33 may include:Judging unit, for judging that the server end returns Application message in the version number current using modules and modules latest edition in the application message that is locally stored It is number whether identical;Processing unit, for current when detecting the application modules in the application message that the server end returns Version number it is identical as modules latest edition number in the application message being locally stored, then not working as to the modules of application The file of front module is updated;Updating unit, for each when detecting the application in the application message that the server end returns The current version number of a module and modules latest edition number in the application message being locally stored be not identical, then to each of application The file of the current block of a module is updated.
As shown in figure 4, above-mentioned application updating device can also include:Comparison module 35, specifically can be used in the case where passing through After the file of load updates the file of the client local, by the application of the MD5 value of local file and client return The MD5 value of each file is compared in information;If consistent, it is determined that be updated successfully;If it is inconsistent, generating abnormal alert Accuse message.
In one embodiment, after generating abnormality warnings message, Network Abnormal prompt information is shown;Detect user Whether triggering retries or exits operation;If user's triggering retries operation, application is restarted;If behaviour is exited in user's triggering Make, then exits application.
In one embodiment, client sending application updates request, may include:Receive user's It is requested using starting;Determine it is described apply in the client whether be install for the first time, or, if be it is updated for the first time Starting;It is being determined as installing for the first time or, the client is sent out to the server end in the case where updated starting for the first time It send using update request.
About the device in above-described embodiment, wherein each unit, module execute the concrete mode of operation related It is described in detail in the embodiment of this method, no detailed explanation will be given here.
In each embodiment of the present embodiment, client sending application updates request, receives service The application message that device end returns, wherein the application message includes:Using modules current version numbers, each file To acquisite approachs, the MD5 value of each file and renewal time;Client is by application message that server end returns and is locally stored Application message is compared, and determines whether file needs to update;For the file that needs update, returned according to the server end Application message in file path, from server end download file, it is local to update the client by the file of downloading File.That is, can first determine which file needs to update according to application message for client, which file is not needed more Newly, the file for needing to update only is updated, rather than by the way of full dose update, it is the mode using incremental update, so as to Effectively to solve the problems, such as that the existing application using in the presence of renewal process updates inefficiency, effective promotion is reached and has answered With the technical effect for updating efficiency.
Embodiment three
A kind of electronic device is provided in the preferred embodiment of the invention three.Fig. 5 is that electronic device one is real according to the present invention Apply the hardware structure schematic diagram of example.In the present embodiment, electronic device 2 is that one kind can be according to the finger for being previously set or storing It enables, the automatic equipment for carrying out numerical value calculating and/or information processing.For example, it may be smart phone, tablet computer, notebook are electric Brain, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server (including independent clothes Server cluster composed by business device or multiple servers) etc..As shown, electronic device 2 includes, but is not limited to: It can be in communication with each other connection memory 21, processor 22, network interface 23 by system bus and apply more new system 30.Its In:
Memory 21 includes at least a type of computer readable storage medium, and readable storage medium storing program for executing includes flash memory, hard Disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), may be programmed read-only storage at read-only memory (ROM) Device (PROM), magnetic storage, disk, CD etc..In some embodiments, memory 21 can be the inside of electronic device 2 Memory module, such as the hard disk or memory of the electronic device 2.In further embodiments, memory 21 is also possible to electronics dress Set the plug-in type hard disk being equipped on 2 External memory equipment, such as the electronic device 2, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 is gone back Can both including electronic device 2 storage inside module and also including its External memory equipment.In the present embodiment, memory 21 is usual For storing the operating system and types of applications software that are installed on electronic device 2, such as the program code using more new system 30 Deng.In addition, memory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control electronic device 2 Overall operation, such as execute control relevant to the progress data interaction of electronic device 2 or communication and processing etc..The present embodiment In, program code or processing data of the processor 22 for storing in run memory 21, such as the application of operation update system System 20 etc..
Network interface 23 may include radio network interface or wired network interface, which is commonly used in electronics Communication connection is established between device 2 and other electronic devices.For example, network interface 23 be used for by network by electronic device 2 with Exterior terminal is connected, and establishes data transmission channel and communication connection etc. between electronic device 2 and exterior terminal.Network can be with It is intranet (Intranet), internet (Internet), global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), 4G network, 5G network, bluetooth (Bluetooth), the wirelessly or non-wirelessly network such as Wi-Fi.
It should be pointed out that Fig. 5 illustrates only the electronic device with component 21-23, it should be understood that simultaneously should not Realistic to apply all components shown, the implementation that can be substituted is more or less component.
In the present embodiment, the system 20 that task is dialed in the monitoring being stored in memory 21 can also be divided into one Or multiple program modules, one or more program module are stored in memory 21, and by one or more processors (the present embodiment is processor 22) is performed, to complete the present invention.
Example IV
The present embodiment also provides a kind of computer readable storage medium, is stored in computer readable storage medium using more New system, can be performed by least one processor, so that at least one processor executes such as embodiment one using more new system Application update method the step of.
In the present embodiment, computer readable storage medium include flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD Deng.In some embodiments, computer readable storage medium can be the internal storage unit of computer equipment, such as the calculating The hard disk or memory of machine equipment.In further embodiments, computer readable storage medium is also possible to the outer of computer equipment The plug-in type hard disk being equipped in portion's storage equipment, such as the computer equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Certainly, computer-readable storage medium Matter can also both including computer equipment internal storage unit and also including its External memory equipment.In the present embodiment, computer Readable storage medium storing program for executing is installed on the operating system and types of applications software of computer equipment, such as embodiment two commonly used in storage Client ensure analysis system program code etc..In addition, computer readable storage medium can be also used for temporarily storing Various types of data through exporting or will export.
In upper example, client sending application updates request, receives the application message that server end returns, Wherein, the application message includes:Using the current version number of modules, the to acquisite approachs of each file, each file MD5 value and renewal time;The application message that server end returns and the application message being locally stored are compared client, really Determine whether file needs to update;For the file that needs update, according to the file in the application message of server end return Path downloads file from server end, the file of the client local is updated by the file of downloading.That is, for client For can first determine which file needs to update according to application message, which file does not need to update, only update need to update File be the mode using incremental update, so as to effectively solve existing answer rather than by the way of full dose update The problem of updating inefficiency with the application in the presence of renewal process has reached effective technology effect for promoting application and updating efficiency Fruit.
Obviously, those skilled in the art should be understood that each module of the above-mentioned embodiment of the present invention or each step can be with It is realized with general computing device, they can be concentrated on a single computing device, or be distributed in multiple computing devices On composed network, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by it Store and be performed by computing device in the storage device, and in some cases, can be held with the sequence for being different from herein The shown or described step of row, perhaps they are fabricated to each integrated circuit modules or will be multiple in them Module or step are fabricated to single integrated circuit module to realize.In this way, the embodiment of the present invention be not limited to it is any specific hard Part and software combine.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of apply update method, which is characterized in that include the following steps:
It updates and requests to server end sending application;
Receive the application message that the server end returns;
Whether the application message returned according to the server end and the application message that is locally stored detect the file that is locally stored It needs to update;
When determining that the file that is locally stored needs to update, the file path in application message returned according to the server end, File is downloaded from server end, the file being locally stored is updated according to the file of downloading.
2. the method according to claim 1, wherein the application message includes:Current using modules Version number, according to the client by the application message that the server end returns and the application message being locally stored, detection is originally Whether the file of ground storage needs to update, including:
Judge that the version number current using modules in the application message of the server end return answers with what is be locally stored It is whether identical with modules latest edition number in information;
When detecting the version number current using modules in the application message that the server end returns and be locally stored Modules latest edition number is identical in application message, then does not carry out more to the file of the current block of the modules of application Newly;
When detecting the version number current using modules in the application message that the server end returns and be locally stored Modules latest edition number is not identical in application message, then carries out more to the file of the current block of the modules of application Newly.
3. the method according to claim 1, wherein according to the file of downloading update the file that is locally stored it Afterwards, the method also includes:
Whether the MD5 value of each file in the application message that the MD5 value and the client for the file that judgement is locally stored return It is identical;
When detection locally stored file MD5 value it is identical as the MD5 value of each file in the application message that the client returns, Then determination is updated successfully;
When the MD5 value not phase of each file in the application message that is returned with the client of MD5 value of detection locally stored file Together, then abnormality warnings message is generated.
4. according to the method described in claim 3, it is characterized in that, the method is also wrapped after generating abnormality warnings message It includes:
Show Network Abnormal prompt information;
According to Network Abnormal prompt information, user's current operation type is detected;
When determining that user's current operation type is to retry operation, then application program is restarted;
When determining that user's current operation type is to exit operation, then application program is exited.
5. it is requested the method according to claim 1, wherein being updated to server end sending application, including:
Receive the application starting request of user;
Detect whether the application starting request meets trigger condition;
If detecting the application starting request meets trigger condition, updates and request to the server end sending application.
6. a kind of apply updating device, it is located in client, which is characterized in that including:
Sending module is requested for updating to server end sending application;
Receiving module, the application message returned for receiving the server end;
Detection module, the application message for being returned according to the server end and the application message being locally stored, detection is locally Whether the file of storage, which needs, updates;
Update module, for needing to update when the determining file being locally stored, the application message returned according to the server end In file path, download file from server end, the file that is locally stored updated according to the file of downloading.
7. device according to claim 6, which is characterized in that the application message includes:Current using modules Version number, the detection module include:
Judging unit, for judge the version number current using modules in application message that the server end returns with Whether modules latest edition number is identical in the application message being locally stored;
Processing unit, for when the version number current using modules in the application message for detecting the server end return It is identical as modules latest edition number in the application message being locally stored, then not to the current block of the modules of application File is updated;
Updating unit, for when the version number current using modules in the application message for detecting the server end return It is not identical as modules latest edition number in the application message that is locally stored, then to the current block of the modules of application File is updated.
8. device according to claim 6, which is characterized in that the sending module includes:
Receiving unit, for receiving the application starting request of user;
Detection unit, for detecting whether the application starting request meets trigger condition;
Transmission unit, if meeting trigger condition for detecting the application starting request, to the server end sending application Update request.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 5 is realized when being executed by processor.
CN201810749377.5A 2018-07-10 2018-07-10 Using update method and device and computer readable storage medium Pending CN108845824A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810749377.5A CN108845824A (en) 2018-07-10 2018-07-10 Using update method and device and computer readable storage medium
PCT/CN2018/108779 WO2020010727A1 (en) 2018-07-10 2018-09-29 Application update method and device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810749377.5A CN108845824A (en) 2018-07-10 2018-07-10 Using update method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108845824A true CN108845824A (en) 2018-11-20

Family

ID=64196260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810749377.5A Pending CN108845824A (en) 2018-07-10 2018-07-10 Using update method and device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108845824A (en)
WO (1) WO2020010727A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110309106A (en) * 2019-05-27 2019-10-08 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that file updates
CN111666091A (en) * 2020-06-12 2020-09-15 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium
CN111708566A (en) * 2020-06-10 2020-09-25 深圳云之家网络有限公司 Software increment updating method, device, system and computer readable storage medium
CN112114836A (en) * 2019-06-19 2020-12-22 西安诺瓦星云科技股份有限公司 File updating method, device and system, storage medium and display box

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN105657191A (en) * 2016-03-29 2016-06-08 Tcl集团股份有限公司 Application increment upgrading method and system based on Android system
CN105740032A (en) * 2016-03-10 2016-07-06 汉柏科技有限公司 Network device system upgrading method and device
CN107643920A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Application software update method and device
US20180107479A1 (en) * 2016-10-19 2018-04-19 Facebook, Inc. Methods and Systems for Determining Relevant Changes in an API

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN103713928B (en) * 2013-12-31 2017-02-22 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN106648761B (en) * 2016-12-01 2019-04-05 武汉斗鱼网络科技有限公司 The method and device automatically updated in QT program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053853A (en) * 2010-12-30 2011-05-11 北京像素软件科技股份有限公司 Version updating method of online game
CN105740032A (en) * 2016-03-10 2016-07-06 汉柏科技有限公司 Network device system upgrading method and device
CN105657191A (en) * 2016-03-29 2016-06-08 Tcl集团股份有限公司 Application increment upgrading method and system based on Android system
CN107643920A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Application software update method and device
US20180107479A1 (en) * 2016-10-19 2018-04-19 Facebook, Inc. Methods and Systems for Determining Relevant Changes in an API

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110309106A (en) * 2019-05-27 2019-10-08 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that file updates
CN112114836A (en) * 2019-06-19 2020-12-22 西安诺瓦星云科技股份有限公司 File updating method, device and system, storage medium and display box
CN111708566A (en) * 2020-06-10 2020-09-25 深圳云之家网络有限公司 Software increment updating method, device, system and computer readable storage medium
CN111666091A (en) * 2020-06-12 2020-09-15 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium
CN111666091B (en) * 2020-06-12 2023-08-29 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2020010727A1 (en) 2020-01-16

Similar Documents

Publication Publication Date Title
CN108845824A (en) Using update method and device and computer readable storage medium
CN107748668B (en) Method and device for upgrading application program
CN105786538B (en) software upgrading method and device based on android system
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN108874437B (en) Online cloud updating method for android application program
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN110908681A (en) Method and device for upgrading software
CN108510287A (en) Judgment method, electronic device and the computer readable storage medium that client pays a return visit
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN111901142A (en) Firmware silent upgrading method and device for embedded equipment cluster
CN110647337A (en) Internet of things MCU (microprogrammed control Unit) air firmware upgrading method
CN112698857A (en) Data flashing method and device
CN112134961A (en) Client use control method, client and computer storage medium
CN112256989A (en) Page loading method and device based on offline package, terminal equipment and storage medium
CN116243949A (en) Software upgrading method and device, embedded equipment and storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN115357260A (en) Program upgrading method and device for terminal equipment, terminal equipment and storage medium
CN112600803B (en) Web end data signature method and device and computer equipment
CN104239108A (en) Software update method, software update server, client and software update system
CN110659052B (en) Method and system for updating system software in network equipment and readable storage medium
CN111338677A (en) Component and drive association validity verification method, system, terminal and storage medium
CN112312212B (en) Upgrading method and related device for digital television system
CN113709195A (en) Vehicle software upgrading method, device and system
CN104348646A (en) Configuration data processing method, device and system
CN114610331A (en) Software installation method and system

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