CN110071834B - Cloud management platform switching method and device - Google Patents

Cloud management platform switching method and device Download PDF

Info

Publication number
CN110071834B
CN110071834B CN201910338783.7A CN201910338783A CN110071834B CN 110071834 B CN110071834 B CN 110071834B CN 201910338783 A CN201910338783 A CN 201910338783A CN 110071834 B CN110071834 B CN 110071834B
Authority
CN
China
Prior art keywords
management platform
cloud management
synchronization
information
network
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
CN201910338783.7A
Other languages
Chinese (zh)
Other versions
CN110071834A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910338783.7A priority Critical patent/CN110071834B/en
Publication of CN110071834A publication Critical patent/CN110071834A/en
Application granted granted Critical
Publication of CN110071834B publication Critical patent/CN110071834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The disclosure provides a cloud management platform switching method and device, and relates to the technical field of communication. The method comprises the following steps: acquiring address information and synchronization elements of a second cloud management platform; sending the address information and the synchronization element to the network equipment, so that the network equipment can be connected with the second cloud management platform according to the address information and synchronize the synchronization element to the second cloud management platform; the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and the second cloud management platform is the other one of the public cloud management platform and the private cloud management platform. According to the cloud management platform switching method and device, the switching between the first cloud management platform and the second cloud management platform can be automatically completed only by setting the address information and the synchronization element of the second cloud management platform by the user, the operation is simple, the switching efficiency of the cloud management platform is improved, and the user experience is improved.

Description

Cloud management platform switching method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a cloud management platform switching method and apparatus.
Background
The cloud is a business model that can be purchased on demand and paid for on demand over the Internet, and has the characteristics of global-level use, high scalability, flexible service, and the like. Clouds can be divided into three categories: public clouds, private clouds, and hybrid clouds.
Generally, a manufacturer of a network device (including a switch, a router, or an AP device) will generally provide a public cloud management platform and a private cloud management platform for a user to manage the network device in a network, and implement various functions such as monitoring, operation, maintenance, and operation, and the like, which are schematically illustrated in fig. 1 and fig. 2. When a user wants to switch the cloud management platforms, that is, when the network device is switched from one cloud management platform to another cloud management platform, for example, the user shown in fig. 3 wants to switch from the public cloud management platform to the private cloud management platform, the user needs to log in the public cloud management platform first, export the device information of the network device that needs to be switched to the private cloud management platform in batches, and store the device information in a file; then logging in a private cloud management platform, and importing stored equipment information; meanwhile, the user also needs to log in the network equipment and change the public cloud management platform address connected with the network equipment into a private cloud management platform address; particularly, when configuration data and/or operation data synchronization is required, a user is required to export corresponding data from a public cloud management platform and import the data into a private cloud management platform to realize data synchronization; the process is complex in operation, more time of a user needs to be occupied, and switching efficiency between cloud management platforms is low.
Disclosure of Invention
In view of this, the present disclosure provides a cloud management platform switching method and device to improve switching efficiency of a cloud management platform. The specific technical scheme is as follows:
in order to achieve the above object, a first aspect of the present disclosure provides a cloud management platform switching method, which is applied to a first cloud management platform, where the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and the method includes:
the method comprises the steps of obtaining address information and synchronous elements of a second cloud management platform, wherein the synchronous elements are elements which are synchronized to the second cloud management platform when network equipment is switched from a first cloud management platform to the second cloud management platform;
and sending the address information and the synchronization element to the network equipment, so that the network equipment is switched from the first cloud management platform to the second cloud management platform according to the address information, and the synchronization element is synchronized to the second cloud management platform.
In order to achieve the above object, a second aspect of the present disclosure provides a cloud management platform switching method applied to a network device, where a first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, the method including:
receiving address information and a synchronization element of a second cloud management platform sent by a first cloud management platform, wherein the synchronization element is an element synchronized to the second cloud management platform when a network device is switched from the first cloud management platform to the second cloud management platform;
and sending a connection request to the second cloud management platform according to the address information, and synchronizing the synchronous elements to the second cloud management platform.
In order to achieve the above object, a third aspect of the present disclosure provides a cloud management platform switching method, which is applied to a second cloud management platform, where a first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, the method including:
receiving a connection request sent by a network device, wherein the connection request is sent based on address information of a second cloud management platform sent by a first cloud management platform;
connecting the network equipment;
and acquiring a synchronization element, and performing synchronization operation on the synchronization element so as to switch the network equipment from the first cloud management platform to the second cloud management platform.
In order to achieve the above object, a fourth aspect of the present disclosure provides a cloud management platform switching device, which is applied to a first cloud management platform, where the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and the device includes:
the network equipment synchronization method comprises an acquisition unit, a synchronization unit and a synchronization unit, wherein the acquisition unit is used for acquiring address information and synchronization elements of a second cloud management platform, and the synchronization elements are elements which are synchronized to the second cloud management platform when network equipment is switched from a first cloud management platform to the second cloud management platform;
a sending unit, configured to send the address information and the synchronization element to the network device, so that the network device is switched from the first cloud management platform to the second cloud management platform according to the address information, and synchronizes the synchronization element to the second cloud management platform.
In order to achieve the above object, a fifth aspect of the present disclosure provides a cloud management platform switching apparatus applied to a network device, where a first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, the apparatus including:
the network equipment comprises a receiving unit, a synchronization unit and a processing unit, wherein the receiving unit is used for receiving address information and synchronization elements of a second cloud management platform sent by a first cloud management platform, and the synchronization elements are elements which are synchronized to the second cloud management platform when the network equipment is switched from the first cloud management platform to the second cloud management platform;
and the sending unit is used for sending a connection request to the second cloud management platform according to the address information and synchronizing the synchronization element to the second cloud management platform.
In order to achieve the above object, a sixth aspect of the present disclosure provides a cloud management platform switching apparatus, which is applied to a second cloud management platform, where a first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, the apparatus includes:
the device comprises a receiving unit, a sending unit and a processing unit, wherein the receiving unit is used for receiving a connection request sent by network equipment, and the connection request is sent based on address information of a second cloud management platform sent by a first cloud management platform;
a connection unit for connecting the network device;
an acquisition unit configured to acquire a synchronization element;
and the synchronization unit is used for performing synchronization operation on the synchronization elements so as to switch the network equipment from the first cloud management platform to the second cloud management platform.
According to the technical scheme, the switching between the first cloud management platform and the second cloud management platform can be automatically completed only by setting the address information and the synchronization elements of the second cloud management platform by a user, and the user does not need to import the data to be migrated to the second cloud management platform again after manually exporting the data to be migrated in batches in the first cloud management platform; not only easy operation, save time has promoted cloud management platform's switching efficiency moreover, has promoted user experience.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating a network device managed by a public cloud management platform in the prior art;
fig. 2 is a schematic diagram of a network device managed by a private cloud management platform in the prior art;
fig. 3 is a schematic diagram of switching cloud management platforms in the prior art;
fig. 4 is a schematic structural diagram of a cloud management platform switching system according to some embodiments of the present disclosure;
fig. 5 is a schematic flowchart of a cloud management platform switching method applied to a first cloud management platform according to some embodiments of the present disclosure;
fig. 6 is a schematic flowchart of a cloud management platform switching method applied to a network device according to some embodiments of the present disclosure;
fig. 7 is a schematic flowchart of a cloud management platform switching method applied to a second cloud management platform according to some embodiments of the present disclosure;
fig. 8 is a schematic structural diagram of a cloud management platform switching device applied to a first cloud management platform according to some embodiments of the present disclosure;
fig. 9 is a schematic structural diagram of a cloud management platform switching device applied to a network device according to some embodiments of the present disclosure;
fig. 10 is a schematic structural diagram of a cloud management platform switching device applied to a second cloud management platform according to some embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Furthermore, the terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items. It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" is used may be interpreted as "at … …," or "when … …," or "in response to a determination.
Fig. 4 is a schematic structural diagram of a cloud management platform switching system according to an embodiment of the present disclosure, and as shown in fig. 4, the cloud management platform switching system includes: the system comprises a first cloud management platform, a second cloud management platform and network equipment;
the first cloud management platform is one of a public cloud management platform and a private cloud management platform, the second cloud management platform is the other of the public cloud management platform and the private cloud management platform, the network device is connected with the first cloud management platform, and the network device comprises a switch, a router, an AP (Access Point) device and the like.
Based on the above system, embodiments of the cloud management platform switching method provided by the present disclosure are given below with reference to the accompanying drawings, and in the following method embodiments, a first cloud management platform is taken as a public cloud management platform, a second cloud management platform is taken as a private cloud management platform, that is, switching from the public cloud management platform to the private cloud management platform is taken as an example for explanation; the process of switching from the private cloud management platform to the public cloud management platform is the same as the process of switching from the public cloud management platform to the private cloud management platform, and the processes are mutually referred.
Fig. 5 is a schematic flowchart of a cloud management platform switching method according to some embodiments of the present disclosure, which is applied to a first cloud management platform, and the method includes the following steps:
step 101: acquiring address information and synchronous elements of a second cloud management platform, wherein the synchronous elements are elements which are synchronized to the second cloud management platform when the network equipment is switched from the first cloud management platform to the second cloud management platform;
step 102: and sending the acquired address information and the synchronization element to the network equipment so that the network equipment is switched from the first cloud management platform to the second cloud management platform according to the address information and synchronizes the synchronization element to the second cloud management platform.
Optionally, in some embodiments of the present disclosure, the synchronization element includes device information of the network device and account information of the second cloud management platform.
Optionally, in other embodiments of the present disclosure, the synchronization element includes device information of the network device, account information of the second cloud management platform, and at least one of network information, configuration data, and operation data.
Specifically, the first cloud management platform provides a human-machine interaction interface that provides configuration options and controls that are operable by a user. The configuration options comprise address information configuration items, synchronous element configuration items and the like; the address information configuration item is used for configuring the address information of the second cloud management platform; and the synchronous element configuration item is used for configuring elements which need to be synchronized to the second cloud management platform when the network equipment is switched from the first cloud management platform to the second cloud management platform. Further, the synchronization element configuration items comprise account information configuration items, network equipment configuration options, configuration data synchronization options, operation data synchronization options and the like; the account information configuration item is used for configuring account information of the second cloud management platform; the network information configuration item is used for setting which network under the second cloud management platform the network equipment for switching the cloud platform is added to when a plurality of networks are under the second cloud management platform; and the network equipment configuration option is used for setting equipment information of the network equipment of the second cloud management platform to which the first cloud management platform needs to be switched. The control comprises a switching control used for sending a switching request to the first cloud management platform through user operation (such as single click or double click).
When a user needs to switch the cloud management platforms, the address information of the second cloud management platform is set in the address information configuration item, and elements needing to be synchronized are set in the synchronization element configuration item. Taking account information of the second cloud management platform, device information of the network device, network information, configuration data and operation data all need to be synchronized as an example, a user sets account information of the second cloud management platform in an account information configuration item, selects a network device option needing to be synchronized, sets network information, selects a synchronization option and an operation data synchronization option, and can select a time period of the operation data needing to be synchronized. Further, when the setting is finished, the user operates the switching control and sends a cloud management platform switching request to the first cloud management platform. For example, the address information of the second cloud management platform set by the user is 192.168.1.124, the account information is private _ closed _ user, the network information is private _ network, the selected network device options are device 1, device 2, and device 5, and the operation data within 7 days of synchronization is selected.
In some embodiments of the disclosure, the first cloud management platform may monitor each configuration option in the human-computer interaction interface, and when each trigger information of one configuration option is monitored, obtain address information or a synchronization element of the corresponding second cloud management platform, and send the address information or the synchronization element to the network device.
In other embodiments of the disclosure, the first cloud management platform may monitor a switching control in the human-computer interaction interface, acquire address information and a synchronization element of the second cloud management platform set by a user when monitoring trigger information of the switching control, and send the acquired address information and synchronization element to the network device.
In some embodiments of the disclosure, a first cloud management platform may monitor a switching control in a human-computer interaction interface, acquire address information and a synchronization element of a second cloud management platform set by a user when monitoring trigger information of the switching control, and generate a switching instruction according to the acquired address information and synchronization element; correspondingly, the step 102 of sending the acquired address information and the synchronization element to the network device includes: and sending a switching instruction to the network equipment.
Further, acquiring the device information in the synchronization element includes: and searching corresponding equipment information in the self-stored equipment information according to the network equipment option selected by the user.
Further, acquiring the configuration data in the synchronization element includes: acquiring configuration data of corresponding network equipment according to network equipment options selected by a user, and packaging the acquired configuration data to obtain a configuration data packet; correspondingly, the configuration data packet is sent to the network device, or a switching instruction is generated according to the configuration data packet, the address information of the second cloud management platform and the like, wherein the configuration data packet comprises the first check information.
Further, acquiring the operation data in the synchronization element includes: acquiring operation data of the network equipment according to the network equipment option selected by the user, and packaging the acquired operation data to obtain an operation data packet; correspondingly, the operation data packet is sent to the corresponding network device, or a switching instruction is generated according to the operation data packet, the address information of the second cloud platform and the like, wherein the operation data packet comprises second check information.
In some embodiments of the disclosure, the method further comprises: and when the connection between the network equipment and the second cloud management platform fails, receiving switching failure information returned by the network equipment, and displaying the switching failure information for a user to check.
Therefore, the switching between the first cloud management platform and the second cloud management platform can be automatically completed only by setting the address information and the synchronization elements of the second cloud management platform by the user, and the user does not need to import the data to be migrated to the second cloud management platform again after manually exporting the data to be migrated in batches in the first cloud management platform; the switching method is simple to operate, switching efficiency of the cloud management platform is improved, and user experience is improved.
Fig. 6 is a schematic flowchart of a cloud management platform switching method according to some embodiments of the present disclosure, which is applied to a network device, and as shown in fig. 6, the cloud management platform switching method includes the following steps:
step 201: receiving address information and synchronization elements of a second cloud management platform sent by a first cloud management platform, wherein the synchronization elements are elements synchronized to the second cloud management platform when the network equipment is switched from the first cloud management platform to the second cloud management platform;
step 202: and sending a connection request to the second cloud management platform according to the address information, and synchronizing the synchronous elements to the second cloud management platform.
The synchronization element comprises equipment information of the network equipment and account information of the second cloud management platform; or the synchronization element comprises equipment information of the network equipment, account information of the second cloud management platform and at least one of network information, configuration data and operation data; further, the configuration data is a configuration data packet containing a first check value, and the operation data is an operation data packet containing a second check value.
Specifically, the first cloud management platform may monitor each configuration option in the human-computer interaction interface, and when each trigger information of one configuration option is monitored, the first cloud management platform respectively acquires the address information or the synchronization element of the corresponding second cloud management platform and sends the address information or the synchronization element to the network device, and the network device respectively receives the address information or the synchronization element sent by the first cloud management platform. Or the first cloud management platform monitors a switching control in a human-computer interaction interface of the first cloud management platform, acquires address information and synchronization elements of the second cloud management platform when monitoring trigger information of the switching control, sends the acquired address information and synchronization elements to the network equipment, and the network equipment receives the address information and synchronization elements sent by the first cloud management platform. Or the first cloud management platform monitors a switching control in the human-computer interaction interface, when the triggering information of the switching control is monitored, the address information and the synchronous element of the second cloud management platform are obtained, a switching instruction is generated according to the obtained address information and the synchronous element, the switching instruction is sent to the network equipment, and the network equipment receives the switching instruction sent by the first cloud management platform; correspondingly, the method further comprises the following steps: and the network equipment analyzes the received switching instruction to obtain the address information and the synchronization element of the second cloud management platform.
In some embodiments of the present disclosure, before step 202, further comprising: generating a connection request according to the received synchronous elements;
correspondingly, in step 202, synchronizing the synchronization element to the second cloud management platform includes: and after the connection request indicates that the second cloud management platform is successfully connected with the network equipment, carrying out synchronous operation on the synchronous elements contained in the connection request.
In other embodiments of the present disclosure, after the step 202 sends the connection request to the second cloud management platform according to the address information, the method further includes: and after the connection with the second cloud management platform is successful, sending the synchronization element to the second cloud management platform so as to enable the second cloud management platform to carry out synchronization operation.
In some embodiments of the present disclosure, after the sending the connection request to the second cloud management platform in step 202, the method further includes:
and judging whether the connection with the second cloud management platform is successful within the preset time length, and sending the switching failure information to the first cloud management platform when the judgment result is negative so that the first cloud management platform displays the switching failure information to the user.
The preset time period can be set as required in practical application, for example, 3 seconds.
Therefore, when receiving a switching instruction sent by the first cloud management platform, the network equipment automatically establishes connection with the second cloud management platform and performs synchronous operation on the synchronous elements; in the process, the data to be migrated are imported into the second cloud management platform again after the user manually exports the data to be migrated in batches in the first cloud management platform; the switching method is simple to operate, switching efficiency of the cloud management platform is improved, and user experience is improved.
Fig. 7 is a cloud management platform switching method provided in an embodiment of the present disclosure, which is applied to a second cloud management platform, and as shown in fig. 7, the cloud management platform switching method includes:
step 301: receiving a connection request sent by the network equipment, wherein the connection request is sent based on the address information of the second cloud management platform sent by the first cloud management platform;
step 302: connecting a network device;
step 303: and acquiring the synchronous elements, and performing synchronous operation on the synchronous elements so as to switch the network equipment from the first cloud management platform to the second cloud management platform.
The synchronization element comprises equipment information of the network equipment and account information of the second cloud management platform; or the synchronization element comprises equipment information of the network equipment, account information of the second cloud management platform and at least one of network information, configuration data and operation data; the configuration data is a configuration data packet containing a first check value, and the operation data is an operation data packet containing a second check value.
In some embodiments of the present disclosure, acquiring the synchronization element in step 303 includes: analyzing the connection request to obtain a synchronous element;
specifically, the network device generates a connection request according to the synchronization element, and sends the connection request to the second cloud management platform; correspondingly, the second cloud management platform analyzes the connection request to obtain the synchronous elements, and after the connection with the network equipment is successful, the synchronous elements are subjected to synchronous operation.
In other embodiments of the present disclosure, acquiring the synchronization element in step 303 includes: and after the network device is successfully connected, receiving the synchronization element sent by the network device.
Specifically, the network device sends a connection request to the second cloud management platform, and sends the synchronization element to the second cloud management platform after the network device is successfully connected with the second cloud management platform; correspondingly, the second cloud management platform receives the synchronous elements and carries out synchronous operation on the synchronous elements.
Further, the second cloud management platform performs a synchronization operation on the synchronization element, including:
determining the type of the synchronization element;
if the synchronous elements are common elements of all the network equipment, carrying out synchronous operation according to the synchronous elements of the first network equipment, and abandoning the synchronous elements of other network equipment;
and if the synchronous elements are the characteristic elements of the network equipment, carrying out synchronous operation according to the synchronous elements of the network equipment.
Specifically, the synchronization element includes device information of the network device and account information to which the network device needs to be synchronized, which are characteristic elements of the network device, and the second cloud management platform adds the device information included in the synchronization element to an account corresponding to the account information included in the synchronization element according to the synchronization element of each network device, so as to synchronize or register or add the network device corresponding to the device information to the second cloud management platform.
In some embodiments of the present disclosure, the synchronization element further includes network information, which is a characteristic element of the network device, and the second cloud management platform adds the device information included in the synchronization element to a network corresponding to the network information included in the synchronization element according to the synchronization element set in each network.
In some embodiments of the present disclosure, the synchronization element further includes configuration data, that is, a configuration data packet, and since each network device is connected to the first cloud management platform through the same network before switching the cloud management platforms, but each network device has its own unique configuration, some configuration data are common elements (e.g., WIFI configuration, etc.), and some configuration data are characteristic elements (e.g., radio frequency, bandwidth, etc. of each network device); for the common elements, the second cloud management platform is configured according to common configuration data included in the synchronous elements of the first network equipment; specifically, if the second cloud management platform fails to configure according to the common configuration data included in the synchronization element of the first network device, the second cloud management platform configures according to the common configuration data included in the synchronization element of the second network device, and so on. And for the characteristic elements, the second cloud management platform is configured according to the characteristic configuration data included in the synchronization element of each network device.
In some embodiments of the present disclosure, before the second cloud management platform performs configuration according to the configuration data packet, the method further includes: and verifying the configuration data according to the first verification value contained in the configuration data packet, and configuring when the verification is passed. The checking process may be CRC checking, and may also be MD5 checking.
In some embodiments of the present disclosure, the synchronization element further includes operation data, and since the operation data of each network device is different, the operation data is a characteristic element, and the second cloud management platform performs a recovery operation on the operation data according to the operation data packet included in the synchronization element of each network device.
Therefore, the second cloud management platform automatically completes the synchronization of the synchronization element according to the connection request and the synchronization element sent by the network equipment, namely automatically migrates the data to be migrated in the first cloud management platform to the second cloud management platform; in the process, the data to be migrated are imported into the second cloud management platform again after the user manually exports the data to be migrated in batches in the first cloud management platform; the switching method is simple to operate, switching efficiency of the cloud management platform is improved, and user experience is improved.
The following is a specific embodiment of a cloud management platform switching method provided by the present disclosure, in the specific embodiment, taking an example that a first cloud management platform generates a switching instruction according to address information and a synchronization element, and a network device sends the synchronization element to a second cloud management platform after successfully connecting with the second cloud management platform, the method includes:
step 401: the method comprises the steps that a first cloud management platform obtains address information and synchronization elements of a second cloud management platform;
step 402: the first cloud management platform generates a switching instruction according to the acquired address information and the synchronization elements;
step 403: the first cloud management platform sends a switching instruction to the network equipment;
step 404: the network equipment analyzes the received switching instruction to obtain address information and synchronous elements of the second cloud management platform;
step 405: the network equipment sends a connection request to the second cloud management platform according to the address information of the second cloud management platform;
step 406: the network device determines whether the connection is successful within a preset duration, if so, executes step 407; otherwise, executing step 409;
step 407: the network equipment sends the synchronization element to a second cloud management platform;
step 408: the second cloud management platform executes synchronous operation according to the received synchronous elements;
step 409: the network equipment sends switching failure information to the first cloud management platform;
step 410: and the first cloud management platform displays the switching failure information.
For specific implementation methods of steps 401 to 410, reference may be made to the related description of the foregoing embodiments. Therefore, only a user sets the address information and the synchronization elements of the second cloud management platform in the first cloud management platform, the switching between the first cloud management platform and the second cloud management platform can be automatically completed through the communication between the first cloud management platform and the network equipment and the communication between the network equipment and the second cloud management platform, and the user does not need to import the data to be migrated into the second cloud management platform again after manually exporting the data in batches in the first cloud management platform; the switching method is simple to operate, switching efficiency of the cloud management platform is improved, and user experience is improved.
The above is a cloud management platform switching method provided in the embodiments of the present disclosure, and corresponding to the above method, the present disclosure also provides a cloud management platform switching device, and since an implementation scheme for solving the problem of the device is similar to the above method, corresponding contents to the method part may refer to the detailed description of the embodiments of the above method, and are not repeated in the following. It is understood that the apparatus provided by the present disclosure may include a unit or a module capable of executing each step in the above method examples, and the unit or the module may be implemented by hardware, software or a combination of hardware and software, and the present disclosure is not limited thereto. This is described in more detail below with reference to fig. 8-10.
Fig. 8 is a switching apparatus of a cloud management platform according to an embodiment of the present disclosure, which is applied to a first cloud management platform, where the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and as shown in fig. 8, the switching apparatus of the cloud management platforms includes:
the acquiring unit 11 is configured to acquire address information and a synchronization element of a second cloud management platform, where the synchronization element is an element that is synchronized to the second cloud management platform when the network device is switched from the first cloud management platform to the second cloud management platform;
the sending unit 12 is configured to send the address information and the synchronization element of the second cloud management platform to the network device, so that the network device is switched from the first cloud management platform to the second cloud management platform according to the address information, and synchronizes the synchronization element to the second cloud management platform.
The synchronization element comprises equipment information of the network equipment and account information of the second cloud management platform; or the device information of the network device, the account information of the second cloud management platform, and at least one of the network information, the configuration data and the operation data.
In some embodiments of the present disclosure, the apparatus further comprises:
the receiving unit is used for receiving switching failure information returned by the network equipment when the connection between the network equipment and the second cloud management platform fails;
and the display unit is used for displaying the switching failure information.
Fig. 9 is a cloud management platform switching apparatus provided in an embodiment of the present disclosure, which is applied to a network device, where a first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, as shown in fig. 9, the cloud management platform switching apparatus includes:
the receiving unit 21 is configured to receive address information and a synchronization element of a second cloud management platform sent by a first cloud management platform, where the synchronization element is an element synchronized to the second cloud management platform when a network device is switched from the first cloud management platform to the second cloud management platform;
and the sending unit 22 is configured to send a connection request to the corresponding second cloud management platform according to the address information, and synchronize the synchronization element to the second cloud management platform.
In some embodiments of the present disclosure, the receiving unit 21 is specifically configured to receive a switching instruction sent by a first cloud management platform, and analyze the switching instruction to obtain address information and a synchronization element of a second cloud management platform.
In some embodiments of the disclosure, the apparatus further comprises:
a generating unit configured to generate a connection request according to the synchronization element.
In other embodiments of the present disclosure, the apparatus further comprises:
the connection unit is used for being connected with the second cloud management platform;
correspondingly, the sending unit 22 is specifically configured to send the synchronization element to the second cloud management platform after the connection unit is successfully connected to the second cloud management platform.
In some embodiments of the disclosure, the apparatus further comprises:
the judging unit is used for judging whether the connection with the second cloud management platform is successful within the preset time length;
the sending unit 22 is further configured to send the switching failure response data to the first cloud management platform when the determination result of the determining unit is negative.
Fig. 10 is a cloud management platform switching device provided in some embodiments of the present disclosure, which is applied to a second cloud management platform, where the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and the second cloud management platform is the other of the public cloud management platform and the private cloud management platform, as shown in fig. 10, the cloud management platform switching device includes:
a receiving unit 31, configured to receive a connection request sent by a network device, where the connection request is sent based on address information of a second cloud management platform sent by a first cloud management platform;
a connection unit 32 for connecting a network device;
an acquisition unit configured to acquire a synchronization element;
and the synchronization unit is used for performing synchronization operation on the synchronization elements so as to switch the network equipment from the first cloud management platform to the second cloud management platform.
In some embodiments of the disclosure, the apparatus further comprises:
and the analysis unit is used for analyzing the connection request to obtain the synchronous elements.
In other embodiments of the present disclosure, the receiving unit 31 is further configured to receive the synchronization element sent by the network device after the connecting unit 32 successfully connects to the network device.
In some embodiments of the present disclosure, the synchronization unit is specifically configured to:
determining a type of the synchronization element;
if the synchronous elements are common elements of all the network devices, carrying out synchronous operation according to the synchronous elements corresponding to the first network device, and abandoning the synchronous elements corresponding to other network devices;
and if the synchronous elements are the characteristic elements of the network equipment, carrying out synchronous operation according to the synchronous elements corresponding to the network equipment.
The cloud management platform switching device provided by the embodiment of the disclosure has the same effect as the cloud management platform switching method provided by the foregoing embodiment, in view of the same inventive concept.
In order to implement the foregoing embodiment, the present disclosure further provides a cloud management platform, where, in terms of hardware, the cloud management platform includes: a memory and a processor;
a memory storing an executable program;
the processor, which is in communication with the memory, reads and executes the executable program stored in the memory 1001, and implements the time synchronization method applied to the first cloud management platform provided in any of the foregoing embodiments.
To implement the foregoing embodiments, the present disclosure further provides a network device, which includes, from a hardware level,: a memory and a processor;
a memory storing an executable program;
and the processor is communicated with the memory, reads and executes the executable program stored in the memory, and realizes the time synchronization method applied to the second cloud management platform provided by any one of the previous embodiments.
In order to implement the foregoing embodiment, the present disclosure further provides a cloud management platform, where, in terms of hardware, the cloud management platform includes: a memory and a processor;
a memory storing an executable program;
and the processor is communicated with the memory, reads and executes the executable program stored in the memory, and realizes the time synchronization method applied to the second cloud management platform provided by any one of the previous embodiments.
In order to implement the foregoing embodiments, an embodiment of the present disclosure further provides a machine-readable storage medium, where a computer program is stored, and when the computer program is called and executed by a processor, the computer program implements the time synchronization method applied to the first cloud management platform, which is provided by any of the foregoing embodiments.
In order to implement the foregoing embodiments, the present disclosure further provides a machine-readable storage medium, where a computer program is stored, and when the computer program is called and executed by a processor, the computer program implements the time synchronization method applied to the network device, provided by any of the foregoing embodiments.
In order to implement the foregoing embodiments, an embodiment of the present disclosure further provides a machine-readable storage medium, where a computer program is stored, and when the computer program is called and executed by a processor, the computer program implements the time synchronization method applied to the second cloud management platform, which is provided by any of the foregoing embodiments.
It should be noted that:
a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The system, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may be embodied in the form of a personal computer, laptop computer, personal digital assistant, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus (system), or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the disclosed embodiments may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, systems and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the preferred embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (11)

1. A cloud management platform switching method is applied to a first cloud management platform, wherein the first cloud management platform is one of a public cloud management platform and a private cloud management platform, and a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and the method comprises the following steps:
the method comprises the steps of obtaining address information and synchronous elements of a second cloud management platform, wherein the synchronous elements are elements which are synchronized to the second cloud management platform when network equipment is switched from a first cloud management platform to the second cloud management platform;
sending the address information and the synchronization element to the network device, so that the network device is switched from the first cloud management platform to the second cloud management platform according to the address information, and synchronizes the synchronization element to the second cloud management platform;
wherein the synchronization element comprises:
the device information of the network device and the account information of the second cloud management platform; alternatively, the first and second electrodes may be,
the device information of the network device, the account information of the second cloud management platform, and at least one of network information, configuration data and operation data.
2. The method of claim 1, further comprising:
and when the connection between the network equipment and the second cloud management platform fails, receiving switching failure information returned by the network equipment, and displaying the switching failure information.
3. A cloud management platform switching method is applied to network equipment, a first cloud management platform is one of a public cloud management platform and a private cloud management platform, a second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and the method comprises the following steps:
receiving address information and a synchronization element of a second cloud management platform sent by a first cloud management platform, wherein the synchronization element is an element synchronized to the second cloud management platform when a network device is switched from the first cloud management platform to the second cloud management platform;
and sending a connection request to the second cloud management platform according to the address information, and synchronizing the synchronous elements to the second cloud management platform.
4. The method of claim 3, further comprising:
generating a connection request according to the synchronous elements; alternatively, the first and second electrodes may be,
and after the connection with the second cloud management platform is successful, sending the synchronization element to the second cloud management platform.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
and judging whether the connection with the second cloud management platform is successful within a preset time length, and sending switching failure information to the first cloud management platform when the judgment result is negative.
6. A cloud management platform switching method is applied to a second cloud management platform, the first cloud management platform is one of a public cloud management platform and a private cloud management platform, the second cloud management platform is the other of the public cloud management platform and the private cloud management platform, and the method comprises the following steps:
receiving a connection request sent by a network device, wherein the connection request is sent based on address information of a second cloud management platform sent by a first cloud management platform;
connecting the network equipment;
acquiring a synchronization element, and performing synchronization operation on the synchronization element so as to switch the network device from the first cloud management platform to the second cloud management platform;
wherein the synchronization element comprises:
the device information of the network device and the account information of the second cloud management platform; alternatively, the first and second electrodes may be,
the device information of the network device, the account information of the second cloud management platform, and at least one of network information, configuration data and operation data.
7. The method of claim 6, wherein the obtaining a synchronization element comprises:
analyzing the connection request to obtain a synchronous element; alternatively, the first and second electrodes may be,
and after the network equipment is successfully connected, receiving the synchronization element sent by the network equipment.
8. The method according to claim 6 or 7, wherein the synchronizing the synchronization element comprises:
determining a type of the synchronization element;
if the synchronous elements are common elements of all the network devices, carrying out synchronous operation according to the synchronous elements of the first network device, and abandoning the synchronous elements of other network devices;
and if the synchronous elements are the characteristic elements of the network equipment, carrying out synchronous operation according to the synchronous elements of the network equipment.
9. The utility model provides a cloud management platform auto-change over device which characterized in that is applied to first cloud management platform, first cloud management platform is in public cloud management platform and private cloud management platform one, and second cloud management platform is in the other of public cloud management platform and private cloud management platform, the device includes:
the network equipment synchronization method comprises an acquisition unit, a synchronization unit and a synchronization unit, wherein the acquisition unit is used for acquiring address information and synchronization elements of a second cloud management platform, and the synchronization elements are elements which are synchronized to the second cloud management platform when network equipment is switched from a first cloud management platform to the second cloud management platform;
a sending unit, configured to send the address information and the synchronization element to the network device, so that the network device is switched from the first cloud management platform to the second cloud management platform according to the address information, and synchronizes the synchronization element to the second cloud management platform;
wherein the synchronization element comprises:
the device information of the network device and the account information of the second cloud management platform; alternatively, the first and second electrodes may be,
the device information of the network device, the account information of the second cloud management platform, and at least one of network information, configuration data and operation data.
10. The utility model provides a cloud management platform auto-change over device which characterized in that is applied to network equipment, and first cloud management platform is one in public cloud management platform and the private cloud management platform, and second cloud management platform is another in public cloud management platform and the private cloud management platform, the device includes:
the network equipment comprises a receiving unit, a synchronization unit and a processing unit, wherein the receiving unit is used for receiving address information and synchronization elements of a second cloud management platform sent by a first cloud management platform, and the synchronization elements are elements which are synchronized to the second cloud management platform when the network equipment is switched from the first cloud management platform to the second cloud management platform;
a sending unit, configured to send a connection request to the second cloud management platform according to the address information, and synchronize the synchronization element to the second cloud management platform;
wherein the synchronization element comprises:
the device information of the network device and the account information of the second cloud management platform; alternatively, the first and second electrodes may be,
the device information of the network device, the account information of the second cloud management platform, and at least one of network information, configuration data and operation data.
11. The utility model provides a cloud management platform auto-change over device which characterized in that is applied to second cloud management platform, and first cloud management platform is in public cloud management platform and private cloud management platform one, second cloud management platform is in another one in public cloud management platform and private cloud management platform, the device includes:
the device comprises a receiving unit, a sending unit and a processing unit, wherein the receiving unit is used for receiving a connection request sent by network equipment, and the connection request is sent based on address information of a second cloud management platform sent by a first cloud management platform;
a connection unit for connecting the network device;
an acquisition unit configured to acquire a synchronization element;
the synchronization unit is used for performing synchronization operation on the synchronization elements so as to switch the network equipment from the first cloud management platform to the second cloud management platform;
wherein the synchronization element comprises:
the device information of the network device and the account information of the second cloud management platform; alternatively, the first and second electrodes may be,
the device information of the network device, the account information of the second cloud management platform, and at least one of network information, configuration data and operation data.
CN201910338783.7A 2019-04-25 2019-04-25 Cloud management platform switching method and device Active CN110071834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910338783.7A CN110071834B (en) 2019-04-25 2019-04-25 Cloud management platform switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910338783.7A CN110071834B (en) 2019-04-25 2019-04-25 Cloud management platform switching method and device

Publications (2)

Publication Number Publication Date
CN110071834A CN110071834A (en) 2019-07-30
CN110071834B true CN110071834B (en) 2022-03-29

Family

ID=67368913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910338783.7A Active CN110071834B (en) 2019-04-25 2019-04-25 Cloud management platform switching method and device

Country Status (1)

Country Link
CN (1) CN110071834B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442208B (en) * 2021-05-18 2024-02-23 北京小米移动软件有限公司 Method and device for managing cloud terminal and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262640A (en) * 2015-09-17 2016-01-20 北京汉柏科技有限公司 System and method for improving reliability of cloud platform server, and disposition framework of system
CN106850269A (en) * 2016-12-29 2017-06-13 曙光信息产业(北京)有限公司 A kind of management system of cloud platform
CN107277162A (en) * 2017-07-20 2017-10-20 成都超域物联科技有限公司 A kind of intelligent household management system and method based on network cloud
CN108234191A (en) * 2017-05-31 2018-06-29 深圳市创梦天地科技有限公司 The management method and device of cloud computing platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9213580B2 (en) * 2012-01-27 2015-12-15 MicroTechnologies LLC Transportable private cloud computing platform and associated method of use
CN104158732B (en) * 2014-08-22 2017-11-28 成都致云科技有限公司 A kind of intelligent cloud service dynamic routing strategy
CN105471960A (en) * 2015-08-03 2016-04-06 北京汉柏科技有限公司 Information interaction system and method between private clouds and public cloud

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262640A (en) * 2015-09-17 2016-01-20 北京汉柏科技有限公司 System and method for improving reliability of cloud platform server, and disposition framework of system
CN106850269A (en) * 2016-12-29 2017-06-13 曙光信息产业(北京)有限公司 A kind of management system of cloud platform
CN108234191A (en) * 2017-05-31 2018-06-29 深圳市创梦天地科技有限公司 The management method and device of cloud computing platform
CN107277162A (en) * 2017-07-20 2017-10-20 成都超域物联科技有限公司 A kind of intelligent household management system and method based on network cloud

Also Published As

Publication number Publication date
CN110071834A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
US10958524B2 (en) Method for generating network slice template and for applying network slice template, and apparatus
KR101821693B1 (en) Roaming network access method and apparatus
CN105847367A (en) Service request processing method and apparatus
US20140297893A1 (en) Emulating multiple universal serial bus (usb) keys so as to efficiently configure different types of hardware
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
JP2017517172A (en) Information recalling method and apparatus, and electronic terminal
CN106533713A (en) Application deployment method and device
JP2017517988A (en) Roaming network access method and apparatus
CN106569917B (en) Data backup method and mobile terminal
CN105100214A (en) Information synchronization method, device and system
CN107798039A (en) A kind of method of data synchronization and device
CN110071834B (en) Cloud management platform switching method and device
CN105704296A (en) Application environment cloning method and device
CN108234551B (en) Data processing method and device
CN108462734B (en) Message receiving method and device
US20140297894A1 (en) Universal serial bus (usb) key functioning as multiple usb keys so as to efficiently configure different types of hardware
CN110278092A (en) Router long-range control method and system based on MQTT agreement
CN104333563B (en) The method and electronic equipment of a kind of information processing
CN104503862B (en) The method and apparatus for obtaining the check value using channel bag
CN106445479A (en) Information pushing method and apparatus
CN106487469B (en) A kind of timing node switching method and system
CN107154971A (en) One kind application method for down loading and device
CN104506636A (en) Method and device for synchronizing data
CN110737502B (en) Mirror image file processing method, device and system
CN111831669A (en) Method and device for storing internet voting data according to block chain

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230612

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.