CN110543324B - Plug-in increment updating method and device for application program - Google Patents
Plug-in increment updating method and device for application program Download PDFInfo
- Publication number
- CN110543324B CN110543324B CN201910794426.1A CN201910794426A CN110543324B CN 110543324 B CN110543324 B CN 110543324B CN 201910794426 A CN201910794426 A CN 201910794426A CN 110543324 B CN110543324 B CN 110543324B
- Authority
- CN
- China
- Prior art keywords
- plugin
- plug
- version
- highest
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 10
- 238000009434 installation Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- 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
- G06F8/658—Incremental updates; Differential updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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 invention discloses a plug-in increment updating method and device of an application program, wherein the method comprises the following steps: receiving a plug-in updating request sent by a client; obtaining information of a plugin corresponding to the highest plugin version corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier; judging whether a plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in updating request; for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version is suitable for the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, a patch package downloading address corresponding to the highest plugin version corresponding to the plugin identifier is obtained from a preset plugin patch information table, and is sent to the client. The embodiment of the invention can improve the updating efficiency of the plug-in.
Description
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a plug-in increment updating method and device of an application program.
Background
With the rapid development of mobile communication technology, intelligent terminals are becoming more popular, and Applications (APP) that can be installed on the intelligent terminals are also becoming more and more popular.
APP is in use, requiring constant updating. In the prior art, a plug-in development method of the APP appears, so that when the APP developed by the plug-in development method is updated, only plug-in components of the APP can be updated, namely, plug-in package needing to be updated is downloaded, the whole plug-in components are updated, and the installation file of the APP does not need to be downloaded again. However, many plugins actually modify only a small part of content, and the whole plugin is updated during updating, so that the efficiency of APP updating is reduced, and communication resources are wasted.
Therefore, how to improve the update efficiency of the plug-in is an important issue to be solved in the industry.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the invention provides a plug-in increment updating method and device for an application program.
In one aspect, an embodiment of the present invention provides a method for incremental update of a plug-in of an application, including:
receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier;
Obtaining information of plugins corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier;
judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request or not according to the plugin information corresponding to the highest plugin version;
for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a plugin package download address in information of the plugin corresponding to the highest plugin version corresponding to the plugin identifier, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the plugin package download address and the patch package download address to the client.
Optionally, the obtaining, according to the plug-in identifier of the application program and the plug-in version corresponding to each plug-in identifier, information of a plug-in corresponding to a highest plug-in version among all plug-in versions corresponding to each plug-in identifier from a preset plug-in information table includes:
and according to any plugin identifier of the application program in the plugin update request, acquiring all plugin versions corresponding to the plugin identifier from a preset plugin information table, and acquiring plugin information corresponding to the highest plugin version in all plugin versions, wherein the plugin version corresponding to the plugin identifier in the plugin update request is not higher than the highest plugin version in all plugin versions.
Optionally, according to the information of the plugin corresponding to the highest plugin version, determining whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request includes:
judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program according to the plugin information corresponding to the highest plugin version;
and if the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request.
Optionally, after determining whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program, the method further includes:
if the plugin corresponding to the highest plugin version is not suitable for all program versions of the application program, acquiring the program version suitable for the plugin corresponding to the highest plugin version from a preset plugin-application version relation table;
judging whether the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version;
and if the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in updating request.
Optionally, after determining whether the plugin corresponding to the highest plugin version is applicable to the program version of the application in the plugin update request, the method further includes:
and for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier does not have a patch package, acquiring a plugin package download address in the information of the plugin corresponding to the highest plugin version corresponding to the plugin identifier, and sending the plugin package download address to the client.
Optionally, for any plugin identifier of the application program in the plugin update request, when a plugin corresponding to a highest plugin version corresponding to the plugin identifier is applicable to a program version of the application program in the plugin update request, if a plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, the method further includes:
acquiring a package download address of a plug-in package in the information of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier;
correspondingly, the sending the patch package download address to the client includes:
and sending the package download address and the patch package download address to the client so that the client uses the package download address to update the package when the local package is deleted.
In another aspect, an embodiment of the present invention provides a device for incremental update of a plug-in of an application, including:
the receiving unit is used for receiving a plug-in update request sent by the client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier;
The obtaining unit is used for obtaining the information of the plugin corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier;
the judging unit is used for judging whether the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request according to the information of the plug-in corresponding to the highest plug-in version;
the first sending unit is configured to, for any plugin identifier of the application program in the plugin update request, when a plugin corresponding to a highest plugin version corresponding to the plugin identifier is applicable to a program version of the application program in the plugin update request, if a plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, obtain a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and send the patch package download address to the client.
Optionally, the apparatus further comprises:
and the second sending unit is used for obtaining the package download address in the information of the package corresponding to the highest package version corresponding to the package identifier if the package corresponding to the highest package version corresponding to the package identifier does not have a patch package when the package corresponding to the highest package version corresponding to the package identifier is suitable for the program version of the application program in the package update request.
In another aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the method for incremental update of a plug-in of an application program described in any of the embodiments above when the processor executes the program.
In yet another aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the add-on delta update method for an application of any of the embodiments described above.
According to the plug-in increment updating method and device for the application program, the downloading address of the patch package can be obtained through the program version of the application program, the plug-in identifier of the application program, the plug-in version corresponding to each plug-in identifier, the preset plug-in information table and the preset plug-in patch information table, and the downloading address of the patch package corresponding to the plug-in identifier is provided for the client, so that the client can perform increment updating on the plug-in through the patch package and the local plug-in package, updating of the whole plug-in can be avoided, and the updating efficiency of the plug-in is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart illustrating a method for incremental update of an application program according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a device for incremental update of an application according to an embodiment of the present invention;
fig. 3 is a schematic physical structure of an electronic device according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The plug-in development of the APP is that when the APP is developed, an APP is split into a plurality of modules to be developed, each module can correspond to a single installation package, the plurality of modules comprise a host and a plurality of plug-ins, the host corresponds to one installation package, and each plug-in corresponds to one installation package. And when the APP development is finished and finally released, the installation package corresponding to the host and the installation package corresponding to the plug-in can be packaged independently or jointly. In order to realize incremental update of the plug-in of the APP, reduce flow and update time consumed when the APP updates the plug-in, and improve user experience, the embodiment of the invention provides a plug-in incremental update method of an application program, and a server can provide a patch package of the plug-in which the APP needs to be updated when a client updates the APP, so that incremental update of the plug-in is realized, and update efficiency of the plug-in is improved.
In order to implement the plug-in increment updating method of the application program provided by the embodiment of the invention, the updated plug-in needs to be registered so as to record the information of the plug-in name of the updated plug-in, the APP identifier corresponding to the plug-in, the plug-in version, the plug-in description, the plug-in package download address, the applicable program (APP) version of the plug-in, the patch package of the plug-in and the like. In order to effectively record the updated information of the plug-in and quickly query the information, the embodiment of the invention stores the updated information of the plug-in a database by using a preset plug-in information table, a preset plug-in and application version relation table and a preset plug-in patch information table. The preset plug-in information table comprises information of at least one plug-in, and the information of the plug-in can comprise: the method comprises the steps of carrying out information such as a main key identifier, a project identifier, a plug-in identifier, plug-in description, plug-in version, plug-in package download addresses, whether plug-ins are applicable to all program (APP) versions, whether the plug-ins are in a valid state, operator records, creation time, modification time and the like, wherein the main key identifiers in a plug-in information table are in one-to-one correspondence with plug-in information, the plug-in identifiers are in one-to-one correspondence with plug-ins, the plug-in identifiers can be plug-in name representations, and the project identifiers are in one-to-one correspondence with the APP; the preset relationship table of the plug-in and the application program version comprises at least one relationship information of the plug-in and the application program version, and the relationship information of the plug-in and the application program version can comprise: information such as a main key identifier, a plug-in information main key identifier, a plug-in applicable program (APP) version, operator records, creation time, modification time and the like; the preset plug-in patch information table comprises at least one patch information, and the plug-in patch information can comprise: the method comprises the steps of main key identification, plug-in information main key identification, plug-in version for patch, patch package download address, operator record, creation time, modification time and the like.
In order to avoid overlarge data in a preset plugin information table, a plugin and application version relation table and a plugin patch information table, the query speed is low, an index can be set for each table, information query is performed through a main key identifier and an index of each table, for example, an item identifier and a plugin identifier are set for each plugin information in the preset plugin information table, a plugin identifier or a plugin applicable program version is set for each plugin and application version relation information in the preset plugin and application version relation table, and a plugin identifier or a plugin applicable program version is set for each patch information in the preset plugin patch information table. Wherein a specialized package management server may be employed to store plug-in packages and patch packages, which may return the download address of the plug-in package and/or the download address of the patch package after uploading the plug-in package and/or the patch package to the package management server.
Fig. 1 is a flow chart of a plug-in incremental update method of an application program according to an embodiment of the present invention, where, as shown in fig. 1, the plug-in incremental update method of an application program provided by the present invention includes:
S1, receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, plug-in identifications of the application program and plug-in versions corresponding to each plug-in identification.
It can be understood that the execution body of the method in this embodiment is a server.
It will be appreciated that a client may send a plug-in update request to a server, which may receive the plug-in update request, where the plug-in update request includes a program version of an application program, a plug-in identifier of the application program, and a plug-in version corresponding to each of the plug-in identifiers. The application program can comprise at least one plug-in, and the plug-ins are in one-to-one correspondence with the plug-in identifications. It is understood that the plug-in identifier of the application program may include one plug-in identifier or may include a plurality of plug-in identifiers; the plug-in of the application may have different plug-in versions, and there may be multiple plug-in applicable program (APP) versions for each plug-in version.
S2, obtaining information of plugins corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier.
It can be understood that after receiving the plug-in update request, the server may obtain, from a preset plug-in information table, all plug-in versions corresponding to the plug-in identifier according to any plug-in identifier of the application program in the plug-in update request, and obtain information of a plug-in corresponding to a highest plug-in version in the all plug-in versions, where the plug-in version corresponding to the plug-in identifier in the plug-in update request is not higher than the highest plug-in version in the all plug-in versions. It can be understood that, in the plug-in update request, the plug-in version corresponding to the plug-in identifier is not higher than the highest plug-in version in all the plug-in versions, so that the requirement of updating the plug-in of the application program is met, and if the plug-in version corresponding to the plug-in identifier in the plug-in update request is higher than/equal to the highest plug-in version in all the plug-in versions, the plug-in of the application program does not need to be updated. It is understood that the server may query the preset plug-in information table by accessing a database.
And S3, judging whether the plugin corresponding to the highest plugin version is suitable for the program version of the application program in the plugin update request according to the plugin information corresponding to the highest plugin version.
It can be understood that after obtaining the information of the plugin corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from the preset plugin information table, the server determines whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, and if the plugin corresponding to the highest plugin version is not applicable to the program version of the application program in the plugin update request, the process ends and the plugin of the application program cannot be updated.
S4, for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the patch package download address to the client.
It can be understood that after determining that the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is applicable to the program version of the application program in the plug-in update request, the server further determines whether the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package; if the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package, acquiring a patch package downloading address corresponding to the highest plug-in version corresponding to the plug-in identifier from a preset plug-in patch information table, and sending the patch package downloading address to the client; after receiving the patch package download address, the client can download the patch package of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier according to the patch package download address, and then update the corresponding plug-in according to the patch package and the local plug-in package. It is understood that the server may query the preset plug-in patch information table by accessing a database.
According to the plug-in increment updating method for the application program, provided by the embodiment of the invention, the downloading address of the patch package can be obtained through the program version of the application program, the plug-in identification of the application program, the plug-in version corresponding to each plug-in identification, the preset plug-in information table and the preset plug-in patch information table, and the downloading address of the patch package corresponding to the plug-in identification is provided for the client, so that the client can perform increment updating on the plug-in through the patch package and the local plug-in package, the updating of the whole plug-in can be avoided, and the updating efficiency of the plug-in is improved.
Further, on the basis of the foregoing embodiment, in the step S4, for any plugin identifier of the application in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, the method may further include:
acquiring a package download address of a plug-in package in the information of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier;
accordingly, the "send the patch package download address to the client" in the step S4 may include:
And sending the package download address and the patch package download address to the client so that the client uses the package download address to update the package when the local package is deleted.
It may be understood that, in this embodiment, when a patch package is provided in a plug-in corresponding to a highest plug-in version corresponding to the plug-in identifier, a patch package download address corresponding to the highest plug-in version corresponding to the plug-in identifier is obtained from a preset plug-in patch information table, and meanwhile, a plug-in package download address in information of a plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is obtained, and the plug-in package download address and the patch package download address are sent to the client together, so that it is possible to prevent that a local plug-in package of the client is deleted, and the client can send the patch package download address and the plug-in package download address to the client at the same time when the client cannot complete a plug-in update only according to the patch package downloaded by the patch package download address, and the client can download the plug-in package according to the plug-in package download address and update the corresponding plug-in package.
Further, on the basis of the above embodiment, the step S3 may include:
Judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program according to the plugin information corresponding to the highest plugin version;
and if the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request.
It can be understood that the preset plug-in information table includes information of at least one plug-in, where the information of the plug-in includes whether all program (APP) versions are applicable to the plug-in, so that the server can determine, according to the information of the plug-in corresponding to the highest plug-in version, whether the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, and if so, the plug-in corresponding to the highest plug-in version is certainly applicable to the program version of the application program in the plug-in update request.
Further, after determining whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application, the step S3 may further include:
if the plugin corresponding to the highest plugin version is not suitable for all program versions of the application program, acquiring the program version suitable for the plugin corresponding to the highest plugin version from a preset plugin-application version relation table;
Judging whether the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version;
and if the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in updating request.
It can be understood that the preset plug-in and application version relationship table includes at least one plug-in and application version relationship information, where the plug-in and application version relationship information includes a plug-in applicable program (APP) version, so that the server can obtain a plug-in applicable program version corresponding to the highest plug-in version from the preset plug-in and application version relationship table, match the program version of the application in the plug-in update request with the obtained plug-in applicable program version corresponding to the highest plug-in version, and if so, determine that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application in the plug-in update request. It can be appreciated that the server may query the preset plug-in and application version relationship table by accessing a database.
By the above, the server can determine whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, so as to perform subsequent operations on the situation that the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, and end the flow without updating the plugin of the application program on the situation that the plugin corresponding to the highest plugin version is not applicable to the program version of the application program in the plugin update request.
Further, on the basis of the foregoing embodiment, after the step S3, the method of this embodiment may further include:
and for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier does not have a patch package, acquiring a plugin package download address in the information of the plugin corresponding to the highest plugin version corresponding to the plugin identifier, and sending the plugin package download address to the client.
It can be understood that after determining that the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is applicable to the program version of the application program in the plug-in update request, the server further determines whether the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package; if the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier does not have a patch package, a plug-in package download address is required to be obtained from the information of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, and the plug-in package download address is sent to the client; and after receiving the package download address, the client can download the package according to the package download address and update the corresponding package.
According to the plug-in increment updating method of the application program, the download address of the patch package can be obtained and sent to the client side when the patch package is arranged in the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, the plug-in identifier of the application program, the plug-in version corresponding to each plug-in identifier, the preset plug-in information table and the preset plug-in patch information table, the download address of the patch package can be obtained and sent to the client side when the patch package is arranged in the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, the download address of the plug-in package can be obtained and sent to the client side when the patch package is not arranged in the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, so that the client side can correspondingly download the patch package or update the corresponding plug-in package, and can be deleted for the local plug-in package of the client side, and the plug-in package download address can not be simultaneously sent to the client side when the plug-in package update is not completed according to the patch package download address. The incremental updating method for the plug-in of the application program can realize incremental updating of the plug-in, effectively reduce flow and updating time in the process of updating the plug-in, improve updating efficiency of the plug-in and optimize user experience.
Fig. 2 is a schematic structural diagram of a device for updating add-on increment of an application program according to an embodiment of the present invention, where the device for updating add-on increment of an application program according to the embodiment of the present invention is applied to a server, and as shown in fig. 2, the device for updating add-on increment of an application program according to the embodiment of the present invention includes a receiving unit 201, an obtaining unit 202, a judging unit 203, and a first sending unit 204; wherein:
the receiving unit 201 is configured to receive a plug-in update request sent by a client, where the plug-in update request includes a program version of an application program, a plug-in identifier of the application program, and a plug-in version corresponding to each plug-in identifier;
the obtaining unit 202 is configured to obtain, from a preset plugin information table, information of plugins corresponding to highest plugin versions among all plugin versions corresponding to each plugin identifier according to plugin identifiers of the application program and plugin versions corresponding to each plugin identifier;
the judging unit 203 is configured to judge, according to information of the plugin corresponding to the highest plugin version, whether the plugin corresponding to the highest plugin version is applicable to a program version of the application program in the plugin update request;
The first sending unit 204 is configured to, for any plug-in identifier of the application program in the plug-in update request, when a plug-in corresponding to a highest plug-in version corresponding to the plug-in identifier is applicable to a program version of the application program in the plug-in update request, if a plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package, obtain, from a preset plug-in patch information table, a patch package download address corresponding to the highest plug-in version corresponding to the plug-in identifier, and send the patch package download address to the client.
Specifically, the receiving unit 201 receives a plug-in update request sent by a client, where the plug-in update request includes a program version of an application program, a plug-in identifier of the application program, and a plug-in version corresponding to each plug-in identifier; the obtaining unit 202 obtains, from a preset plugin information table, plugin information corresponding to a highest plugin version among all plugin versions corresponding to each plugin identifier according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier; the judging unit 203 judges whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request according to the information of the plugin corresponding to the highest plugin version; the first sending unit 204 obtains, for any plugin identifier of the application program in the plugin update request, a patch package download address corresponding to a highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sends the patch package download address to the client if the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request.
It will be appreciated that the client may send a plug-in update request to the server, and the receiving unit 201 of the server may receive the plug-in update request, where the plug-in update request includes a program version of the application program, a plug-in identifier of the application program, and a plug-in version corresponding to each of the plug-in identifiers. The application program can comprise at least one plug-in, and the plug-ins are in one-to-one correspondence with the plug-in identifications. It is understood that the plug-in identifier of the application program may include one plug-in identifier or may include a plurality of plug-in identifiers; the plug-in of the application may have different plug-in versions, and there may be multiple plug-in applicable program (APP) versions for each plug-in version.
It may be understood that, after receiving the plug-in update request, the obtaining unit 202 of the server obtains, from a preset plug-in information table, all plug-in versions corresponding to the plug-in identifiers according to any plug-in identifier of the application program in the plug-in update request, and obtains information of a plug-in corresponding to a highest plug-in version in the all plug-in versions, where the plug-in version corresponding to the plug-in identifier in the plug-in update request is not higher than the highest plug-in version in the all plug-in versions. It can be understood that, in the plug-in update request, the plug-in version corresponding to the plug-in identifier is not higher than the highest plug-in version in all the plug-in versions, so that the requirement of updating the plug-in of the application program is met, and if the plug-in version corresponding to the plug-in identifier in the plug-in update request is higher than/equal to the highest plug-in version in all the plug-in versions, the plug-in of the application program does not need to be updated. It is understood that the server may query the preset plug-in information table by accessing a database.
It may be appreciated that, after obtaining the information of the plugin corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from the preset plugin information table, the determining unit 203 of the server may determine whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, and if the plugin corresponding to the highest plugin version is not applicable to the program version of the application program in the plugin update request, the plugin of the application program cannot be updated.
It can be understood that after determining that the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is applicable to the program version of the application program in the plug-in update request, the server further determines whether the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package; if the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package, acquiring a patch package downloading address corresponding to the highest plug-in version corresponding to the plug-in identifier from a preset plug-in patch information table, and sending the patch package downloading address to the client; after receiving the patch package download address, the client can download the patch package of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier according to the patch package download address, and then update the corresponding plug-in according to the patch package and the local plug-in package. It is understood that the server may query the preset plug-in patch information table by accessing a database.
The plug-in increment updating device of the application program, which is provided by the embodiment of the invention, is applied to a server, can acquire the download address of the patch package through the program version of the application program, the plug-in identifier of the application program, the plug-in version corresponding to each plug-in identifier, the preset plug-in information table and the preset plug-in patch information table, and provides the download address of the patch package corresponding to the plug-in identifier for a client, so that the client can perform increment updating on the plug-in through the patch package and the local plug-in package, the updating of the whole plug-in can be avoided, and the updating efficiency of the plug-in is improved.
Further, based on the above embodiments, the first transmitting unit 204 may be specifically configured to
For any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, acquiring a plugin package download address in the information of the plugin corresponding to the highest plugin version corresponding to the plugin identifier, and sending the plugin package download address and the patch package download address to the client, so that the client uses the plugin package download address to perform plugin update when a local plugin package is deleted.
It may be understood that, in this embodiment, when a patch package is provided in a plug-in corresponding to a highest plug-in version corresponding to the plug-in identifier, a patch package download address corresponding to the highest plug-in version corresponding to the plug-in identifier is obtained from a preset plug-in patch information table, and meanwhile, a plug-in package download address in information of a plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is obtained, and the plug-in package download address and the patch package download address are sent to the client together, so that it is possible to prevent that a local plug-in package of the client is deleted, and the client can send the patch package download address and the plug-in package download address to the client at the same time when the client cannot complete a plug-in update only according to the patch package downloaded by the patch package download address, and the client can download the plug-in package according to the plug-in package download address and update the corresponding plug-in package.
Further, on the basis of the above embodiment, the judging unit 203 may be specifically configured to
Judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program according to the plugin information corresponding to the highest plugin version;
And if the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request.
It may be understood that the preset plug-in information table includes information of at least one plug-in, where the information of the plug-in includes whether all program (APP) versions are applicable to the plug-in, so the determining unit 203 of the server may determine, according to the information of the plug-in corresponding to the highest plug-in version, whether the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, and if so, the plug-in corresponding to the highest plug-in version is certainly applicable to the program version of the application program in the plug-in update request.
Further, the judging unit 203 may be further configured to
After judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program or not, if the plugin corresponding to the highest plugin version is not applicable to all program versions of the application program, acquiring the applicable program version of the plugin corresponding to the highest plugin version from a preset plugin-application program version relation table;
Judging whether the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version;
and if the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in updating request.
It may be understood that the preset plug-in and application version relationship table includes at least one plug-in and application version relationship information, where the plug-in and application version relationship information includes a plug-in applicable program (APP) version, so that the determining unit 203 of the server may obtain, from the preset plug-in and application version relationship table, a plug-in applicable program version corresponding to the highest plug-in version, match the program version of the application in the plug-in update request with the obtained plug-in applicable program version corresponding to the highest plug-in version, and if so, determine that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application in the plug-in update request. It can be appreciated that the server may query the preset plug-in and application version relationship table by accessing a database.
By the above, the server can determine whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, so as to perform subsequent operations on the situation that the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, and end the flow without updating the plugin of the application program on the situation that the plugin corresponding to the highest plugin version is not applicable to the program version of the application program in the plugin update request.
Further, on the basis of the foregoing embodiment, the apparatus according to this embodiment may further include not shown in the drawings:
and the second sending unit is used for obtaining the package download address in the information of the package corresponding to the highest package version corresponding to the package identifier if the package corresponding to the highest package version corresponding to the package identifier does not have a patch package when the package corresponding to the highest package version corresponding to the package identifier is suitable for the program version of the application program in the package update request.
It can be understood that after determining that the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier is applicable to the program version of the application program in the plug-in update request, the server further determines whether the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package; if the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier does not have a patch package, a plug-in package download address is required to be obtained from the information of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, and the plug-in package download address is sent to the client; and after receiving the package download address, the client can download the package according to the package download address and update the corresponding package.
The plug-in increment updating device of the application program provided by the embodiment of the invention is applied to a server, can obtain the download address of a patch package to be sent to a client when the patch package is arranged on a plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, can obtain the download address of the plug-in package to be sent to the client when the patch package is not arranged on the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier, can enable the client to correspondingly download the patch package or update the corresponding plug-in package, can delete the local plug-in package of the client, and can simultaneously send the download address of the patch package and the download address of the plug-in package to the client under the condition that the plug-in package cannot be updated according to the download address of the patch package only, so that the client can download the plug-in package according to the download address of the patch package. The incremental updating method for the plug-in of the application program can realize incremental updating of the plug-in, effectively reduce flow and updating time in the process of updating the plug-in, improve updating efficiency of the plug-in and optimize user experience.
The device for updating the plug-in increment of the application program provided by the embodiment of the invention can be used for executing the technical scheme of the embodiment of the method, and the implementation principle and the technical effect are similar, and are not repeated here.
Fig. 3 shows a schematic physical structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device may include a memory 302, a processor 301, a bus 303, and a computer program stored in the memory 302 and capable of running on the processor 301, where the processor 301 and the memory 302 complete communication with each other through the bus 303. The steps of implementing the above method when the processor 301 executes the computer program include, for example: receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier; obtaining information of plugins corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier; judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request or not according to the plugin information corresponding to the highest plugin version; for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the patch package download address to the client.
Further, the logic instructions in memory 302 described above may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the methods provided by the above-described method embodiments, for example comprising: receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier; obtaining information of plugins corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier; judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request or not according to the plugin information corresponding to the highest plugin version; for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the patch package download address to the client.
The present embodiment provides a non-transitory computer-readable storage medium storing a computer program that causes the computer to execute the methods provided by the above-described method embodiments, for example, including: receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier; obtaining information of plugins corresponding to the highest plugin version in all plugin versions corresponding to each plugin identifier from a preset plugin information table according to the plugin identifier of the application program and the plugin version corresponding to each plugin identifier; judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request or not according to the plugin information corresponding to the highest plugin version; for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the patch package download address to the client.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (5)
1. A method for incremental updating of plug-ins for an application, comprising:
receiving a plug-in update request sent by a client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier;
registering the updated plug-in, and storing the information of the updated plug-in a preset plug-in information table;
according to the plug-in identification of the application program and the plug-in version corresponding to each plug-in identification, obtaining the information of the plug-in corresponding to the highest plug-in version in all plug-in versions corresponding to each plug-in identification from a preset plug-in information table, wherein the plug-in information comprises:
According to any plugin identifier of the application program in the plugin update request, all plugin versions corresponding to the plugin identifier are obtained from a preset plugin information table, and plugin information corresponding to the highest plugin version in all plugin versions is obtained, wherein the plugin version corresponding to the plugin identifier in the plugin update request is not higher than the highest plugin version in all plugin versions;
judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request or not according to the plugin information corresponding to the highest plugin version;
for any plugin identifier of the application program in the plugin update request, when a plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if a plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, acquiring a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and sending the patch package download address to the client;
Judging whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request according to the plugin information corresponding to the highest plugin version, wherein the method comprises the following steps:
judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program according to the plugin information corresponding to the highest plugin version;
if the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request;
after determining whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program, the method further includes:
if the plugin corresponding to the highest plugin version is not suitable for all program versions of the application program, acquiring the program version suitable for the plugin corresponding to the highest plugin version from a preset plugin-application version relation table;
judging whether the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version;
If the program version of the application program in the plug-in update request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request;
after determining whether the plugin corresponding to the highest plugin version is applicable to the program version of the application program in the plugin update request, the method further includes:
and for any plugin identifier of the application program in the plugin update request, when the plugin corresponding to the highest plugin version corresponding to the plugin identifier is applicable to the program version of the application program in the plugin update request, if the plugin corresponding to the highest plugin version corresponding to the plugin identifier does not have a patch package, acquiring a plugin package download address in the information of the plugin corresponding to the highest plugin version corresponding to the plugin identifier, and sending the plugin package download address to the client.
2. The method for incremental update of a plug-in of an application according to claim 1, wherein, for any plug-in identifier of the application in the plug-in update request, when a plug-in corresponding to a highest plug-in version corresponding to the plug-in identifier is applicable to a program version of the application in the plug-in update request, if a plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier has a patch package, the method further comprises:
Acquiring a package download address of a plug-in package in the information of the plug-in corresponding to the highest plug-in version corresponding to the plug-in identifier;
correspondingly, the sending the patch package download address to the client includes:
and sending the package download address and the patch package download address to the client so that the client uses the package download address to update the package when the local package is deleted.
3. A plug-in delta update apparatus for an application, comprising:
the receiving unit is used for receiving a plug-in update request sent by the client, wherein the plug-in update request comprises a program version of an application program, a plug-in identifier of the application program and a plug-in version corresponding to each plug-in identifier;
the acquisition unit is used for registering the updated plugins and storing the information of the updated plugins in a preset plugin information table; according to the plug-in identification of the application program and the plug-in version corresponding to each plug-in identification, obtaining the information of the plug-in corresponding to the highest plug-in version in all plug-in versions corresponding to each plug-in identification from a preset plug-in information table, wherein the plug-in information comprises: according to any plugin identifier of the application program in the plugin update request, all plugin versions corresponding to the plugin identifier are obtained from a preset plugin information table, and plugin information corresponding to the highest plugin version in all plugin versions is obtained, wherein the plugin version corresponding to the plugin identifier in the plugin update request is not higher than the highest plugin version in all plugin versions;
The judging unit is configured to judge, according to information of the plugin corresponding to the highest plugin version, whether the plugin corresponding to the highest plugin version is applicable to a program version of an application program in the plugin update request, and includes:
judging whether the plugin corresponding to the highest plugin version is applicable to all program versions of the application program according to the plugin information corresponding to the highest plugin version; if the plug-in corresponding to the highest plug-in version is applicable to all program versions of the application program, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request; if the plugin corresponding to the highest plugin version is not suitable for all program versions of the application program, acquiring the program version suitable for the plugin corresponding to the highest plugin version from a preset plugin-application version relation table; judging whether the program version of the application program in the plug-in updating request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version; if the program version of the application program in the plug-in update request is matched with the program version applicable to the plug-in corresponding to the highest plug-in version, determining that the plug-in corresponding to the highest plug-in version is applicable to the program version of the application program in the plug-in update request;
A first sending unit, configured to, for any plugin identifier of the application program in the plugin update request, when a plugin corresponding to a highest plugin version corresponding to the plugin identifier is applicable to a program version of the application program in the plugin update request, if a plugin corresponding to the highest plugin version corresponding to the plugin identifier has a patch package, obtain a patch package download address corresponding to the highest plugin version corresponding to the plugin identifier from a preset plugin patch information table, and send the patch package download address to the client;
and the second sending unit is used for obtaining the package download address in the information of the package corresponding to the highest package version corresponding to the package identifier if the package corresponding to the highest package version corresponding to the package identifier does not have a patch package when the package corresponding to the highest package version corresponding to the package identifier is suitable for the program version of the application program in the package update request.
4. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the plug-in delta update method of an application program according to any one of claims 1 to 2 when the program is executed by the processor.
5. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the plug-in delta update method of an application program according to any of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910794426.1A CN110543324B (en) | 2019-08-27 | 2019-08-27 | Plug-in increment updating method and device for application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910794426.1A CN110543324B (en) | 2019-08-27 | 2019-08-27 | Plug-in increment updating method and device for application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110543324A CN110543324A (en) | 2019-12-06 |
CN110543324B true CN110543324B (en) | 2024-02-23 |
Family
ID=68710581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910794426.1A Active CN110543324B (en) | 2019-08-27 | 2019-08-27 | Plug-in increment updating method and device for application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110543324B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111722861B (en) * | 2020-06-17 | 2023-03-10 | 中国第一汽车股份有限公司 | Application program upgrading method, device, equipment and storage medium |
CN111932243A (en) * | 2020-07-15 | 2020-11-13 | 中国银联股份有限公司 | Riding code plug-in management method, device, server, terminal equipment and medium |
CN112698858B (en) * | 2021-01-13 | 2023-02-07 | 郑州阿帕斯数云信息科技有限公司 | Plug-in updating method, device and system |
CN112783515B (en) * | 2021-02-08 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Plug-in control method and device and storage medium |
CN114756271B (en) * | 2022-04-29 | 2023-07-28 | 深圳市欧瑞博科技股份有限公司 | Interface updating method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3179688A1 (en) * | 2015-12-11 | 2017-06-14 | Koninklijke KPN N.V. | Updating part of a manifest file on the basis of patches |
CN107015821A (en) * | 2016-01-28 | 2017-08-04 | 腾讯科技(深圳)有限公司 | The method and apparatus of incremental update |
CN108037941A (en) * | 2017-12-27 | 2018-05-15 | 掌阅科技股份有限公司 | Application program update method, electronic equipment based on public plug-in unit, storage medium |
CN108845812A (en) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | Update of plug-in method, apparatus, computer equipment and storage medium |
-
2019
- 2019-08-27 CN CN201910794426.1A patent/CN110543324B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3179688A1 (en) * | 2015-12-11 | 2017-06-14 | Koninklijke KPN N.V. | Updating part of a manifest file on the basis of patches |
CN107015821A (en) * | 2016-01-28 | 2017-08-04 | 腾讯科技(深圳)有限公司 | The method and apparatus of incremental update |
CN108037941A (en) * | 2017-12-27 | 2018-05-15 | 掌阅科技股份有限公司 | Application program update method, electronic equipment based on public plug-in unit, storage medium |
CN108845812A (en) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | Update of plug-in method, apparatus, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110543324A (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110543324B (en) | Plug-in increment updating method and device for application program | |
CN108460115B (en) | Message pushing method and device, computer equipment and storage medium | |
US20140317174A1 (en) | Method and device for updating client | |
CN108235763B (en) | Detection system, method and related device | |
CN112788126A (en) | Resource downloading method, device, server and storage medium | |
CN110750286B (en) | Management method, device, system, equipment and medium for upgrading Mbn through OTA | |
CN104699511A (en) | Plug-in upgrading method and plug-in upgrading device | |
CN106227893A (en) | A kind of file type acquisition methods and device | |
CN113434293A (en) | Method and apparatus for processing repeat request, storage medium, and electronic apparatus | |
CN113535226B (en) | Application downloading method, terminal, server, computer device and storage medium | |
CN114756257B (en) | Data updating method, device, communication module and readable storage medium | |
CN116048533B (en) | Implementation method and system for achieving dependency isolation in Flink task running | |
CN112416388A (en) | Intelligent mobile terminal software upgrading method and upgrading control system thereof | |
CN112328325A (en) | Execution method and device of model file, terminal equipment and storage medium | |
CN113992739B (en) | Local area network OTA firmware upgrading device, method and system | |
CN115756527A (en) | Client multi-language file updating method and device, electronic device and storage medium | |
CN110825406A (en) | Software upgrading method and related equipment | |
CN108228226B (en) | Hard link differential method and device and corresponding terminal | |
CN112887958A (en) | Data storage method, storage medium and terminal equipment | |
CN111367550A (en) | Internet of things management system, method and equipment | |
CN117883789B (en) | Data acquisition method, apparatus, device, readable storage medium, and program product | |
CN113032342B (en) | Video labeling method and device, electronic equipment and storage medium | |
CN114338656B (en) | Method and system for rapidly upgrading firmware of electric energy meter and readable storage medium | |
CN111104251B (en) | Method, apparatus and computer readable medium for restoring files | |
CN113238777B (en) | Application program updating method, device, equipment and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |