CN112328283A - Application program updating method, device, equipment and medium - Google Patents

Application program updating method, device, equipment and medium Download PDF

Info

Publication number
CN112328283A
CN112328283A CN202011259611.XA CN202011259611A CN112328283A CN 112328283 A CN112328283 A CN 112328283A CN 202011259611 A CN202011259611 A CN 202011259611A CN 112328283 A CN112328283 A CN 112328283A
Authority
CN
China
Prior art keywords
file
program
updating
application program
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011259611.XA
Other languages
Chinese (zh)
Inventor
林伟鑫
罗浩
董阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011259611.XA priority Critical patent/CN112328283A/en
Publication of CN112328283A publication Critical patent/CN112328283A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure relates to an updating method, a device, equipment and a medium of an application program, wherein the method comprises the following steps: when the application program is started, judging whether a hot update condition is met or not based on a local program entry file; if the hot update condition is met, acquiring a target main program file list; and updating the application program based on the local main program file list and the target main program file list. By adopting the technical scheme, the program entry file is added in the application program, and the hot update logic can be executed after the application program is determined to meet the hot update condition when the application program is started, so that the whole update is avoided, the network bandwidth and time cost of the application program update are greatly reduced, the user experience effect is further improved, the update can be executed in the application program, the development cost is low, and the server does not need to be adjusted.

Description

Application program updating method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for updating an application program.
Background
With the application version updating speed becoming faster and faster, a user wants to update the application program quickly, and iteration, addition and program bug modification of new functions are achieved.
The updating of the application program is usually to pack a full installation package, and a user needs to download the full installation package for full updating. In order to solve the above problems, the hot update method has been developed to update only a part of the application program, but the hot update method also has a problem that the development cost is high and the hot update method cannot be realized when the server cannot be matched.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides an update method, apparatus, device and medium for an application.
The embodiment of the disclosure provides an updating method of an application program, which comprises the following steps:
when the application program is started, judging whether a hot update condition is met or not based on a local program entry file;
if the hot update condition is met, acquiring a target main program file list;
and updating the application program based on the local main program file list and the target main program file list.
The embodiment of the present disclosure further provides an update apparatus for an application program, where the apparatus includes:
the hot update judging module is used for judging whether a hot update condition is met or not based on the local program entry file when the application program is started;
the program file acquisition module is used for acquiring a target main program file list if the hot update condition is met;
and the program updating module is used for updating the application program based on the local main program file list and the target main program file list.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the updating method of the application program provided by the embodiment of the disclosure.
The embodiment of the disclosure also provides a computer-readable storage medium, which stores a computer program for executing the method for updating the application program provided by the embodiment of the disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the updating scheme of the application program provided by the embodiment of the disclosure, when the application program is started, whether the hot update condition is met is judged based on the local program entry file, if the hot update condition of the application program is met, the target main program file list is obtained, and the application program is updated based on the local main program file list and the updated target main program file list of the application program. By adopting the technical scheme, the program entry file is added in the application program, and the hot update logic can be executed after the application program is determined to meet the hot update condition when the application program is started, so that the whole update is avoided, the network bandwidth and time cost of the application program update are greatly reduced, the user experience effect is further improved, the update can be executed in the application program, the development cost is low, and the server does not need to be adjusted.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of an application program updating method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another application program updating method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating an update of an application according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an application program updating apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The update of the application program is usually to package a full installation package, and a user needs to download the full installation package for performing the full update, for example, an Electron application program, and the above update method has the following defects: 1. the bag body is large, and after various dependencies are packaged, the installation package is usually large, for example, the size of the installation package can be as high as about 200MB, so that the problem of long updating time is brought; 2. the user experience is poor, the installation package needs to be downloaded during each updating, the user manually clicks to install, the original function use flow of the user can be blocked during downloading and installing, and the user is enabled to be relatively insensitive to each updating. However, the update of the application program may not need to update the whole file every time, and sometimes only needs to update a small part of the file, taking an Electron application program as an example, the electronic application program usually has a small number of related files of a User Interface (UI) and a large volume of multimedia Software Development Kit (SDK), and has many and dispersed files, for example, a multimedia SDK in a live broadcast application program has more than 500 files, and in general, each update of the Electron application program mainly includes a UI file and a Node file in the multimedia SDK, and only stands for about one tenth of the whole full package.
At present, the method can be improved by a hot updating method, only a part of files of an application program is updated, but the hot updating method can be realized by a program of another programming language, the development cost is high, or the improvement is required in a server, and the improvement cannot be realized when the server cannot be matched. In order to solve the above problem, an embodiment of the present disclosure provides an update method for an application program.
Fig. 1 is a flowchart illustrating an application program updating method according to an embodiment of the present disclosure, where the method may be performed by an application program updating apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
step 101, when the application program is started, judging whether a hot update condition is met or not based on the local program entry file.
The application program may be a plurality of types of application programs, the type and the programming language of the application program are not limited in the embodiment of the present disclosure, and the application program may be the above-mentioned Electron application program, for example. The local program entry file is a program entry file added in the application program in the embodiment of the disclosure, and the local program entry file can introduce the update logic first without introducing the main logic of the application program when the application program is started.
The update in the embodiment of the present disclosure belongs to a hot update or a delta update, and a key problem existing in the delta update is an occupied problem during file replacement, for example, an executable js file of an Electron application program is packaged as a main service file (app. In view of the above occupation problem, in the embodiment of the present disclosure, by adding a program entry file in the process of building and publishing an application program, executing an update logic through the program entry file, and dynamically introducing a main logic of the application program, it is realized that a file related to the main logic of the application program is not occupied when the update logic is running, the main logic of the application program is introduced after the update logic is completed, and a step of packaging the file of the application program into a main service file is removed, and a directory structure is maintained, so as to replace the file.
Specifically, when the application program is started and needs to be updated, a hot update logic may be introduced through the local program entry file to determine whether a hot update condition is satisfied. Specifically, the determining whether the hot update condition is satisfied based on the local program entry file may include: acquiring an information abstract value of a target program entry file; if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, it is determined that the hot update condition is not satisfied. The hot update condition is a condition for determining whether the current application program can perform hot update or delta update. The target program entry file refers to the latest program entry file in the program folder to which the application program is newly issued. The Message Digest value is a value determined by a Message-Digest Algorithm (MD 5), and the correctness of the file can be ensured by verifying the Message Digest value, so as to ensure the integrity and consistency of file transmission.
When the application program is started and needs to be updated, the information abstract value of the target program entry file can be obtained from the server, the information abstract value of the local entry file is compared with the information abstract value of the target program entry file, if the information abstract value of the local entry file is the same as the information abstract value of the target program entry file, the local program entry file does not need to be updated, a hot update condition is met, and if the information abstract value of the local entry file is different from the information abstract value of the target program entry file, the local program entry file needs to be updated, and.
Optionally, the latest program folder released by the application may also upload all files to a Content Delivery Network (CDN) buffer during the construction and release of the release, so as to download the required files from the CDN buffer and obtain related information when the application is updated.
And 102, if the hot update condition is met, acquiring a target main program file list.
The main program file list refers to a list of all files in a main program directory of the application program, that is, a file list corresponding to a main logic of the application program, and the main program file list may include meta information corresponding to each file, where the meta information may include a file path, an information digest value, a file download address, and the like. The target main program file list is a list of all files in the main program directory of the latest version of the application program.
If the hot update condition is determined to be met, the target main program file list can be obtained from the server or the CDN buffer for subsequent updating of the application program.
And 103, updating the application program based on the local main program file list and the target main program file list.
The local main program file list refers to a list of all files of the application program in the main program directory of the local version.
In the embodiment of the present disclosure, updating the application program based on the local main program file list and the target main program file list may include: comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list; determining a file to be updated based on the difference comparison result; and updating the local main program file in the application program based on the file to be updated. The files to be updated may include files to be added, files to be modified, and/or files to be deleted.
The information abstract value of each file in the target main program file list is obtained, and the difference comparison is carried out on the information abstract value of each file in the local main program file list one by one to obtain a difference comparison result. The difference comparison result may include a file in which the information digest values in the local main program file list and the target main program file list are different, and the file in which the difference exists is determined as a file to be updated. The files to be updated may include at least one of files to be added, files to be modified and files to be deleted, specifically, when an information digest value of one file exists in a target main program file list but does not exist in a local main program file list, it is indicated that the file needs to be added locally, and the file is the file to be added; when the information abstract value of a file is different from that of a local main program file order in a target main program file list, the file needs to be modified locally, and the file is a file to be modified; when the information abstract value of a file does not exist in the target main program file list but exists in the local main program file list, the file needs to be deleted locally, and the file is the file to be deleted.
Optionally, updating the local main program file in the application program based on the file to be updated may include: downloading a target file and a file to be added corresponding to the file to be modified based on the target main program file list; and replacing the file to be modified in the local main program file with a target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file. The files to be added and the target files are files in a program folder which is newly issued by the application program, the files to be modified and the files to be deleted are files in a local program folder of the application program, and the target files correspond to the files to be modified.
After the file to be updated is determined, the file can be downloaded from a server or a CDN buffer based on the file to be added in the target main program file list and the file download path of the target file, and the file to be modified in the local main program file is replaced by the target file according to the file path of the file to be modified in the local main program file list; adding files to be added into a local main program file, and adding information such as file paths, information abstract values, file downloading addresses and the like of the files to be added into a local main program file list; and/or deleting the file to be deleted according to the file path of the file to be deleted in the local main program file list, and deleting the information of the file to be deleted in the local main program file list.
In this embodiment of the present disclosure, after the updating of the application program based on the local main program file list and the target main program file list, the method may further include: and loading the local main program file of the application program to run the application program. After the local main program file of the application program is updated, the updating logic is completed, and the updated local main program file is loaded so as to load the main logic of the application program and enter a functional interface of the application program for experience.
According to the updating scheme of the application program provided by the embodiment of the disclosure, when the application program is started, whether the hot update condition is met is judged based on the local program entry file, if the hot update condition of the application program is met, the target main program file list is obtained, and the application program is updated based on the local main program file list and the updated target main program file list of the application program. By adopting the technical scheme, the program entry file is added in the application program, the hot update logic can be executed after the hot update condition is determined to be met during starting, the full update is avoided, the network bandwidth and the time cost for updating the application program are greatly reduced, the user experience effect is further improved, the update can be executed in the application program, the development cost is low, and the server does not need to be adjusted.
In some embodiments, the method for updating an application program may further include: checking the files in the updated local main program file one by one; if the verification result of each file is verified, determining that the updating is successful; otherwise, determining that the updating fails.
In the embodiment of the disclosure, after the local main program file is updated, the local main program file list can be adaptively updated, and verifying each file in the updated local main program file refers to comparing the information digest value of each file in the updated local main program file list with the target main program file list, and if the information digest value of one file is the same in both the local main program file list and the target main program file list, the verification result of the file is that the verification is passed; if the verification results of all the updated files in the local main program file are verified, determining that the updating is successful; and if the verification result of at least one file is verification failure, determining that the updating fails. Optionally, the application program may be exited after determining that the update has failed, and the update may be resumed when the application program is restarted.
After the local main program file is updated, each file is verified, the fact that the updated local main program file is consistent with the files in the target main program file list is guaranteed, the situation that partial functions of the application program cannot be achieved due to the fact that the downloaded files are tampered or damaged in the transmission process when the local main program file is updated is avoided, updating accuracy is improved, and user experience is improved.
In some embodiments, before determining whether the hot update condition is satisfied based on the program entry file, the method may further include: acquiring a local version number and a target version number; if the local copyright number and the target version number are different, the updating condition is satisfied. The local version number is the current version number of the application program, and the target version number is the latest version number of the application program.
When the application program is started, the local version number may be obtained from a main program folder of the application program, specifically, the local version number may be obtained from a package json file, and the target version number may be directly pulled from the main program folder of the server or the CDN cache, or the target version number may be obtained according to a gray rule. And comparing the local version number with the target version number, wherein if the local version number is the same as the target version number, the application program does not need to be updated and does not meet the updating condition, and if the local version number is different from the target version number, the application program needs to be updated and meets the updating condition. By comparing the version numbers of the application programs, whether the application programs are updated or not can be quickly determined.
In some embodiments, after the update condition is satisfied, the method may further include: and displaying the real-time updating progress in the updating interface. Optionally, the method for updating the application program may further include: displaying the update quitting prompt information in the update interface; and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
The update interface may be an interface for displaying the update status to the user in the application program, and the update interface may be provided with an update progress bar for displaying the real-time update progress of the application program. And in the updating process of the application program, updating exit prompt information can be displayed in the updating interface so as to prompt a user to exit the current updating. When the user performs a trigger operation on the update exit information, which indicates that the user wants to exit the update of the application program, the application program may detect the trigger operation and stop updating.
The updating progress is displayed through the updating interface, so that the user can know the updating real-time state, the user can be supported to interrupt the updating at any time, and the interactive experience effect of the user is improved.
In some embodiments, the local program entry file is packaged separately from the local main program file at release time. The program entry file is used for introducing the update logic of the application program, and the main program file is used for introducing the main logic of the application program, namely the program function of the application program. In the embodiment of the disclosure, in order to introduce the update logic and not introduce the main logic of the application program when the application program is started, the program entry file and the main program file need to be separately packaged when the main program file of the issued application program is constructed. The local program entry file and the local main program file are used as files of the application program under the local version and are also packaged separately.
Specifically, when the program file of the application program is constructed and released, the program entry file can introduce the main logic code by adopting '__ non _ webpack _ require __', so that the main logic code is prevented from being packed into the entry file together by webpack, and separate packing is a key for realizing dynamic introduction. And removing the logic of packaging into a main service file during packaging, and keeping a directory structure so as to update and replace the file dimension.
For example, the entire directory of program files for an application may be:
Figure BDA0002774198600000101
Figure BDA0002774198600000111
js is a program entry file, hot update logic is executed in the file, and main logic codes of the program are dynamically loaded after the hot update logic, but the related code update can only be updated in full; "resources/app. content/" is the main directory of the main program file, and the hot update essentially ensures that the content under the path is kept as one with the latest version, and if only the code under the directory is changed, the hot update can be used.
Then, when delivering, all files in the program folder need to be uploaded to a server or a CDN buffer for downloading when updating. When the program file is constructed, a manifest file can be generated to store the meta information of all files of the current version, the meta information can include file paths, information abstract values, file downloading addresses and the like, and the manifest file includes the main program file manifest and is also uploaded to a server or a CDN buffer. For example, the manifest file manifest.
Figure BDA0002774198600000112
When the path is used for updating, the target file is replaced according to the path after the file is downloaded; the md5 is used for naming files, so that repeated files are prevented from being uploaded during construction, and downloaded files are verified during updating; url is the download address of the file on the server or CDN cache.
Fig. 2 is a schematic flow chart of another application program updating method according to an embodiment of the present disclosure, and the embodiment further optimizes the application program updating method based on the foregoing embodiment. As shown in fig. 2, the method includes:
step 201, when the application program is started, obtaining a local version number and a target version number.
Step 202, whether the local copyright number is the same as the target version number or not is judged, if yes, step 211 is executed; if not, the updating condition is satisfied, and step 203 is executed.
If the local version number is the same as the target version number, it indicates that the application program does not need to be updated, and step 211 is executed; otherwise, the application needs to be updated, and step 203 is executed.
Optionally, after the update condition is satisfied, the method may further include: and displaying the real-time updating progress in the updating interface. Optionally, the method may further include: displaying the update quitting prompt information in the update interface; and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
Step 203, judging whether a hot update condition is met or not based on the local program entry file, if so, executing step 204; otherwise, step 210 is performed.
Specifically, the determining whether the hot update condition is satisfied based on a preset local program entry file may include: acquiring an information abstract value of a target program entry file; if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met, and executing step 204; otherwise, it is determined that the thermal upgrade condition is not satisfied, step 210 is performed.
And step 204, acquiring a target main program file list.
And step 205, updating the application program based on the local main program file list and the target main program file list.
Specifically, updating the application program based on the local main program file list and the target main program file list may include: comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list; determining a file to be updated based on the difference comparison result; and updating the local main program file in the application program based on the file to be updated. The files to be updated comprise files to be added, files to be modified and/or files to be deleted. Optionally, updating the local main program file in the application program based on the file to be updated may include: downloading a target file and the file to be added corresponding to the file to be modified based on the target main program file list; and replacing the file to be modified in the local main program file with the target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file.
Optionally, the local program entry file and the local main program file are packaged separately at the time of release.
And step 206, checking the files in the updated local main program file one by one.
Step 207, whether the verification result of each file is verified, if yes, step 208 is executed; otherwise, step 209 is performed.
And step 208, determining that the updating is successful.
After step 208, step 211 may be performed.
And step 209, determining that the updating fails and stopping the updating.
And determining that the updating fails, stopping updating, exiting the application program, and restarting the updating when the application program is started again.
And step 210, updating the application program in a full amount.
When it is determined that the hot update condition is not met based on the local program entry file, the installation package may be downloaded from the server or the CDN cache, and the latest application program may be installed to perform a full update on the application program.
And step 211, loading the local main program file of the application program to run the application program.
When the application program does not need to be updated, the local main program file is not updated and is directly loaded to run the application program; when the application program needs to be updated and is subjected to hot update, the local main program file is updated, and the application program with the latest version can be operated to experience a new function by loading the updated local main program file.
Next, the update method of the application program in the embodiment of the present disclosure is further described by a specific example. Exemplarily, referring to fig. 3, fig. 3 is a schematic diagram of updating an application program according to an embodiment of the present disclosure, where a specific process may include: step 301, application program starts. And step 302, acquiring a local version number and a target version number. Json obtains a target version number according to a gray rule or by pulling a latest version number. Step 303, judging whether updating is needed, if so, executing step 304; otherwise, step 316 is performed. Determining whether updating is needed by comparing the local version number with the target version number, and if the local version number is the same as the target version number, updating is needed; otherwise, no update is required. And step 304, opening an updating interface and displaying the updating progress. And opening an updating window when updating is needed, and displaying the real-time updating progress. Step 305, whether the temperature is higher, if yes, execute step 306; otherwise, step 315 is performed. If the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, the hot override condition is not satisfied.
Step 306, enter hot update logic. And 307, acquiring a local file list and a target file list. And respectively acquiring a local main program file list and a target main program file list through the local version number and the target version number. And step 308, comparing the differences. And obtaining the files of which the new versions are added, modified and deleted through difference comparison (diff). Step 309, download and replace the file. And starting to download the added and downloaded files, finishing downloading the files, covering the files according to the paths in the list, and updating the progress in real time. And step 310, deleting. Deleting the files with the reduced new version. And 311, checking according to the target file list. After the operation is finished, the files MD5 in the updated local main program file list are checked one by one according to the target main program file list, and the files are ensured to be consistent with the list. Step 312, checking whether the data pass, if yes, executing step 313; otherwise, step 314 is performed. If each file passes the verification, the updating is successful; otherwise, the updating is regarded as failure. Step 313, modify the local version number. And if the updating is successful, replacing the local package json file, and updating the local version number to the target version number. After step 313, step 316 is performed. Step 314, update fails and exits. And the next time the application program is started, the updating process is repeated. Step 315, download installation package and open. When the hot update condition is not met, a full update may be performed, which also displays the update progress on the update interface. Step 316, load the main interface. When the application program does not need to be updated or the hot updating is finished, the main logic of the application program can be loaded, and the main interface is loaded.
The updating of the application program in the embodiment of the disclosure is a hot updating scheme which can be differential, gray, visual and interactive, the time length for updating software by a user and the consumption of network bandwidth are greatly reduced, the updating can be executed in the application, the progress is visual, the interaction is realized, the user can interrupt the updating at any time, and the user experience is greatly improved.
According to the updating scheme of the application program, when the application program is started, a local version number and a target version number are obtained, when the local version number is different from the target version number and the hot update condition is met based on the local program entry file, a target main program file list is obtained, and the application program is updated based on the local main program file list and the updated target main program file list of the application program; and checking the files in the updated local program files one by one, determining that the updating is successful when the checking result of each file is that the checking is passed, and loading the local program files of the application program to run the application program. By adopting the technical scheme, the program entry file is added in the application program, the hot update logic can be executed after the hot update condition is determined to be met during starting, the full update is avoided, the network bandwidth and the time cost for updating the application program are greatly reduced, the user experience effect is further improved, the update can be executed in the application program, the development cost is low, and the server does not need to be adjusted.
Fig. 4 is a schematic structural diagram of an apparatus for updating an application according to an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, the apparatus includes:
a hot update judging module 401, configured to judge whether a hot update condition is met based on a local program entry file when an application program is started;
a program file obtaining module 402, configured to obtain a target main program file list if the hot update condition is met;
a program updating module 403, configured to update the application program based on the local main program file list and the target main program file list.
According to the updating scheme of the application program provided by the embodiment of the disclosure, when the application program is started, whether the hot update condition is met is judged based on the local program entry file, if the hot update condition of the application program is met, the target main program file list is obtained, and the application program is updated based on the local main program file list and the updated target main program file list of the application program. By adopting the technical scheme, the program entry file is added in the application program, the hot update logic can be executed after the hot update condition is determined to be met during starting, the full update is avoided, the network bandwidth and the time cost for updating the application program are greatly reduced, the user experience effect is further improved, the update can be executed in the application program, the development cost is low, and the server does not need to be adjusted.
Optionally, the thermal update determining module 401 is specifically configured to:
acquiring an information abstract value of a target program entry file;
if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, it is determined that the hot update condition is not satisfied.
Optionally, the program updating module 403 is specifically configured to:
comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list;
determining a file to be updated based on the difference comparison result;
and updating the local main program file in the application program based on the file to be updated.
Optionally, the files to be updated include files to be added, files to be modified, and files to be deleted.
Optionally, the program updating module 403 is specifically configured to:
downloading a target file and the file to be added corresponding to the file to be modified based on the target main program file list;
and replacing the file to be modified in the local main program file with the target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file.
Optionally, the apparatus further includes an update checking module, specifically configured to:
checking the updated files in the local main program file one by one;
if the verification result of each file is verified, determining that the updating is successful; otherwise, determining that the updating fails.
Optionally, the apparatus further includes an update determining module, specifically configured to: before determining whether the hot update condition is satisfied based on the program entry file,
acquiring a local version number and a target version number;
and if the local copyright number is different from the target version number, the updating condition is met.
Optionally, the apparatus further includes a progress display module, specifically configured to: after the update condition is satisfied, the method further includes:
and displaying the real-time updating progress in the updating interface.
Optionally, the apparatus further includes an update exit module, specifically configured to:
displaying an update exit prompt message in the update interface;
and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
Optionally, the apparatus further includes a program running module, specifically configured to: after the application is updated based on the local primary program file list and the target primary program file list,
and loading the local main program file of the application program to operate the application program.
Optionally, the local program entry file and the local main program file are separately packaged when issued.
The application program updating device provided by the embodiment of the disclosure can execute the application program updating method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now specifically to fig. 5, a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 500 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the update method of the application program of the embodiment of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: when the application program is started, judging whether a hot update condition is met or not based on a local program entry file; if the hot update condition is met, acquiring a target main program file list; and updating the application program based on the local main program file list and the target main program file list.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an update method of an application program, including:
when the application program is started, judging whether a hot update condition is met or not based on a local program entry file;
if the hot update condition is met, acquiring a target main program file list;
and updating the application program based on the local main program file list and the target main program file list.
According to one or more embodiments of the present disclosure, in the method for updating an application program provided by the present disclosure, the determining whether a hot update condition is satisfied based on a preset local program entry file includes:
acquiring an information abstract value of a target program entry file;
if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, it is determined that the hot update condition is not satisfied.
According to one or more embodiments of the present disclosure, in the method for updating an application program provided by the present disclosure, the updating the application program based on a local main program file list and a target main program file list includes:
comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list;
determining a file to be updated based on the difference comparison result;
and updating the local main program file in the application program based on the file to be updated.
According to one or more embodiments of the present disclosure, in the update method of the application program provided by the present disclosure, the file to be updated includes a file to be added, a file to be modified, and/or a file to be deleted.
According to one or more embodiments of the present disclosure, in the method for updating an application program provided by the present disclosure, the updating a local main program file in the application program based on the file to be updated includes:
downloading a target file and the file to be added corresponding to the file to be modified based on the target main program file list;
and replacing the file to be modified in the local main program file with the target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file.
According to one or more embodiments of the present disclosure, the method for updating an application program provided by the present disclosure further includes:
checking the updated files in the local main program file one by one;
if the verification result of each file is verified, determining that the updating is successful; otherwise, determining that the updating fails.
According to one or more embodiments of the present disclosure, before determining whether a hot update condition is satisfied based on a program entry file, the method for updating an application program further includes:
acquiring a local version number and a target version number;
and if the local copyright number is different from the target version number, the updating condition is met.
According to one or more embodiments of the present disclosure, in the method for updating an application program provided by the present disclosure, after the update condition is satisfied, the method further includes:
and displaying the real-time updating progress in the updating interface.
According to one or more embodiments of the present disclosure, the method for updating an application program provided by the present disclosure further includes:
displaying an update exit prompt message in the update interface;
and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
According to one or more embodiments of the present disclosure, after the updating of the application program is performed based on the local main program file list and the target main program file list, the method for updating an application program further includes:
and loading the local main program file of the application program to operate the application program.
According to one or more embodiments of the present disclosure, in the application program update method provided by the present disclosure, the local program entry file is packaged separately from the local main program file at the time of release.
According to one or more embodiments of the present disclosure, there is provided an update apparatus of an application program, including:
the hot update judging module is used for judging whether a hot update condition is met or not based on the local program entry file when the application program is started;
the program file acquisition module is used for acquiring a target main program file list if the hot update condition is met;
and the program updating module is used for updating the application program based on the local main program file list and the target main program file list.
According to one or more embodiments of the present disclosure, in an update apparatus of an application program provided by the present disclosure, the thermal update determination module is specifically configured to:
acquiring an information abstract value of a target program entry file;
if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, it is determined that the hot update condition is not satisfied.
According to one or more embodiments of the present disclosure, in an update apparatus of an application program provided by the present disclosure, the program update module is specifically configured to:
comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list;
determining a file to be updated based on the difference comparison result;
and updating the local main program file in the application program based on the file to be updated.
According to one or more embodiments of the present disclosure, in an update apparatus of an application program provided by the present disclosure, the file to be updated includes a file to be added, a file to be modified, and/or a file to be deleted.
According to one or more embodiments of the present disclosure, in an update apparatus of an application program provided by the present disclosure, the program update module is specifically configured to:
downloading a target file and the file to be added corresponding to the file to be modified based on the target main program file list;
and replacing the file to be modified in the local main program file with the target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file.
According to one or more embodiments of the present disclosure, in an update apparatus for an application provided by the present disclosure, the apparatus further includes an update checking module, specifically configured to:
checking the updated files in the local main program file one by one;
if the verification result of each file is verified, determining that the updating is successful; otherwise, determining that the updating fails.
According to one or more embodiments of the present disclosure, in an update apparatus for an application provided by the present disclosure, the apparatus further includes an update determining module, specifically configured to: before determining whether the hot update condition is satisfied based on the program entry file,
acquiring a local version number and a target version number;
and if the local copyright number is different from the target version number, the updating condition is met.
According to one or more embodiments of the present disclosure, in an apparatus for updating an application provided by the present disclosure, the apparatus further includes a progress display module, specifically configured to: after the update condition is satisfied, the method further includes:
and displaying the real-time updating progress in the updating interface.
According to one or more embodiments of the present disclosure, in an apparatus for updating an application provided by the present disclosure, the apparatus further includes an update exit module, specifically configured to:
displaying an update exit prompt message in the update interface;
and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
According to one or more embodiments of the present disclosure, in an apparatus for updating an application provided by the present disclosure, the apparatus further includes a program running module, specifically configured to: after the application is updated based on the local primary program file list and the target primary program file list,
and loading the local main program file of the application program to operate the application program.
According to one or more embodiments of the present disclosure, the present disclosure provides an update apparatus of an application program, in which the local program entry file is packaged separately from the local main program file at the time of release.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the updating method of the application program according to any one of the methods provided by the disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the method of updating an application program according to any one of the methods provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (14)

1. An update method for an application program, comprising:
when the application program is started, judging whether a hot update condition is met or not based on a local program entry file;
if the hot update condition is met, acquiring a target main program file list;
and updating the application program based on the local main program file list and the target main program file list.
2. The method of claim 1, wherein determining whether a hot update condition is satisfied based on the local program entry file comprises:
acquiring an information abstract value of a target program entry file;
if the information abstract values of the local program entry file and the target program entry file are the same, determining that a hot update condition is met; otherwise, it is determined that the hot update condition is not satisfied.
3. The method of claim 1, wherein the updating the application based on the local primary program file list and the target primary program file list comprises:
comparing the difference of the information abstract value of each file in the local main program file list and the target main program file list;
determining a file to be updated based on the difference comparison result;
and updating the local main program file in the application program based on the file to be updated.
4. The method according to claim 3, wherein the files to be updated comprise files to be added, files to be modified and/or files to be deleted.
5. The method of claim 4, wherein the updating the local main program file in the application program based on the file to be updated comprises:
downloading a target file and the file to be added corresponding to the file to be modified based on the target main program file list;
and replacing the file to be modified in the local main program file with the target file based on the local main program file list, adding the file to be added in the local main program file, and/or deleting the file to be deleted in the local main program file.
6. The method of claim 5, further comprising:
checking the updated files in the local main program file one by one;
if the verification result of each file is verified, determining that the updating is successful; otherwise, determining that the updating fails.
7. The method of claim 1, wherein before determining whether the hot update condition is satisfied based on the program entry file, further comprising:
acquiring a local version number and a target version number;
and if the local copyright number is different from the target version number, the updating condition is met.
8. The method of claim 7, wherein after the update condition is satisfied, further comprising:
and displaying the real-time updating progress in the updating interface.
9. The method of claim 8, further comprising:
displaying an update exit prompt message in the update interface;
and stopping updating the application program after receiving the triggering operation of the user on the update quitting prompt message.
10. The method of claim 1, wherein after updating the application based on the local primary program file list and the target primary program file list, further comprising:
and loading the local main program file of the application program to operate the application program.
11. The method of claim 3, wherein the local program entry file is packaged separately from the local main program file at issue time.
12. An apparatus for updating an application program, comprising:
the hot update judging module is used for judging whether a hot update condition is met or not based on the local program entry file when the application program is started;
the program file acquisition module is used for acquiring a target main program file list if the hot update condition is met;
and the program updating module is used for updating the application program based on the local main program file list and the target main program file list.
13. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the updating method of the application program of any one of the claims 1 to 11.
14. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the method for updating an application program according to any one of claims 1 to 11.
CN202011259611.XA 2020-11-12 2020-11-12 Application program updating method, device, equipment and medium Pending CN112328283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011259611.XA CN112328283A (en) 2020-11-12 2020-11-12 Application program updating method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011259611.XA CN112328283A (en) 2020-11-12 2020-11-12 Application program updating method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112328283A true CN112328283A (en) 2021-02-05

Family

ID=74317658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011259611.XA Pending CN112328283A (en) 2020-11-12 2020-11-12 Application program updating method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112328283A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542356A (en) * 2021-06-10 2021-10-22 上海甄汇信息科技有限公司 Method for terminal in local area network to quickly obtain internet resource
CN113590166A (en) * 2021-08-02 2021-11-02 腾讯数码(深圳)有限公司 Application program updating method and device and computer readable storage medium
CN115857997A (en) * 2022-11-30 2023-03-28 广州市玄武无线科技股份有限公司 Electron desktop application version updating method and device, terminal equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320554A (en) * 2015-12-11 2016-02-10 网易(杭州)网络有限公司 Program updating method as well as client and system for program updating
CN107844306A (en) * 2017-08-09 2018-03-27 平安壹钱包电子商务有限公司 Restorative procedure, device, storage medium and the terminal of application program
CN108037946A (en) * 2017-11-03 2018-05-15 金证财富南京科技有限公司 A kind of method, system and the server of the renewal of application program heat
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium
CN108647041A (en) * 2018-04-02 2018-10-12 金证财富南京科技有限公司 A kind of hot update mechanism of the locals mixed type APP web resource
CN108874427A (en) * 2018-06-28 2018-11-23 武汉斗鱼网络科技有限公司 A kind of update progress acquisition methods, device and readable storage medium storing program for executing
CN109634641A (en) * 2018-12-28 2019-04-16 北京城市网邻信息技术有限公司 A kind of application program update method, apparatus, electronic equipment and medium
CN110059276A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Method for updating pages, device, equipment and storage medium
CN111008030A (en) * 2019-12-10 2020-04-14 厦门中控智慧信息技术有限公司 Software online updating system and method based on xml file list and related device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320554A (en) * 2015-12-11 2016-02-10 网易(杭州)网络有限公司 Program updating method as well as client and system for program updating
CN107844306A (en) * 2017-08-09 2018-03-27 平安壹钱包电子商务有限公司 Restorative procedure, device, storage medium and the terminal of application program
CN108037946A (en) * 2017-11-03 2018-05-15 金证财富南京科技有限公司 A kind of method, system and the server of the renewal of application program heat
CN108509211A (en) * 2018-02-07 2018-09-07 深圳壹账通智能科技有限公司 Application program updating method, apparatus, mobile terminal and storage medium
CN108647041A (en) * 2018-04-02 2018-10-12 金证财富南京科技有限公司 A kind of hot update mechanism of the locals mixed type APP web resource
CN108874427A (en) * 2018-06-28 2018-11-23 武汉斗鱼网络科技有限公司 A kind of update progress acquisition methods, device and readable storage medium storing program for executing
CN109634641A (en) * 2018-12-28 2019-04-16 北京城市网邻信息技术有限公司 A kind of application program update method, apparatus, electronic equipment and medium
CN110059276A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Method for updating pages, device, equipment and storage medium
CN111008030A (en) * 2019-12-10 2020-04-14 厦门中控智慧信息技术有限公司 Software online updating system and method based on xml file list and related device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542356A (en) * 2021-06-10 2021-10-22 上海甄汇信息科技有限公司 Method for terminal in local area network to quickly obtain internet resource
CN113590166A (en) * 2021-08-02 2021-11-02 腾讯数码(深圳)有限公司 Application program updating method and device and computer readable storage medium
CN113590166B (en) * 2021-08-02 2024-03-26 腾讯数码(深圳)有限公司 Application program updating method and device and computer readable storage medium
CN115857997A (en) * 2022-11-30 2023-03-28 广州市玄武无线科技股份有限公司 Electron desktop application version updating method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112328283A (en) Application program updating method, device, equipment and medium
CN110781432A (en) Page jump method and device, electronic equipment and computer readable storage medium
CN112269959B (en) Control method and device for display content, readable medium and electronic equipment
CN111722885A (en) Program running method and device and electronic equipment
CN111209306A (en) Business logic judgment method and device, electronic equipment and storage medium
CN111290797A (en) Page switching method, client, server, electronic equipment and system
CN110990038B (en) Method, apparatus, electronic device and medium for applying local update
CN114595065A (en) Data acquisition method and device, storage medium and electronic equipment
CN113553526B (en) Data display method, device and equipment
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN116679930A (en) Front-end project construction method and device, electronic equipment and storage medium
CN112422648B (en) Data synchronization method and system
CN111625326B (en) Task pipeline execution method and device and electronic equipment
CN114741686A (en) Method and device for detecting program white list and related equipment
CN114153462A (en) Client source code processing method and device, storage medium and electronic equipment
CN113032046A (en) Method, device and equipment for repairing so file and storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111240657A (en) Method and device for generating SDK and electronic equipment
CN111241852A (en) File translation method, device, terminal and storage medium
CN113031986B (en) Feature comparison algorithm dynamic loading method, device, terminal and medium
CN112486826B (en) Test method, test device, electronic equipment and computer readable medium
CN113157365B (en) Program running method, program running device, electronic equipment and computer readable medium
CN117555573B (en) Chip burning information synchronization method, electronic equipment and computer readable medium
CN111857879B (en) Data processing method, device, electronic equipment and computer readable medium
CN115826981A (en) Real-time operating system driver adaptation method and device, electronic equipment and readable medium

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