Application program updating method and device, electronic equipment and storage medium

By obtaining and comparing the identification of material components in the application in a low-code platform, determining the update type and applying corresponding policies, the problem of how to update the old application to adapt to material component iteration is solved, and effective update and compatibility maintenance of the application is achieved.

CN120144151APending Publication Date: 2025-06-13DUOYI NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510216457.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

How to effectively update old applications to adapt to the iteration of low-code platform material components, balancing the relationship between iteration and compatibility.

Method used

When the application to be updated on a low-code platform, the component identification of the material component in the application to be updated is obtained, and the component update type is determined by comparing it with the updated material component identification, and the application is updated according to the corresponding target update strategy.

Benefits of technology

Effective updates of applications are implemented to ensure that they are adapted to the iteration of material components while maintaining compatibility of old applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144151A_ABST
    Figure CN120144151A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an application program updating method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining a first component identifier of a first material component in a to-be-updated application program under the condition that the to-be-updated application program is loaded on a low-code platform; wherein the low-code platform comprises a second material assembly after the first material assembly is updated; according to a second component identifier of the second material component and the first component identifier, determining a component updating type of the first material component in the to-be-updated application program; and according to a target updating strategy corresponding to the component updating type, updating the application program to be updated to obtain an updated application program. According to the technical scheme provided by the embodiment of the invention, the application program is effectively updated to adapt to the iteration of the material component, and the relationship between the iteration of the material component of the low-code platform and the compatibility of the old application program is balanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer processing technologies, and in particular, to a method, apparatus, electronic device, and storage medium for updating an application program. Background Art

[0002] With the continuous evolution of low-code platform technologies, more and more application programs rely on the material components provided by low-code platforms for construction. However, in order to improve the reliability of components and the user experience, the material components provided by low-code platforms often need to be continuously iteratively updated, which poses a challenge to the compatibility of old application programs. Therefore, how to effectively update old application programs to adapt to the iteration of material components has become a key issue. For this reason, a method for updating an application program is proposed to balance the relationship between the iteration of material components on a low-code platform and the compatibility of old application programs. Summary of the Invention

[0003] The present invention provides a method, apparatus, electronic device, and storage medium for updating an application program to effectively update the application program to adapt to the iteration of material components.

[0004] According to one aspect of the present invention, a method for updating an application program is provided. The method includes:

[0005] When a low-code platform loads a to-be-updated application program, obtaining a first component identifier of a first material component in the to-be-updated application program; wherein, the low-code platform includes a second material component after the update of the first material component;

[0006] Determining a component update type of the first material component in the to-be-updated application program according to the second component identifier of the second material component and the first component identifier, and updating the to-be-updated application program according to a target update strategy corresponding to the component update type to obtain an updated application program.

[0007] According to another aspect of the present invention, an apparatus for updating an application program is provided. The apparatus includes:

[0008] A component identifier obtaining module, configured to obtain a first component identifier of a first material component in the to-be-updated application program when a low-code platform loads the to-be-updated application program; wherein, the low-code platform includes a second material component after the update of the first material component;

[0009] An application program updating module, configured to determine a component update type of the first material component in the to-be-updated application program according to the second component identifier of the second material component and the first component identifier, and update the to-be-updated application program according to a target update strategy corresponding to the component update type to obtain an updated application program.

[0010] According to another aspect of the present invention, there is provided an electronic device, which includes:

[0011] At least one processor; and

[0012] A memory communicatively connected to the at least one processor; wherein,

[0013] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the application program update method according to any embodiment of the present invention.

[0014] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the application program update method according to any embodiment of the present invention when executed.

[0015] In the technical solution of the embodiment of the present invention, when a to-be-updated application program is loaded on a low-code platform, the first component identifier of the first material component in the to-be-updated application program is obtained; wherein, the low-code platform includes a second material component after the update of the first material component; according to the second component identifier of the second material component and the first component identifier, the component update type of the first material component in the to-be-updated application program is determined; according to the target update strategy corresponding to the component update type, the to-be-updated application program is updated to obtain an updated application program. The technical solution of the embodiment of the present invention effectively updates the application program to adapt to the iteration of the material components, and balances the relationship between the iteration of the material components of the low-code platform and the compatibility of the old application programs.

[0016] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0018] Figure 1 It is a schematic flowchart of an application program update method provided by an embodiment of the present invention;

[0019] Figure 2 Schematic flowchart of an application update method provided by an embodiment of the present invention;

[0020] Figure 3 Schematic flowchart of an application update method provided by an embodiment of the present invention;

[0021] Figure 4 Schematic structural diagram of an application update device provided by an embodiment of the present invention;

[0022] Figure 5 Schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners

[0023] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0025] It can be understood that the data involved in the technical solution of the present invention (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the corresponding laws, regulations and related regulations.

[0026] Figure 1 Schematic flowchart of an application update method provided by an embodiment of the present invention. This embodiment is applicable to the situation of updating an application. This method can be executed by an application update device, which can be implemented in the form of hardware and / or software, and the application update device can be configured in an electronic device such as a computer or a server.

[0027] Such as Figure 1As shown in the figure, the method of this embodiment includes:

[0028] S110. When the low-code platform loads the application to be updated, obtain the first component identifier of the first material component in the application to be updated; wherein, the low-code platform includes a second material component after the update of the first material component.

[0029] Among them, the application to be updated can be understood as an application that needs to be updated. In the embodiment of the present invention, the manner of obtaining the application to be updated can specifically be constructed by the first material components provided by the low-code platform. Among them, the first material component can be understood as the material component that needs to be updated provided by the code platform, that is, the old version of the material component. The second material component can be understood as the updated new version of the material component provided by the code platform for the first material component. In the embodiment of the present invention, the component identifier of the first material component can be the first component identifier. The component identifier of the second material component can be the second component identifier. In the embodiment of the present invention, the component identifier can be the component version number identifier. That is, the first component identifier can be the first component version number identifier. The second component identifier can be the second component version number identifier.

[0030] In the embodiment of the present invention, the first component identifier may include a first major version number identifier, a first minor version number identifier, and a first revision version number identifier. Among them, the first major version number identifier can be understood as the major version number identifier of the first material component. The first minor version number identifier can be understood as the minor version number identifier of the first material component. The first revision version number identifier can be understood as the revision version number identifier of the first material component. Similarly, the second component identifier may include a second major version number identifier, a second minor version number identifier, and a second revision version number identifier. Among them, the second major version number identifier can be understood as the major version number identifier of the second material component. The second minor version number identifier can be understood as the minor version number identifier of the second material component. The second revision version number identifier can be understood as the revision version number identifier of the second material component.

[0031] In the embodiment of the present invention, the component version number identifier can be named according to a preset version number identifier naming specification. Optionally, the preset version number identifier naming specification can be the Semantic Versioning (Semver) specification. Specifically, the naming format of the preset version number identifier naming specification can be X.Y.Z; where X can represent the major version number identifier, Y can represent the minor version number identifier, and Z can represent the revision version number identifier. Optionally, the first major version number identifier, the first minor version number identifier, and the first revision version number identifier in the first component identifier can be named according to the Semver specification. The second major version number identifier, the second minor version number identifier, and the second revision version number identifier in the second component identifier can be named according to the Semver specification.

[0032] It should be noted that in the technical solution of the embodiment of the present invention, the introduction of material version management can ensure the clarity and traceability of the material component versions by following the Semver specification. The management methods of the major version number, minor version number, and revision number enable developers to clearly understand the specific change content of each version, facilitating version control and problem troubleshooting. This version management mechanism not only improves development efficiency but also enhances the maintainability of the system.

[0033] S120. Determine the component update type of the first material component in the application to be updated according to the second component identifier of the second material component and the first component identifier.

[0034] Among them, the component update type can be used to determine the component update strategy for updating the first material component in the application to be updated. In the embodiment of the present invention, the component update type may include a component compatibility type and a component upgrade type. The component compatibility type can be used to characterize that the second material component has made a destructive change relative to the first material object. The component upgrade type can be used to characterize that the second material component has made a non-destructive change relative to the first material object.

[0035] Specifically, the second component identifier of the second material component and the first component identifier can be compared for consistency. Thus, the comparison result of the first component identifier and the second component identifier can be obtained. Furthermore, based on the comparison result, the component update type of the first material component in the application to be updated can be determined.

[0036] In the embodiment of the present invention, when the first component identifier includes a first major version number identifier, a first minor version number identifier, and a first revision version number identifier; and the second component identifier includes a second major version number identifier, a second minor version number identifier, and a second revision version number identifier, the determining the component update type of the first material component in the application to be updated according to the second component identifier of the second material component and the first component identifier may include: when the first major version number identifier and the second major version number identifier are different, it can be determined that the component update type of the first material component is the component compatibility type; when the first major version number identifier and the second major version number identifier are the same, if the first minor version number identifier and the second minor version number identifier are different, then it can be determined that the component update type of the first material component is the component upgrade type; when the first major version number identifier and the second major version number identifier are the same, if the first revision version number identifier and the second revision version number identifier are different, it is determined that the component update type of the first material component is the component upgrade type.

[0037] It should be noted that in the case where the first major version number identifier is the same as the second major version number identifier, if the first minor version number identifier is different from the second minor version number identifier, it can be determined that new component functions need to be added to the second material component relative to the first material component. In the case where the first major version number identifier is the same as the second major version number identifier, if the first revision version number identifier is different from the second revision version number identifier, it can be determined that the component functions of the second material component need to be repaired relative to the first material component.

[0038] S130. Update the application to be updated according to the target update policy corresponding to the component update type, so as to obtain an updated application.

[0039] Among them, the target update policy can be understood as the component update policy corresponding to the component update type.

[0040] Specifically, based on the correspondence between the component update policy and the component update type, the component update policy corresponding to the component update type, that is, the target update policy, can be determined. Furthermore, based on the target update policy, the application to be updated can be updated to obtain an updated application. Specifically, in the case where the component update type is the component compatibility type, the application to be updated can be updated through the component update policy corresponding to the component compatibility type to obtain an updated application. Or, in the case where the component update type is the component upgrade type, the application to be updated can be updated through the component update policy corresponding to the component upgrade type to obtain an updated application.

[0041] In the technical solution of the embodiment of the present invention, when the low-code platform loads the application to be updated, the first component identifier of the first material component in the application to be updated is obtained; wherein, the low-code platform includes a second material component after the update of the first material component; according to the second component identifier of the second material component and the first component identifier, the component update type of the first material component in the application to be updated is determined; according to the target update policy corresponding to the component update type, the application to be updated is updated to obtain an updated application. The technical solution of the embodiment of the present invention realizes the effective update of the application to adapt to the iteration of the material components, and balances the relationship between the iteration of the material components of the low-code platform and the compatibility of the old application.

[0042] Figure 2The flowchart of an application update method provided by an embodiment of the present invention. Optionally, on the basis of the foregoing embodiment, the step of updating the application to be updated according to the target update policy corresponding to the component update type to obtain the updated application includes: when the component update type is a component compatibility type, adding the second material component to the application to be updated so that the updated application includes the first material component and the second material component. Technical features that are the same as or similar to those in the above embodiment will not be described herein again.

[0043] As Figure 2 shown, the method of this embodiment specifically includes:

[0044] S210. When the application to be updated is loaded on the low-code platform, obtain the first component identifier of the first material component in the application to be updated; wherein, the low-code platform includes the second material component after the update of the first material component.

[0045] S220. Determine the component update type of the first material component in the application to be updated according to the second component identifier of the second material component and the first component identifier.

[0046] S230. When the component update type is a component compatibility type, add the second material component to the application to be updated so that the updated application includes the first material component and the second material component.

[0047] Specifically, when the component update type is a component compatibility type, it can indicate that the second material component has undergone a destructive change relative to the first material component. At this time, the first material component in the application to be updated can be retained, and the second material component can be added to the application to be updated so that the first material component and the second material component coexist in the updated application, so that the updated application includes the old version material component and the new version material component corresponding to the old version material component.

[0048] In an embodiment of the present invention, the step of adding the second material component to the application to be updated so that the updated application includes the first material component and the second material component may include: adding the second material component to the application to be updated and performing component compatibility processing on the application to be updated so that the updated application includes the first material component and the second material component.

[0049] In an embodiment of the present invention, component compatibility processing is performed on the application to be updated, which specifically includes: pre-building a component compatibility processor corresponding to the second material component. Through the component compatibility processor corresponding to the second material component, compatibility processing is performed on the second material component in the updated application. In an embodiment of the present invention, different versions of material components correspond to different component compatibility processors. Such processing can perform component compatibility processing on multiple material components when the application includes multiple material components, so as to improve the stability of the application including multiple material components.

[0050] In an embodiment of the present invention, after obtaining the updated application, the method further includes: obtaining component update description information of the second material component relative to the first material component; determining component update guidance information according to the component update description information to receive a component update processing operation corresponding to the component update guidance information; and upgrading the first material component in the application to be updated to the second material component when the component update processing operation is received.

[0051] Among them, the component update description information can be understood as information for describing the component update information of the second material component relative to the first material component. In an embodiment of the present invention, the component update description information can be information in text form and / or information in image form. Optionally, the component update description information can at least include the current component version number identifier, the updated component version number identifier, and the change information of the updated component. In addition, the component update description information can also include upgrade prompt information. In an embodiment of the present invention, the component update description information of the second material component relative to the first material component can include: the component version number identifier of the first material component, the component version number identifier of the second material component, and the component change information of the second material component relative to the first material component.

[0052] Exemplarily, the component version number identifier of the first material component can be V0.27.4, the component version number identifier of the second material component can be V1.0.0, and the component change information of the second material component relative to the first material component can include: removing the width, height, adaptive height, adaptive width, and rounded corner size of the property panel, and the above properties can be set in the style panel.

[0053] In an embodiment of the present invention, the component update guidance information can be used to represent the guidance information on how to upgrade the first material component in the application to be updated to the second material component. Among them, the component update guidance information can include the upgrade steps and necessary configuration adjustments. In an embodiment of the present invention, determining the component update guidance information according to the component update description information can be to use the component update description information as the component update guidance information. The component update processing operation can be understood as a processing operation for upgrading the first material component in the application to be updated to the second material component.

[0054] Exemplarily, the component update processing operation can be a control trigger operation (for example, a click operation) acting on a preset update control; among them, the preset update control can be understood as a preset control for upgrading the first material component in the application to be updated to the second material component. In short, the response event of the preset update control is to upgrade the first material component in the application to be updated to the second material component.

[0055] Specifically, after obtaining the updated application, the component update description information of the second material component relative to the first material component can be obtained first. Thus, the component update guidance information can be determined according to the component update description information. Then, the component update guidance information can be displayed to receive a component update processing operation corresponding to the component update guidance information, so as to upgrade the material components in the application manually. When the component update processing operation is received, the first material component in the application to be updated can be upgraded to the second material component, thereby realizing the update of the destructive update components in the application manually. The advantage of such processing is that it ensures that the user can clearly understand the change content and take appropriate measures, effectively avoiding the problems of project instability or function failure caused by the change.

[0056] It should be noted that for the technical solution in the embodiment of the present invention, for destructive changes, the coexistence of the old and new version material components can be supported. When creating a new project or adding a new component to an existing project, the latest version is used by default; for the material components that already exist in the application, the major version number can be kept unchanged unless the user actively chooses to replace and upgrade. This mechanism ensures the stability and compatibility of the old application, effectively avoiding the instability problems caused by direct upgrade, and at the same time allowing the user to gradually introduce new functions and optimizations.

[0057] In the technical solution of the embodiment of the present invention, when the component update type is the component compatibility type, by adding the second material component to the application to be updated, so that the updated application includes the first material component and the second material component, it is realized that the first material component in the application is retained and the second material component is added to the application, achieving the technical effect of coexistence of new and old components.

[0058] As an optional implementation manner of the embodiment of the present invention, in the embodiment of the present invention, when the low-code platform loads an application, for each used material component in the application, the following steps can be used to update it to obtain the updated application:

[0059] Step 1: Determine whether the used material component has a retained major version number identifier. If it exists, all compatible processors with the same current major version number as the used material component and greater than the current version number can be found, and the material components corresponding to each compatible processor in the application are subjected to compatibility processing through these compatible processes, and then the used material component is upgraded to the material component with the latest material version number corresponding to the current major version. Otherwise, go to Step 2.

[0060] In the embodiment of the present invention, the advantage of setting the retained major version number identifier is that when there are destructive changes in the material component, it cannot be automatically upgraded to the latest version and needs to stay at the material component before the major version number with destructive changes that it is about to be upgraded to, to ensure the stability of the application.

[0061] Step 2: Determine whether there is a destructive change record higher than the current version number of the used material component; if it exists, all compatible processors higher than the current version number and lower than the major version number of the component corresponding to the destructive change record can be found; and then the used material component can be automatically upgraded to the last version number before the destructive change record through these compatible processors, and the major version number in the current version number of the used material component is set as the retained major version number identifier of the component. Otherwise, go to Step 3.

[0062] Step 3: Find all compatible processors greater than the current version number of the used material component, perform compatibility processing through these compatible processors, and then upgrade the used material component to the material component with the latest material version number to achieve the upgrade of the components in the application.

[0063] It should be noted that each used material component in the application program may include: the material components in the application program that have not been updated and / or the material components that have been updated. Then, the timing of upgrading each used material component in the application program may be before obtaining the updated application program or after obtaining the updated application program.

[0064] Figure 3 As shown in the flowchart of a method for updating an application program provided by an embodiment of the present invention. Optionally, on the basis of the foregoing embodiment, the step of updating the application program to be updated according to the target update policy corresponding to the component update type to obtain the updated application program includes: when the component update type is a component upgrade type, automatically updating the first material component in the application program to be updated to the second material component to obtain the updated application program. Technical features that are the same as or similar to those in the above embodiment will not be described in detail herein.

[0065] As Figure 3 shown, the method of this embodiment specifically includes:

[0066] S310. When the low-code platform loads the application program to be updated, obtain the first component identifier of the first material component in the application program to be updated; wherein, the low-code platform includes the second material component after the update of the first material component.

[0067] S320. Determine the component update type of the first material component in the application program to be updated according to the second component identifier of the second material component and the first component identifier.

[0068] S330. When the component update type is a component upgrade type, automatically update the first material component in the application program to be updated to the second material component to obtain the updated application program.

[0069] Specifically, when the component update type is a component upgrade type, it can be determined that the second material component has undergone a destructive change relative to the first material component. At this time, the first material component in the application program to be updated can be automatically updated to the second material component to obtain the updated application program, so that the updated application program includes the second material component. It should be noted that the updated application program does not include the first material component.

[0070] In an embodiment of the present invention, when the component update type is a component upgrade type, the first material component in the application to be updated can be automatically updated to the second material component, and the second material component is compatibly processed through a component compatibility processor corresponding to the second material component to obtain an updated application.

[0071] It should be noted that for non-destructive changes, the technical solution of the embodiment of the present invention can automatically detect and upgrade all relevant material components to the latest version, ensuring that the material components in the old application have the characteristics and capabilities of the latest version. Users can enjoy the results of the latest component repairs without manual intervention. This mechanism simplifies the maintenance process and improves the user experience.

[0072] The technical solution of the embodiment of the present invention automatically updates the first material component in the application to be updated to the second material component when the component update type is a component upgrade type to obtain an updated application, realizing the automatic update function of the application components.

[0073] Figure 4 It is a schematic structural diagram of an application update device provided by an embodiment of the present invention. As Figure 4 shown, the device includes: a component identifier acquisition module 410 and an application update module 420.

[0074] Among them, the component identifier acquisition module 410 is used to obtain the first component identifier of the first material component in the application to be updated when the low-code platform loads the application to be updated; wherein, the low-code platform includes the second material component after the update of the first material component; the application update module 430 is used to determine the component update type of the first material component in the application to be updated according to the second component identifier and the first component identifier of the second material component; and update the application to be updated according to the target update strategy corresponding to the component update type to obtain an updated application.

[0075] In the technical solution of the embodiment of the present invention, when the component identification acquisition module loads the application to be updated on the low-code platform, the first component identification of the first material component in the application to be updated is acquired; wherein, the low-code platform includes a second material component after the update of the first material component; the application update module determines the component update type of the first material component in the application to be updated according to the second component identification of the second material component and the first component identification; and the application to be updated is updated according to the target update policy corresponding to the component update type to obtain the updated application. The technical solution of the embodiment of the present invention effectively updates the application to adapt to the iteration of the material components, and balances the relationship between the iteration of the material components on the low-code platform and the compatibility of the old applications.

[0076] Optionally, the application update module is configured to add the second material component to the application to be updated when the component update type is a component compatibility type, so that the updated application includes the first material component and the second material component.

[0077] Optionally, the device further includes a component update processing module; wherein, the component update processing module is configured to, after obtaining the updated application, acquire the component update description information of the second material component relative to the first material component; determine component update guidance information according to the component update description information to receive a component update processing operation corresponding to the component update guidance information; and upgrade the first material component in the application to be updated to the second material component when the component update processing operation is received.

[0078] Optionally, the application update module is configured to add the second material component to the application to be updated and perform component compatibility processing on the application to be updated, so that the updated application includes the first material component and the second material component.

[0079] Optionally, the first component identification includes a first major version number identification, a first minor version number identification, and a first revision version number identification, and the second component identification includes a second major version number identification, a second minor version number identification, and a second revision version number identification.

[0080] Optionally, an application update module is configured to determine that the component update type of the first material component is a component compatibility type when the first major version number identifier is different from the second major version number identifier; when the first major version number identifier is the same as the second major version number identifier, if the first minor version number identifier is different from the second minor version number identifier, determine that the component update type of the first material component is a component upgrade type; when the first major version number identifier is the same as the second major version number identifier, if the first revision version number identifier is different from the second revision version number identifier, determine that the component update type of the first material component is a component upgrade type.

[0081] Optionally, the application update module is configured to automatically update the first material component in the application to be updated to the second material component when the component update type is a component upgrade type, so as to obtain an updated application.

[0082] The application update device provided by the embodiments of the present invention can execute the application update method provided by any embodiment of the present invention, and has corresponding function modules and beneficial effects for executing the method.

[0083] It should be noted that the various units and modules included in the above application update device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present invention.

[0084] Figure 5 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0085] As Figure 5As shown, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as read-only memory (ROM) 12, random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12, and RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0086] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0087] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the application update method.

[0088] In some embodiments, the application update method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the application update method described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the application update method in any other appropriate way (e.g., by means of firmware).

[0089] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0090] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0091] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0092] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0093] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0094] The computing system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0095] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0096] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for updating an application, characterized in that: include: When the low-code platform loads the application to be updated, obtaining the first component identifier of the first material component in the application to be updated; wherein the low-code platform includes the second material component after the first material component is updated; Based on the second component identifier of the second material component and the first component identifier, the component update type of the first material component in the application to be updated is determined, and based on the target update strategy corresponding to the component update type, the application to be updated is updated to obtain an updated application.

2. The method according to claim 1, characterized in that The updating of the to-be-updated application according to the target update strategy corresponding to the component update type to obtain an updated application includes: In the case where the component update type is a component compatibility type, the second material component is added to the application to be updated, so that the updated application includes the first material component and the second material component.

3. The method according to claim 2, characterized in that After obtaining the updated application, the method further includes: Obtain component update description information of the second material component relative to the first material component; Determining component update guide information according to the component update description information to receive a component update processing operation corresponding to the component update guide information; When the component update processing operation is received, the first material component in the application to be updated is upgraded to the second material component.

4. The method according to claim 2, characterized in that: The adding the second material component to the to-be-updated application so that the updated application includes the first material component and the second material component includes: The second material component is added to the application to be updated, and component compatibility processing is performed on the application to be updated, so that the updated application includes the first material component and the second material component.

5. The method according to claim 1, characterized in that The first component identifier includes a first major version number identifier, a first version number identifier and a first revision version number identifier, and the second component identifier includes a second major version number identifier, a second version number identifier and a second revision version number identifier.

6. The method according to claim 5, characterized in that The determining, according to the second component identifier of the second material component and the first component identifier, the component update type of the first material component in the application to be updated includes: When the first major version number identifier and the second major version number identifier are different, determining that the component update type of the first material component is a component compatible type; In the case where the first major version number identifier and the second major version number identifier are the same, if the first version number identifier and the second version number identifier are different, determining that the component update type of the first material component is a component upgrade type; In the case where the first major version number identifier and the second major version number identifier are the same, if the first revision number identifier and the second revision number identifier are different, it is determined that the component update type of the first material component is a component upgrade type.

7. The method according to claim 1, characterized in that The updating of the to-be-updated application according to the target update strategy corresponding to the component update type to obtain an updated application includes: In the case where the component update type is a component upgrade type, the first material component in the application to be updated is automatically updated to the second material component to obtain an updated application.

8. An application updating device, characterized in that: include: A component identification acquisition module, used for acquiring a first component identification of a first material component in the application to be updated when the application to be updated is loaded on the low-code platform; wherein the low-code platform includes a second material component after the first material component is updated; An application update module is used to determine the component update type of the first material component in the application to be updated based on the second component identifier of the second material component and the first component identifier, and to update the application to be updated according to the target update strategy corresponding to the component update type to obtain an updated application.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the application updating method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the application updating method according to any one of claims 1 to 7 when executed.