CN108037946A - A kind of method, system and the server of the renewal of application program heat - Google Patents
A kind of method, system and the server of the renewal of application program heat Download PDFInfo
- Publication number
- CN108037946A CN108037946A CN201711069012.XA CN201711069012A CN108037946A CN 108037946 A CN108037946 A CN 108037946A CN 201711069012 A CN201711069012 A CN 201711069012A CN 108037946 A CN108037946 A CN 108037946A
- Authority
- CN
- China
- Prior art keywords
- version information
- renewal
- client
- application program
- compressed package
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention is suitable for field of computer technology, discloses a kind of method, system and the server of the renewal of application program heat, the described method includes:Preserve the web programs of renewal;The message digest value of each file in web programs is obtained, and server end version information is worth to according to eap-message digest;Web Program Generating compressed packages are compressed, and obtain the download address of compressed package;After the client release information of application program of client transmission is received, server end version information is compared with client release information;When server end version information and client release information differ, the download address of compressed package is sent to client so that client downloads compressed package carries out the renewal of application program.The present invention realizes the heat renewal of web programs, completes more new business and the rapid reparation of early version bug, ensure that the newest web programs of server are transferred to client exactly with less data volume, optimize user experience.
Description
Technical field
The invention belongs to field of computer technology, more particularly to method, system and the service of a kind of heat renewal of application program
Device.
Background technology
Modern mobile application version iteration renewal speed is getting faster, and developer needs quickly to realize new function and by newly
Function is published in client's hand, to realize quick function iteration, new function addition and the reparation of program bug (loophole).
At present, it is general using by the way of being issued using shop or application program nesting server end webpage mode.Should
The mode issued with shop mainly needs to write primary code, is published to and finally waits user to download using shop, if user
Application program is not downloaded, new function can not just be realized at this time or the bug of legacy version program can not just realize reparation.Application program
The mode of nested server end webpage there are the problem of mainly have two, one is the application program in the case of no network
Interface can not be just presented;The other is loading needs consumption network flow in the case of having network and user can be obvious
Experience delay.Asked so the renewal process that application program exists in the prior art is complicated, consumed flow is big and efficiency is low
Topic.
The content of the invention
In view of this, an embodiment of the present invention provides method, system and the server of a kind of heat renewal of application program, it is intended to
Solve the problems, such as the renewal process complexity of application program existing in the prior art, consumed flow is big and efficiency is low.
The first aspect of the embodiment of the present invention, there is provided a kind of method of application program heat renewal, including:
Preserve the web programs of renewal;
The message digest value of each file in web programs is obtained, and server end version letter is worth to according to eap-message digest
Breath;
Web Program Generating compressed packages are compressed, and obtain the download address of compressed package;
After the client release information of application program of client transmission is received, by server end version information and visitor
Family end version information is compared;
When server end version information and client release information differ, the download address of compressed package is sent to visitor
Family end is so that client downloads compressed package carries out the renewal of application program.
The second aspect of the embodiment of the present invention, there is provided a kind of system of application program heat renewal, including:
Web program preserving modules, for preserving the web programs of renewal;
Version information acquisition module, for obtaining the message digest value of each file in web programs, and according to eap-message digest
It is worth to server end version information;
Compressed package generation module, for compressing web Program Generating compressed packages, and obtains the download address of compressed package;
First version information comparison module, for when the client release information for the application program for receiving client transmission
Afterwards, server end version information is compared with client release information;
Download address sending module, for when server end version information and client release information differ, will press
The download address of contracting bag is sent to client so that client downloads compressed package carries out the renewal of application program.
The third aspect of the embodiment of the present invention, there is provided a kind of server, including memory, processor and be stored in
In reservoir and the computer program that can run on a processor, processor realize above-mentioned application program when performing computer program
The step of method of heat renewal.
The fourth aspect of the embodiment of the present invention, there is provided a kind of computer-readable recording medium, computer-readable storage medium
Matter is stored with computer program, and the step of the method for above-mentioned application program heat renewal is realized when computer program is executed by processor
Suddenly.
The beneficial effect of the embodiment of the present invention compared with prior art is:By the web programs for preserving renewal;Obtain web
The message digest value of each file in program, and server end version information is worth to according to eap-message digest;Compress the life of web programs
Into compressed package and obtain the download address of compressed package;When the client release information for the application program for receiving client transmission
Afterwards, server end version information is compared with client release information;When server end version information and client release
When information differs, the download address of compressed package is sent to client so that client downloads compressed package carries out application program
Renewal.The heat renewal of web programs is realized, ensure that the newest web programs of server are accurately passed with less data volume
It is defeated to arrive client, realize more new business and the rapid reparation of early version bug, optimize user experience, reduce application program
Bug may bring the risk of loss to enterprise.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
The method for the application program heat renewal that Fig. 1 provides for one embodiment of the present of invention realizes flow chart;
The method for the application program heat renewal that Fig. 2 provides for one embodiment of the present of invention realizes flow chart;
The method for the application program heat renewal that Fig. 3 provides for one embodiment of the present of invention realizes flow chart;
Fig. 4 is the structure diagram of the system for the application program heat renewal that one embodiment of the present of invention provides;
Fig. 5 is the structure diagram of the system for the application program heat renewal that one embodiment of the present of invention provides;
Fig. 6 is the concrete structure schematic diagram for the version information acquisition module that one embodiment of the present of invention provides;
Fig. 7 is the structure diagram of the system for the application program heat renewal that one embodiment of the present of invention provides;
Fig. 8 is the schematic block diagram for the server that one embodiment of the present of invention provides.
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that these are specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
With reference to figure 1, Fig. 1 is a kind of realization stream of the method for application program heat renewal that one embodiment of the present of invention provides
Cheng Tu, details are as follows for the present embodiment:
Step S101, preserves the web programs of renewal.
The web programs of renewal are saved in the file that server end is specified first.
Step S102, obtains the message digest value of each file in web programs, and is worth to server according to eap-message digest
Hold version information.
In the present embodiment, after the web programs of renewal are saved in the file specified, by accessing what is pre-defined
Weblication interface is updated, the web of renewal is calculated according to Message Digest 5 (Message-Digest Algorithm5)
The message digest value (MD5 values) of each file of program, Message Digest 5 are to ensure the correctness of file, prevent
People usurps program, adds a little wooden horses or distorts copyright, and a set of verification system of design, each file can be calculated with eap-message digest
Method proving program calculates a fixed message digest value.
In one embodiment of the invention, step S102 is specifically included:
1) the message digest value generation current version information of each file in web programs is obtained.
In one embodiment, after the web programs of renewal are saved, access renewal weblication interface and beaten
Bag, calculates the message digest value of web program All Fileses in the interface by Message Digest 5.Pass through the message of acquisition
Digest value generates the current version information of web programs.
2) current version information is compared with old version information.
3) when current version information and old version information differ, deleting history version information, current version is believed
Breath is used as server end version information.
In one embodiment, when comparing current version information and old version information differs, deleting history version
Current version information, is then saved in inside version information file by this information, so that current version information is as service
Device end version information.
In one embodiment of the invention, server end version information includes message digest value and its corresponding file is protected
Deposit path.
In one embodiment, two fields are included in server end version information, be respectively eap-message digest value field and
File storing path field, eap-message digest value field form the row for including the two fields with file storing path field
Table.
Step S103, compresses web Program Generating compressed packages, and obtains the download address of compressed package.
In one embodiment, after the version information of server end more new procedures is obtained, by store more new procedures
The file specified is compressed into compressed package, and obtains the download address of compressed package.Complete application program packing process.
Step S104, after the client release information of application program of client transmission is received, by server end version
This information is compared with client release information.
After user opens client application, client can send the version information of active client to server,
Then the version information of the version information of client and server end is subjected to contrast judgement, that is, compares two version informations
Message digest value, when the version information of client and the consistent version information of server end, illustrate client version letter
Breath has been latest version information, it is not necessary to is updated, server end sends empty information to client at this time.
Step S105, when server end version information and client release information differ, by the download of compressed package
Location is sent to client so that client downloads compressed package carries out the renewal of application program.
In one embodiment, when the version information of server end and the version information of client differ, visitor is illustrated
Family end version needs to update, and the download address of obtained compressed package is sent to client by server end at this time, so that client
The compressed package of more new version is downloaded come more new application according to obtained download address.Client is according to the download received
Compressed package is downloaded in location, and deletes the All Files under the file for the preservation application program that client is specified, then decompression pressure
The file for the preservation application program that contracting bag is specified to client, at this time renewal are completed.Subsequently into application program homepage.
It was found from the present embodiment, the embodiment of the present invention is by preserving the web programs updated;And then obtain every in web programs
The message digest value of a file, and server end version information is worth to according to eap-message digest;Then web Program Generating pressures are compressed
Contracting wraps and obtains the download address of compressed package;, will after the client release information of application program of client transmission is received
Server end version information is compared with client release information;When server end version information and client release information not
When identical, the download address of compressed package is sent to client so that client downloads compressed package carries out the renewal of application program.
It is achieved thereby that the heat renewal of web programs, completes the automation of packing and issuing flow, greatly reduces personnel and pack by hand
The mistake that issuing process is likely to occur.More new business and the rapid reparation of early version bug are realized, ensure that the newest of server
Web programs client is transferred to less data volume exactly, optimize user experience.
As shown in Fig. 2, in one embodiment of the invention, the method further includes before step S101:
Step S201, when detecting that web programs have renewal, deletes the web programs of the old version to prestore, and retain and go through
History version information, the message digest value of old version information each file in the web programs including old version.
In one embodiment, when having detected the renewal of web programs, server end deletes going through under the file specified
The web programs of history version, but the old version information of old version web programs is remained, to the web journeys with renewal
The version information of sequence is contrasted, and wherein old version information includes the eap-message digest of each file in old version web programs
Value.
Step S202, the web programs of renewal are copied under default file directory.
In one embodiment, after deleting old version web programs, the web programs of the renewal detected are copied to
Under the file of pre-set weblication.
In one embodiment, by when detecting that web programs have renewal, deleting the web journeys of the old version to prestore
Sequence, and retain old version information, the web programs of renewal are copied under default file directory.Realize and detecting
Fast and effectively renewal efficiency is improved, is further completed in the function of server end renewal new version when program updates
The rapid reparation of more new business and early version bug.
As shown in figure 3, in one embodiment of the invention, the method further includes:
Step S301, obtains the message digest value of compressed package.
In one embodiment, by after the file the specified generation compressed package of server end, Message Digest 5 is passed through
Calculate the message digest value of the compressed package after packing.
Step S302, when client downloads compressed package, the message digest value of compressed package is sent to client at the same time, with
Make client that the message digest value of the compressed package after download to be compared with the message digest value of compressed package to judge whether to download
Success.
In one embodiment, in client downloads compressed package, while the message digest value of compressed package is also sent to
Client, obtains the message digest value of the compressed package after downloading, with the message digest value of the compressed package from received server-side into
Row compares, if two message digest values are consistent, the installation kit for illustrating to download is not damaged completely, and client deletes client at this time
The All Files under the file for the preservation application program specified is held, then decompresses the file that compressed package is specified to client,
Renewal is completed at this time.Subsequently into application program homepage.If two message digest values are inconsistent, then compressed package may pass
Occur installation kit damage when being distorted or downloaded by other people during defeated, just exit application program at this time, being again introduced into should
Compressed package is re-downloaded during with program to be updated.
It was found from the present embodiment, the embodiment of the present invention is by obtaining the message digest value of compressed package, when client downloads pressure
During contracting bag, the message digest value of compressed package is sent to client at the same time, so that client is by the message of the compressed package after download
Digest value is compared with the message digest value of compressed package to be judged whether to download successfully.The compressed package of more new procedures is saved in visitor
Family end application program is local, it is achieved thereby that real-time, the quick renewal of client application, and quickly repair client
The loophole defect problem of application program is held, further optimizes user experience.
In order to make it easy to understand, by taking a concrete application scene as an example, the embodiment of the present invention is specifically introduced.
In the present embodiment, h5app/www files are the file for the preservation application program specified in server.
Include the version.json files for preserving version information in h5app/www files.In version.json files
Have and include name, the list of md5 fields and version fields.The preservation application program that file files are specified for client
File, likewise, including the version.json files for storage version information in file files.
In the present embodiment, the method that application program heat updates comprises the following steps that:
Step 1, when detecting the web programs of renewal, first by the h5app/www under server web program roots
The file in addition to version.json under file is deleted, and retains version.json files, version.json files
In include the message digest value of old version All Files.
Step 2, the web programs of renewal are saved under the h5app/www files of weblication.
Step 3, renewal weblication interface is accessed, starts to pack the web programs of renewal, in the interface
The message digest value of the All Files under h5app/www files in addition to version.json files can be calculated, forms one
The list of name, md5 field, wherein name fields save the relative path of file, and md5 fields save disappearing for each file
Cease digest value.The list formed according to message digest value, can obtain the current version information of server end.
Step 4, obtained in weblication interface under h5app/www files in version.json files updating
All message digest values in face.
Step 5, old version information is obtained by message digest value in version.json files, and by current version
Information is compared with old version information.If current version information does not have difference to be judged as packing with old version information
Terminate, exit renewal weblication interface.
Step 6, when current version information and old version information differ, obtain under h5app/www files
Version fields inside version.json files, since version fields representing to calculate issuing the application program
Renewal number, when current version information and old version information differ by version fields increase by 1, if version
Field void value is set to 1, and by the name of the current version of generation, the list of md5 fields is saved in version.json texts
Inside part, as server version information.
Step 7, the packing of h5app/www files is generated to the compressed package of entitled www.zip, is put into this file of h5app
Under folder, renewal weblication interface is then log out.
Step 8, when opening client application, client application can send the file texts of current application program
The version fields inside version.json under part folder.
Step 9, server end gets the version fields that client is transmitted through coming, and then obtains current server
Verison fields inside version.json, client version fields and server version fields are contrasted,
Sky information is returned to if do not updated, is directly entered application program;If renewal with being returned to the download of www.zip files
Location is to client application.
Step 10, client downloads www.zip files according to the download address of the www.zip files of return.
Step 11, the All Files under current file files is deleted;
Step 12, the www.zip files for decompressing download are completed to file files, at this time renewal.Subsequently into using journey
Sequence homepage.
Embodiment two
As shown in figure 4, the system 100 for the application program heat renewal that one embodiment of the present of invention provides, for performing Fig. 1
Method and step in corresponding embodiment, it includes:
Web programs preserving module 110, for preserving the web programs of renewal;
Version information acquisition module 120, for obtaining the message digest value of each file in web programs, and according to message
Summary is worth to server end version information;
Compressed package generation module 130, for compressing web Program Generating compressed packages, and obtains the download address of compressed package;
First version information comparison module 140, for when the client release for the application program for receiving client transmission
After information, server end version information is compared with client release information;
Download address sending module 150, will for when server end version information and client release information differ
The download address of compressed package is sent to client so that client downloads compressed package carries out the renewal of application program.
As shown in figure 5, in one embodiment of the invention, the system 100 of application program heat renewal is further included for holding
The structure of the method and step in embodiment corresponding to row Fig. 2, it includes:
Old version removing module 160, for when detecting that web programs have renewal, deleting the old version to prestore
Web programs, and retain old version information, the old version information each text in the web programs including the old version
The message digest value of part;
Web programs copy module 170, for the web programs of renewal to be copied under default file directory.
The present embodiment is realized when detecting program renewal fast and effectively in the work(of server end renewal new version
Can, renewal efficiency is improved, further completes more new business and the rapid reparation of early version bug.
As shown in fig. 6, in one embodiment of the invention, the version information in the embodiment corresponding to Fig. 4 obtains mould
Block 120 includes:
Current version information generating unit 121, the message digest value for obtaining each file in the web programs generate
Current version information;
Second edition information comparing unit 122, for the current version information and the old version information to be carried out
Compare;
Server end version information acquiring unit 123, for when the current version information and the old version information
When differing, the old version information is deleted, using the current version information as the server end version information.
The embodiment of the present invention realizes the heat renewal of web programs, completes more new business and the rapid of early version bug is repaiied
It is multiple, it ensure that the newest web programs of server are accurately transferred to client with less data volume, optimize user's body
Test.
As shown in fig. 7, in one embodiment of the invention, the system 100 of application program heat renewal is further included for holding
The structure of the method and step in embodiment corresponding to row Fig. 3, it includes:
Message digest value acquisition module 180, for obtaining the message digest value of compressed package;
Message digest value sending module 190, it is for when client downloads compressed package, the message digest value of compressed package is same
When send to client so that client carries out the message digest value of the compressed package after download and the message digest value of compressed package
Whether contrast judgement downloads success.
The embodiment of the present invention realizes real-time, the quick renewal of client application, and quickly repairs client
The loophole defect problem of application program is held, further optimizes user experience.
Embodiment three
Fig. 8 is the schematic diagram for the server that one embodiment of the invention provides.As shown in figure 8, the server 8 of the embodiment wraps
Include:Processor 80, memory 81 and it is stored in the computer that can be run in the memory 81 and on the processor 80
Program 82.The processor 80 realizes the step in each embodiment as described in embodiment one when performing the computer program 82
Suddenly, such as the step 201 shown in Fig. 2 is to 202.Alternatively, the processor 80 is realized strictly according to the facts when performing the computer program 82
Apply the function of each module/unit in each system embodiment described in example two, such as the work(of module 110 to 140 shown in Fig. 4
Energy.
The server 8 can be the computing devices such as desktop PC, notebook, palm PC and cloud server.
The server may include, but be not limited only to, processor 80, memory 81.It will be understood by those skilled in the art that Fig. 8 is only
It is the example of server 8, does not form the restriction to server 8, can includes than illustrating more or fewer components, or group
Close some components, or different components, for example, the server 8 can also include input-output equipment, network access equipment,
Bus etc..
Alleged processor 80 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 81 can be the internal storage unit of the server 8, such as the hard disk or memory of server 8.
The memory 81 can also be the External memory equipment of the server 8, such as the plug-in type being equipped with the server 8 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 81 can also both include the internal storage unit of the server 8 or wrap
Include External memory equipment.The memory 81 is used to store the computer program and other journeys needed for the server 8
Sequence and data.The memory 81 can be also used for temporarily storing the data that has exported or will export.
Example IV
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, and computer-readable recording medium storage has meter
Calculation machine program, realizes the step in each embodiment as described in embodiment one when computer program is executed by processor, such as
Step S201 to step S202 shown in Fig. 2.Alternatively, realized when the computer program is executed by processor as in embodiment two
The function of each module/unit in each system embodiment, such as the function of the module 110 to 150 shown in Fig. 4.
The computer program can be stored in a computer-readable recording medium, and the computer program is by processor
During execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code,
The computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..Institute
Stating computer-readable medium can include:Can carry any entity or device of the computer program code, recording medium,
USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need
It is bright, the content that the computer-readable medium includes can according in jurisdiction legislation and patent practice requirement into
The appropriate increase and decrease of row, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electricity
Carrier signal and telecommunication signal.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, may refer to the associated description of other embodiments.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in system of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed systems/servers and method, Ke Yitong
Other modes are crossed to realize.For example, system described above/terminal device embodiment is only schematical, for example, described
The division of module or unit, is only a kind of division of logic function, can there is other dividing mode when actually realizing, such as more
A unit or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each
Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical solution, should all
Within protection scope of the present invention.
Claims (10)
- A kind of 1. method of application program heat renewal, it is characterised in that including:Preserve the web programs of renewal;The message digest value of each file in the web programs is obtained, and server end version is worth to according to the eap-message digest This information;The web Program Generatings compressed package is compressed, and obtains the download address of the compressed package;After the client release information of application program of client transmission is received, by the server end version information and institute Client release information is stated to be compared;When the server end version information and the client release information differ, by the download address of the compressed package Send to the client so that compressed package described in the client downloads carries out the renewal of application program.
- 2. the method for a kind of application program heat renewal according to claim 1, it is characterised in that described to preserve what is updated Before web programs, including:When detecting that web programs have renewal, the web programs of the old version to prestore are deleted, and retain old version information, institute State the message digest value of each file in web programs of the old version information including the old version;The web programs of renewal are copied under default file directory.
- 3. the method for a kind of application program heat renewal according to claim 1, it is characterised in that described to obtain the web The message digest value of each file in program, and server end version information is worth to according to the eap-message digest, specifically include:Obtain the message digest value generation current version information of each file in the web programs;The current version information is compared with the old version information;When the current version information and the old version information differ, the old version information is deleted, by described in Current version information is as the server end version information.
- A kind of 4. method of application program heat renewal according to claim 1, it is characterised in that the server end version Information includes the message digest value and its corresponding file storing path.
- 5. the method for a kind of application program heat renewal according to claim 1, it is characterised in that the method further includes:Obtain the message digest value of the compressed package;When compressed package described in the client downloads, the message digest value of the compressed package is sent to the client at the same time End, so that the message digest value of the compressed package after download is compared the client with the message digest value of the compressed package Judge whether to download successfully.
- A kind of 6. system of application program heat renewal, it is characterised in that including:Web program preserving modules, for preserving the web programs of renewal;Version information acquisition module, for obtaining the message digest value of each file in the web programs, and according to the message Summary is worth to server end version information;Compressed package generation module, for compressing the web Program Generatings compressed package, and obtains the download address of the compressed package;First version information comparison module, for when receive client transmission application program client release information after, The server end version information is compared with the client release information;Download address sending module, for when the server end version information and the client release information differ, The download address of the compressed package is sent to the client so that compressed package described in the client downloads carries out applying journey The renewal of sequence.
- A kind of 7. system of application program heat renewal according to claim 6, it is characterised in that the system also includes:Old version removing module, for when detecting that web programs have renewal, deleting the web programs of the old version to prestore, And retain old version information, the message of the old version information each file in the web programs including the old version Digest value;Web programs copy module, for the web programs of renewal to be copied under default file directory.
- 8. the system of a kind of application program heat renewal according to claim 6, it is characterised in that the version information obtains Module includes:Current version information generating unit, the message digest value for obtaining each file in the web programs generate current version This information;Second edition information comparing unit, for the current version information to be compared with the old version information;Server end version information acquiring unit, for being differed when the current version information and the old version information When, the old version information is deleted, using the current version information as the server end version information.
- 9. a kind of server, including memory, processor and it is stored in the memory and can transports on the processor Capable computer program, it is characterised in that the processor realizes such as claim 1 to 5 times when performing the computer program The step of method of application program heat renewal described in one.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In realization is such as the heat renewal of claim 1 to 5 any one of them application program when the computer program is executed by processor The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711069012.XA CN108037946B (en) | 2017-11-03 | 2017-11-03 | Method, system and server for hot updating of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711069012.XA CN108037946B (en) | 2017-11-03 | 2017-11-03 | Method, system and server for hot updating of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108037946A true CN108037946A (en) | 2018-05-15 |
CN108037946B CN108037946B (en) | 2020-06-12 |
Family
ID=62093749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711069012.XA Active CN108037946B (en) | 2017-11-03 | 2017-11-03 | Method, system and server for hot updating of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108037946B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109375932A (en) * | 2018-09-18 | 2019-02-22 | 广州虎牙信息科技有限公司 | Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair |
CN109491687A (en) * | 2018-11-16 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of hot update method, device, terminal and the readable medium of application software |
CN109656595A (en) * | 2018-12-10 | 2019-04-19 | 北京百家互联科技有限公司 | The method, apparatus and system that client-side program updates |
CN110046167A (en) * | 2019-02-18 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Data-updating method and system |
CN110162319A (en) * | 2019-04-15 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Application program update method, apparatus, computer equipment and storage medium |
CN111399877A (en) * | 2020-03-09 | 2020-07-10 | 网易(杭州)网络有限公司 | Login method, device, electronic equipment and storage medium |
CN111679842A (en) * | 2019-03-11 | 2020-09-18 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN111782251A (en) * | 2020-08-18 | 2020-10-16 | 广联达科技股份有限公司 | Software function module updating method and device and computer equipment |
CN111813787A (en) * | 2020-04-08 | 2020-10-23 | 北京嘀嘀无限科技发展有限公司 | Map data issuing method, map data updating method, storage medium and electronic equipment |
CN111930398A (en) * | 2020-07-24 | 2020-11-13 | 北京柠檬微趣科技股份有限公司 | Application program updating method, device, system, medium and equipment |
CN111953475A (en) * | 2020-07-23 | 2020-11-17 | 上海连尚网络科技有限公司 | Method and device for repairing code bugs |
CN112328283A (en) * | 2020-11-12 | 2021-02-05 | 北京字节跳动网络技术有限公司 | Application program updating method, device, equipment and medium |
CN112783539A (en) * | 2020-04-20 | 2021-05-11 | 招商证券股份有限公司 | Application updating method, system, terminal device and storage medium |
CN113672268A (en) * | 2021-06-18 | 2021-11-19 | 杭州玳数科技有限公司 | Silent updating method and device for front-end resources and computer equipment |
CN115348174A (en) * | 2022-08-15 | 2022-11-15 | 中国工商银行股份有限公司 | Hot refresh method, apparatus, system, device, medium, and program product |
CN115473810A (en) * | 2022-09-01 | 2022-12-13 | 珠海金山数字网络科技有限公司 | Double-end synchronous script hot updating method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724308A (en) * | 2012-06-13 | 2012-10-10 | 腾讯科技(深圳)有限公司 | Software update method and software update system |
US20150082294A1 (en) * | 2012-05-28 | 2015-03-19 | Huawei Device Co., Ltd. | Method and Apparatus for Generating Firmware Over the Air Upgrade Package |
CN104778063A (en) * | 2015-04-16 | 2015-07-15 | 小米科技有限责任公司 | Method and device for updating resource |
US20160048403A1 (en) * | 2014-08-15 | 2016-02-18 | Centurylink Intellectual Property Llc | Multi-line/Multi-state Virtualized OAM Transponder |
CN106095500A (en) * | 2016-06-08 | 2016-11-09 | 江苏中威科技软件系统有限公司 | A kind of method and system of automatic software updating |
CN107016280A (en) * | 2017-03-31 | 2017-08-04 | 武汉票据交易中心有限公司 | The upgrade method and system of a kind of client application |
-
2017
- 2017-11-03 CN CN201711069012.XA patent/CN108037946B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150082294A1 (en) * | 2012-05-28 | 2015-03-19 | Huawei Device Co., Ltd. | Method and Apparatus for Generating Firmware Over the Air Upgrade Package |
CN102724308A (en) * | 2012-06-13 | 2012-10-10 | 腾讯科技(深圳)有限公司 | Software update method and software update system |
US20160048403A1 (en) * | 2014-08-15 | 2016-02-18 | Centurylink Intellectual Property Llc | Multi-line/Multi-state Virtualized OAM Transponder |
CN104778063A (en) * | 2015-04-16 | 2015-07-15 | 小米科技有限责任公司 | Method and device for updating resource |
CN106095500A (en) * | 2016-06-08 | 2016-11-09 | 江苏中威科技软件系统有限公司 | A kind of method and system of automatic software updating |
CN107016280A (en) * | 2017-03-31 | 2017-08-04 | 武汉票据交易中心有限公司 | The upgrade method and system of a kind of client application |
Non-Patent Citations (3)
Title |
---|
INTELLIGENT TECHNOLOGIES: "To Upgrade or Not to Upgrade: Compare Dynamics GP Versions", 《HTTPS://WWW.ERPSOFTWAREBLOG.COM/2017/05/TO-UPGRADE-OR-NOT-TO-UPGRADE-COMPARE-DYNAMICS-GP-VERSIONS》 * |
Y3G: "谈谈混合App Web资源的打包与增量更新", 《HTTPS://WWW.CNBLOGS.COM/LEGENDLEE/P/5598989.HTML》 * |
简书: "游戏大版本更新和热更新", 《HTTPS://WWW.JIANSHU.COM/P/B47940BA1433》 * |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109375932A (en) * | 2018-09-18 | 2019-02-22 | 广州虎牙信息科技有限公司 | Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair |
CN109491687B (en) * | 2018-11-16 | 2022-02-22 | 北京字节跳动网络技术有限公司 | Hot updating method and device of application software, terminal and readable medium |
CN109491687A (en) * | 2018-11-16 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of hot update method, device, terminal and the readable medium of application software |
CN109656595A (en) * | 2018-12-10 | 2019-04-19 | 北京百家互联科技有限公司 | The method, apparatus and system that client-side program updates |
CN110046167B (en) * | 2019-02-18 | 2024-03-26 | 创新先进技术有限公司 | Data updating method and system |
CN110046167A (en) * | 2019-02-18 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Data-updating method and system |
CN111679842A (en) * | 2019-03-11 | 2020-09-18 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN111679842B (en) * | 2019-03-11 | 2023-06-23 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN110162319A (en) * | 2019-04-15 | 2019-08-23 | 深圳壹账通智能科技有限公司 | Application program update method, apparatus, computer equipment and storage medium |
CN111399877A (en) * | 2020-03-09 | 2020-07-10 | 网易(杭州)网络有限公司 | Login method, device, electronic equipment and storage medium |
CN111399877B (en) * | 2020-03-09 | 2024-05-17 | 网易(杭州)网络有限公司 | Login method and device, electronic equipment and storage medium |
CN111813787A (en) * | 2020-04-08 | 2020-10-23 | 北京嘀嘀无限科技发展有限公司 | Map data issuing method, map data updating method, storage medium and electronic equipment |
CN112783539A (en) * | 2020-04-20 | 2021-05-11 | 招商证券股份有限公司 | Application updating method, system, terminal device and storage medium |
CN111953475A (en) * | 2020-07-23 | 2020-11-17 | 上海连尚网络科技有限公司 | Method and device for repairing code bugs |
CN111930398B (en) * | 2020-07-24 | 2023-06-27 | 北京柠檬微趣科技股份有限公司 | Application program updating method, device, system, medium and equipment |
CN111930398A (en) * | 2020-07-24 | 2020-11-13 | 北京柠檬微趣科技股份有限公司 | Application program updating method, device, system, medium and equipment |
CN111782251B (en) * | 2020-08-18 | 2024-04-30 | 广联达科技股份有限公司 | Method and device for updating software function module and computer equipment |
CN111782251A (en) * | 2020-08-18 | 2020-10-16 | 广联达科技股份有限公司 | Software function module updating method and device and computer equipment |
CN112328283A (en) * | 2020-11-12 | 2021-02-05 | 北京字节跳动网络技术有限公司 | Application program updating method, device, equipment and medium |
CN113672268A (en) * | 2021-06-18 | 2021-11-19 | 杭州玳数科技有限公司 | Silent updating method and device for front-end resources and computer equipment |
CN115348174A (en) * | 2022-08-15 | 2022-11-15 | 中国工商银行股份有限公司 | Hot refresh method, apparatus, system, device, medium, and program product |
CN115473810A (en) * | 2022-09-01 | 2022-12-13 | 珠海金山数字网络科技有限公司 | Double-end synchronous script hot updating method and device |
CN115473810B (en) * | 2022-09-01 | 2024-04-26 | 珠海金山数字网络科技有限公司 | Double-end synchronous script hot updating method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108037946B (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108037946A (en) | A kind of method, system and the server of the renewal of application program heat | |
CN107682436A (en) | A kind of method, apparatus and equipment of more new file | |
CN110058873A (en) | Application page update method, device, equipment and storage medium | |
CN108491236A (en) | A kind of plug-in loading method, device and computer readable storage medium | |
CN105740016B (en) | Increment issuing method and device, upgrading method and device of application program | |
US20190114303A1 (en) | System and method for applying extended regular expressions against arbitrary data objects | |
CN108280227A (en) | Data information processing method based on caching and device | |
CN109908585A (en) | A kind of document handling method and system calculate equipment and storage medium | |
CN107239309A (en) | Patch generation method and device, update method, electronic equipment, storage medium | |
CN107844306A (en) | Restorative procedure, device, storage medium and the terminal of application program | |
CN109831476A (en) | Installation kit method for down loading, device, electronic equipment and storage medium | |
CN112729868A (en) | Vehicle diagnosis method, device, equipment and medium | |
CN114564227A (en) | Application program updating method and device, electronic equipment and storage medium | |
CN113961226A (en) | Software development kit repairing method, terminal, server and equipment | |
CN117707837A (en) | Interface parameter verification method, device, equipment and readable storage medium | |
CN106897052A (en) | APK file compression method and device | |
CN108446300A (en) | The scan method and device of data information | |
CN107749916A (en) | The method and device that a kind of mobile phone ROM high in the clouds real-time customization is downloaded | |
CN110059276A (en) | Method for updating pages, device, equipment and storage medium | |
CN115599401A (en) | Publishing method, device, equipment and medium of user-defined model | |
CN109656611A (en) | Three-dimensional visualization applies hot update method, device and terminal | |
CN111159142A (en) | Data processing method and device | |
WO2022028046A1 (en) | Image configuration method, device and system, and storage medium | |
CN115082248A (en) | Service information processing method and device, electronic equipment and storage medium | |
CN108008984A (en) | A kind of resource file downloading updating 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |