Method and device for migrating cloud service resources, electronic equipment and medium
By acquiring and utilizing the management information of the cloud platform, automated migration of cloud service resources across cloud platforms was achieved, solving the problems of high migration complexity and high cost in existing technologies and improving migration efficiency.
Patent Information
- Application Number
- CN202511071858.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-11-07
AI Technical Summary
When migrating PaaS cloud service resources across different cloud providers, existing technologies suffer from high complexity and high cost.
By acquiring management information from the source and target cloud platforms, the system can query cloud service resources on the source cloud platform and instruct the target cloud platform to create corresponding cloud service instances, thereby achieving automated migration across cloud platforms.
It reduces the complexity and cost of manual operations, improves migration efficiency, and supports resource migration across heterogeneous cloud platforms.
Smart Images

Figure CN120915775A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present specification relates to the technical field of cloud computing, and particularly relates to a method and device for migrating cloud service resources, an electronic device and a medium. BACKGROUND
[0002] With the development of cloud native container technology, PaaS (Platform as a Service) cloud services provided by cloud vendors are increasing. Users can choose different cloud platforms provided by different cloud vendors to build a heterogeneous cloud data center scenario. When the user adjusts the resource planning of different heterogeneous cloud data centers, cross-heterogeneous cloud platform business migration is required, and different cloud platforms provided by different cloud vendors are different. Therefore, how to perform cross-cloud platform PaaS cloud service resource migration has become a problem to be solved. SUMMARY
[0003] To overcome the problems in the related art, the present specification provides a method and device for migrating cloud service resources, an electronic device and a medium.
[0004] According to a first aspect of an embodiment of the present specification, a method for migrating cloud service resources is provided, the method comprising: obtaining management information of a source cloud platform and a target cloud platform, the management information comprising application program interface information; querying cloud service resource information of the source cloud platform according to the management information of the source cloud platform, the cloud service resource information comprising information of at least one cloud service instance; and instructing the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
[0005] According to a second aspect of an embodiment of the present specification, a device for migrating cloud service resources is provided, comprising: a management information obtaining module configured to obtain management information of a source cloud platform and a target cloud platform, the management information comprising application program interface information; a cloud service resource information querying module configured to query cloud service resource information of the source cloud platform according to the management information of the source cloud platform, the cloud service resource information comprising information of at least one cloud service instance; and a cloud service creating module configured to instruct the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
[0006] According to a third aspect of an embodiment of the present specification, an electronic device is provided, comprising:
[0007] a processor;
[0008] a memory for storing processor-executable instructions;
[0009] The processor is configured to perform the method for migrating the cloud service resource according to the first aspect or any implementation thereof.
[0010] According to a fourth aspect of the embodiments of the present specification, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions for causing a computer to perform the method for migrating the cloud service resource according to the first aspect or any implementation thereof.
[0011] The technical solutions provided by the embodiments of the present specification can include the following beneficial effects:
[0012] In the embodiments of the present specification, the automatic migration of the cloud service resource across the cloud platforms can be implemented, the complexity and cost of human operation can be reduced, and the efficiency can be improved.
[0013] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present specification. BRIEF DESCRIPTION OF DRAWINGS
[0014] The accompanying drawings incorporated in the specification and forming a part of the specification illustrate the embodiments consistent with the present specification and serve to explain the principles of the present specification together with the specification.
[0015] Figure 1 is a flowchart of a method for migrating a cloud service resource according to an exemplary embodiment of the present specification.
[0016] Figure 2 is a schematic diagram of a system architecture according to an exemplary embodiment of the present specification.
[0017] Figure 3 is a flowchart of another method for migrating a cloud service resource according to another exemplary embodiment of the present specification.
[0018] Figure 4 is a hardware structure diagram of a computer device in which the device for migrating a cloud service resource according to an embodiment of the present specification is located.
[0019] Figure 5 is a block diagram of a device for migrating a cloud service resource according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION
[0020] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, like reference numerals refer to like elements throughout the description. The following exemplary embodiments described herein represent the best attempts at providing embodiments in accordance with the present description. However, these exemplary embodiments are not intended to represent all embodiments in accordance with the present description. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present description as detailed in the appended claims.
[0021] The terminology used in the present description is for the purpose of describing particular embodiments only and is not intended to be limiting of the present description. As used in the description of the embodiments and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0022] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used only to distinguish different sets of information from one another. For example, a first information can also be termed a second information, and similarly, a second information can also be termed a first information, without departing from the scope of the present description. As used herein, the word "if' can be interpreted to mean "when" or "upon" or "in response to determining" depending on the context.
[0023] Next, the embodiments of the present description will be described in detail.
[0024] The method for migrating cloud service resources provided by the embodiments of the present description will be described in detail below. As shown in Figure 1 Figure 1 is a flowchart of a method for migrating cloud service resources according to an exemplary embodiment of the present description. The method can be applied to a migration device, which can be integrated into a cloud platform or can also be deployed independently. The method for migrating cloud service resources provided by the embodiments of the present description can include the steps shown below.
[0025] In step 110, management information of the source cloud platform and the target cloud platform is acquired.
[0026] According to the embodiments of the present description, the source cloud platform can be a cloud platform to be migrated, and the target cloud platform can be a cloud platform as a migration destination.
[0027] According to the embodiments of the present description, the management information can include information required when performing management operations such as cloud service resource information query, cloud service resource creation, etc. on the cloud platform. Exemplarily, the management information can include, for example, an address of a management platform, application program interface information, authentication information, etc.
[0028] Optionally, the management information of the source cloud platform can comprise cloud service resource information query interface information and authentication information. Based on this, an authentication request can be initiated to the source cloud platform according to the authentication information of the source cloud platform. In the case of passing authentication, a cloud service resource information query interface of the source cloud platform is called according to the cloud service resource information query interface information of the source cloud platform to query the cloud service resource information of the source cloud platform.
[0029] In step 120, the cloud service resource information of the source cloud platform is queried according to the management information of the source cloud platform.
[0030] According to the embodiments of the present specification, the cloud service resource information may, for example, comprise information of at least one cloud service instance, which may, for example, comprise a container cluster instance, a database instance, middleware, etc. Exemplarily, the container cluster may, for example, comprise a k8s (kubernetes) cluster, the database may, for example, comprise mysql, PostgreSQL, Redis, etc., and the middleware may, for example, comprise rabbitmq, kafka, zookeeper, etc.
[0031] In step 130, the target cloud platform is instructed to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
[0032] Optionally, the management information of the target cloud platform can comprise cloud service creation interface information. Based on this, the cloud service resource information can be sent to the cloud service creation interface of the target cloud platform according to the cloud service creation interface information to instruct the target cloud platform to create a target cloud service instance according to the cloud service resource information.
[0033] The method for migrating cloud service resources according to the embodiments of the present specification can realize automatic migration of cloud service resources across cloud platforms, reduce the complexity and cost of human operation, and improve efficiency.
[0034] In addition, by pre-configuring the management information of different cloud platforms, resource migration across heterogeneous cloud platforms is supported. Even if the target platform and the source cloud platform are cloud vendors of different architectures, as long as the API and platform address and authentication information of the cloud vendor are provided, automatic migration can be performed.
[0035] Optionally, the management information of the source cloud platform can further comprise application information acquisition interface information. The management information of the target cloud platform can further comprise container application interface information.
[0036] Based on this, if the cloud service instance includes a container cluster instance, after the container cluster instance is created on the target cloud platform, the container application information running on the source container cluster of the source cloud platform can be obtained by calling the container application information obtaining interface of the source cloud platform according to the application information obtaining interface information. Then, the container application information can be sent to the container application interface of the target cloud platform according to the container application interface information, so as to instruct the target cloud platform to deploy the target container application in the created container cluster according to the container application information.
[0037] Optionally, if the cloud service instance includes a database instance, after the database instance is created on the target cloud platform, a backup operation can be performed on the source database instance of the source cloud platform to obtain backup data of the source database instance. After the backup operation is completed, the backup data of the source database instance is imported into the created database instance of the target cloud platform.
[0038] Optionally, the management information of the source cloud platform can further include data information query interface information, and the management information of the target cloud platform can further include middleware configuration interface information.
[0039] Based on this, if the cloud service instance includes a middleware instance, after the middleware instance is created on the target cloud platform, the data information of the source middleware instance can be queried by calling the data information query interface of the source cloud platform according to the data information query interface information, and the data information includes a queue and / or a message topic. Then, the data information can be sent to the middleware configuration interface of the target cloud platform according to the middleware configuration interface information, so as to instruct the target cloud platform to configure the created middleware instance according to the data information.
[0040] Optionally, the interface document standard deliverables of the source cloud platform and / or the interface document standard deliverables of the target cloud platform can be pre-configured. The interface document standard deliverables can include a machine-readable API (Application Programming Interface) complete definition. The interface document standard deliverables can include, for example, swagger, yaml and the like.
[0041] In the case where the interface document standard deliverables of the source cloud platform are configured, the application program interface information of the source cloud platform can be obtained by parsing the interface document standard deliverables of the source cloud platform.
[0042] In the case where the interface document standard deliverables of the target cloud platform are configured, the application program interface information of the target cloud platform can be obtained by parsing the interface document standard deliverables of the target cloud platform.
[0043] Since there are differences between the APIs of the heterogeneous cloud platforms, for the heterogeneous cloud platforms, the docking interaction mode of the migration device and the heterogeneous cloud platforms can be extended through the API document standard delivery of the heterogeneous cloud platforms. Based on this, the user can configure the API document standard delivery of different cloud platforms in the migration device, and the migration device can obtain the API interface information of each cloud platform from the API document standard delivery of each cloud platform.
[0044] The following describes the system architecture of the method and device for migrating cloud service resources according to an example embodiment of the present specification. Figure 2 It should be noted that, Figure 2 The system architecture shown is only an example of the system architecture to which the example embodiments of the present specification can be applied, to help those skilled in the art understand the technical content of the present specification, but does not mean that the example embodiments of the present specification cannot be used for other devices, systems, environments or scenarios.
[0045] Figure 2 is a schematic diagram of a system architecture according to an example embodiment of the present specification.
[0046] As Figure 2 shown, the system architecture may, for example, include a source cloud platform A, a target cloud platform B and a migration device.
[0047] According to the example embodiments of the present specification, the source cloud platform A can be a cloud platform to be migrated, and the target cloud platform B can be a cloud platform to which migration is performed. The source cloud platform A and the target cloud platform B can each include a container cluster instance, a database instance and a middleware instance, etc. The container cluster may, for example, include a k8s cluster, the database may, for example, include mysql, PostgreSQL, Redis, influxdb, etc., and the middleware may, for example, include rabbitmq, kafka, zookeeper, etc.
[0048] According to the example embodiments of the present specification, an actor can configure management information of the source cloud platform A and management information of the target cloud platform B in the migration device. The migration device can obtain PaaS resource information of the source cloud platform A through API calling according to the management information of the source cloud platform A, and can also create PaaS resource information corresponding to the target cloud platform B through API calling according to the management information of the target cloud platform B. Thus, the PaaS resources of the source cloud platform A are migrated to the target cloud platform B.
[0049] As Figure 3 shown, is a flowchart of another method for migrating cloud service resources according to an example embodiment, and the present embodiment describes a processing procedure for migrating cloud service resources on the basis of the foregoing example embodiment, including the following steps:
[0050] Step 301, the migration device obtains the management information of the source cloud platform A and the target cloud platform B from the user configuration file. The management information can include management platform address, API interface information, authentication information (such as token or AK / SK), etc. The management information can be pre-recorded in the configuration file.
[0051] Since there are differences between the APIs of heterogeneous cloud platforms, for heterogeneous cloud platforms, the migration device can extend the docking interaction mode with the heterogeneous cloud platform through the API document standard delivery of the heterogeneous cloud platform (such as the swagger yaml file). Based on this, the user can configure the API document standard delivery of different cloud platforms in the migration device, and the migration device can obtain the API interface information of each cloud platform from the API document standard delivery of each cloud platform.
[0052] Step 302, the migration device interacts with the source cloud platform A in the API mode through the management information of the source cloud platform A recorded in the configuration file, and queries the source cloud PaaS resource information (cloud service resource information).
[0053] According to an embodiment of the present specification, the PaaS resource information may, for example, include container cluster (such as k8s cluster) instances, database (such as mysql, PostgreSQL, Redis, etc.) instances, middleware (such as rabbitmq, kafka, zookeeper, etc.). The PaaS resource information can include specifications, configurations, etc.
[0054] Step 303, the migration device encapsulates the PaaS resource information obtained from the source cloud platform A into the API interface format of the target cloud platform B, and sends the encapsulated PaaS resource information to the target cloud platform by calling the API of the target cloud platform B.
[0055] Step 304, the target cloud platform B creates the corresponding target cloud service instance according to the PaaS resource information.
[0056] According to an embodiment of the present specification, if the cloud service instance is a container cluster instance, the migration device waits for the container cluster instance to be created, and then calls the API of the source cloud platform A again to obtain the container application information running on the corresponding source container cluster. Then the container application information is sent to the target cloud platform B by calling the API of the target cloud platform B, so that the target cloud platform B creates a container application with the same configuration in the corresponding target container cluster instance. Taking the k8s cluster as an example, the container application in the k8s cluster includes but is not limited to deployment, statefulset, configmap, secret, service, ingress, etc.
[0057] According to an embodiment of the present specification, if the cloud service instance is a database instance, the migration device waits until the database instance is created, performs a backup operation on the source database instance, waits until the backup is completed, imports the backup data of the source database instance into the target database instance, and thus completes the automatic migration of the data content in the database instance. When the migration device performs the database backup and import / export operations, the migration device can integrate related SQL (Structured Query Language) tools, and the migration device can use the SQL tools to perform the backup of the source database and the import of the target database through script commands.
[0058] According to an embodiment of the present specification, if the cloud service instance is a message middleware instance, the migration device waits until the middleware instance is created, queries the queue or topic data information of the source middleware instance through the API of the source cloud platform A. The migration device encapsulates the same configuration parameters and calls the API of the target cloud platform B, so that the same queue or topic data information is created in the target middleware instance of the target cloud platform.
[0059] Step 305: After all kinds of cloud service instances are automatically created from the PaaS instance of the source cloud platform A to the PaaS instance of the target cloud platform B, and the data content in the instances is synchronized, and the PaaS instance of the target cloud platform B is confirmed to be normal, the migration device releases all instances of the source cloud platform A by calling the API of the source cloud platform A.
[0060] According to an embodiment of the present specification, the migration device can be deployed in any form at any location as long as it can be network-reachable to the target cloud platform and the source cloud platform. In terms of form, the migration device can be deployed in a containerized form, or deployed on a traditional virtual machine or a physical machine. In terms of location, the migration device can be integrated and deployed on the source cloud platform and / or the target cloud platform, or deployed on an intermediate device between the source cloud platform and the target cloud platform, and communicates with the source cloud platform and the target cloud platform through the intermediate device.
[0061] Corresponding to the embodiments of the foregoing method, the present specification also provides embodiments of a device for migrating cloud service resources and a terminal to which the device is applied.
[0062] The device for migrating cloud service resources according to the embodiments of the present specification can be applied to a computer device, such as a server or a terminal device. The device embodiments can be implemented by software, or by hardware or a combination of software and hardware. For example, as a logical device, the device is formed by a processor reading corresponding computer program instructions in a non-volatile memory into a memory for execution. From the hardware level, the device can be implemented by a processor, a memory, and a communication interface. Figure 4As shown in Fig. 1, it is a hardware structure diagram of a computer device where an apparatus for migrating cloud service resources according to an embodiment of the present specification is located. In addition to the processor 410, the memory 430, the network interface 420, and the non-volatile memory 440 shown in Fig. 1, the server or electronic device where the apparatus 431 in the embodiment is located can also include other hardware according to the actual functions of the computer device, which will not be described here. Figure 4 In addition to the processor 410, the memory 430, the network interface 420, and the non-volatile memory 440 shown in Fig. 1, the server or electronic device where the apparatus 431 in the embodiment is located can also include other hardware according to the actual functions of the computer device, which will not be described here.
[0063] As shown in Fig. 1, the apparatus 431 in the embodiment can include the following modules combined with the hardware of the computer device: Figure 5 As shown in Fig. 1, the apparatus 431 in the embodiment can include the following modules combined with the hardware of the computer device: Figure 5 As shown in Fig. 1, the apparatus 431 in the embodiment can include the following modules combined with the hardware of the computer device:
[0064] The management information acquisition module 510 is configured to acquire management information of a source cloud platform and a target cloud platform, and the management information includes application program interface information.
[0065] The cloud service resource information query module 520 is configured to query cloud service resource information of the source cloud platform according to the management information of the source cloud platform, and the cloud service resource information includes information of at least one cloud service instance.
[0066] The cloud service creation module 530 is configured to instruct the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
[0067] Optionally, the management information of the target cloud platform can include cloud service creation interface information; and the cloud service creation module can include:
[0068] The first sending sub-module is configured to send the cloud service resource information to a cloud service creation interface of the target cloud platform according to the cloud service creation interface information, so as to instruct the target cloud platform to create the target cloud service instance according to the cloud service resource information.
[0069] Optionally, the management information of the source cloud platform can include application information acquisition interface information; the management information of the target cloud platform can include container application interface information; and the apparatus can further include:
[0070] The first calling module is configured to, if the cloud service instance includes a container cluster instance, after the container cluster instance is created on the target cloud platform, call a container application information acquisition interface of the source cloud platform according to the application information acquisition interface information, so as to acquire container application information running on a source container cluster of the source cloud platform.
[0071] The second sending module is configured to send the container application information to a container application interface of the target cloud platform according to the container application interface information, so as to instruct the target cloud platform to deploy a target container application in the created container cluster according to the container application information.
[0072] Optionally, the apparatus can further include:
[0073] The backup module is configured to, if the cloud service instance includes a database instance, perform a backup operation on the source database instance of the source cloud platform to obtain backup data of the source database instance after the database instance is created on the target cloud platform;
[0074] The import module is configured to import the backup data of the source database instance into the database instance created on the target cloud platform after the backup operation is completed.
[0075] Optionally, the management information of the source cloud platform can include data information query interface information; the management information of the target cloud platform can include middleware configuration interface information; and the apparatus can further include:
[0076] The second calling module is configured to, if the cloud service instance includes a middleware instance, call a data information query interface of the source cloud platform according to the data information query interface information to query data information of the source middleware instance, the data information including a queue and / or a message topic, after the middleware instance is created on the target cloud platform;
[0077] The third sending module is configured to send the data information to the middleware configuration interface of the target cloud platform according to the middleware configuration interface information to instruct the target cloud platform to configure the created middleware instance according to the data information.
[0078] Optionally, the management information of the source cloud platform can include cloud service resource information query interface information and authentication information; and the cloud service resource information query module can include:
[0079] The request submodule is configured to initiate an authentication request to the source cloud platform according to the authentication information of the source cloud platform;
[0080] The calling submodule is configured to, if the authentication is passed, call a cloud service resource information query interface of the source cloud platform according to the cloud service resource information query interface information of the source cloud platform to query cloud service resource information of the source cloud platform.
[0081] Optionally, the management information acquisition module can include:
[0082] The first acquisition submodule is configured to acquire application program interface information of the source cloud platform by analyzing an interface document standard deliverable of the source cloud platform; and / or
[0083] The second acquisition submodule is configured to acquire application program interface information of the target cloud platform by analyzing an interface document standard deliverable of the target cloud platform.
[0084] The device for migrating cloud service resources according to the embodiments of the present specification can realize automatic migration of cloud service resources across cloud platforms, reduce the complexity and cost of human operation, and improve efficiency.
[0085] In addition, by pre-configuring the management information of different cloud platforms in the device, resource migration across heterogeneous cloud platforms is supported. Even if the target platform and the source cloud platform are cloud vendors of different architectures, the device can automatically migrate only by providing the device with information such as API related to the cloud vendor, platform address, and authentication information.
[0086] Correspondingly, the present specification also provides an electronic device, comprising a processor, a memory for storing processor-executable instructions, wherein the processor is configured to: obtain management information of a source cloud platform and a target cloud platform, the management information comprising application program interface information; query cloud service resource information of the source cloud platform according to the management information of the source cloud platform, the cloud service resource information comprising information of at least one cloud service instance; and instruct the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
[0087] The implementation process of the functions and roles of each module in the above device is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.
[0088] For the device embodiment, since it basically corresponds to the method embodiment, the related parts can be referred to the part of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., they can be located in one place or distributed on multiple network modules. Part or all of the modules can be selected to achieve the purpose of the present specification according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0089] The above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve the desired result. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired result. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.
[0090] Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the description be considered as exemplary only and that the true scope and spirit of the description be indicated by the following claims.
[0091] It is to be understood that the present description is not limited to the precise details of apparatus and methodology described herein and as illustrated in the drawings. Various modifications and changes in or from the exact construction and arrangement of parts as set forth in the application can be made by those skilled in the art and which are intended to be included in the true scope of the application.
[0092] The above description is intended to be illustrative and not restrictive. Many other modifications within the scope of the described application will become apparent to those skilled in the art upon reading the above description. The scope of the application should, therefore, be determined not with reference to the above description, but should instead be determined with reference to the appended claims, along with their full scope of equivalents.
Claims
1. A method of migrating cloud service resources, the method comprising: The method comprises: obtaining management information of a source cloud platform and a target cloud platform, the management information comprising application program interface information; querying cloud service resource information of the source cloud platform according to the management information of the source cloud platform, the cloud service resource information comprising information of at least one cloud service instance; instructing the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
2. The method of claim 1, wherein, The management information of the target cloud platform comprises cloud service creation interface information; and the step of instructing the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform comprises: sending the cloud service resource information to a cloud service creation interface of the target cloud platform according to the cloud service creation interface information, to instruct the target cloud platform to create a target cloud service instance according to the cloud service resource information.
3. The method of claim 1, wherein, The management information of the source cloud platform comprises application information acquisition interface information; the management information of the target cloud platform comprises container application interface information; and the method further comprises: if the cloud service instance comprises a container cluster instance, after the container cluster instance is created on the target cloud platform, calling a container application information acquisition interface of the source cloud platform according to the application information acquisition interface information, to acquire container application information running on a source container cluster of the source cloud platform; sending the container application information to a container application interface of the target cloud platform according to the container application interface information, to instruct the target cloud platform to deploy a target container application in the created container cluster according to the container application information.
4. The method of claim 1, wherein, The method further comprises: if the cloud service instance comprises a database instance, after the database instance is created on the target cloud platform, performing a backup operation on a source database instance of the source cloud platform to obtain backup data of the source database instance; after the backup operation is completed, importing the backup data of the source database instance into the created database instance on the target cloud platform.
5. The method of claim 1, wherein, The management information of the source cloud platform comprises data information query interface information; the management information of the target cloud platform comprises middleware configuration interface information; and the method further comprises: if the cloud service instance comprises a middleware instance, after the middleware instance is created on the target cloud platform, calling a data information query interface of the source cloud platform according to the data information query interface information, to query data information of a source middleware instance, the data information comprising a queue and / or a message topic; sending the data information to a middleware configuration interface of the target cloud platform according to the middleware configuration interface information, to instruct the target cloud platform to configure the created middleware instance according to the data information.
6. The method of claim 1, wherein, The management information of the source cloud platform comprises cloud service resource information query interface information and authentication information; and the step of querying cloud service resource information of the source cloud platform according to the management information of the source cloud platform comprises: initiating an authentication request to the source cloud platform according to the authentication information of the source cloud platform; In the case of authentication, the cloud service resource information query interface information of the source cloud platform is queried, and the cloud service resource information query interface of the source cloud platform is called to query the cloud service resource information of the source cloud platform.
7. The method of claim 1, wherein, The management information of the source cloud platform and the target cloud platform includes: The application program interface information of the source cloud platform is obtained by analyzing the interface document standard delivery of the source cloud platform; and / or The application program interface information of the target cloud platform is obtained by analyzing the interface document standard delivery of the target cloud platform.
8. An apparatus for migrating cloud service resources, the apparatus comprising: The device includes: A management information acquisition module is configured to acquire the management information of the source cloud platform and the target cloud platform, and the management information includes application program interface information; A cloud service resource information query module is configured to query the cloud service resource information of the source cloud platform according to the management information of the source cloud platform, and the cloud service resource information includes the information of at least one cloud service instance; A cloud service creation module is configured to instruct the target cloud platform to create a corresponding target cloud service instance according to the cloud service resource information and the management information of the target cloud platform.
9. An electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing a computer to execute the method of any one of claims 1 to 7. The computer readable storage medium stores computer instructions for causing a computer to execute the method of any one of claims 1 to 7.