CN115834600B - Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium - Google Patents

Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115834600B
CN115834600B CN202211370146.6A CN202211370146A CN115834600B CN 115834600 B CN115834600 B CN 115834600B CN 202211370146 A CN202211370146 A CN 202211370146A CN 115834600 B CN115834600 B CN 115834600B
Authority
CN
China
Prior art keywords
platform
cloud
source end
target
target source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211370146.6A
Other languages
Chinese (zh)
Other versions
CN115834600A (en
Inventor
高炜
吴霁霖
周鑫
赵一君
周睿
袁小波
张波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Corp Guizhou Provincial Co
Original Assignee
China Tobacco Corp Guizhou Provincial Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Tobacco Corp Guizhou Provincial Co filed Critical China Tobacco Corp Guizhou Provincial Co
Priority to CN202211370146.6A priority Critical patent/CN115834600B/en
Publication of CN115834600A publication Critical patent/CN115834600A/en
Application granted granted Critical
Publication of CN115834600B publication Critical patent/CN115834600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a method, a device, electronic equipment and a storage medium for synchronizing data of a multi-cloud nanotube, which are applied to a cloud tube platform in a multi-cloud nanotube environment, wherein the method comprises the following steps: responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform; in response to the synchronous operation of the cloud management user to the associated resources of the target source end platform corresponding to the target item, synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform, and distributing the associated resources of the target source end platform to the target item under the cloud management platform from the transit resource pool; in response to the operation of the cloud user on the target source end platform resource by the cloud management platform, the associated resource information of the target source end platform is triggered to be requested to be synchronized, the purpose that resources of the same cloud environment are synchronously distributed to different cloud users and projects is achieved, the user operation is convenient, and the platform safety is high.

Description

Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of multi-cloud nanotubes, in particular to a multi-cloud nanotube data synchronization method, a device, electronic equipment and a storage medium.
Background
In the process of multi-cloud-tube scenes by cloud-tube platforms, current industry manufacturers have the condition that the environment of each source end of a managed object or platform data are inconsistent with the cloud-tube platforms, so that errors occur in operation of the cloud-tube platforms, and errors exist in metering and charging and other services, thereby influencing the use of the platforms. The main reason for the inconsistency is that after the environment of each source end is managed by the managed source end, an operator directly adjusts parameters, modifies resource configuration information or performs operations such as adding, deleting, changing and the like on resources in the environment of the source end of the managed source end, so that a cloud pipe platform cannot acquire operation actions of the source end and timely adjust and update corresponding parameters and resource information on a cloud pipe.
In the synchronous scheme of a source end platform and a cloud pipe platform in the multi-cloud-pipe environment in the prior art, a part of scheme is agreed that the source end platform is forbidden to continue to operate in the source end environment after adopting the cloud pipe platform for pipe receiving, and can check and manage the stock resources of the source end environment in the cloud pipe platform after not supporting the pipe receiving, so that the method has too great burden on the cloud pipe platform, and the cloud pipe platform is difficult to ensure to encapsulate all functions and logics of the managed environment; according to the partial scheme, when a user needs any source platform resource, the data of the source environment are obtained and synchronized to the cloud management platform by inputting verification information, however, the method increases the operation complexity of the user and the security risk exists when the source verification information is input for many times. In addition, because the flexibility of the cloud nano-tube environment is far higher than that of the traditional cloud computing management platform, nano-tube modes such as multi-level tenants and multi-project are supported, the scheme cannot flexibly realize that resources of the same cloud environment are synchronously distributed to different tenants and projects.
Disclosure of Invention
An embodiment of the present invention aims to provide a method, an apparatus, an electronic device and a storage medium for synchronizing data of a multi-cloud nanotube, including:
in a first aspect, an embodiment of the present invention provides a method for synchronizing data of a multi-cloud nanotube, which is applied to a cloud tube platform in a multi-cloud nanotube environment, where the method includes:
responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
responding to the synchronous operation of cloud management users to the associated resources of a target source end platform corresponding to a target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform;
and responding to the operation of the cloud pipe on the target source end platform resource by the cloud pipe platform, and triggering a request to synchronize the associated resource information of the target source end platform.
Optionally, the associated resource of the target source platform includes resource entry, configuration, status and binding relationship information of the target source platform.
Optionally, before the step of obtaining the basic parameter information and the platform configuration information of each source platform in response to the timer trigger signal in the cloud management platform, the method further includes:
each source terminal platform provides a corresponding access code and performs addition verification on the cloud management platform;
the cloud user obtains the resource management authority of any source platform through the binding operation of the access code corresponding to any source platform.
Optionally, the allocating, according to whether the cloud user binds the basic parameter information corresponding to the target source platform, the associated resource of the target source platform to the target item under the cloud user from the transit resource pool specifically includes:
according to the synchronous operation of cloud management users to the associated resources of the target source end platform corresponding to the target item, the access code provided when the target source end platform performs addition verification is obtained;
judging the access authority of the cloud user to access the target source end platform according to the access code and the binding relation information of the target source end platform stored in the intermediate transfer resource pool;
and distributing the associated resources of the target source terminal platform to the target item through the multi-stage VDC architecture according to the node position of the target item in the multi-stage VDC architecture.
Optionally, the transit resource pool is used for enabling the cloud user to view the associated resource information of any source end platform in real time through the cloud management platform.
Optionally, after the step of triggering a request to synchronize associated resource information of the target source platform in response to an operation of the cloud user on the target source platform resource by the cloud user platform, the method further includes:
and pushing the result of the synchronous operation to the cloud management user as a message.
Optionally, the cloud management user requests the operation of the target source end platform resource when the cloud management platform operates the target source end platform resource, specifically when the cloud management user enters the resource detail page of the cloud management platform.
In a second aspect, an embodiment of the present invention provides a device for synchronizing data of a multi-cloud nanotube, which is applied to a cloud tube platform in a multi-cloud nanotube environment, and the device includes:
the timing synchronization module is used for responding to the timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
the manual synchronization module is used for responding to the synchronization operation of cloud management users to the associated resources of the target source end platform corresponding to the target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform;
and the interaction synchronization module is used for responding to the operation of the cloud user on the target source end platform resource in the cloud management platform, and triggering a request to synchronize the associated resource information of the target source end platform.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having stored thereon executable instructions, wherein the executable instructions, when executed by a processor, cause the processor to perform the method according to the first aspect.
The method, the device, the electronic equipment and the storage medium for synchronizing the multi-cloud-tube data provided by the embodiment of the invention are used for flexibly realizing the service modes supported by multi-cloud-tube such as multi-level tenants and multi-project in the multi-cloud-tube environment, synchronously distributing the resources of the same cloud environment to different tenants and projects, solving the problems that in the prior art, the operation of the cloud user is inflexible, the operation of the cloud user is complex and the security risk is high, and respectively performing targeted data synchronization aiming at the application scene of the cloud user in the multi-cloud-tube environment by using the modes such as timing synchronization, manual on-demand synchronization, interactive triggering synchronization and the like, thereby flexibly realizing that the resources of the same cloud environment are synchronously distributed to different cloud users and projects, and the operation of the user is convenient and the security of the platform is high.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings that are required to be used in the embodiments of the present application.
Fig. 1 is a flow chart of a method for synchronizing multi-cloud nanotubes according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a multi-cloud nanotube environment according to an embodiment of the present invention;
FIG. 3 is a flowchart of a source platform associated resource synchronization method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multi-cloud nanotube data synchronization device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
In the process of multi-cloud-tube scenes by cloud-tube platforms, current industry manufacturers have the condition that the environment of each source end of a managed object or platform data are inconsistent with the cloud-tube platforms, so that errors occur in operation of the cloud-tube platforms, and errors exist in metering and charging and other services, thereby influencing the use of the platforms. The main reason for the inconsistency is that after the environment of each source end is managed by the managed source end, an operator directly adjusts parameters, modifies resource configuration information or performs operations such as adding, deleting, changing and the like on resources in the environment of the source end of the managed source end, so that a cloud pipe platform cannot acquire operation actions of the source end and timely adjust and update corresponding parameters and resource information on a cloud pipe.
In the synchronous scheme of a source end platform and a cloud pipe platform in the multi-cloud-pipe environment in the prior art, a part of scheme is agreed that a user prohibits continuous operation in the source end environment after adopting the cloud pipe platform for pipe receiving, and can check and manage the stock resources of the source end environment in the cloud pipe platform after not supporting the pipe receiving, so that the method has too great burden on the cloud pipe platform, and the cloud pipe platform is difficult to ensure to encapsulate all functions and logics of the managed environment; according to the partial scheme, when a user needs any source platform resource, the data of the source environment are obtained and synchronized to the cloud management platform by inputting verification information, however, the method increases the burden of the user and the security risk exists when the source verification information is input for many times.
Based on the above, the embodiment of the invention provides a method, a device, electronic equipment and a storage medium for synchronizing multi-cloud nanotube data. Fig. 1 shows a flow chart of a multi-cloud nanotube data synchronization method according to an embodiment of the present invention. Correspondingly, the method for synchronizing the data of the multi-cloud nanotubes in the embodiment of the invention is operated in a schematic architecture diagram of a multi-cloud nanotube environment formed by a source platform and a cloud tube platform as shown in fig. 2.
Step S110, basic parameter information and platform configuration information of each source platform are obtained in response to a timer trigger signal in the cloud management platform, and the basic parameter information and the platform configuration information are synchronized to a database of the cloud management platform.
The multi-cloud nanotube environment is different from the traditional cloud platform environment, so that support for public cloud, industry cloud and private cloud hybrid cloud architecture can be comprehensively realized, and a flexible service mode of multi-level tenants, multi-projects and the like is provided. Because the same set of programs can be used in a multi-user environment for different cloud users, and the cloud management platform data or the source end data can be managed and operated by different cloud users based on project authorities of the cloud users, the data synchronization of the cloud management platform and the source end platform becomes complex under multi-stage tenant and multi-project scenes.
The embodiment of the invention needs to carry out the binding step of cloud management platform nano Guan Gongyou cloud and apply the cloud management platform nano Guan Gongyou cloud to cloud management platform business before carrying out data synchronization operation. Specifically, each source terminal platform provides a corresponding access code, and performs addition verification on the cloud management platform; the cloud user obtains the resource management authority of any source platform through the binding operation of an access code (Access Key) corresponding to the any source platform. In the embodiment of the invention, after the source end platform and the cluster resources in the cloud environment cluster adopt the cloud pipe platform nanotubes, the cloud pipe user is not prohibited from continuing to operate in the source end environment. The public cloud provides access code information, and adds verification on the cloud management platform, and after verification is passed, the cloud management platform has the capability of acquiring public cloud resource information, so that communication between two different platforms is realized. The cloud management platform provides service models of tenants, projects and users for cloud management users. After the added access code is bound with the tenant, the user under the tenant can have the resource management authority of the public cloud account corresponding to the access code. Users can create and manage public cloud resources through projects of the cloud management platform.
After the binding operation in the preparation stage is finished, the embodiment of the invention simulates the method for synchronizing the operation description data of the user in the multi-cloud nanotube environment. First, the operation steps of timing synchronization are performed. The timing synchronization triggering time is that a timer module is included in the cloud pipe platform. And responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform.
Specifically, the source platform resource information is timed and synchronized to the cloud management platform through a timer, after the cloud management platform sets the synchronization period of the cloud environment, the cloud management platform can periodically acquire the basic parameter information and the platform configuration information of the added source platform and update and synchronize to a cloud management platform database, so that the data consistency of the managed cloud environment in the cloud management platform is realized.
The basic parameter information of the source platform is mainly some constant parameters of the source platform, and does not relate to variable parameters related to source platform resources, and the platform configuration information of the source platform comprises construction environment information, connection configuration information and the like when the source platform is constructed. Different from the prior art, the embodiment of the invention independently processes basic parameters except source platform resource management and operation, and performs data synchronization by adopting a timing update mode. The trigger frequency in the timer can be set according to the user's needs.
Step S120, in response to the synchronization operation of cloud management users on the associated resources of the target source end platform corresponding to the target item, synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform.
In the multi-cloud-nanotube environment in the embodiment of the invention, how to flexibly realize the service modes supported by multi-cloud nanotubes such as multi-level tenants and multi-items and how to synchronously distribute the resources of the same cloud environment to different tenants and items are the problems faced by the embodiment of the invention. The embodiment of the invention associates the multistage VDC (VirtualDataCenter) architecture with the source platform resources in the form of items.
VDC is a unit for resource allocation of a cloud pipe platform, and the cloud pipe platform is in a hierarchical operation scene in a multi-cloud-nanotube environment. In resource allocation, all virtual resources of each superior VDC may be divided into one or more subordinate VDCs for management. Each VDC may contain a plurality of subordinate VDCs. And the cloud management users manage and operate the source platform resources in a project mode through a binding access code mode.
The step corresponds to the situation that the cloud user manually synchronizes source platform resources in a target item in the target VDC according to the requirements. And the cloud management platform responds to the synchronous operation of the cloud management user to the associated resources of the target source end platform corresponding to the target item, and firstly, the associated resources of the target source end platform are synchronized to a transit resource pool in the cloud management platform. The transit resource pool in the cloud management platform is used for uniformly storing item information, state information, configuration parameters and binding relations among the resources of the computing, storage, network and other resources of the source platform, such as security resources and the like. It can be understood that the embodiment of the invention does not directly relate the cloud management user and the source platform resource, but can be used for flexibly calling the source platform resource by multi-project and multi-stage tenants through the form of a transit resource pool. Specifically, the transit resource pool has the function of enabling a user to view source-end platform resource information in real time through the cloud management platform, and the transit resource pool can be visible and manageable for the user or can be only visible and unmanageable.
After synchronizing the associated resources of the target source platform to a transit resource pool in the cloud management platform, the step is to associate the multistage VDC architecture with the source platform resources in the form of items, specifically, allocate the associated resources of the target source platform to the target items under the cloud user from the transit resource pool according to whether the cloud user binds the basic parameter information corresponding to the target source platform. As shown in fig. 3, the flow chart of the source platform associated resource synchronization method, step S120 may be further subdivided into the following steps:
s121, according to the synchronous operation of the cloud management user to the associated resources of the target source end platform corresponding to the target item, the access code provided when the target source end platform performs the addition verification is obtained.
Before source platform resources are allocated, access codes provided by a target source platform for adding verification are required to be automatically acquired for verifying the authority of the cloud user. The access codes corresponding to the target source end platform are collected uniformly by the cloud management platform in the binding stage of the embodiment of the invention, and are updated in real time in a timing synchronization mode.
S122, judging the access authority of the cloud user to access the target source end platform through the access code and the binding relation information of the target source end platform stored in the intermediate transfer resource pool.
After the access code provided by the target source end platform during the addition verification is obtained, the binding relation information of the target source end platform stored in the transfer resource pool is required to be determined, the current manual synchronous operation of the cloud user is determined, which resources of the source end platform are specifically related to, the subsequent call in the transfer resource pool is convenient, and the determination can be specifically performed through the resources designated by the cloud user and the bound resources thereof. And judging whether the cloud user has permission to transfer the resources of the target cloud management platform from the resource pool or not through the acquired access code.
S123, according to the node position of the target item in the multi-stage VDC architecture, the associated resources of the target source end platform are distributed to the target item through the multi-stage VDC architecture.
The corresponding relation between a certain item under the multi-stage VDC architecture and the computing resource of the source end platform is determined, after passing the authority verification, the resource of the source end platform required by the cloud management user in the unified resource pool can be distributed to the target item through the multi-stage VDC architecture according to the node position of the target item in the multi-stage VDC architecture. The resource allocation mode is not limited by a multi-cloud-content Guan Duoji tenant architecture and multi-project characteristics, and the synchronization of source platform resources can be realized for cloud users with different authorities and different target projects by combining the unified scheduling performance of a transfer resource pool, and the synchronization of source platform resources can also be realized for different cloud users in a multi-tenant scene.
Step S130, responding to the operation of the cloud user on the target source end platform resource in the cloud management platform, and triggering a request to synchronize the associated resource information of the target source end platform.
In addition to manually synchronizing source platform resources in a target item in a target VDC according to requirements, a cloud user directly operates the source platform resources on the cloud platform. At this time, in order to realize the data synchronization of the cloud management platform and the source end platform resource, when detecting that the cloud user operates the target source end platform resource on the cloud management platform, the step automatically triggers a request to synchronize the associated resource information of the target source end platform. Because the associated resource information of the target source terminal platform is stored by the transfer resource pool of the cloud management platform, the corresponding resource data in the transfer resource pool only needs to be updated. And then according to the corresponding relation between the VDC node and the target source end platform resource established in the previous step, synchronizing the associated resource information of the target source end platform to a specific item corresponding to the cloud management user when operating the target source end platform resource. The step is different from the manual on-demand synchronization in the step S120, and belongs to automatic request triggering synchronization of the cloud user in the interaction process of the cloud platform, no matter how the cloud user operates the source resource in the cloud platform, the platform triggers the request to synchronize the state, configuration, binding of the current resource, and the like, so that each operation is ensured to be performed according to the latest configuration and state.
In one embodiment of the present invention, automatic request triggered synchronization can also be achieved by two schemes: the list loading triggers the synchronization of the data requesting the current list page item with the underlying database, or requests the underlying database to query the underlying latest state of the current resource when entering the resource detail page.
Specifically, in this embodiment, the first embodiment is exemplified as follows: the cloud pipe platform checks in archer os1.1 whether the migrated virtual machine is used in installing qga parameters. Each time the user loads the virtual machine list, the page requests to query qga parameters of the virtual machines from the back end and the bottom layer, and limits whether the functions of the front end related qga are open according to the return value, if some virtual machines are detected to be not qga, corresponding function buttons for making mirror images, modifying passwords and key pairs are gray. The scheme can realize the synchronization function locally, but has a slight influence on the performance of the cloud management platform, the requirement of the inspection of the parameters of the whole list item part on the response to the interface request is higher, and the occupation of the memory is higher when the request is triggered.
The second scheme is exemplified as follows: this scheme can be used in the version prior to cloudultra 4.3. And checking configuration parameters, names and status fields of the cloud host at the back end and the bottom layer when the user clicks the cloud host to enter cloud host details each time, and returning an updating result to the list database. The scheme can also realize the synchronization function locally, and the real-time state of the selected cloud host can be updated only when the cloud host details are entered, so that the real-time requirements of the states of other cloud hosts can not be met.
After the step of triggering the request to synchronize the associated resource information of the target source end platform is triggered in response to the operation of the cloud user on the target source end platform resource by the cloud user, the embodiment of the invention can also push the result of the synchronization operation to the cloud user as a message, and give the user the display of the synchronization information.
According to the multi-cloud-nanotube data synchronization method provided by the embodiment of the invention, aiming at the requirements of how to flexibly realize the service modes supported by multi-cloud nanotubes such as multi-level tenants and multi-items and how to synchronously distribute resources of the same cloud environment to different tenants and items in the multi-cloud-nanotube environment, the problems that in the prior art, the operation of cloud users is inflexible, the operation of the cloud users is complex and the security risk is high are solved, the modes such as timing synchronization, manual on-demand synchronization and interactive triggering synchronization are respectively used, and targeted data synchronization is respectively carried out on application scenes of the cloud users in the multi-cloud-nanotube environment, so that the resources of the same cloud environment are flexibly distributed to different cloud users and the different cloud users in a synchronous manner, the operation of the users is convenient, and the security of the platform is high.
Based on any one of the above embodiments, fig. 4 shows a schematic structural diagram of a multi-cloud nanotube data synchronization device according to an embodiment of the present invention, which specifically includes the following steps:
the timing synchronization module 301 is configured to obtain basic parameter information and platform configuration information of each source platform in response to a timer trigger signal in the cloud management platform, and synchronize the basic parameter information and the platform configuration information to a database of the cloud management platform;
the manual synchronization module 302 is configured to synchronize, in response to a synchronization operation of a cloud management user to an associated resource of a target source platform corresponding to a target item, the associated resource of the target source platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform;
and the interaction synchronization module 303 is configured to trigger a request to synchronize associated resource information of the target source platform in response to an operation of the cloud user on the target source platform resource by the cloud user.
The multi-cloud-nanotube data synchronization device provided by the embodiment of the invention is capable of flexibly realizing the service modes supported by multi-cloud nanotubes such as multi-level tenants and multi-items and synchronously distributing resources of the same cloud environment to different tenants and items, solving the problems that in the prior art, cloud users are inflexible to operate, the cloud users are complex to operate and high in safety risk, and respectively performing targeted data synchronization on application scenes of the cloud users in the multi-cloud-nanotube environment by using modes such as timing synchronization, manual on-demand synchronization and interactive triggering synchronization, so that resources of the same cloud environment are synchronously distributed to different cloud users and items, and the device is convenient to operate and high in platform safety.
Based on any of the above embodiments, fig. 5 shows a schematic entity structure of an electronic device according to an embodiment of the present invention, where the electronic device may include: processor 410, communication interface 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other through communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the following method:
responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
responding to the synchronous operation of cloud management users to the associated resources of a target source end platform corresponding to a target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform;
and responding to the operation of the cloud pipe on the target source end platform resource by the cloud pipe platform, and triggering a request to synchronize the associated resource information of the target source end platform.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art or a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method provided in the above embodiments, for example, including:
responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
responding to the synchronous operation of cloud management users to the associated resources of a target source end platform corresponding to a target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target item is an item corresponding to any one-level target VDC in a multi-level VDC architecture contained in the cloud management platform;
and responding to the operation of the cloud pipe on the target source end platform resource by the cloud pipe platform, and triggering a request to synchronize the associated resource information of the target source end platform.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for synchronizing data of a multi-cloud nanotube, which is applied to a cloud tube platform in a multi-cloud nanotube environment, the method comprising:
each source terminal platform provides a corresponding access code and performs addition verification on the cloud management platform;
the cloud user obtains the resource management authority of any source end platform through the binding operation of the access code corresponding to any source end platform;
responding to a timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform, and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
responding to the synchronous operation of cloud management users to the associated resources of a target source end platform corresponding to a target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target items are items corresponding to any one-level target virtual data center in a multi-level virtual data center architecture contained in the cloud management platform;
responding to the operation of a cloud user on a target source end platform resource by a cloud management platform, and triggering a request to synchronize associated resource information of the target source end platform;
the method for distributing the associated resources of the target source end platform to the target items under the cloud user from the transit resource pool according to whether the cloud user binds the basic parameter information corresponding to the target source end platform or not specifically includes:
according to the synchronous operation of cloud management users to the associated resources of the target source end platform corresponding to the target item, the access code provided when the target source end platform performs addition verification is obtained;
judging the access authority of the cloud user to access the target source end platform according to the access code and the binding relation information of the target source end platform stored in the intermediate transfer resource pool;
and distributing the associated resources of the target source end platform to the target item through the multi-stage virtual data center architecture according to the node position of the target item in the multi-stage virtual data center architecture.
2. The method of claim 1, wherein the associated resources of the target source platform include resource entries, configuration, status, and binding information of the target source platform.
3. The method for synchronizing multi-cloud nanotube data according to claim 1, wherein the transit resource pool is configured to enable a cloud user to view associated resource information of any source platform in real time through a cloud platform.
4. The method of claim 1, wherein after the step of triggering a request to synchronize associated resource information of a target source platform in response to an operation of a cloud user on the target source platform resource at a cloud management platform, the method further comprises:
and pushing the result of the synchronous operation to the cloud management user as a message.
5. The method for synchronizing multi-cloud nanotube data according to claim 1, wherein the cloud nanotube user requests the operation of the target source platform resource when the cloud nanotube platform operates the target source platform resource, specifically, when the cloud nanotube user enters the resource detail page of the cloud nanotube platform.
6. A device for synchronizing data of a plurality of cloud nanotubes, which is applied to a cloud tube platform in a multi-cloud nanotube environment, the device comprising:
the timing synchronization module is used for responding to the timer trigger signal in the cloud management platform, acquiring basic parameter information and platform configuration information of each source terminal platform and synchronizing the basic parameter information and the platform configuration information into a database of the cloud management platform;
the manual synchronization module is used for responding to the synchronization operation of cloud management users to the associated resources of the target source end platform corresponding to the target project, and synchronizing the associated resources of the target source end platform to a transit resource pool in the cloud management platform; according to whether a cloud user binds basic parameter information corresponding to the target source end platform or not, distributing associated resources of the target source end platform to the target item under the cloud user from the transit resource pool; the target items are items corresponding to any one-level target virtual data center in a multi-level virtual data center architecture contained in the cloud management platform;
the interaction synchronization module is used for responding to the operation of the cloud user on the target source end platform resource in the cloud management platform, and triggering a request to synchronize the associated resource information of the target source end platform;
the method for distributing the associated resources of the target source end platform to the target items under the cloud user from the transit resource pool according to whether the cloud user binds the basic parameter information corresponding to the target source end platform or not specifically includes:
according to the synchronous operation of cloud management users to the associated resources of the target source end platform corresponding to the target item, the access code provided when the target source end platform performs addition verification is obtained; the access codes corresponding to the target source end platform are collected uniformly by the cloud management platform in the binding stage and updated in real time in a timing synchronization mode; the cloud user obtains the resource management authority of any source end platform through the binding operation of the access code corresponding to any source end platform;
judging the access authority of the cloud user to access the target source end platform according to the access code and the binding relation information of the target source end platform stored in the intermediate transfer resource pool;
and distributing the associated resources of the target source end platform to the target item through the multi-stage virtual data center architecture according to the node position of the target item in the multi-stage virtual data center architecture.
7. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-5.
8. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 5.
CN202211370146.6A 2022-11-03 2022-11-03 Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium Active CN115834600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211370146.6A CN115834600B (en) 2022-11-03 2022-11-03 Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211370146.6A CN115834600B (en) 2022-11-03 2022-11-03 Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115834600A CN115834600A (en) 2023-03-21
CN115834600B true CN115834600B (en) 2023-07-07

Family

ID=85526411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211370146.6A Active CN115834600B (en) 2022-11-03 2022-11-03 Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115834600B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781729A (en) * 2023-08-21 2023-09-19 中移(苏州)软件技术有限公司 Resource information synchronization method, device, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577780A (en) * 2017-09-13 2018-01-12 郑州云海信息技术有限公司 A kind of data center's cloud resource synchronous method and device
CN107819863A (en) * 2017-11-16 2018-03-20 郑州云海信息技术有限公司 A kind of Explore of Unified Management Ideas and device of cloud platform user
CN108200022B (en) * 2017-12-22 2020-03-17 新华三云计算技术有限公司 Cloud platform access method and device and multi-cloud platform management system
KR101987661B1 (en) * 2018-07-19 2019-06-11 나무기술 주식회사 Cluster resource allocating and managing method on cloud platform
CN112328390B (en) * 2020-10-13 2024-02-09 北京华胜天成科技股份有限公司 Method, device and storage medium for automatically implementing cloud management platform
CN113596128B (en) * 2021-07-21 2024-02-09 华云数据控股集团有限公司 Resource synchronization method and system of multi-cloud platform and electronic equipment
CN115017169A (en) * 2022-06-30 2022-09-06 北京朗维计算机应用技术开发有限公司 Management method and system of multi-cloud management platform

Also Published As

Publication number Publication date
CN115834600A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN107666525B (en) Method and device for IP allocation of cluster container
JP6900266B2 (en) Operation management method, operation management system, and operation management program
US11409719B2 (en) Co-locating microservice persistence containers within tenant-specific database
CN113169952B (en) Container cloud management system based on block chain technology
CN104380261B (en) The locally-supported storage based on cloud
JP2023036828A (en) Leveraging micro-service containers to provide tenant isolation in multi-tenant api gateway
US10291704B2 (en) Networked solutions integration using a cloud business object broker
US20120110566A1 (en) Apparatus and method for setting up multi-tenant saas applications
US10310900B2 (en) Operating programs on a computer cluster
CN110888858B (en) Database operation method and device, storage medium and electronic device
US20200174818A1 (en) Virtual machine management
CN112035213A (en) Multi-tenant network car booking system and dynamic isolation method
CN113064744A (en) Task processing method and device, computer readable medium and electronic equipment
CN113064600B (en) Method and device for deploying application
CN108446102A (en) A kind of integral system and method for development deployment application program
CN115834600B (en) Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium
US20130238675A1 (en) Information processing apparatus, image file management method and storage medium
CN116489170A (en) Cloud platform-based source data synchronization method, system and medium
CN113660315B (en) Cloud computing service providing method, device, equipment and readable storage medium
WO2017054499A1 (en) Acceleration resource processing and management method and device
US11157454B2 (en) Event-based synchronization in a file sharing environment
CN112055057B (en) Method, system and equipment for dynamic expansion of Web system
CN114666094A (en) User authority management method of vehicle service platform and related equipment
CN116805947A (en) Block chain data processing method, device, equipment and computer readable storage medium
CN115525425A (en) Federal learning calculation engine arrangement method and device based on cloud native technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant