Cloud resource synchronization method based on cloud resource orchestration engine, storage medium and equipment

By setting up a cloud resource orchestration engine in the multi-cloud resource management platform, configuring resource synchronization rules and resource dependency management, the problem of inefficient resource synchronization in the existing technology is solved, incremental and full resource synchronization is achieved, and the resource synchronization capability of the multi-cloud management platform is improved.

CN119782425APending Publication Date: 2025-04-08CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411876045.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing multi-cloud management platform cannot achieve incremental synchronization when resource synchronization is synchronized, resulting in inefficiency. Frequent calls to the underlying cloud business API are likely to trigger API current limit rules, affecting performance.

Method used

By setting up a cloud resource orchestration engine in the multi-cloud resource management platform, configuring resource synchronization rules and resource dependency management, visual orchestration of resource synchronization is realized, and full and incremental resource synchronization is supported.

Benefits of technology

It improves the efficiency and speed of resource synchronization, can handle independent synchronization tasks in parallel or execute in dependency order, significantly improving the resource synchronization capabilities of multi-cloud management platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782425A_ABST
    Figure CN119782425A_ABST
Patent Text Reader

Abstract

The invention discloses a cloud resource synchronization method based on a cloud resource arrangement engine, a storage medium and equipment. The method comprises the following steps: setting the cloud resource arrangement engine in a multi-cloud resource management platform, and configuring a resource synchronization rule, resource dependence management and a rule analyzer in the cloud resource arrangement engine; for the resource to-be-synchronized task, obtaining a directed graph of the resource to-be-synchronized task according to the configured resource synchronization rule, the resource dependency management and the rule analyzer; and submitting the resource to-be-synchronized task to a plug-in layer of the multi-cloud resource management platform according to the directed graph of the resource to-be-synchronized task, and calling an API interface list of a bottom-layer cloud provider to perform resource synchronization. And for backup, flexible resource synchronization rule configuration and resource dependence management are carried out by setting a cloud resource arrangement engine, so that the resource synchronization capability of the multi-cloud management platform can be remarkably improved, and the resource synchronization operation is more intelligent, controllable and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of multi-cloud management technology, and in particular to a cloud resource synchronization method, storage medium and device based on a cloud resource orchestration engine. Background Art

[0002] Currently, in a multi-cloud management platform, when synchronizing the underlying resources of a public cloud or a private cloud, the usual practice is to call the API provided by the underlying cloud platform to pull the full amount of resource data based on the dependency relationship of the resources to be synchronized, and then establish logical dependencies between the resources according to the rules of the multi-cloud management platform for the pulled full amount of resource data, and store it in the multi-cloud management platform.

[0003] The above resource synchronization method requires full resource data synchronization each time resource synchronization is performed because the same resource orchestration rules are used, and the incremental synchronization requirement cannot be met. When there is a large amount of underlying resource data, full resource synchronization will be very inefficient, and frequent calls to the underlying cloud vendor API are likely to trigger the underlying cloud vendor's API flow control rules, which cannot meet the user's incremental resource synchronization scenario, thereby affecting the performance of the multi-cloud management platform. Summary of the invention

[0004] In response to the problems existing in the prior art, the present invention provides a cloud resource synchronization method, storage medium and device based on a cloud resource orchestration engine, which performs visual orchestration of resource synchronization through the cloud resource orchestration engine and performs full or incremental resource synchronization as needed.

[0005] To achieve the above technical objectives, the present invention adopts the following technical solution: a cloud resource synchronization method based on a cloud resource orchestration engine, specifically comprising the following steps:

[0006] Step S1: Setting a cloud resource orchestration engine in the multi-cloud resource management platform, and configuring resource synchronization rules, resource dependency management, and rule parser in the cloud resource orchestration engine;

[0007] Step S2: for resource tasks to be synchronized, a directed graph of resource tasks to be synchronized is obtained according to the configured resource synchronization rules, resource dependency management and rule parser;

[0008] Step S3: Submit the resource synchronization tasks to the plug-in layer of the multi-cloud resource management platform according to the directed graph of the resource synchronization tasks, call the API interface list of the underlying cloud provider, and perform resource synchronization.

[0009] Furthermore, the resource synchronization rules configured in step S1 include: a triggering condition for resource synchronization, a method for resource synchronization, and a target for resource synchronization.

[0010] Furthermore, the triggering condition for resource synchronization includes allowing the user to set the frequency or schedule of synchronization.

[0011] Furthermore, the resource synchronization method includes: synchronizing according to the UUID of the resource, synchronizing according to the available zone of the resource, and synchronizing according to the type of the resource.

[0012] Furthermore, the objectives of the resource synchronization include: incremental resource synchronization and full resource synchronization.

[0013] Furthermore, after the user configures the resource synchronization rules on the front end, the user submits them to the back end, and the back end parses, formats, and persists the configured resource synchronization rules.

[0014] Furthermore, the process of configuring resource dependency management in step S1 is: determining a resource dependency graph according to business logic.

[0015] Furthermore, the specific process of step S2 is: for resource tasks to be synchronized, the rule parser in the cloud resource orchestration engine is input for parsing, and the corresponding resource synchronization rules are matched, and the dependency graph of the corresponding resources is searched in the resource dependency management according to the matched resource synchronization rules, and a directed graph of resource tasks to be synchronized is generated.

[0016] Furthermore, the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the cloud resource synchronization method based on the cloud resource orchestration engine.

[0017] Furthermore, the present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the cloud resource synchronization method based on the cloud resource orchestration engine is implemented.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] (1) The cloud resource synchronization method based on the cloud resource orchestration engine of the present invention can more efficiently organize and execute resource synchronization operations by setting up a cloud resource orchestration engine in a multi-cloud resource management platform to configure resource synchronization rules and resource dependency management. It can realize both incremental resource synchronization and full resource synchronization. In addition, since resource synchronization depends on resource dependency management, independent synchronization tasks can be processed in parallel or executed sequentially in the order of dependency relationships, thereby improving the efficiency and speed of resource synchronization.

[0020] (2) The cloud resource orchestration engine in the cloud resource synchronization method based on the cloud resource orchestration engine of the present invention can be flexibly expanded and customized according to actual needs, adapting to different business scenarios and new synchronization requirements, with strong compatibility, and can be integrated with the existing multi-cloud management platform to support resource synchronization operations of various cloud service providers;

[0021] To sum up, the cloud resource synchronization method based on the cloud resource orchestration engine of the present invention can significantly improve the resource synchronization capability of the multi-cloud management platform by setting up the cloud resource orchestration engine to perform flexible resource synchronization rule configuration and resource dependency management, making the resource synchronization operation more intelligent, controllable and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flow chart of a cloud resource synchronization method based on a cloud resource orchestration engine of the present invention;

[0023] Figure 2 It is a configuration diagram of the cloud resource orchestration engine in the present invention. DETAILED DESCRIPTION

[0024] The technical solution of the present invention is further explained below in conjunction with the accompanying drawings.

[0025] like Figure 1 The flowchart of the cloud resource synchronization method based on the cloud resource orchestration engine of the present invention includes the following steps:

[0026] Step S1: Set up a cloud resource orchestration engine in the multi-cloud resource management platform, such as Figure 2,Configuring resource synchronization rules, resource dependency management, and rule parsers in the cloud resource orchestration engine can organize and execute resource synchronization operations more efficiently, and can achieve both incremental resource synchronization and full resource synchronization. And because resource synchronization depends on resource dependency management, independent synchronization tasks can be processed in parallel, or executed sequentially in the order of dependencies, thereby improving the efficiency and speed of resource synchronization. Among them, it is used to configure resource synchronization rules through dragging components, drop-down menus, check boxes, etc., including: triggering conditions for resource synchronization, methods for resource synchronization and targets for resource synchronization, to achieve visual configuration; triggering conditions for resource synchronization include allowing users to set the frequency or schedule for synchronization; methods for resource synchronization include: synchronization according to the UUID of the resource, synchronization according to the available zone of the resource and synchronization according to the type of resource; targets for resource synchronization include: incremental resource synchronization and full resource synchronization, and by setting the target for resource synchronization, resources are synchronized according to the target to avoid full resource synchronization every time; the process of configuring resource dependency management is: determining the dependency graph of resources according to business logic to ensure that when executing the task of synchronizing resources, it can be executed in the order or parallel relationship of the dependency graph to avoid synchronization errors or data inconsistency caused by unclear dependencies.

[0027] After the user configures the resource synchronization rules on the front end, they are submitted to the back end, which parses, formats, and persists the configured resource synchronization rules. Specifically, the back end stores the parsed rules in JSON format to facilitate subsequent parsing and task generation. The JSON format is structured and easy to expand, which helps the parser handle complex dependencies. Rule formatting is to format the synchronization rules defined by the front end users into the format required by the business through custom parsing technology.

[0028] In one technical solution of the present invention, the cloud resource orchestration engine can be flexibly expanded and customized according to actual needs, adapt to different business scenarios and new synchronization requirements, have strong compatibility, can be integrated with the existing multi-cloud management platform, and support resource synchronization operations of various cloud service providers.

[0029] Step S2: For resource tasks to be synchronized, obtain a directed graph of resource tasks to be synchronized according to the configured resource synchronization rules, resource dependency management and rule parser; specifically, for resource tasks to be synchronized, input the rule parser in the cloud resource orchestration engine for parsing, and match the corresponding resource synchronization rules, search the dependency graph of the corresponding resources in the resource dependency management according to the matched resource synchronization rules, and generate a directed graph of resource tasks to be synchronized.

[0030] Step S3: Submit the resource synchronization tasks to the plug-in layer of the multi-cloud resource management platform according to the directed graph of the resource synchronization tasks, call the API interface list of the underlying cloud provider, synchronize the resources and report them.

[0031] The cloud resource synchronization method based on the cloud resource orchestration engine of the present invention can significantly improve the resource synchronization capability of the multi-cloud management platform by setting up the cloud resource orchestration engine to perform flexible resource synchronization rule configuration and resource dependency management, making the resource synchronization operation more intelligent, controllable and efficient.

[0032] In a technical solution of the present invention, a computer-readable storage medium is also provided, storing a computer program, wherein the computer program enables a computer to execute the cloud resource synchronization method based on the cloud resource orchestration engine.

[0033] In a technical solution of the present invention, an electronic device is also provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the cloud resource synchronization method based on the cloud resource orchestration engine is implemented.

[0034] In the embodiments disclosed in the present application, the computer storage medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. The computer storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0035] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0036] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A cloud resource synchronization method based on a cloud resource orchestration engine, characterized in that: The specific steps include: Step S1: Setting a cloud resource orchestration engine in the multi-cloud resource management platform, and configuring resource synchronization rules, resource dependency management, and rule parser in the cloud resource orchestration engine; Step S2: for resource tasks to be synchronized, a directed graph of resource tasks to be synchronized is obtained according to the configured resource synchronization rules, resource dependency management and rule parser; Step S3: Submit the resource synchronization tasks to the plug-in layer of the multi-cloud resource management platform according to the directed graph of the resource synchronization tasks, call the API interface list of the underlying cloud provider, and perform resource synchronization.

2. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 1, characterized in that: The resource synchronization rules configured in step S1 include: triggering conditions for resource synchronization, a method for resource synchronization, and a target for resource synchronization.

3. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 2, characterized in that: The triggering condition for resource synchronization includes allowing the user to set the frequency or schedule of synchronization.

4. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 2, characterized in that: The resource synchronization method includes: synchronizing according to the UUID of the resource, synchronizing according to the available zone of the resource, and synchronizing according to the type of the resource.

5. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 2, characterized in that: The objectives of resource synchronization include: incremental resource synchronization and full resource synchronization.

6. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 2, characterized in that: After the user configures the resource synchronization rules on the front end, it is submitted to the back end, which parses, formats, and persists the configured resource synchronization rules.

7. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 1, characterized in that: The process of configuring resource dependency management in step S1 is: determining the resource dependency graph according to the business logic.

8. A cloud resource synchronization method based on a cloud resource orchestration engine according to claim 7, characterized in that: The specific process of step S2 is: for resource tasks to be synchronized, the rule parser in the cloud resource orchestration engine is input for parsing, and the corresponding resource synchronization rules are matched. According to the matched resource synchronization rules, the dependency graph of the corresponding resources is searched in the resource dependency management, and a directed graph of resource tasks to be synchronized is generated.

9. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables a computer to execute the cloud resource synchronization method based on a cloud resource orchestration engine as described in any one of claims 1 to 8.

10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the cloud resource synchronization method based on the cloud resource orchestration engine as described in any one of claims 1 to 8 is implemented.