CN105549996B - Application program updating method of mobile terminal and mobile terminal - Google Patents
Application program updating method of mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN105549996B CN105549996B CN201510915136.XA CN201510915136A CN105549996B CN 105549996 B CN105549996 B CN 105549996B CN 201510915136 A CN201510915136 A CN 201510915136A CN 105549996 B CN105549996 B CN 105549996B
- Authority
- CN
- China
- Prior art keywords
- file
- static
- index file
- updating
- application program
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The invention discloses an application program updating method of a mobile terminal and the mobile terminal, wherein the method comprises the following steps: when an application program is started for the first time, a static file storage space is allocated for the application program, and a static file in an installation package of the application program is copied to the static file storage space for storage; performing networking check to judge whether updating is needed or not; and when the application program needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to finish the updating of the application program. By using the method and the device, the application program of the mobile terminal does not need to be downloaded again when being updated, so that the updating efficiency of the application program of the mobile terminal is greatly improved.
Description
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to an application updating method for a mobile terminal and a mobile terminal.
Background
With the popularization of mobile terminal devices, more and more mobile applications (such as WeChat, Paibao and the like) are in the process of transportation, and convenience is provided for daily life of people.
When a traditional mobile application is installed, a static file in an application installation package is installed in a storage area, and due to the limitation of the system, only the file in the storage area can be read, but the file in the storage area cannot be changed.
This approach results in the user having to re-download a new complete application installation package and replace the old application installation package when an update is required, making the entire update process inefficient and resulting in a large number of redundant files being repeatedly downloaded.
Disclosure of Invention
The embodiment of the invention provides an application program updating method of a mobile terminal and the mobile terminal, which can improve the updating efficiency of the application program of the mobile terminal.
The embodiment of the invention provides an application program updating method of a mobile terminal, which comprises the following steps:
when an application program is started for the first time, a static file storage space is allocated for the application program, and a static file in an installation package of the application program is copied to the static file storage space for storage; wherein the static file comprises a configuration file and an html file of the application program;
performing networking check to judge whether updating is needed or not;
when the application program needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the updating of the application program;
the method for updating the application program of the mobile terminal further comprises the following steps:
judging whether all the static files in the installation package of the application program are successfully copied into the static file storage space for storage;
when the copying is successful, recording a copying success identifier;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, judging whether the copy success identification exists or not;
when the copy success identification does not exist, the static file needing to be updated is prohibited to be downloaded from the server to the static file storage space;
and when the copy success identification exists, downloading the static file needing to be updated from the server to the static file storage space so as to finish the updating of the application program.
In an embodiment, the performing networking check to determine whether an update is needed specifically includes:
sending an index file acquisition request to a server, and acquiring a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
comparing the first index file with a second index file stored in the mobile terminal, and judging that updating is needed when the contents of the first index file and the second index file are not completely consistent; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
In another embodiment, the performing networking check to determine whether updating is needed specifically includes:
reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
sending the content modification time of the second index file to a server, and comparing the content modification time of the second index file with the content modification time of the first index file by the server; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
when information that the content modification time returned by the server is inconsistent is obtained, the updating is judged to be needed;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, the first index file is obtained from a server;
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
In another embodiment, the performing networking check to determine whether updating is needed specifically includes:
sending a modification time acquisition request to a server, and acquiring the content modification time of a first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
comparing the content modification time of the first index file with the content modification time of the second index file, and judging that updating is needed when the content modification time of the first index file is inconsistent with the content modification time of the second index file;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, sending an index file acquisition request to a server, and acquiring the first index file from the server;
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file.
More preferably, the performing of the networking check to determine whether the updating is required is to perform the networking check and determine whether the updating is required when a preset networking check time is reached.
More preferably, the performing of the networking check to determine whether the updating is required is to perform the networking check to determine whether the updating is required when a preset networking check time is reached and the time between the current time and the last networking check exceeds a preset time interval.
More preferably, the networking check opportunity is when the application program is started.
More preferably, the method for updating an application program of a mobile terminal further includes:
judging whether the copy success identification exists or not when the application program is started every time;
when the copy success identification exists, reading the static file in the static file storage space;
and when the copy success identification does not exist, reading the static file in the installation package.
Correspondingly, the invention also provides a mobile terminal, comprising:
the storage space allocation module is used for allocating a static file storage space for the application program when the application program is started for the first time, and copying the static file in the installation package of the application program into the static file storage space for storage; wherein the static file comprises a configuration file and an html file of the application program;
the network checking module is used for carrying out network checking so as to judge whether updating is needed or not;
the application program updating module is used for downloading the latest static file from the server to the static file storage space and covering the static file with the same name in the static file storage space to complete the updating of the application program when the updating is needed;
the mobile terminal further includes:
the copying success judging module is used for judging whether all the static files in the installation package of the application program are successfully copied to the static file storage space for storage;
the identification recording module is used for recording a successful copying identification when the copying is successful;
the application update module comprises:
an identifier determining unit, configured to determine whether the identifier indicating that the copy is successful exists before downloading the static file to be updated from the server into the static file storage space;
and the updating forbidding unit is used for forbidding downloading the static file needing to be updated from the server to the static file storage space when the copy success identification is judged not to exist.
And the static file downloading unit is used for downloading the static file to be updated from the server to the static file storage space when the copy success identification is judged to exist.
In one embodiment, the networking check module specifically includes:
the index file acquisition unit is used for sending an index file acquisition request to the server and acquiring a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
the index file comparison unit is used for comparing the first index file with a second index file stored in the mobile terminal, and judging that updating is needed when the contents of the first index file and the second index file are not completely consistent; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
the application program updating module specifically comprises:
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
In another embodiment, the networking check module specifically includes:
an index file reading unit for reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
a modification time transmitting unit, configured to transmit the content modification time of the second index file to a server, where the server compares the content modification time of the second index file with the content modification time of the first index file; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
the updating judging unit is used for judging that updating is needed when the information that the content modification time returned by the server is inconsistent is acquired;
the application program updating module specifically comprises:
the index file acquisition unit is used for sending an index file acquisition request to the server when updating is needed, and acquiring the first index file from the server;
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
In another embodiment, the networking check module specifically includes:
a modification time acquisition unit for sending a modification time acquisition request to the server to acquire content modification time of a first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
an index file reading unit for reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
the updating judging unit is used for comparing the content modification time of the first index file with the content modification time of the second index file, and judging that updating is needed when the content modification time of the first index file is inconsistent with the content modification time of the second index file;
the application program updating module specifically comprises:
the index file acquisition unit is used for acquiring the first index file from a server when updating is needed;
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
More preferably, the version number is an MD5 value of the static file.
More preferably, the networking check module is specifically configured to perform networking check when a preset networking check time is reached, and determine whether updating is required.
More preferably, the networking check module is specifically configured to perform networking check when a preset networking check time is reached and a time between a current time and a last networking check exceeds a preset time interval, so as to determine whether updating is required.
More preferably, the networking check opportunity is when the application program is started.
More preferably, the mobile terminal further includes:
the identification judging module is used for judging whether the copy success identification exists or not when the application program is started every time;
the first static file reading module is used for reading the static file in the static file storage space when the copy success identification exists;
and the second static file reading module is used for reading the static files in the installation package when the copy success identification does not exist.
The embodiment of the invention has the following beneficial effects: the invention provides an application program updating method of a mobile terminal, which comprises the steps of generating a static file storage space, copying a static file of an installation package of the application program to the static file storage space, downloading the latest static file to the static file storage space and covering the static file with the same name each time the update is needed, solving the problem that the static file in the installation package cannot be modified in the prior art and a complete installation package needs to be downloaded again for updating, and greatly improving the updating efficiency of the application program of the mobile terminal. Meanwhile, the invention also provides a mobile terminal which is used for executing the application program updating method of the mobile terminal.
Drawings
Fig. 1 is a flowchart illustrating a method for updating an application program of a mobile terminal according to a first embodiment of the present invention;
fig. 2 is a block diagram of a mobile terminal according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating step S2 of the application updating method of the mobile terminal according to the second embodiment of the present invention;
fig. 4 is a flowchart illustrating step S3 of the application updating method of the mobile terminal according to the second embodiment of the present invention;
fig. 5 is a block diagram of the networking check module 2 of the second embodiment of the mobile terminal provided by the present invention;
fig. 6 is a block diagram of the application update module 3 of the second embodiment of the mobile terminal provided in the present invention;
fig. 7 is a flowchart illustrating step S2 of the application updating method of the mobile terminal according to the third embodiment of the present invention;
fig. 8 is a flowchart illustrating step S3 of the application updating method of the mobile terminal according to the third embodiment of the present invention;
fig. 9 is a block diagram of the networking check module 2 of the third embodiment of the mobile terminal provided by the present invention;
fig. 10 is a block diagram showing the structure of the application update module 3 according to the third embodiment of the mobile terminal provided in the present invention;
fig. 11 is a flowchart illustrating step S2 of the application updating method of the mobile terminal according to the fourth embodiment of the present invention;
fig. 12 is a flowchart illustrating step S3 of the application updating method of the mobile terminal according to the fourth embodiment of the present invention;
fig. 13 is a block diagram of the networking check module 2 of the fourth embodiment of the mobile terminal provided by the present invention;
fig. 14 is a block diagram of the application update module 3 of the fourth embodiment of the mobile terminal provided by the present invention;
fig. 15 is a flowchart illustrating an application updating method of a mobile terminal according to a fifth embodiment of the present invention;
fig. 16 is a flowchart illustrating step S55 in the fifth embodiment of the application updating method for a mobile terminal according to the present invention;
fig. 17 is a block diagram illustrating a fifth embodiment of a mobile terminal according to the present invention;
fig. 18 is a block diagram of the application update module 55 in the fifth embodiment of the mobile terminal according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, it is a flowchart illustrating a method for updating an application program of a mobile terminal according to a first embodiment of the present invention, where the method includes the following steps:
s1, when the application program is started for the first time, allocating a static file storage space for the application program, and copying the static file in the installation package of the application program to the static file storage space for storage;
s2, performing networking check to judge whether updating is needed;
and S3, when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the updating of the application.
The static file comprises a configuration file and an html file of the application program.
In step S2, specifically, when the preset networking check time is reached, the networking check is performed to determine whether the update is needed. For example, the networking check opportunity is when the application is started. Namely, when the application program is started each time, networking check is carried out, and whether updating is needed or not is judged.
More preferably, the performing of the networking check to determine whether the updating is required is to perform the networking check to determine whether the updating is required when a preset networking check time is reached and the time between the current time and the last networking check exceeds a preset time interval. For example, if the preset time interval is 20 minutes, the next networking check will not be performed within 20 minutes of the last networking check (even if the preset networking check time is reached), thereby reducing the data amount requested by the network.
In this embodiment, when the application program is started for the first time, a static file storage space is allocated to the application program, and the static file storage space is used for storing the static file copied from the installation package, so that the static file in the static file storage space can be modified without being limited by a system, online update can be realized, a new installation package does not need to be downloaded again, and the update efficiency of the application program is improved.
Correspondingly, the invention also provides a first embodiment of the mobile terminal. Referring to fig. 2, it is a block diagram of a mobile terminal according to a first embodiment of the present invention, including:
the storage space allocation module 1 is used for allocating a static file storage space for the application program when the application program is started for the first time, and copying the static file in the installation package of the application program into the static file storage space for storage;
the networking check module 2 is used for performing networking check to judge whether updating is needed or not;
and the application program updating module 3 is used for downloading the latest static file from the server to the static file storage space and covering the static file with the same name in the static file storage space when the application program needs to be updated so as to finish the updating of the application program.
The networking check module 2 is specifically configured to perform networking check when a preset networking check time is reached, and determine whether updating is required. For example, the networking check opportunity is when the application is started. Namely, when the application program is started each time, networking check is carried out, and whether updating is needed or not is judged.
More preferably, the networking check module 2 is specifically configured to perform networking check when a preset networking check time is reached and a time between a current time and a last networking check exceeds a preset time interval, so as to determine whether to need to perform updating. For example, if the preset time interval is 20 minutes, the next networking check will not be performed within 20 minutes of the last networking check (even if the preset networking check time is reached), thereby reducing the data amount requested by the network.
The first embodiment of the mobile terminal according to the present invention is configured to execute all the method steps of the first embodiment of the method for updating an application program of the mobile terminal, and the working principles and beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
The present invention further provides a second embodiment of the method for updating an application of a mobile terminal, which comprises steps S1 to S3 of the first embodiment of the method for updating an application of a mobile terminal, further defining step S2 and step S3.
Referring to fig. 3 and 4, fig. 3 is a flowchart illustrating step S2 of a second embodiment of an application updating method for a mobile terminal according to the present invention, and fig. 4 is a flowchart illustrating step S3 of the second embodiment of the application updating method for a mobile terminal according to the present invention.
The step S2 specifically includes:
s211, sending an index file acquisition request to a server, and acquiring a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
s212, comparing the first index file with a second index file stored in the mobile terminal, and judging that updating is needed when the contents of the first index file and the second index file are not completely consistent; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
the step S3 specifically includes:
s311, by comparing the version numbers of the two static files with the same name in the first index file and the second index file one by one, the static file needing to be updated and/or the newly added static file are searched out;
s312, downloading the static files to be updated and/or the newly added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
s313, overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
In this embodiment, the version number of each static file of the application program currently stored in the server is recorded by the first index file, the version number of each static file of the application program currently stored in the mobile terminal is recorded by the second index file, whether the application program needs to be updated can be known by comparing the first index file with the second index file, and the static file needing to be updated and/or the newly added static file are/is found and downloaded, so that all the static files do not need to be downloaded, the data traffic and the required time required to be downloaded are reduced, and the efficiency of updating the application program is improved.
Correspondingly, the present invention further provides a second embodiment of the mobile terminal, which includes the storage space allocation module 1, the networking check module 2, and the application program update module 3 of the first embodiment of the mobile terminal, and further defines the networking check module 2 and the application program update module 3.
Referring to fig. 5 and fig. 6, fig. 5 is a block diagram of a networking check module 2 according to a second embodiment of the mobile terminal provided by the present invention, and fig. 6 is a block diagram of an application update module 3 according to a second embodiment of the mobile terminal provided by the present invention.
The networking check module 2 specifically includes:
an index file obtaining unit 211, configured to send an index file obtaining request to a server, and obtain a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
an index file comparing unit 212, configured to compare the first index file with a second index file stored in the mobile terminal, and when the contents of the first index file and the second index file are not completely consistent, determine that updating is required; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
the application program update module 3 specifically includes:
a version number comparing unit 311, configured to find out a static file that needs to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
a static file downloading unit 312, configured to download, from the server, a static file to be updated and/or a newly added static file into the static file storage space, and cover a static file with the same name in the static file storage space;
an index file updating unit 313, configured to overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
The second embodiment of the mobile terminal according to the present invention is configured to execute all the method steps of the second embodiment of the method for updating an application program of the mobile terminal, and the working principles and beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
The present invention further provides a third embodiment of an application updating method of a mobile terminal, which comprises steps S1 to S3 of the first embodiment of the application updating method of a mobile terminal, further defining step S2 and step S3.
Referring to fig. 7 and 8, fig. 7 is a flowchart illustrating step S2 of a method for updating an application program of a mobile terminal according to a third embodiment of the present invention, and fig. 8 is a flowchart illustrating step S3 of the method for updating an application program of a mobile terminal according to the third embodiment of the present invention.
The step S2 specifically includes:
s221, reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
s222, sending the content modification time of the second index file to a server, and comparing the content modification time of the second index file with the content modification time of the first index file by the server; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
s223, when the information that the content modification time returned by the server is inconsistent is obtained, judging that the updating is needed;
the step S3 specifically includes:
s321, when updating is needed, the first index file is obtained from a server;
s322, searching for a static file needing to be updated and/or a newly added static file by comparing the version numbers of two static files with the same name in the first index file and the second index file one by one;
s323, downloading the static files to be updated and/or the newly added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
s324, overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
In this embodiment, when determining whether the update is needed, the content modification time of the second index file is sent to the server, and the server compares the content modification time of the second index file with the content modification time of the first index file. Compared with the scheme of the second embodiment of the application program updating method of the mobile terminal, in the embodiment, whether the updating is needed can be judged without downloading the whole first index file, and only one content modification time needs to be sent, so that the data volume of the network request can be greatly reduced.
Correspondingly, the present invention further provides a third embodiment of the mobile terminal, which includes the storage space allocation module 1, the networking check module 2, and the application program update module 3 of the first embodiment of the mobile terminal, and further defines the networking check module 2 and the application program update module 3.
Referring to fig. 9 and 10, fig. 9 is a block diagram of a networking check module 2 according to a third embodiment of the mobile terminal provided by the present invention, and fig. 10 is a block diagram of an application update module 3 according to a third embodiment of the mobile terminal provided by the present invention.
The networking check module 2 specifically includes:
an index file reading unit 221 for reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
a modification time transmitting unit 222, configured to transmit the content modification time of the second index file to a server, where the server compares the content modification time of the second index file with the content modification time of the first index file; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
an update determination unit 223, configured to determine that updating is needed when information that the content modification time returned by the server is inconsistent is acquired;
the application program update module 3 specifically includes:
an index file obtaining unit 321, configured to obtain the first index file from a server when updating is needed;
a version number comparison unit 322, configured to find a static file that needs to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
a static file downloading unit 323, configured to download, from the server, a static file that needs to be updated and/or a newly added static file into the static file storage space, and cover a static file with the same name in the static file storage space;
an index file updating unit 324, configured to overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
The third embodiment of the mobile terminal according to the present invention is configured to execute all the method steps of the third embodiment of the method for updating an application program of the mobile terminal, and the working principles and the beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
The present invention further provides a fourth embodiment of the method for updating an application of a mobile terminal, which comprises steps S1 to S3 of the first embodiment of the method for updating an application of a mobile terminal, further defining step S2 and step S3.
Referring to fig. 11 and 12, fig. 11 is a flowchart illustrating step S2 of a fourth embodiment of an application updating method for a mobile terminal according to the present invention, and fig. 12 is a flowchart illustrating step S3 of the fourth embodiment of the application updating method for a mobile terminal according to the present invention.
The step S2 specifically includes:
s231, sending a modification time acquisition request to the server, and acquiring the content modification time of the first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
s232, reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
s233, comparing the content modification time of the first index file with the content modification time of the second index file, and judging that updating is needed when the two are not consistent;
the step S3 specifically includes:
s331, when updating is needed, sending an index file acquisition request to a server, and acquiring the first index file from the server;
s332, searching for a static file needing to be updated and/or a newly added static file by comparing the version numbers of the two static files with the same name in the first index file and the second index file one by one;
s333, downloading the static file to be updated and/or the newly added static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space;
s334, overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
In this embodiment, when determining whether the update is required, a modification time acquisition request is sent to the server, the content modification time of the first index file stored in the server is acquired, and compared with the content modification time of the second index file, when the two are consistent, it is determined that the update is not required, and when the two are not consistent, it is determined that the update is required. Compared with the scheme of the second embodiment of the application program updating method of the mobile terminal, in the embodiment, whether the updating is needed can be judged without downloading the whole first index file, and only one modification time acquisition request needs to be sent, so that the data volume of the network request can be greatly reduced.
Correspondingly, the present invention further provides a fourth embodiment of the mobile terminal, which includes the storage space allocation module 1, the networking check module 2, and the application program update module 3 of the first embodiment of the mobile terminal, and further defines the networking check module 2 and the application program update module 3.
Referring to fig. 13 and 14, fig. 13 is a block diagram of a networking check module 2 according to a fourth embodiment of the mobile terminal provided by the present invention, and fig. 14 is a block diagram of an application update module 3 according to the fourth embodiment of the mobile terminal provided by the present invention.
The networking check module 2 specifically includes:
a modification time acquisition unit 231 for sending a modification time acquisition request to the server, acquiring a content modification time of the first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
an index file reading unit 232, configured to read a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
an update determining unit 233, configured to compare the content modification time of the first index file with the content modification time of the second index file, and determine that an update is required when the two are not consistent;
the application program update module 3 specifically includes:
an index file obtaining unit 331, configured to send an index file obtaining request to a server when updating is needed, and obtain the first index file from the server;
a version number comparing unit 332, configured to find out a static file that needs to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
a static file downloading unit 333, configured to download, from the server, a static file that needs to be updated and/or a newly added static file into the static file storage space, and cover a static file with the same name in the static file storage space;
an index file updating unit 334, configured to overwrite the first index file with the second index file to update the second index file.
More preferably, the version number is an MD5 value of the static file. The MD5 value may be generated by computer automation and is a natural version number.
The fourth embodiment of the mobile terminal according to the present invention is configured to execute all the method steps of the fourth embodiment of the method for updating an application program of the mobile terminal, and the working principles and beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
The invention also provides a fifth embodiment of the application program updating method of the mobile terminal. As shown in fig. 15, it is a flowchart illustrating a fifth embodiment of an application updating method of a mobile terminal according to the present invention, and includes:
s51, when the application program is started for the first time, allocating a static file storage space for the application program, and copying all static files in the installation package of the application program to the static file storage space for storage;
s52, judging whether the static files in the installation package of the application program are successfully copied to the static file storage space for storage;
s53, when the copy is successful, recording a copy success mark;
s54, performing networking check to judge whether updating is needed;
and S55, when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the updating of the application.
As shown in fig. 16, which is a flowchart illustrating step S55 in the fifth embodiment of the method for updating an application program of a mobile terminal according to the present invention, step S55 includes:
s551, when updating is needed, judging whether the copy success identification exists;
s552, when the copy success identifier does not exist, prohibiting downloading the static file to be updated from the server into the static file storage space;
and S553, when the copy success identifier exists, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application program.
Because the number of static files in the installation package of the application program is large, the copying process is long, and the copying is interrupted possibly due to human factors or system errors, so that the copying is not successful. After the update is executed, the static file may be copied again due to unsuccessful copying, so that the updated static file is overwritten, and therefore, the update is required to be guaranteed after successful copying. According to the scheme of the embodiment, the new static file is downloaded after the copy is successfully carried out, and the safety of the file updating process is improved.
More preferably, the method for updating an application program of a mobile terminal further includes:
judging whether the copy success identification exists or not when the application program is started every time;
when the copy success identification exists, reading the static file in the static file storage space;
and when the copy success identification does not exist, reading the static file in the installation package.
Similarly, the copying process is relatively long, so that the user is prevented from waiting too long, when the copying is not successful, the static files in the installation package are directly read, and when the copying is successful, the static files in the static file storage space are read.
Correspondingly, the invention also provides a fifth embodiment of the mobile terminal. As shown in fig. 17, it is a block diagram of a fifth embodiment of the mobile terminal provided in the present invention, and includes:
the storage space allocation module 51 is configured to allocate a static file storage space for an application program when the application program is started for the first time, and copy a static file in an installation package of the application program to the static file storage space for storage;
a copy success determining module 52, configured to determine whether all the static files in the installation package of the application program are successfully copied to the static file storage space for storage;
an identifier recording module 53, configured to record a copy success identifier when the copy is successful;
a networking check module 54, configured to perform networking check to determine whether updating is required;
and the application program updating module 55 is configured to download the latest static file from the server into the static file storage space when the application program needs to be updated, and cover the static file with the same name in the static file storage space, so as to complete the updating of the application program.
As shown in fig. 18, which is a block diagram of the application update module 55 in the fifth embodiment of the mobile terminal provided in the present invention, step S55 includes: the application update module 55 includes:
an identifier determining unit 551, configured to determine whether the copy success identifier exists before downloading the static file to be updated from the server into the static file storage space;
an update prohibiting unit 552, configured to prohibit downloading the static file to be updated from the server into the static file storage space when it is determined that the copy success flag does not exist.
A static file downloading unit 553, configured to, when it is determined that the copy success flag exists, download a static file that needs to be updated from the server into the static file storage space.
More preferably, the mobile terminal further includes:
the identification judging module is used for judging whether the copy success identification exists or not when the application program is started every time;
the first static file reading module is used for reading the static file in the static file storage space when the copy success identification exists;
and the second static file reading module is used for reading the static files in the installation package when the copy success identification does not exist.
The fifth embodiment of the mobile terminal according to the present invention is configured to execute all the method steps of the fifth embodiment of the method for updating an application program of the mobile terminal, and the working principles and beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
The invention has the beneficial effects that: the invention provides an application program updating method of a mobile terminal, which comprises the steps of generating a static file storage space, copying a static file of an installation package of the application program to the static file storage space, downloading the latest static file to the static file storage space and covering the static file with the same name each time the update is needed, solving the problem that the static file in the installation package cannot be modified in the prior art and a complete installation package needs to be downloaded again for updating, and greatly improving the updating efficiency of the application program of the mobile terminal. Meanwhile, the invention also provides a mobile terminal which is used for executing the application program updating method of the mobile terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (20)
1. An application program updating method of a mobile terminal is characterized by comprising the following steps:
when an application program is started for the first time, a static file storage space is allocated for the application program, and a static file in an installation package of the application program is copied to the static file storage space for storage; wherein the static file comprises a configuration file and an html file of the application program;
performing networking check to judge whether updating is needed or not;
when the application program needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the updating of the application program;
the method for updating the application program of the mobile terminal further comprises the following steps:
judging whether all the static files in the installation package of the application program are successfully copied into the static file storage space for storage;
when the copying is successful, recording a copying success identifier;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, judging whether the copy success identification exists or not;
when the copy success identification does not exist, the static file needing to be updated is prohibited to be downloaded from the server to the static file storage space;
and when the copy success identification exists, downloading the static file needing to be updated from the server to the static file storage space so as to finish the updating of the application program.
2. The application updating method of a mobile terminal according to claim 1,
the performing of the networking check to determine whether updating is needed specifically includes:
sending an index file acquisition request to a server, and acquiring a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
comparing the first index file with a second index file stored in the mobile terminal, and judging that updating is needed when the contents of the first index file and the second index file are not completely consistent; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
3. The application updating method of a mobile terminal according to claim 1,
the performing of the networking check to determine whether updating is needed specifically includes:
reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
sending the content modification time of the second index file to a server, and comparing the content modification time of the second index file with the content modification time of the first index file by the server; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
when information that the content modification time returned by the server is inconsistent is obtained, the updating is judged to be needed;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, sending an index file acquisition request to a server, and acquiring the first index file from the server;
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
4. The application updating method of a mobile terminal according to claim 1,
the performing of the networking check to determine whether updating is needed specifically includes:
sending a modification time acquisition request to a server, and acquiring the content modification time of a first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
comparing the content modification time of the first index file with the content modification time of the second index file, and judging that updating is needed when the content modification time of the first index file is inconsistent with the content modification time of the second index file;
when the application needs to be updated, downloading the latest static file from the server to the static file storage space, and covering the static file with the same name in the static file storage space to complete the update of the application, specifically including:
when updating is needed, the first index file is obtained from a server;
searching for a static file needing to be updated and/or a newly added static file by comparing version numbers of two static files with the same name in the first index file and the second index file one by one;
downloading static files needing to be updated and/or newly-added static files from the server to the static file storage space, and covering the static files with the same name in the static file storage space;
and overlaying the first index file on the second index file to update the second index file.
5. The method for updating application program of mobile terminal according to any of claims 2 to 4, wherein said version number is MD5 value of said static file.
6. The method for updating an application program of a mobile terminal according to any one of claims 1 to 4, wherein the performing of the networking check to determine whether the updating is required is performed specifically by performing the networking check to determine whether the updating is required when a preset networking check time is reached.
7. The method for updating application program of mobile terminal according to claim 6, wherein the networking check time is when the application program is started.
8. The method for updating an application program of a mobile terminal according to any of claims 1 to 4, wherein the performing of the networking check to determine whether the updating is required is performed specifically when a preset networking check time is reached and a time between a current time and a last networking check exceeds a preset time interval, and performing the networking check to determine whether the updating is required.
9. The method for updating application program of mobile terminal according to claim 8, wherein the networking check timing is when the application program is started.
10. The application updating method of the mobile terminal according to claim 1, wherein the application updating method of the mobile terminal further comprises:
judging whether the copy success identification exists or not when the application program is started every time;
when the copy success identification exists, reading the static file in the static file storage space;
and when the copy success identification does not exist, reading the static file in the installation package.
11. A mobile terminal, comprising:
the storage space allocation module is used for allocating a static file storage space for the application program when the application program is started for the first time, and copying the static file in the installation package of the application program into the static file storage space for storage; wherein the static file comprises a configuration file and an html file of the application program;
the network checking module is used for carrying out network checking so as to judge whether updating is needed or not;
the application program updating module is used for downloading the latest static file from the server to the static file storage space and covering the static file with the same name in the static file storage space to complete the updating of the application program when the updating is needed;
the mobile terminal further includes:
the copying success judging module is used for judging whether all the static files in the installation package of the application program are successfully copied to the static file storage space for storage;
the identification recording module is used for recording a successful copying identification when the copying is successful;
the application update module comprises:
an identifier determining unit, configured to determine whether the identifier indicating that the copy is successful exists before downloading the static file to be updated from the server into the static file storage space;
the updating forbidding unit is used for forbidding downloading the static file to be updated from the server to the static file storage space when the copy success identification is judged not to exist;
and the static file downloading unit is used for downloading the static file to be updated from the server to the static file storage space when the copy success identification is judged to exist.
12. The mobile terminal of claim 11,
the networking check module specifically comprises:
the index file acquisition unit is used for sending an index file acquisition request to the server and acquiring a first index file from the server; the first index file records the version number of each static file of the application program currently stored in the server;
the index file comparison unit is used for comparing the first index file with a second index file stored in the mobile terminal, and judging that updating is needed when the contents of the first index file and the second index file are not completely consistent; the second index file records the version number of each static file of the application program currently stored in the mobile terminal;
the application program updating module specifically comprises:
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
13. The mobile terminal of claim 11,
the networking check module specifically comprises:
an index file reading unit for reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
a modification time transmitting unit, configured to transmit the content modification time of the second index file to a server, where the server compares the content modification time of the second index file with the content modification time of the first index file; the first index file is stored in the server and records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
the updating judging unit is used for judging that updating is needed when the information that the content modification time returned by the server is inconsistent is acquired;
the application program updating module specifically comprises:
the index file acquisition unit is used for sending an index file acquisition request to the server when updating is needed, and acquiring the first index file from the server;
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
14. The mobile terminal of claim 11,
the networking check module specifically comprises:
a modification time acquisition unit for sending a modification time acquisition request to the server to acquire content modification time of a first index file stored in the server; the first index file records the version number of each static file of the application program currently stored in the server and the content modification time of the first index file;
an index file reading unit for reading a second index file stored in the mobile terminal; the second index file records the version number of each static file of the application program currently stored in the mobile terminal and the content modification time of the second index file;
the updating judging unit is used for comparing the content modification time of the first index file with the content modification time of the second index file, and judging that updating is needed when the content modification time of the first index file is inconsistent with the content modification time of the second index file;
the application program updating module specifically comprises:
the index file acquisition unit is used for acquiring the first index file from a server when updating is needed;
the version number comparison unit is used for comparing the version numbers of two static files with the same name in the first index file and the second index file one by one to find out the static file needing to be updated and/or the newly added static file;
the static file downloading unit is used for downloading a static file to be updated and/or a newly added static file from the server to the static file storage space and covering the static file with the same name in the static file storage space;
and the index file updating unit is used for covering the first index file with the second index file so as to update the second index file.
15. The mobile terminal according to any of claims 12 to 14, wherein the version number is an MD5 value of the static file.
16. The mobile terminal according to any one of claims 11 to 14, wherein the networking check module is specifically configured to perform networking check and determine whether updating is required when a preset networking check time is reached.
17. The mobile terminal of claim 16, wherein the networking check opportunity is when the application is started.
18. The mobile terminal according to any one of claims 11 to 14, wherein the networking check module is specifically configured to perform networking check to determine whether updating is required when a preset networking check time is reached and a current time exceeds a preset time interval from a last networking check time.
19. The mobile terminal of claim 18, wherein the networking check opportunity is when the application is started.
20. The mobile terminal of claim 11, wherein the mobile terminal further comprises:
the identification judging module is used for judging whether the copy success identification exists or not when the application program is started every time;
the first static file reading module is used for reading the static file in the static file storage space when the copy success identification exists;
and the second static file reading module is used for reading the static files in the installation package when the copy success identification does not exist.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510915136.XA CN105549996B (en) | 2015-12-10 | 2015-12-10 | Application program updating method of mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510915136.XA CN105549996B (en) | 2015-12-10 | 2015-12-10 | Application program updating method of mobile terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105549996A CN105549996A (en) | 2016-05-04 |
CN105549996B true CN105549996B (en) | 2020-03-17 |
Family
ID=55829194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510915136.XA Active CN105549996B (en) | 2015-12-10 | 2015-12-10 | Application program updating method of mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105549996B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106775821A (en) * | 2016-11-21 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of method for upgrading system and device |
CN106843935A (en) * | 2016-12-29 | 2017-06-13 | 广州华多网络科技有限公司 | A kind of method and system for automatically updating static file version number |
CN108304207A (en) * | 2018-03-01 | 2018-07-20 | 上海找钢网信息科技股份有限公司 | Mix the resource regeneration method and system of APP application programs |
CN110162318A (en) * | 2019-04-12 | 2019-08-23 | 厦门天锐科技股份有限公司 | A kind of implementation method that terminal batch unimodule updates |
CN111176679B (en) * | 2019-12-24 | 2023-06-16 | 中国建设银行股份有限公司 | Application program updating method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453418A (en) * | 2007-12-05 | 2009-06-10 | 高德软件有限公司 | Updating method for synchronization between customer terminal and server |
CN104378397A (en) * | 2013-08-15 | 2015-02-25 | 世纪禾光科技发展(北京)有限公司 | Method and system for issuing incremental updating of program package |
CN104778063A (en) * | 2015-04-16 | 2015-07-15 | 小米科技有限责任公司 | Method and device for updating resource |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7693840B1 (en) * | 2004-07-30 | 2010-04-06 | Sprint Communications Company L.P. | Method and system for distribution of common elements |
CN101902763B (en) * | 2009-05-27 | 2013-07-10 | 电信科学技术研究院 | Method and device for configuring and updating broadcast beam weight number |
CN102521031B (en) * | 2011-12-13 | 2014-11-05 | 华为终端有限公司 | Management method of preset application programs of mobile terminal and mobile terminal |
CN103218434B (en) * | 2013-04-15 | 2016-09-14 | 小米科技有限责任公司 | A kind of method and apparatus loading static resource |
-
2015
- 2015-12-10 CN CN201510915136.XA patent/CN105549996B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453418A (en) * | 2007-12-05 | 2009-06-10 | 高德软件有限公司 | Updating method for synchronization between customer terminal and server |
CN104378397A (en) * | 2013-08-15 | 2015-02-25 | 世纪禾光科技发展(北京)有限公司 | Method and system for issuing incremental updating of program package |
CN104778063A (en) * | 2015-04-16 | 2015-07-15 | 小米科技有限责任公司 | Method and device for updating resource |
Also Published As
Publication number | Publication date |
---|---|
CN105549996A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105549996B (en) | Application program updating method of mobile terminal and mobile terminal | |
CN110058873B (en) | Application page updating method, device, equipment and storage medium | |
US7873956B2 (en) | Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor | |
US9971908B2 (en) | Method and apparatus for determining permission of application program | |
CN103220352A (en) | Terminal, server, file storage system and file storage method | |
CN106293782A (en) | A kind of method for upgrading system and terminal | |
CN107783770B (en) | Page configuration updating method, device, server and medium | |
CN112947983B (en) | Application program updating method and device, electronic equipment and storage medium | |
CN107797818A (en) | Application program updating method and device | |
CN111198856A (en) | File management method and device, computer equipment and storage medium | |
CN111831920A (en) | User demand analysis method and device, computer equipment and storage medium | |
CN111190899B (en) | Buried data processing method, buried data processing device, server and storage medium | |
CN112615945A (en) | Domain name resolution record management method and device, computer equipment and storage medium | |
CN113656098A (en) | Configuration acquisition method and system | |
CN109684026B (en) | APP skin replacement method and device, electronic equipment and storage medium | |
CN110209717B (en) | Packaging method and device of basic database, computer equipment and storage medium | |
CN105610596B (en) | Resource directory management method and network terminal | |
CN111367869A (en) | Mirror image file processing method and device, storage medium and electronic equipment | |
CN112347046B (en) | Method for acquiring creation time of file in distributed system | |
CN113948164A (en) | Clinical medicine management method, device, equipment and computer readable storage medium | |
CN114968963A (en) | File overwriting method and device and electronic equipment | |
CN112685064A (en) | Device identification processing method and device, storage medium and electronic device | |
CN108959501B (en) | Method and device for deleting ES index | |
CN106971093B (en) | Recovery method and system of medical software license file | |
CN110825406A (en) | Software upgrading method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |