CN111679842A - Application program hot update processing method, device and system - Google Patents

Application program hot update processing method, device and system Download PDF

Info

Publication number
CN111679842A
CN111679842A CN201910202500.6A CN201910202500A CN111679842A CN 111679842 A CN111679842 A CN 111679842A CN 201910202500 A CN201910202500 A CN 201910202500A CN 111679842 A CN111679842 A CN 111679842A
Authority
CN
China
Prior art keywords
resource
information
space object
application program
resource space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910202500.6A
Other languages
Chinese (zh)
Other versions
CN111679842B (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910202500.6A priority Critical patent/CN111679842B/en
Publication of CN111679842A publication Critical patent/CN111679842A/en
Application granted granted Critical
Publication of CN111679842B publication Critical patent/CN111679842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The embodiment of the application discloses a method, a device and a system for processing hot update of an application program, wherein the system comprises the following steps: the control center server is used for creating a resource space object for the application program and providing identification and version information of the resource space object, wherein the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information; the checking and updating server is used for obtaining the available version information of the resource space object and the related network storage address information; and the checking and updating client is used for being introduced into the target application program client, acquiring the network storage address information of the resource space object of the available version under the triggering of the target event, downloading the network storage address information and updating by using the resource object corresponding to the target condition description information matched with the local running environment. Through the embodiment of the application, the accuracy and timeliness of directional hot updating can be improved, and a large amount of resource waste is avoided.

Description

Application program hot update processing method, device and system
Technical Field
The present application relates to the field of application hot update technologies, and in particular, to a method, an apparatus, and a system for processing application hot update.
Background
Before the hot update technology appears, if a bug appears in an online mobile terminal application program (app), even a very small bug may exist in the case of not updating in time, and if the bug needs to be updated in time, the app needs to be packaged and published to the application market again, so that the user can download the app again, and the user experience is greatly reduced. When a hot update occurs, such a problem is no longer a problem. The 'hot update' refers to dynamic code issuing in application, so that a developer can repair technical defects or add functions in a state that a new version is not issued, when a user opens the application, the developer can automatically remind and download and upgrade the application, and after the application is downloaded, software can be automatically installed. The 'hot update' does not need to update the audit through the software version of the application store, so many developers choose to modify the technical defects by using the method, and quick iteration is realized.
In a mobile terminal resource changing system, with the development of an App, a condition of directional release of changed resources occurs, and an application program provides two resources, namely a resource a and a resource B, wherein the resource a only provides a device with an App version of 7.1, and the other versions of the device use the resource B. Specific condition settings may also include operating system, model, brand, and the like.
In order to achieve the above purpose, there are two general solutions in the prior art, one is to perform directional pushing of resources from a server to a client, and the other is to actively request specific resource data from the client to the server. However, as for the first method, the problem of the server performing the selection of the terminal device is involved, that is, the server push is delivered according to the device ID, which devices to push are already determined at the time of the delivery, and if the conditions change before the device receives the resource, the device misses or erroneously receives the resource. For example, pushing the resource a to all devices with appVersion equal to 7.0, a version of a certain device X is 6.9 when the push task is generated, and therefore, the device X is not included in the scope of the circle selection by the server, and at this time, even if the device X is updated to 7.0 by the application market, the device X cannot receive the resource.
For the second method, since the update of the resource usually has a high requirement on timeliness, in order to obtain the update in time, the client needs to frequently and periodically access the server, and the server needs to open a corresponding thread to process the request, and when the loading amount of the client is very large, some large promotion activities and the like are very large in online amount, the number of threads that the server needs to open is also very large, the performance requirement on the server is very high, and the system is easily broken down. In addition, the possible update frequency of some resources may not be high, but in order to ensure the timeliness of the update, the client has to access the server at a high frequency, thereby causing a great deal of resource waste.
Therefore, how to improve the accuracy and timeliness of the directional hot update and avoid causing a great deal of resource waste becomes a technical problem to be solved by the technical personnel in the field.
Disclosure of Invention
The application provides an application program hot update processing method, device and system, which can improve the accuracy and timeliness of directional hot update and avoid causing a large amount of resource waste.
The application provides the following scheme:
an application hot update processing system, comprising:
the control center server is used for creating a resource space object for the application program and providing identification and version information of the resource space object, wherein the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
the checking and updating server is used for obtaining the available version information of the resource space object and the related network storage address information;
and the check updating client is used for being introduced into the target application program client, acquiring the network storage address information of the resource space object of the available version by submitting a check updating request to the check updating server under the triggering of a target event, downloading the resource space object of the available version, and updating by using the resource object corresponding to the target condition description information matched with the local operating environment.
An application hot update processing method, comprising:
the control center server side creates a resource space object according to a request for creating the resource space object for a specified application program, and provides identification and version information of the resource space object;
receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
An application hot update processing method, comprising:
checking an update server to obtain available version information of a resource space object and related network storage address information, wherein the resource space object is created by a control center server and corresponds to an application program to be updated, the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
after receiving a checking and updating request submitted by a checking and updating client introduced into a target application program client, returning network storage address information corresponding to a resource space object of an available version according to available version information of the resource space object associated with the target application program so that the checking and updating client can download the resource space object of the available version, determining target condition description information matched with the current operating environment through a resource object and condition description information included in the target condition description information, and updating the target application program client through the resource object corresponding to the target condition description information.
An application hot update processing method, comprising:
the checking and updating client side obtains the network storage address information of the available version resource space object by submitting a checking and updating request to the checking and updating server side under the triggering of a target event in the associated application program client side; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
downloading the resource space object information of the available version through the network storage address information;
and determining target condition description information matched with the current operating environment according to the resource body object and the condition description information included in the resource space object, and updating the target application program client through the resource body object corresponding to the target condition description information.
An application hot update processing device applied to a control center server side comprises:
the resource space object creating unit is used for creating the resource space object according to the request for creating the resource space object for the specified application program and providing the identification and the version information of the resource space object;
a resource object information receiving unit, configured to receive resource object information configured for the resource space object, where the resource space object includes at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
and the information providing unit is used for providing the available version information of the resource space object and the related network storage address information to the check updating server, so that the application program client requests to obtain the network storage address information of the available version resource space object from the check updating server under the triggering of a target event by introducing the check updating client, downloads the available version resource space object and updates the resource object by using the resource body object corresponding to the target condition description information matched with the local operating environment.
An application hot-update processing device applied to an inspection update server, comprising:
the information acquisition unit is used for acquiring available version information of a resource space object and related network storage address information, wherein the resource space object is created by a control center server and corresponds to an application program to be updated, the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
the information returning unit is used for returning network storage address information corresponding to the resource space object of the available version according to the available version information of the resource space object associated with the target application program after receiving a check update request submitted by a check update client introduced into the target application program client, so that the check update client downloads the resource space object of the available version, determines target condition description information matched with the current operating environment through the resource object and the condition description information included in the information, and updates the target application program client through the resource object corresponding to the target condition description information.
An application hot-update processing device applied to an inspection update client, comprising:
a checking and updating request submitting unit, configured to, under triggering of a target event in an associated application client, submit a checking and updating request to a checking and updating server to obtain network storage address information of an available version resource space object; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
the information downloading unit is used for downloading the resource space object information of the available version through the network storage address information;
and the updating unit is used for determining target condition description information matched with the current running environment according to the resource body object and the condition description information included in the resource space object, and updating the target application program client through the resource body object corresponding to the target condition description information.
A computer system, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform operations comprising:
according to a request for creating a resource space object for a specified application program, creating the resource space object, and providing an identifier and version information of the resource space object;
receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
according to the embodiment of the application, the resources needing to be updated in the specific application program can be configured through the control center server, the resource space objects and the resource body objects can be managed, the identification information and the version information can be provided for the resource space objects, and the respective condition description information can be configured for different resource body objects in the same resource space object. In addition, a checking and updating server can be provided for exporting the resource space object information in the specific control center server. Furthermore, it can also provide an update detection client for a specific application program client, through which a specific required resource space object can be subscribed, and under the trigger of a specific event, an update request can be sent to the check update server, the check update server determines whether the latest resource space object version is consistent with the resource space object version used by the current application program client in the last update, if not, the network storage address information of the latest resource space object can be returned, the check update client downloads the latest resource space object and parses the resource object and condition description information therein, and then, according to the matching result of the current operating environment and each resource object and condition description information, a specific available resource object is determined, and updating is carried out. That is to say, the application client may perform the check update request when needed, and may download all the resources corresponding to the multiple different condition descriptions in the same update task to the local, and perform the matching judgment on the specific condition descriptions at the application client, thereby improving the accuracy and timeliness of the directed hot update and avoiding the waste of a large amount of resources.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of a system provided by an embodiment of the present application;
FIG. 2 is a diagram illustrating resource expression provided by an embodiment of the present application;
FIG. 3 is a diagram illustrating a snapshot representation provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of another system architecture provided by embodiments of the present application;
FIG. 5 is a flow chart of a first method provided by an embodiment of the present application;
FIG. 6 is a flow chart of a second method provided by embodiments of the present application;
FIG. 7 is a flow chart of a third method provided by embodiments of the present application;
FIG. 8 is a schematic diagram of a first apparatus provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a second apparatus provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a third apparatus provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a computer system provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
In the embodiment of the present application, a control center server may be provided, and a user facing the control center server may be specifically a developer of an application program, or, in a case that one application program includes a plurality of modules, a developer of a specific module in the application program, and the like. When the application program or the module thereof needs to be updated, the configuration can be carried out through the control center server side. In addition, a check update server can be provided, specifically, information of the configured resources needing to be updated is exported, a check update client is provided for the application program client, the check update client can judge whether the resources needing to be updated exist through the check update server under the trigger of a preset event (for example, the application program client is started, or the operation mode is switched from a background to a foreground and the like) through interaction with the check update server, and if the resources exist, the resources can be downloaded and updated from a network storage address provided by the control center server.
Specific implementations are described in detail below.
Example one
First, the first embodiment provides an application hot-update system, and referring to fig. 1, the system may specifically include:
the control center server 101 is configured to create a resource space object for an application program, and provide an identifier and version information of the resource space object, where the resource space includes at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
the checking and updating server 102 is used for obtaining the available version information of the resource space object and the related network storage address information;
and the check updating client 103 is used for being introduced into the target application program client, acquiring the network storage address information of the resource space object of the available version by submitting a check updating request to the check updating server under the triggering of a target event, downloading the resource space object of the available version, and updating by using the resource object corresponding to the target condition description information matched with the local operating environment.
Specifically, as shown in fig. 2, the control center server 101 may create a resource space object (which may be referred to as "pod" in this embodiment) for a specific application, may include one or more resource body objects (which may be referred to as "pea" in this embodiment) in the same resource space object, and each resource body object may correspond to respective condition description information.
In order to describe the conditions, expression design specifications can be provided in concrete implementation. For example, in a specific implementation, the specific expression design specification may include:
ANY is matched in ANY;
NONE is any mismatch;
conventional expression format: { key } [ { opr } { value } ];
concatenation of multiple expressions: value and type of the & key;
type enumeration of key:
os _ ver: system version, version type, e.g., os _ ver ═ 11.1;
did _ hash: deviceId hash and assign a template, take the template type, e.g., did _ hash 100_ 0-49;
m _ brand: brands, strings, e.g., m _ brand ═ apples;
m _ model: model, character string, e.g., M _ model ═ M16;
m _ vector: vendor strings, e.g., m _ vendor ═ meizu;
app _ ver: a client version type, e.g., app _ ver > 7.0.
In addition, specific relational expressions such as greater than, equal to, less than and the like can be designed.
Specifically, for example, in order to solve one bug existing in a module in a certain application, a developer of the certain module provides related resources that need to be updated, and the specifically used resources are different for different application versions, for example, a resource a needs to be used for updating above version 8.1, and a resource B needs to be used for updating below version 8.1. At this time, the application developer may create a specific pod through the control center server in the embodiment of the present application, and create two peas in the pod, where the corresponding condition description information is: client version type app _ ver > -8.1 and client version type app _ ver < 8.1.
The control center server can provide identification information for a specifically created pod, so that the pod can be subscribed in a specific application client. The specific pod created may also change, for example, for the case in the above example, it is found that after a period of time has elapsed, a new pea needs to be added to the pod, or a previous one needs to be modified, etc. Thus, version information can also be provided for the pod.
In addition, the same application client may include multiple modules, each of which may have its own resource to be updated, and thus, the same application may include multiple different pods. In a specific implementation, in order to facilitate update management on a specific pod, multiple pods associated with the same application may be packaged to generate a specific snapshot in an application unit. For example, as shown in fig. 3, an application client includes N modules, each module corresponds to one pod, and each pod includes a plurality of peas, and at this time, the N pods may be packaged into a snapshot corresponding to the application. In addition, version information of the snapshot can be provided, and when any pod associated with the same application program changes (a new pod is added, a new pea is added to an original pod, or the content or condition description of a certain pea in the original pod is modified, etc.), all the pods associated with the application program can be repackaged to generate a new snapshot, and the version of the snapshot can be updated.
Specifically, there may be a plurality of ways to store the snapshot corresponding to each application, for example, in one way, the snapshot corresponding to the specific application may be delivered to a CDN (content delivery network) for storage. The CDN is a content delivery network constructed on the network, and by means of edge servers deployed in various places, a user can obtain required content nearby through functional modules of a central platform, such as load balancing, content delivery, scheduling and the like, so that network congestion is reduced, and the access response speed and hit rate of the user are improved.
In the case where the control center server is provided, in order to facilitate a specific application client to obtain resource information required for specific update, an inspection update server 102 may be further provided, where the inspection update server is specifically configured to expose information, such as a version of a snapshot generated in the control center server and a network storage address, to the specific application client, so that the application client downloads and updates the snapshot. That is, the method and the device can be used to obtain version information of the latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot. In a specific implementation, in order to enable the checking and updating server to obtain the information, as shown in fig. 4, a first SDK (software development kit) may be provided for the checking and updating server, where the first SDK is used to subscribe the snapshot information corresponding to the specific application program to the control center server, so that after the control center server generates a new snapshot each time, the version information of the latest snapshot and the network storage address information corresponding to the latest snapshot may be pushed to the checking and updating server for storage. During specific implementation, the check update server may use a probe technology to express the information, for example, the information may be expressed as < app identifier, snapshot version, snapshot url, check code > quadruple, which may play a role in saving storage space.
In order to enable the application client to obtain the resource information that needs to be updated specifically, and not to affect the underlying service, the embodiment of the present application may further provide the checking and updating client 103, where the checking and updating client 103 may be introduced into the target application client. That is to say, for an application program that performs resource configuration updating through the aforementioned control center server, the check updating client provided in the embodiment of the present application may be introduced into its client. The checking and updating client may specifically be configured to submit a checking and updating request to the checking and updating server under the trigger of a target event (for example, the application client is started, or the operation mode is switched from a background to a foreground, and the like), where the checking and updating request may carry a specific App identifier, version information of a snapshot used in the last updating, and the like. In this way, the check update server may determine whether the version of the current snapshot (e.g., the latest snapshot) corresponding to the App identifier is consistent with the version of the snapshot used in the last update, and if not, may return network storage address information corresponding to the available version (e.g., the latest version) to the check update client. The checking and updating client downloads the specific snapshot according to the specific network storage address, then analyzes the downloaded snapshot to determine the pod, the ped list included in each pod, the condition description information corresponding to each pea, and the like, so that the parameters in the current operating environment can be matched with the condition description information corresponding to each pea, and the pea which is successfully matched can be used for updating the current application program client.
In a specific implementation, the check update client 103 may be implemented in various forms, for example, in a specific manner, the check update client 103 may specifically exist in the form of an SDK. For the case that the application program includes a plurality of modules, as shown in fig. 4, the application program may specifically include a second SDK and a third SDK. The second SDK is used for being introduced into the main process of the target application program client, and when the target application program client is started, the second SDK may be started, and then, under the trigger of a target event, a check update request may be submitted to the check update server, and the request carries the application program identifier associated with the target application program client and snapshot version information used in the last update. For example, when the target application program client is started, a check update request is submitted to the check update server. Or, when the application program client is switched from a background operation mode to a foreground operation mode, submitting a check update request to the check update server, and the like.
The third SDK may be specifically configured to be introduced into a sub-process corresponding to each of the plurality of modules in the target application client, and may subscribe to the resource space object identifier from the second SDK. That is to say, the second SDK may subscribe to the identification of the pod created specifically at the control center server, and this subscription relationship information may be stored locally, and the subsequent second SDK may call back each module of the application client according to this correspondence, and provide the pod information corresponding to the subscription to the second SDK. For example, a certain application client includes a module a, a module B, and a module C, and can subscribe to a podA, a podB, and a podC corresponding to the application. It should be noted that, since the specific pod is created by the developer of the specific application module through the control center server, the developer may obtain the identification information of the specific pod, and further, by using the identification information of the pod, in the module code corresponding to the application client, the specific pod identification may be subscribed by using the third SDK. For example, if a developer of module A creates a podA, the podA can be subscribed to in the code of module A, and so on.
After the second SDK initiates a request to the check update server under the trigger of a specific event, because the request carries the identifier of the application program and the version information of the snapshot used in the last update, and the check update server records the version information of the currently available snapshot and the storage address information corresponding to each application program, if the available version of the snapshot is different from the snapshot version information used in the last update, the network storage address information corresponding to the snapshot is carried in the returned response message. That is, assuming that the check update server finds that the version of the latest snapshot of an application is 1.3, and the version of the snapshot used for the last update recorded in the request submitted by the second SDK is 1.2, it proves that the application needs to be updated, and therefore, the network storage address information corresponding to the snapshot of the available version can be returned in the returned response message.
After receiving the specific network storage address information, the second SDK may download and analyze the snapshot of the available version to obtain the resource space object list included therein. Then, since the subscription information of each module in the application program to the pod is recorded, the resource space object information can be provided to the third SDK corresponding to the target module in the application program by calling back the application program module subscribed to each resource space object. Accordingly, the third SDK may first determine that the version information of the currently received pod is an available version of the pod, and in addition, the third SDK may further record a pod version used in the last update, so that the available version of the pod may be compared with the pod version used in the last update. If two differences are found, the pod is proved to have been updated, so that the resource space object can be parsed to obtain the resource object list included therein and the respective corresponding condition description information. Then, it may be determined whether the current operating environment matches the condition description information corresponding to a certain pea, and if the current operating environment matches the condition description information of a certain pea successfully, the associated application module may be updated by using the pea.
In short, according to the embodiment of the present application, resources that need to be updated in a specific application program may be configured through the control center server, and may also be managed in a manner of a resource space object and a resource body object, and may provide identification information and version information for the resource space object, and configure respective condition description information for different resource body objects in the same resource space object. In addition, a checking and updating server can be provided for exporting the resource space object information in the specific control center server. Furthermore, it can also provide an update detection client for a specific application program client, through which a specific required resource space object can be subscribed, and under the trigger of a specific event, an update request can be sent to the check update server, the check update server determines whether the latest resource space object version is consistent with the resource space object version used by the current application program client in the last update, if not, the network storage address information of the latest resource space object can be returned, the check update client downloads the latest resource space object and parses the resource object and condition description information therein, and then, according to the matching result of the current operating environment and each resource object and condition description information, a specific available resource object is determined, and updating is carried out. That is to say, the application client may perform the check update request when needed, and may download all the resources corresponding to the multiple different condition descriptions in the same update task to the local, and perform the matching judgment on the specific condition descriptions at the application client, thereby improving the accuracy and timeliness of the directed hot update and avoiding the waste of a large amount of resources.
Example two
The second embodiment corresponds to the second embodiment, and provides an application program hot update processing method from the perspective of the control center server, and referring to fig. 5, the method may specifically include:
s510: the control center server side creates a resource space object according to a request for creating the resource space object for a specified application program, and provides identification and version information of the resource space object;
s520: receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
s530: and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
During specific implementation, at least one resource space object corresponding to the same application program can be packaged to generate a snapshot corresponding to the application program, and version information of the snapshot is provided; when one resource space object changes, regenerating a snapshot corresponding to the application program, and updating the version information; in this case, the version information of the latest snapshot corresponding to the application program and the network storage address information corresponding to the latest snapshot may be provided to the check update server, so that the check update client introduced in the application program client downloads the snapshot in units of application programs.
During specific implementation, the snapshot corresponding to the application program may also be released to the content delivery network CDN for storage.
EXAMPLE III
The third embodiment is also corresponding to the first embodiment, and from the perspective of checking the update server, there is provided an application hot update processing method, referring to fig. 6, where the method specifically includes:
s610: checking an update server to obtain available version information of a resource space object and related network storage address information, wherein the resource space object is created by a control center server and corresponds to an application program to be updated, the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
s620: after receiving a checking and updating request submitted by a checking and updating client introduced into a target application program client, returning network storage address information corresponding to a resource space object of an available version according to available version information of the resource space object associated with the target application program so that the checking and updating client can download the resource space object of the available version, determining target condition description information matched with the current operating environment through a resource object and condition description information included in the target condition description information, and updating the target application program client through the resource object corresponding to the target condition description information.
In specific implementation, version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot can be obtained, the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and a snapshot version is updated; at this time, whether the version information of the snapshot used in the last update carried in the request is consistent with the available version information of the snapshot is judged, if the version information of the snapshot is inconsistent with the available version information of the snapshot, the network storage address information of the snapshot of the available version is returned so that the check update client downloads the snapshot of the available version, a resource space object information set included in the snapshot, a resource object included in the resource space object information set and condition description information included in the snapshot are obtained through analysis of the snapshot, target condition description information matched with the current operating environment is determined, and the target application program client is updated through the resource object corresponding to the target condition description information.
In specific implementation, the snapshot information of the target application program of the control center server can be subscribed through the first software development kit SDK, so that when the version of the snapshot corresponding to the subscribed application program is updated, the control center server pushes the updated version information and the network storage address information of the corresponding snapshot to the check update server.
The version information of the latest snapshot of the application program and the network storage address information corresponding to the snapshot of the application program can be expressed through a probe technology.
Example four
The fourth embodiment is also corresponding to the embodiment, and from the perspective of checking an update client, there is provided an application hot update processing method, referring to fig. 7, where the method may specifically include:
s710: the checking and updating client side obtains the network storage address information of the available version resource space object by submitting a checking and updating request to the checking and updating server side under the triggering of a target event in the associated application program client side; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
s720: downloading the resource space object information of the available version through the network storage address information;
s730: and determining target condition description information matched with the current operating environment according to the resource body object and the condition description information included in the resource space object, and updating the target application program client through the resource body object corresponding to the target condition description information.
In specific implementation, version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot can be obtained, the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and a snapshot version is updated; after a network storage address corresponding to a specific snapshot is obtained, the information of the snapshot of the available version can be downloaded through the network storage address information; then, the snapshot is analyzed to obtain the resource space object information set included therein, the resource body object and the condition description information included therein, the target condition description information matched with the current operating environment is determined, and the target application program client is updated through the resource body object corresponding to the target condition description information.
Specifically, the subscription information of the third SDK introduced into the module subprocess of the target application client to the resource space object identifier can be received and stored through the second SDK introduced into the main process of the target application client; submitting a checking and updating request to the checking and updating server side through the second SDK under the triggering of a target event, wherein the request carries an application program identifier associated with the target application program client side and snapshot version information used in the last updating; then, the snapshot of the available version can be downloaded and analyzed through the second SDK, a resource space object list included in the snapshot is obtained, the application program modules of all the resource space objects are subscribed through callback, and the resource space object information is provided for a third SDK corresponding to a target module in the application program; and judging the available version of the subscribed resource space object and the version of the resource space object used in the last updating through the third SDK, if the available version of the subscribed resource space object is different from the version of the subscribed resource space object, analyzing the resource space object to obtain a resource object list included in the resource space object list and condition description information corresponding to the resource space object list, determining target condition description information matched with the current running environment, and updating the associated application program module through the resource object corresponding to the target condition description information.
For the parts that are not described in detail in the second to fourth embodiments, reference may be made to the description in the first embodiment, which is not described herein again.
Corresponding to the second embodiment, an embodiment of the present application further provides an application hot-update processing apparatus, referring to fig. 8, where the apparatus is applied to a control center server, and includes:
a resource space object creating unit 810, configured to create a resource space object according to a request for creating a resource space object for a specific application program, and provide an identifier and version information of the resource space object;
a resource object information receiving unit 820, configured to receive resource object information configured for the resource space object, where the resource space object includes at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
an information providing unit 830, configured to provide the available version information of the resource space object and the related network storage address information to the check update server, so that the application client requests, by introducing the check update client, to obtain the network storage address information of the resource space object of the available version from the check update server under the trigger of the target event, and downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
In a specific implementation, the apparatus may further include:
the packaging unit is used for packaging at least one resource space object corresponding to the same application program to generate a snapshot corresponding to the application program and providing version information of the snapshot;
the snapshot version updating unit is used for regenerating a snapshot corresponding to the application program and updating the version information when one resource space object is changed;
the information providing unit is specifically configured to:
and providing the version information of the latest snapshot corresponding to the application program and the network storage address information corresponding to the latest snapshot to a check update server, so that a check update client introduced in the application program client downloads the snapshot by taking the application program as a unit.
In addition, the apparatus may further include:
and the delivery unit is used for delivering the snapshot corresponding to the application program to a Content Delivery Network (CDN) for storage.
Corresponding to the embodiment, the embodiment of the present application further provides an application hot-update processing apparatus, referring to fig. 9, where the apparatus is applied to an inspection update server, and includes:
an information obtaining unit 910, configured to obtain available version information of a resource space object and related network storage address information, where the resource space object is created by a control center server and corresponds to an application program to be updated, where the resource space object includes at least one resource object corresponding to a same update task, and the resource object corresponds to conditional description information;
an information returning unit 920, configured to, after receiving a check update request submitted by a check update client introduced in a target application client, return network storage address information corresponding to a resource space object of an available version according to available version information of the resource space object associated with the target application, so that the check update client downloads the available version resource space object, determine, through a resource object and condition description information included in the available version resource space object, target condition description information matched with a current operating environment, and update the target application client through the resource object corresponding to the target condition description information.
The information obtaining unit may be specifically configured to:
obtaining version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot, wherein the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and the snapshot version is updated;
the information returning unit may specifically be configured to:
judging whether the version information of the snapshot used in the last updating carried in the request is consistent with the available version information of the snapshot, if not, returning the network storage address information of the snapshot of the available version so that the check updating client downloads the snapshot of the available version, analyzing the snapshot to obtain a resource space object information set and a resource object and condition description information contained in the resource space object information set, determining target condition description information matched with the current operating environment, and updating the target application program client through the resource object corresponding to the target condition description information.
Wherein, the information returning unit is specifically configured to:
and subscribing the target application program snapshot information of the control center server through a first Software Development Kit (SDK), so that when the version of the snapshot corresponding to the subscribed application program is updated, the control center server pushes the updated version information and the network storage address information of the corresponding snapshot to the check update server.
The version information of the latest snapshot of the application program and the network storage address information corresponding to the snapshot of the application program can be expressed through a probe technology.
Corresponding to the fourth embodiment, an embodiment of the present application further provides an application hot-update processing apparatus, referring to fig. 10, where the apparatus is applied to an update checking client, and includes:
a check update request submitting unit 1010, configured to, under triggering of a target event in an associated application client, submit a check update request to a check update server to obtain network storage address information of an available version resource space object; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
an information downloading unit 1020, configured to download the available version of the resource space object information through the network storage address information;
an updating unit 1030, configured to determine, according to the resource object and the condition description information included in the resource space object, target condition description information matched with the current operating environment, and update the target application client through the resource object corresponding to the target condition description information.
The check update request submitting unit may be specifically configured to:
obtaining version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot, wherein the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and the snapshot version is updated;
the information downloading unit may specifically be configured to:
downloading information of the snapshot of the latest version available version through the network storage address information;
the update unit may specifically be configured to:
and analyzing the snapshot to obtain a resource space object information set contained in the snapshot, a resource body object and condition description information contained in the snapshot, determining target condition description information matched with the current operating environment, and updating the target application program client through the resource body object corresponding to the target condition description information.
The checking update request submitting unit may specifically include:
the subscription subunit is used for receiving and storing subscription information of a third SDK introduced into a module subprocess of the target application client-side for the resource space object identification through a second SDK introduced into a main process of the target application client-side;
a request submitting subunit, configured to submit a check update request to the check update server under the trigger of a target event through the second SDK, where the request carries an application identifier associated with the target application client and snapshot version information used in the last update;
the information downloading unit is specifically configured to download and analyze a snapshot of the latest version of the available version through the second SDK, obtain a resource space object list included in the snapshot, subscribe an application module of each resource space object through callback, and provide the resource space object information to a third SDK corresponding to a target module in the application;
the update unit is specifically configured to: and judging the available version of the latest version of the subscribed resource space object and the version of the resource space object used in the last updating through the third SDK, if the available version of the latest version of the subscribed resource space object is different from the version of the resource space object used in the last updating, analyzing the resource space object to obtain a resource object list included in the resource space object list and condition description information corresponding to the resource space object list, determining target condition description information matched with the current operating environment, and updating the associated application program module through the resource object corresponding to the target condition description information.
In addition, an embodiment of the present application further provides a computer system, including:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform operations comprising:
according to a request for creating a resource space object for a specified application program, creating the resource space object, and providing an identifier and version information of the resource space object;
receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
FIG. 11 illustrates an architecture of a computer system that may include, in particular, a processor 1110, a video display adapter 1111, a disk drive 1112, an input/output interface 1113, a network interface 1114, and a memory 1120. The processor 1110, the video display adapter 1111, the disk drive 1112, the input/output interface 1113, the network interface 1114, and the memory 1120 may be communicatively connected by a communication bus 1130.
The processor 1110 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided by the present Application.
The Memory 1120 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. Memory 1120 may store an operating system 1121 for controlling the operation of computer system 1100, a Basic Input Output System (BIOS) for controlling low-level operations of computer system 1100. In addition, a web browser 1123, a data store management system 1124, and a hot update processing system 1125, among others, may also be stored. The thermal update processing system 1125 may be an application program for implementing the operations of the foregoing steps in this embodiment. In summary, when the technical solution provided by the present application is implemented by software or firmware, the relevant program codes are stored in the memory 1120 and called for execution by the processor 1110.
The input/output interface 1113 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
Network interface 1114 is used to connect to a communications module (not shown) to enable the device to interact with other devices for communication. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1130 includes a path that transfers information between the various components of the device, such as processor 1110, video display adapter 1111, disk drive 1112, input/output interface 1113, network interface 1114, and memory 1120.
In addition, the computer system 1100 may also obtain information of specific pickup conditions from the virtual resource object pickup condition information database 1141 for performing condition judgment, and the like.
It should be noted that although the above devices only show the processor 1110, the video display adapter 1111, the disk drive 1112, the input/output interface 1113, the network interface 1114, the memory 1120, the bus 1130 and so on, in a specific implementation, the devices may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method, the device, and the system for processing application hot update provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.

Claims (22)

1. An application hot update processing system, comprising:
the control center server is used for creating a resource space object for the application program and providing identification and version information of the resource space object, wherein the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
the checking and updating server is used for obtaining the available version information of the resource space object and the related network storage address information;
and the check updating client is used for being introduced into the target application program client, acquiring the network storage address information of the resource space object of the available version by submitting a check updating request to the check updating server under the triggering of a target event, downloading the resource space object of the available version, and updating by using the resource object corresponding to the target condition description information matched with the local operating environment.
2. The system of claim 1,
the control center server is also used for packaging at least one resource space object corresponding to the same application program to generate a snapshot corresponding to the application program and provide version information of the snapshot, and when one resource space object changes, the snapshot corresponding to the application program is regenerated and the version information is updated;
the check update server is specifically configured to obtain version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot;
the checking and updating client is specifically configured to obtain network storage address information of a snapshot of an available version, download the snapshot of the available version, analyze the snapshot to obtain a resource space object information set included therein, and a resource object and condition description information included therein, determine target condition description information matched with a current operating environment, and update the target application client through the resource object corresponding to the target condition description information.
3. The system of claim 2,
the checking and updating server is specifically used for subscribing the target application program snapshot information of the control center server through a first Software Development Kit (SDK);
the control center server is further configured to, when the version of the snapshot corresponding to the subscribed application program is updated, push the updated version information and the network storage address information of the corresponding snapshot to the check update server.
4. The system of claim 2,
the checking and updating client comprises a second SDK and a third SDK;
the second SDK is used for being introduced into a main process of the target application program client, submitting a checking and updating request to the checking and updating server under the triggering of a target event, and carrying an application program identifier associated with the target application program client and snapshot version information used in the last updating in the request;
and the third SDK is used for being introduced into the subprocess respectively corresponding to the plurality of modules in the target application program client and subscribing the resource space object identifier to the second SDK.
5. The system of claim 4,
the check updating server is also used for carrying the network storage address information corresponding to the snapshot in the returned response message if the available version of the snapshot is different from the version information of the snapshot used in the last updating;
the second SDK is also used for downloading the snapshot of the available version according to the network storage address information and analyzing the snapshot to obtain a resource space object list contained in the snapshot, subscribing the application program module of each resource space object through callback, and providing the resource space object information to a third SDK corresponding to a target module in the application program;
the third SDK is further configured to, if the available version of the subscribed resource space object is different from the resource space object version used in the last update, parse the resource space object to obtain a resource object list included in the resource space object list and corresponding condition description information, determine target condition description information matched with the current operating environment, and update the associated application program module through the resource object corresponding to the target condition description information.
6. The system according to any one of claims 1 to 5,
and the control center server is also used for releasing the snapshot corresponding to the application program to a Content Delivery Network (CDN) for storage.
7. The system according to any one of claims 1 to 5,
the check update server is specifically configured to express, by using a probe technology, version information of the latest snapshot of the application program and network storage address information corresponding to the snapshot of the application program.
8. The system according to any one of claims 1 to 5,
the target event comprises: the target application program client is started, and/or the running state of the target application program client is switched from a background to a foreground.
9. An application program hot update processing method is characterized by comprising the following steps:
the control center server side creates a resource space object according to a request for creating the resource space object for a specified application program, and provides identification and version information of the resource space object;
receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
10. The method of claim 9, further comprising:
packaging at least one resource space object corresponding to the same application program to generate a snapshot corresponding to the application program, and providing version information of the snapshot;
when one resource space object changes, regenerating a snapshot corresponding to the application program, and updating the version information;
the providing the available version information of the resource space object and the related network storage address information to the check update server includes:
and providing the version information of the latest snapshot corresponding to the application program and the network storage address information corresponding to the latest snapshot to a check update server, so that a check update client introduced in the application program client downloads the snapshot by taking the application program as a unit.
11. The method of claim 9, further comprising:
and releasing the snapshot corresponding to the application program to a Content Delivery Network (CDN) for storage.
12. An application program hot update processing method is characterized by comprising the following steps:
checking an update server to obtain available version information of a resource space object and related network storage address information, wherein the resource space object is created by a control center server and corresponds to an application program to be updated, the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
after receiving a checking and updating request submitted by a checking and updating client introduced into a target application program client, returning network storage address information corresponding to a resource space object of an available version according to available version information of the resource space object associated with the target application program so that the checking and updating client can download the resource space object of the available version, determining target condition description information matched with the current operating environment through a resource object and condition description information included in the target condition description information, and updating the target application program client through the resource object corresponding to the target condition description information.
13. The method of claim 12,
the obtaining of the available version information of the resource space object and the related network storage address information includes:
obtaining version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot, wherein the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and the snapshot version is updated;
the returning of the network storage address information corresponding to the resource space object of the available version includes:
judging whether the version information of the snapshot used in the last updating carried in the request is consistent with the available version information of the snapshot, if not, returning the network storage address information of the snapshot of the available version so that the check updating client downloads the snapshot of the available version, analyzing the snapshot to obtain a resource space object information set and a resource object and condition description information contained in the resource space object information set, determining target condition description information matched with the current operating environment, and updating the target application program client through the resource object corresponding to the target condition description information.
14. The method of claim 13,
the obtaining of the version information of the latest snapshot corresponding to the application program and the network storage address information corresponding to the latest snapshot includes:
and subscribing the target application program snapshot information of the control center server through a first Software Development Kit (SDK), so that when the version of the snapshot corresponding to the subscribed application program is updated, the control center server pushes the updated version information and the network storage address information of the corresponding snapshot to the check update server.
15. The method of claim 13,
and expressing the version information of the latest snapshot of the application program and the network storage address information corresponding to the snapshot of the application program by a probe technology.
16. An application program hot update processing method is characterized by comprising the following steps:
the checking and updating client side obtains the network storage address information of the available version resource space object by submitting a checking and updating request to the checking and updating server side under the triggering of a target event in the associated application program client side; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
downloading the resource space object information of the available version through the network storage address information;
and determining target condition description information matched with the current operating environment according to the resource body object and the condition description information included in the resource space object, and updating the target application program client through the resource body object corresponding to the target condition description information.
17. The method of claim 16,
the obtaining network storage address information of the available version resource space object includes:
obtaining version information of a latest snapshot corresponding to the application program and network storage address information corresponding to the latest snapshot, wherein the snapshot is generated by packaging at least one resource space object corresponding to the same application program, and when one resource space object changes, the snapshot corresponding to the application program is regenerated, and the snapshot version is updated;
the downloading the resource space object information of the available version through the network storage address information includes:
downloading information of the snapshot of the available version through the network storage address information;
the updating the target application program client through the resource object corresponding to the target condition description information includes:
and analyzing the snapshot to obtain a resource space object information set contained in the snapshot, a resource body object and condition description information contained in the snapshot, determining target condition description information matched with the current operating environment, and updating the target application program client through the resource body object corresponding to the target condition description information.
18. The method of claim 17,
the obtaining network storage address information of the available version resource space object includes:
receiving and storing subscription information of a third SDK introduced into a module subprocess of the target application client-side for the resource space object identification through a second SDK introduced into a main process of the target application client-side;
submitting a checking and updating request to the checking and updating server side through the second SDK under the triggering of a target event, wherein the request carries an application program identifier associated with the target application program client side and snapshot version information used in the last updating;
the downloading of the information of the snapshot of the available version through the network storage address information includes:
downloading and analyzing the snapshot of the available version through the second SDK to obtain a resource space object list included in the snapshot, subscribing an application program module of each resource space object through callback, and providing the resource space object information to a third SDK corresponding to a target module in the application program;
the updating the target application program client through the resource object corresponding to the target condition description information includes:
and judging the available version of the subscribed resource space object and the version of the resource space object used in the last updating through the third SDK, if the available version of the subscribed resource space object is different from the version of the subscribed resource space object, analyzing the resource space object to obtain a resource object list included in the resource space object list and condition description information corresponding to the resource space object list, determining target condition description information matched with the current running environment, and updating the associated application program module through the resource object corresponding to the target condition description information.
19. An application hot-update processing device, applied to a control center server, includes:
the resource space object creating unit is used for creating the resource space object according to the request for creating the resource space object for the specified application program and providing the identification and the version information of the resource space object;
a resource object information receiving unit, configured to receive resource object information configured for the resource space object, where the resource space object includes at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
and the information providing unit is used for providing the available version information of the resource space object and the related network storage address information to the check updating server, so that the application program client requests to obtain the network storage address information of the available version resource space object from the check updating server under the triggering of a target event by introducing the check updating client, downloads the available version resource space object and updates the resource object by using the resource body object corresponding to the target condition description information matched with the local operating environment.
20. An application hot-update processing device, applied to an update checking server, includes:
the information acquisition unit is used for acquiring available version information of a resource space object and related network storage address information, wherein the resource space object is created by a control center server and corresponds to an application program to be updated, the resource space object comprises at least one resource object corresponding to the same update task, and the resource object corresponds to conditional description information;
the information returning unit is used for returning network storage address information corresponding to the resource space object of the available version according to the available version information of the resource space object associated with the target application program after receiving a check update request submitted by a check update client introduced into the target application program client, so that the check update client downloads the resource space object of the available version, determines target condition description information matched with the current operating environment through the resource object and the condition description information included in the information, and updates the target application program client through the resource object corresponding to the target condition description information.
21. An application hot-update processing device applied to an update checking client, comprising:
a checking and updating request submitting unit, configured to, under triggering of a target event in an associated application client, submit a checking and updating request to a checking and updating server to obtain network storage address information of an available version resource space object; the resource space object is created by a control center server and corresponds to an application program to be updated, wherein the resource space object comprises at least one resource object corresponding to the same updating task, and the resource object corresponds to conditional description information;
the information downloading unit is used for downloading the resource space object information of the available version through the network storage address information;
and the updating unit is used for determining target condition description information matched with the current running environment according to the resource body object and the condition description information included in the resource space object, and updating the target application program client through the resource body object corresponding to the target condition description information.
22. A computer system, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform operations comprising:
according to a request for creating a resource space object for a specified application program, creating the resource space object, and providing an identifier and version information of the resource space object;
receiving resource body object information configured for the resource space object, wherein the resource space object comprises at least one resource body object corresponding to the same update task, and the resource body object corresponds to conditional description information;
and providing the available version information of the resource space object and the related network storage address information to a check updating server, so that the application program client requests to obtain the network storage address information of the resource space object of the available version from the check updating server under the triggering of a target event by introducing the check updating client, downloads the resource space object of the available version and updates the resource space object by using the resource object corresponding to the target condition description information matched with the local operating environment.
CN201910202500.6A 2019-03-11 2019-03-11 Application program hot update processing method, device and system Active CN111679842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910202500.6A CN111679842B (en) 2019-03-11 2019-03-11 Application program hot update processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910202500.6A CN111679842B (en) 2019-03-11 2019-03-11 Application program hot update processing method, device and system

Publications (2)

Publication Number Publication Date
CN111679842A true CN111679842A (en) 2020-09-18
CN111679842B CN111679842B (en) 2023-06-23

Family

ID=72433192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910202500.6A Active CN111679842B (en) 2019-03-11 2019-03-11 Application program hot update processing method, device and system

Country Status (1)

Country Link
CN (1) CN111679842B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328277A (en) * 2020-10-19 2021-02-05 武汉木仓科技股份有限公司 Resource updating method and device of application and server
CN112698884A (en) * 2020-12-30 2021-04-23 北京达佳互联信息技术有限公司 Program starting method, device, system, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150100955A1 (en) * 2012-06-13 2015-04-09 Tencent Technology (Shenzhen) Company Limited Method and System for Updating Software
CN105389182A (en) * 2015-11-02 2016-03-09 广州华多网络科技有限公司 Software upgrading method and apparatus
CN106227554A (en) * 2016-07-08 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and apparatus carrying out applying heat renewal in ios system
CN107463405A (en) * 2017-08-04 2017-12-12 深圳市华傲数据技术有限公司 The update method and device of a kind of application program
CN107608706A (en) * 2017-09-26 2018-01-19 南京哈卢信息科技有限公司 A kind of application program automatic heating update method based on functional module
CN107729041A (en) * 2017-07-26 2018-02-23 上海壹账通金融科技有限公司 The hot update method of application program, device, terminal and storage medium
CN108037946A (en) * 2017-11-03 2018-05-15 金证财富南京科技有限公司 A kind of method, system and the server of the renewal of application program heat
WO2019029457A1 (en) * 2017-08-07 2019-02-14 阿里巴巴集团控股有限公司 Method and apparatus for updating application program on client, and electronic device
WO2019242166A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Application update method and system, and computer device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150100955A1 (en) * 2012-06-13 2015-04-09 Tencent Technology (Shenzhen) Company Limited Method and System for Updating Software
CN105389182A (en) * 2015-11-02 2016-03-09 广州华多网络科技有限公司 Software upgrading method and apparatus
CN106227554A (en) * 2016-07-08 2016-12-14 百度在线网络技术(北京)有限公司 A kind of method and apparatus carrying out applying heat renewal in ios system
CN107729041A (en) * 2017-07-26 2018-02-23 上海壹账通金融科技有限公司 The hot update method of application program, device, terminal and storage medium
CN107463405A (en) * 2017-08-04 2017-12-12 深圳市华傲数据技术有限公司 The update method and device of a kind of application program
WO2019029457A1 (en) * 2017-08-07 2019-02-14 阿里巴巴集团控股有限公司 Method and apparatus for updating application program on client, and electronic device
CN107608706A (en) * 2017-09-26 2018-01-19 南京哈卢信息科技有限公司 A kind of application program automatic heating update method based on functional module
CN108037946A (en) * 2017-11-03 2018-05-15 金证财富南京科技有限公司 A kind of method, system and the server of the renewal of application program heat
WO2019242166A1 (en) * 2018-06-22 2019-12-26 平安科技(深圳)有限公司 Application update method and system, and computer device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEI LIU: "Discussion on Hot Update Mechanism of Mobile Application" *
杭万里 等: "嵌入式设备远程升级方案设计" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328277A (en) * 2020-10-19 2021-02-05 武汉木仓科技股份有限公司 Resource updating method and device of application and server
CN112698884A (en) * 2020-12-30 2021-04-23 北京达佳互联信息技术有限公司 Program starting method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN111679842B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US10503493B2 (en) Distributed versioning of applications using cloud-based systems
US10185626B2 (en) Automatic application error detection and rollback
KR101974626B1 (en) Mobile Application Activity Detector
US10318273B2 (en) Updating software components through online stores
CN109327490B (en) Method and server for deploying cloud service component
US20140047341A1 (en) System and method for configuring cloud computing systems
US20140047342A1 (en) System and method for allocating a cluster of nodes for a cloud computing system based on hardware characteristics
US20140047272A1 (en) System and method for configuring a cloud computing system with a synthetic test workload
US9537962B2 (en) Method, device and system for processing client environment data
US10404568B2 (en) Agent manager for distributed transaction monitoring system
WO2017186066A1 (en) Software management method and apparatus
CN110544128A (en) Channel information acquisition method and device, electronic equipment and storage medium
CN110825399B (en) Deployment method and device of application program
CN107291481B (en) Component updating method, device and system
WO2014075599A1 (en) Method, device and system for processing client environment data
CN109885332A (en) Image quality chip software upgrade method, device, display equipment and storage medium
CN111679842B (en) Application program hot update processing method, device and system
CN113434230A (en) Jump control method and device for H5 page, storage medium and electronic device
CN110113391B (en) Client online method and device and client operation method and device
CN114968406A (en) Plug-in management method and device, electronic equipment and storage medium
CN111865676B (en) Method, device, server and storage medium for updating and checking configuration file
CN111679850A (en) Application program hot update processing method, device and system
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
US10432490B2 (en) Monitoring single content page application transitions
CN111464347A (en) Automatic deployment device and method for large-scale heterogeneous equipment application

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