hottub.patents
US 12,547,422 B2#3322850 Most CitedActiveUnited States (USPTO)Utility

Application remodeling method, system, cluster, medium, and program product

0Forward Citations (#3322850 Global)
0.0/yrCitation Velocity (#3322850 Global)
0.00Citation PageRank (#3322850 Global)
9Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

In an application remodeling method, an application management system obtains an environment variable of an application in a runtime environment and a code package of the application. The system then obtains a remodeling result of the application based on the environment variable and the code package. The remodeling result includes an image set of the application, the image set includes a plurality of images, and a container created based on each image is configured to execute some modules of the application. Thus, automatic application remodeling is implemented based on the environment variable and the code package of the application.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    An application remodeling method performed by a computing device comprising a memory and a processor, the processor being configured to execute instructions stored in the memory, the method comprising: obtaining an environment variable of an application in a runtime environment and a code package of the application, the environment variable including an operating system type, an operating system version, a kernel version, a basic dependency package of the operating system, or an operating system runtime parameter; obtaining a remodeling result of the application based on the environment variable and the code package, the remodeling result comprising an image set of the application, the image set comprising a plurality of images; and creating a container based on an image of the image set, the container being configured to execute selected modules of the application.

  2. Claim 2Depends on #1

    The application remodeling method according to claim 1, wherein the code package is a source code package indicating an uncompiled code package.

  3. Claim 3Depends on #2

    The application remodeling method according to claim 2, wherein the step of obtaining of the remodeling result of the application comprises: analyzing the environment variable to obtain static environment configuration information; analyzing the source code package to obtain container configuration information, wherein the container configuration information comprises blocking information of the source code package, and the blocking information is for dividing the source code package into a plurality of code blocks; and obtaining the image set of the application based on the static environment configuration information and the container configuration information, including determining each image in the image set based on the static environment configuration information and at least one of the plurality of code blocks.

  4. Claim 4Depends on #3

    The application remodeling method according to claim 3, wherein at least one image in the image set is obtained by searching an image repository based on the static environment configuration information and the blocking information.

  5. Claim 5Depends on #3

    The application remodeling method according to claim 3, further comprising: obtaining runtime code of the application in the runtime environment; and obtaining runtime environment configuration information, wherein the runtime environment configuration information comprises a basic associated package associated with the application when the application runs in the runtime environment, wherein the step of obtaining the image set of the application based on the static environment configuration information and the container configuration information comprises: obtaining the image set of the application based on the static environment configuration information, the runtime environment configuration information, and the container configuration information, including determining the at least one image in the image set based on the static environment configuration information, the at least one of the plurality of code blocks, and the basic associated package.

  6. Claim 6Depends on #3

    The application remodeling method according to claim 3, wherein the container configuration information further comprises a calling relationship between code blocks, and the remodeling result further comprises the calling relationship between the code blocks.

  7. Claim 7Depends on #2

    The application remodeling method according to claim 2, further comprising: analyzing the source code package to obtain external component configuration information; and obtaining an external component based on the external component configuration information, wherein the external component is associated with the at least one image in the image set, and the remodeling result further comprises an association relationship between the external component and the at least one image in the image set.

  8. Claim 8Independent Claim

    A computing device comprising: a memory storing executable instructions; and a processor configured to execute the executable instructions to perform operations of: obtaining an environment variable of an application in a runtime environment and a code package of the application, the environment variable including an operating system type, an operating system version, a kernel version, a basic dependency package of the operating system, or an operating system runtime parameter; obtaining a remodeling result of the application based on the environment variable and the code package, the remodeling result comprising an image set of the application, the image set comprising a plurality of images; and creating a container based on an image of the image set, the container being configured to execute selected modules of the application.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application is a continuation of International Application PCT/CN2021/137543, filed on Dec. 13, 2021, which claims priority to Chinese Patent Application No. 202110859637.6, filed on Jul. 28, 2021, and Chinese Patent Application No. 202110307720.2, filed on Mar. 23, 2021. All of the aforementioned patent applications are hereby incorporated by reference in their entirety. TECHNICAL FIELD This application relates to the field of cloud computing technologies, and in particular, to an application remodeling method, an application management system, a computer cluster, a computer-readable storage medium, and a computer program product. BACKGROUND Cloud computing, also referred to as network computing, is an internet-based computing manner. According to this manner, shared software and hardware resources can be provided to users on demand. During deployment of applications in a cloud environment, resources can be obtained on demand based on application load to perform flexible deployment, so that resource utilization can be improved; and costs of modeling and maintaining a data center can be reduced, so that costs can be lowered. In consideration of advantages of flexible deployment and low costs of the cloud environment, more applications, especially large-scale information technology (IT) applications (such as information management systems with various functions), are performing containerization remodeling to implement migration to the cloud environment. The containerization remodeling is to remodel applications into containers for ease of migration to the cloud. Currently, a mainstream remodeling solution in the industry is that developers manually remodel applications based on experience and capabilities of the developers. Specifically, the developers remodel an installation package of an application into a format suitable for deployment in the cloud environment, for example, an image format. A file in the image format is

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (9)

PatentTitleYearCitations