Public network IP management method, device, equipment and medium

By integrating elastic public IP management nodes and IPv6 management nodes on the cloud computing platform, unified management of elastic public IP instances and IPv6 instances is achieved, and the challenge of transition from IPv4 to IPv6 is solved, and the stability and high availability of public IP management are improved through the design of the primary and secondary node servers.

CN120050262APending Publication Date: 2025-05-27SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202510261928.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

When solving the problem of IPv4 address resource depletion, the prior art faces the challenge of how to smoothly transition to IPv6, and the stability of public IP management is insufficient.

Method used

By integrating elastic public IP management nodes, IPv6 management nodes and node server clusters on the cloud computing platform, unified management of elastic public IP instances and IPv6 instances is achieved. The main node server is responsible for replacing the elastic public IP instance with bound relationships, establishing the binding relationship between the IPv6 instance and cloud computing resources, and controlling the configuration information of the IPv6 instance in inheriting the elastic public IP instance. If the primary node server fails, the backup node server can be switched quickly to ensure high availability.

Benefits of technology

It realizes a smooth transition from elastic public IP to IPv6, improves the stability and high availability of public IP management, and ensures the continuous and stable operation of the cloud computing platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050262A_ABST
    Figure CN120050262A_ABST
Patent Text Reader

Abstract

The invention discloses a public network IP management method and device, equipment and a medium, and relates to the technical field of the Internet, and the method comprises the steps that a cloud computing platform issues a binding command for an IPv6 instance to a main node server in a node server cluster through an IPv6 management node; the main node server determines a cloud computing resource corresponding to the binding command, replaces an elastic public network IP instance which has established a binding relationship with the cloud computing resource by using an IPv6 instance so as to establish the binding relationship between the IPv6 instance and the cloud computing resource, and controls the IPv6 instance to inherit the configuration of the elastic public network IP instance; and when the main node server fails, the backup node server in the node server cluster configures the main node server as a new main node server by using the backup information of the main node server. According to the invention, the elastic public network IP instance and the IPv6 instance are managed through the same platform, so that smooth transition from the elastic public network IP to the IPv6 is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technologies, and particularly relates to a public network IP management method, device, equipment and medium. Background Art

[0002] With the rapid progress of cloud computing technology, the continuous emergence of Internet applications and the continuous improvement of complexity, the current demand for computing resources has increased sharply. However, the widely used IPv4 (Internet Protocol version 4) protocol is facing the problem of exhaustion of address resources, which severely restricts the further application and development of the Internet. To solve this problem, the IPv6 (Internet Protocol Version 6) protocol has emerged. Although the IPv6 protocol can solve the problem of insufficient IPv4 addresses, it also brings new challenges on how to smoothly transition to IPv6. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a public network IP management method, device, equipment and medium, which can manage elastic public network IP instances and IPv6 instances through the same platform, so as to achieve a smooth transition from elastic public network IP to IPv6, and improve the stability of public network IP management through master and standby node servers. The specific solutions are as follows:

[0004] In a first aspect, the present application provides a public network IP management method, which is applied to a cloud computing platform. The cloud computing platform includes an elastic public network IP management node, an IPv6 management node and a node server cluster. The node server cluster includes a master node server and multiple backup node servers. The method includes:

[0005] Send a first binding command for a pre-created IPv6 instance to the master node server through the IPv6 management node;

[0006] Determine cloud computing resources corresponding to the first binding command through the master node server, use the IPv6 instance to replace an elastic public network IP instance that has established a binding relationship with the cloud computing resources, so as to establish a binding relationship between the IPv6 instance and the cloud computing resources, and control the IPv6 instance to inherit the configuration information of the elastic public network IP instance; the elastic public network IP instance is an IPv4 instance created through the elastic public network IP management node;

[0007] If it is monitored that the master node server fails, then configure any one of the backup node servers as a new master node server by using the latest backup information of the master node server.

[0008] Optionally, before replacing the elastic public network IP instance that has established a binding relationship with the cloud computing resource by using the IPv6 instance, the method further includes:

[0009] Creating the elastic public network IP instance through the elastic public network IP management node, adjusting the bandwidth configuration of the elastic public network IP instance, and sending a second binding command for the elastic public network IP instance to the master node server;

[0010] Parsing the second binding command by the master node server to determine the corresponding cloud computing resource, and establishing an address mapping relationship between the floating IP of the cloud computing resource and the elastic public network IP instance to establish a binding relationship between the cloud computing resource and the elastic public network IP instance;

[0011] Wherein, there is a mapping relationship between the floating IP of the cloud computing resource and the private IP of the cloud computing resource.

[0012] Optionally, controlling the IPv6 instance to inherit the configuration information of the elastic public network IP instance includes:

[0013] Controlling the IPv6 instance to inherit the bandwidth configuration of the elastic public network IP instance, and based on the bandwidth configuration of the elastic public network IP instance, adjusting the bandwidth configuration of the IPv6 instance to be the same as the bandwidth configuration of the elastic public network IP instance;

[0014] Controlling the IPv6 instance to inherit the address mapping relationship of the elastic public network IP instance, and replacing the elastic public network IP instance in the address mapping relationship with the IPv6 instance to establish an address mapping relationship between the IPv6 instance and the floating IP of the cloud computing resource.

[0015] Optionally, the method further includes:

[0016] When the IPv6 instance is bound to the cloud computing resource, the master node server uses a speed limit rule corresponding to the bandwidth configuration of the IPv6 instance to limit the network speed of the IPv6 instance;

[0017] And / or, when the elastic public network IP instance is bound to the cloud computing resource, the master node server uses a speed limit rule corresponding to the bandwidth configuration of the elastic public network IP instance to limit the network speed of the elastic public network IP instance.

[0018] Optionally, the method further includes:

[0019] The master node server synchronizes each of the address mapping relationships and each of the rate limiting rules to the multiple backup node servers;

[0020] Correspondingly, the cloud computing platform periodically checks whether the address mapping relationships and the rate limiting rules in the multiple backup node servers are consistent with those of the master node server. If they are inconsistent, the master node server is used to resynchronize each of the address mapping relationships and each of the rate limiting rules to the inconsistent backup node servers.

[0021] Optionally, after using the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resource, the method further includes:

[0022] Releasing the replaced elastic public network IP instance so that the released elastic public network IP instance can be rebound to other cloud computing resources.

[0023] Optionally, the method further includes:

[0024] Obtaining a backup instruction, and backing up the management data in the elastic public network IP management node and the IPv6 management node, and backing up the service data in the node server cluster based on the backup instruction;

[0025] Among them, the backup instruction can be obtained in the following ways: obtaining the backup instruction input by the user through a human-computer interaction interface, triggering the backup instruction at regular time intervals based on a preset time interval, and automatically triggering the backup instruction by monitoring a preset target operation.

[0026] In a second aspect, the present application provides a public network IP management device applied to a cloud computing platform. The cloud computing platform includes an elastic public network IP management node, an IPv6 management node, and a node server cluster. The node server cluster includes a master node server and multiple backup node servers; the device includes:

[0027] A command issuing module, configured to issue a first binding command for a pre-created IPv6 instance to the master node server through the IPv6 management node;

[0028] A cloud resource binding module, which is used to determine cloud computing resources corresponding to the first binding command through the master node server, use the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, so as to establish a binding relationship between the IPv6 instance and the cloud computing resources, and control the IPv6 instance to inherit the configuration information of the elastic public network IP instance; the elastic public network IP instance is an IPv4 instance created through the elastic public network IP management node;

[0029] A server configuration module, which is used to, if it is detected that the master node server fails, configure itself as a new master node server through any one of the backup node servers using the latest backup information of the master node server.

[0030] In a third aspect, the present application provides an electronic device, including:

[0031] A memory, which is used to store a computer program;

[0032] A processor, which is used to execute the computer program to implement the foregoing public network IP management method.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed by a processor, the foregoing public network IP management method is implemented.

[0034] The public network IP management method of the present application is applied to a cloud computing platform, and the cloud computing platform includes an elastic public network IP management node, an IPv6 management node, and a node server cluster. The node server cluster includes a master node server and multiple backup node servers; wherein, the method includes: issuing a first binding command for a pre-created IPv6 instance to the master node server through the IPv6 management node; determining, through the master node server, cloud computing resources corresponding to the first binding command, using the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, so as to establish a binding relationship between the IPv6 instance and the cloud computing resources, and controlling the IPv6 instance to inherit the configuration information of the elastic public network IP instance; the elastic public network IP instance is an IPv4 instance created through the elastic public network IP management node; if it is detected that the master node server fails, then configure itself as a new master node server through any one of the backup node servers using the latest backup information of the master node server.

[0035] It can be seen that in this application, the elastic public network IP management node, the IPv6 management node, and the node server cluster are integrated in the same cloud computing platform, so as to manage the elastic public network IP instances and the IPv6 instances through the same cloud computing platform. Moreover, the master node server in the node server cluster can use the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, thereby completing the establishment of the binding relationship between the IPv6 instance and the cloud computing resources and realizing the smooth transition from the elastic public network IP to IPv6. Further, in this application, multiple backup node servers are set in the node server cluster, so that when the master node server fails, a new master node server can be pulled up in time, thereby ensuring the high availability of the node server cluster and improving the stability of the public network IP management. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.

[0037] Figure 1 It is a flowchart of a public network IP management method disclosed in this application;

[0038] Figure 2 It is a schematic diagram of the components included in a cloud computing platform disclosed in this application;

[0039] Figure 3 It is a schematic diagram of the deployment of a cloud computing platform disclosed in this application;

[0040] Figure 4 It is a schematic diagram of the functions included in an elastic public network IP management module disclosed in this application;

[0041] Figure 5 It is a schematic diagram of the functions included in an IPv6 management module disclosed in this application;

[0042] Figure 6 It is a schematic diagram of the functions included in a bottom-layer communication module disclosed in this application;

[0043] Figure 7 It is a schematic diagram of address mapping disclosed in this application;

[0044] Figure 8 It is a schematic diagram of the structure of a public network IP management device disclosed in this application;

[0045] Figure 9 It is a structural diagram of an electronic device disclosed in this application. Specific implementation mode

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0047] Since the IPv4 protocol is facing the problem of exhaustion of address resources, and although the resulting IPv6 protocol can solve the problem of insufficient IPv4 addresses, it also brings new challenges on how to smoothly transition to IPv6. For this reason, this application provides a public network IP management method to manage elastic public network IP instances and IPv6 instances through the same platform, so as to achieve a smooth transition from elastic public network IP to IPv6, and improve the stability of public network IP management through the primary and standby node servers.

[0048] See Figure 1 As shown, an embodiment of the present invention discloses a public network IP management method applied to a cloud computing platform. The cloud computing platform includes an elastic public network IP management node, an IPv6 management node, and a node server cluster. The node server cluster includes a primary node server and multiple backup node servers; the method includes:

[0049] Step S11: Send a first binding command for a pre-created IPv6 instance to the primary node server through the IPv6 management node.

[0050] In an embodiment of the present invention, the cloud computing platform obtains an IPv6 instance management command input by a user through the IPv6 management node, and performs corresponding IPv6 instance management operations based on the IPv6 instance management command. Among them, when the IPv6 instance management command is an IPv6 instance creation command, the IPv6 management node creates a corresponding IPv6 instance; when the IPv6 instance management command is an IPv6 instance deletion command, the IPv6 management node deletes a corresponding IPv6 instance; when the IPv6 instance management command is an IPv6 instance query command, the IPv6 management node queries a corresponding IPv6 instance and returns it to the user.

[0051] Moreover, the cloud computing platform can also obtain a first binding command for an IPv6 instance input by a user through the IPv6 management node, and send the first binding command to the primary node server in the node server cluster, so that the primary node server determines cloud computing resources corresponding to the first binding command, and establishes a binding relationship between the IPv6 instance and the cloud computing resources.

[0052] Furthermore, the cloud computing platform can also obtain the first unbinding command for the IPv6 instance input by the user through the IPv6 management node, and send the first unbinding command to the master node server, so that the master node server can determine the cloud computing resources corresponding to the first unbinding command, and release the binding relationship between the IPv6 instance and the cloud computing resources, so that the unbound IPv6 instance can be re-bound with other cloud computing resources.

[0053] Step S12: determine the cloud computing resource corresponding to the first binding command through the master node server, and use the IPv6 instance to replace the elastic public IP instance that has established a binding relationship with the cloud computing resource to establish a binding relationship between the IPv6 instance and the cloud computing resource, and control the IPv6 instance to inherit the configuration information of the elastic public IP instance; the elastic public IP instance is an IPv4 instance created by the elastic public IP management node.

[0054] In an embodiment of the present invention, when the master node server obtains the first binding command for the IPv6 instance, the cloud computing platform parses the first binding command through the master node server to determine the corresponding cloud computing resource. If the cloud computing resource has established a binding relationship with the elastic public IP instance, the elastic public IP instance that has established a binding relationship with the cloud computing resource is replaced with the IPv6 instance, thereby establishing a binding relationship between the IPv6 instance and the cloud computing resource, and controlling the IPv6 instance to inherit the configuration information of the elastic public IP instance.

[0055] It should be noted that after using an IPv6 instance to replace an elastic public IP instance that has established a binding relationship with a cloud computing resource, the master node server releases the replaced elastic public IP instance so that the released elastic public IP instance can be re-bound to other cloud computing resources, thereby solving the problem of insufficient elastic public IP addresses.

[0056] Regarding the management of Elastic Public IP (EIP) instances, the cloud computing platform obtains the EIP instance management commands input by users through the EIP management node, and performs corresponding EIP instance management operations based on the EIP instance management commands. Among them, when the EIP instance management command is an EIP instance creation command, the EIP management node creates the corresponding EIP instance; when the EIP instance management command is an EIP instance deletion command, the EIP management node deletes the corresponding EIP instance; when the EIP instance management command is an EIP instance query command, the EIP management node queries the corresponding EIP instance and returns it to the user; when the EIP instance management command is a bandwidth adjustment command, the EIP management node adjusts the bandwidth configuration of the corresponding EIP instance.

[0057] Regarding the binding relationship between EIP instances and cloud computing resources, the cloud computing platform issues a second binding command for the EIP instance to the master node server through the EIP management node, and the master node server parses the second binding command to determine the corresponding cloud computing resources, and then establishes an address mapping relationship between the floating IP of the cloud computing resources and the EIP instance to establish a binding relationship between the cloud computing resources and the EIP instance.

[0058] Since cloud computing resources usually belong to a certain private network on the cloud computing platform, and the cloud computing resources themselves have a private IP, and the network between the private IP and the node server cluster is isolated. Therefore, before binding the cloud computing resources to the public IP, it is necessary to first bind a floating IP to the private IP of the cloud computing resources, and the network between the floating IP and the node server cluster is connected. In this way, by establishing the address mapping relationship between the floating IP of the cloud computing resources and the EIP instance, and combining the mapping relationship between the floating IP of the cloud computing resources and the private IP of the cloud computing resources, the access to the cloud computing resources can be realized based on the EIP.

[0059] Regarding the unbinding of the EIP instance and the cloud computing resources, the cloud computing platform issues a second unbinding command for the EIP instance to the master node server through the EIP management node, and the master node server determines the cloud computing resources corresponding to the second unbinding command, and then unbinds the cloud computing resources and the EIP instance, so that the unbound EIP instance can still be bound to other cloud computing resources.

[0060] Further, after establishing the binding relationship between the IPv6 instance and the cloud computing resources, it is also necessary to control the IPv6 instance to inherit the configuration information of the elastic public network IP instance, specifically including inheriting the bandwidth configuration and the address mapping relationship of the elastic public network IP instance.

[0061] In the process of controlling the IPv6 instance to inherit the bandwidth configuration of the elastic public network IP instance, based on the bandwidth configuration of the elastic public network IP instance, the bandwidth configuration of the IPv6 instance is adjusted to be the same as that of the elastic public network IP instance.

[0062] In the process of controlling the IPv6 instance to inherit the address mapping relationship of the elastic public network IP instance, the elastic public network IP instance in the address mapping relationship is replaced with the IPv6 instance to establish the address mapping relationship between the IPv6 instance and the floating IP of the cloud computing resources.

[0063] It should also be noted that when the IPv6 instance is bound to the cloud computing resources, the cloud computing platform uses the speed limit rule corresponding to the bandwidth configuration of the IPv6 instance through the main node server to limit the network speed of the IPv6 instance. And when the elastic public network IP instance is bound to the cloud computing resources, the cloud computing platform uses the speed limit rule corresponding to the bandwidth configuration of the elastic public network IP instance through the main node server to limit the network speed of the elastic public network IP instance. In this way, this embodiment realizes the bandwidth limiting ability of the cloud computing platform network communication through the node server cluster.

[0064] Step S13: If it is detected that the main node server fails, then any one of the backup node servers uses the latest backup information of the main node server to configure itself as the new main node server.

[0065] In the embodiment of the present invention, the node server cluster in the cloud computing platform includes multiple node servers. Each node server can independently complete functions such as binding and unbinding the public network IP and the cloud computing resources, and the multiple node servers together form a node server cluster to provide services externally. The node server cluster is deployed in the primary and backup mode, that is, when deploying the node server cluster, one of the node servers is randomly selected as the main node server, and the other node servers are used as backup node servers. Usually, the main node server provides services externally. When the main node server fails, any one of the backup node servers uses the latest backup information of the main node server to configure itself as the new main node server to continue to provide services externally.

[0066] Moreover, in order to keep the master node server and the backup node servers consistent in this embodiment, the master node server needs to synchronize the address mapping relationships and rate limiting rules for the public network IPs to multiple backup node servers. Correspondingly, the cloud computing platform periodically checks whether the address mapping relationships and rate limiting rules in the multiple backup node servers are consistent with those of the master node server. If they are inconsistent, the master node server will re-synchronize the address mapping relationships and rate limiting rules for the public network IPs to the inconsistent backup node servers.

[0067] In addition, in order to keep the master node server and the backup node servers consistent in this embodiment, when the elastic public network IP management node and the IPv6 management node issue binding or unbinding commands, the commands need to be issued to all node servers in the node server cluster to ensure service consistency of the node server cluster.

[0068] In order to improve the security of the cloud computing platform, this embodiment also needs to back up the elastic public network IP management node, the IPv6 management node, and the node server cluster in the cloud computing platform respectively. Specifically, the cloud computing platform obtains a backup instruction and, based on the backup instruction, backs up the management data in the elastic public network IP management node and the IPv6 management node, as well as the business data in the node server cluster.

[0069] Among them, the ways to obtain the backup instruction include, but are not limited to, obtaining the backup instruction input by the user through the human-computer interaction interface, triggering the backup instruction at regular intervals based on a preset time interval, and automatically triggering the backup instruction by monitoring a preset target operation. The preset target operation includes, but is not limited to, public network IP management operations, node server configuration operations, etc.

[0070] It should be noted that the cloud computing platform can also monitor the IPv6 instances in real time through the IPv6 management node to obtain real-time monitoring data of the IPv6 instances, and monitor the elastic public network IP instances in real time through the elastic public network IP management node to obtain real-time monitoring data of the elastic public network IP instances. Among them, the real-time monitoring data includes, but is not limited to, outbound traffic, inbound traffic, total outbound packets, total inbound packets, bandwidth usage ratio, etc.

[0071] Moreover, the cloud computing platform will also monitor the running states of the elastic public network IP management node, the IPv6 management node, and the node server cluster in real time, and generate corresponding running reports and an overall running report of the cloud computing platform based on their respective running states, so that users can have an intuitive understanding of the running state of the cloud computing platform through the running reports. Among them, the running state can be determined based on indicators such as resource usage, response time, and system load.

[0072] Further, if the cloud computing platform detects failures in the Elastic Public Network IP management node, IPv6 management node, and node server cluster based on their operating status, such as network anomalies, metric anomalies, etc., it sends alarm messages to the system administrator or relevant personnel. The sending methods of the alarm messages include but are not limited to emails, text messages, phone calls, etc., to ensure timely notification of the system administrator or relevant personnel and achieve rapid troubleshooting of the failures.

[0073] It should also be noted that for the Elastic Public Network IP management node and IPv6 management node, when a failure is detected in the Elastic Public Network IP management node or IPv6 management node, the failed Elastic Public Network IP management node or IPv6 management node can be restored based on the latest backup management data before the management node failure. Specifically, based on the latest management data regularly backed up before the management node failure or the latest management data automatically backed up after important operations, the failed management node is restored to enable the failed management node to resume its previous working state, thereby saving resources while repairing the management node failure and improving the security of the management node and the cloud computing platform.

[0074] Thus, in this application, by integrating the Elastic Public Network IP management node, IPv6 management node, and node server cluster in the same cloud computing platform, the management of Elastic Public Network IP instances and IPv6 instances is achieved through the same cloud computing platform. Moreover, the primary node server in the node server cluster can use the IPv6 instance to replace the Elastic Public Network IP instance that has established a binding relationship with the cloud computing resources, thereby completing the establishment of the binding relationship between the IPv6 instance and the cloud computing resources and realizing the smooth transition from Elastic Public Network IP to IPv6. Further, in this application, by setting multiple backup node servers in the node server cluster, when the primary node server fails, a new primary node server can be promptly launched, thereby ensuring the high availability of the node server cluster and improving the stability of the public network IP management.

[0075] Take Figures 2 to 7 as an example to elaborate in detail on the cloud computing platform disclosed in the embodiments of the present invention and the public network IP management method implemented based on the cloud computing platform, which specifically includes:

[0076] As Figure 2 shown, the cloud computing platform mainly includes three functional components, namely, a system management component, a service management component, and a monitoring and disaster recovery component.

[0077] The system management component is a basic functional component of the cloud computing platform, mainly responsible for deploying the elastic public network IP management node, IPv6 management node, and node server cluster on the cloud computing platform, and also responsible for the data backup work of the cloud computing platform.

[0078] Among them, the system management component mainly includes a service deployment module and a data backup module.

[0079] The service deployment module is used to automatically create an elastic public network IP management node, an IPv6 management node, and a node server cluster on the cloud computing platform, and a main node server and multiple backup node servers are deployed in the node server cluster. As Figure 3 shown, the elastic public network IP management node and the IPv6 management node are deployed in the control network, the node server cluster is deployed in the management network and the service network, and multiple cloud computing resources are also deployed in the service network.

[0080] The data backup module is used to back up the management data in the elastic public network IP management node and the IPv6 management node, and back up the service data in the node server cluster.

[0081] The service management component is the core functional component of the cloud computing platform, aiming to provide public network IP management services. The service management component includes three modules, namely the elastic public network IP management module, the IPv6 management module, and the underlying communication module. Among them, the function of the elastic public network IP management module is implemented by the elastic public network IP management node; the function of the IPv6 management module is implemented by the IPv6 management node; the function of the underlying communication module is implemented by the node server cluster.

[0082] As Figure 4 shown, the elastic public network IP management module mainly has three functions, namely the instance management function, the service management function, and the data monitoring function. Among them, the instance management function specifically includes: the elastic public network IP management node creates, deletes, and queries elastic public network IP instances, and adjusts the bandwidth configuration of the elastic public network IP instances. The service management function specifically includes: the elastic public network IP management node issues a binding command or an unbinding command to the main node server, so that the main node server binds or unbinds the elastic public network IP instance and the cloud computing resource. The data monitoring function specifically includes: the elastic public network IP management node monitors the elastic public network IP instance to obtain the real-time monitoring data of the elastic public network IP instance.

[0083] As Figure 5As shown in the figure, the IPv6 management module mainly has three functions, namely instance management function, service management function, and data monitoring function. Among them, the instance management function specifically includes: creating, deleting, and querying IPv6 instances by the IPv6 management node. The service management function specifically includes: the IPv6 management node sending a binding command to the master node server so that the master node server uses the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resource, in order to establish a binding relationship between the IPv6 instance and the cloud computing resource, and controlling the IPv6 instance to inherit the configuration information of the elastic public network IP instance; in addition, the IPv6 management node can also send an unbinding command to the master node server so that the master node server unbinds the IPv6 instance and the cloud computing resource. The data monitoring function specifically includes: the IPv6 management node monitoring the IPv6 instance to obtain real-time monitoring data of the IPv6 instance.

[0084] As Figure 6 shown in the figure, the underlying communication module mainly includes two functions, namely address mapping function and speed limit function. Among them, the address mapping function specifically includes: when the master node server establishes a binding relationship between the elastic public network IP instance and the cloud computing resource, by establishing an address mapping relationship between the floating IP of the cloud computing resource and the elastic public network IP instance, in order to establish a binding relationship between the elastic public network IP instance and the cloud computing resource, and at this time, the cloud computing resource can be accessed through the elastic public network IP; when the master node server establishes a binding relationship between the IPv6 instance and the cloud computing resource, controlling the IPv6 instance to inherit the address mapping relationship of the elastic public network IP instance, in order to replace the elastic public network IP instance in the address mapping relationship with the IPv6 instance, in order to establish an address mapping relationship between the IPv6 instance and the floating IP of the cloud computing resource, thereby establishing a binding relationship between the IPv6 instance and the cloud computing resource, and at this time, the cloud computing resource can be accessed through the IPv6; the specific address mapping schematic diagram is as Figure 7 shown in the figure. The speed limit function specifically includes: the master node server using a speed limit rule corresponding to the bandwidth configuration of the elastic public network IP instance or the IPv6 instance to limit the network speed of the elastic public network IP instance or the IPv6 instance.

[0085] The monitoring and disaster recovery component is an important part of the cloud computing platform, which provides strong support for the cloud computing platform and ensures the stability and reliability of the cloud computing platform; among them, the monitoring and disaster recovery component includes three key modules, namely real-time monitoring module, fault alarm module, and disaster recovery switching module.

[0086] The real-time monitoring module is used to monitor the running states of the elastic public network IP management node, the IPv6 management node, and the node server cluster in real time, and generate a running report based on the running states, so that users can have an intuitive understanding of the running state of the cloud computing platform through the running report.

[0087] The fault warning module is used to send warning information to the system administrator or relevant personnel when it detects a fault in the elastic public network IP management node, the IPv6 management node, or the node server cluster based on the running state, so as to ensure that the system administrator or relevant personnel can be notified in a timely manner.

[0088] The disaster recovery switching module is used to, when the primary node server fails, configure itself as the new primary node server by using the latest backup information of the primary node server through any one of the backup node servers, so as to take over the original primary node server.

[0089] It can be seen that in this application, the elastic public network IP management node, the IPv6 management node, and the node server cluster are integrated in the same cloud computing platform to manage the elastic public network IP instances and the IPv6 instances through the same cloud computing platform. Moreover, the primary node server in the node server cluster can use the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, thereby completing the establishment of the binding relationship between the IPv6 instance and the cloud computing resources and realizing the smooth transition from the elastic public network IP to the IPv6. Further, in this application, multiple backup node servers are set in the node server cluster so that when the primary node server fails, a new primary node server can be pulled up in a timely manner, thereby ensuring the high availability of the node server cluster and improving the stability of the public network IP management.

[0090] See Figure 8 As shown in the figure, an embodiment of the present invention discloses a public network IP management device applied to a cloud computing platform. The cloud computing platform includes an elastic public network IP management node, an IPv6 management node, and a node server cluster. The node server cluster includes a primary node server and multiple backup node servers. The device includes:

[0091] The command issuing module 11 is used to issue a first binding command for a pre-created IPv6 instance to the primary node server through the IPv6 management node;

[0092] A cloud resource binding module 12, configured to determine cloud computing resources corresponding to the first binding command through the master node server, use the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, so as to establish a binding relationship between the IPv6 instance and the cloud computing resources, and control the IPv6 instance to inherit the configuration information of the elastic public network IP instance; the elastic public network IP instance is an IPv4 instance created through the elastic public network IP management node;

[0093] A server configuration module 13, configured to, if it is detected that the master node server fails, configure itself as a new master node server through any one of the backup node servers using the latest backup information of the master node server.

[0094] It can be seen that in this application, by integrating the elastic public network IP management node, the IPv6 management node, and the node server cluster in the same cloud computing platform, the management of the elastic public network IP instance and the management of the IPv6 instance are realized through the same cloud computing platform, and the master node server in the node server cluster can use the IPv6 instance to replace the elastic public network IP instance that has established a binding relationship with the cloud computing resources, so as to complete the establishment of the binding relationship between the IPv6 instance and the cloud computing resources, and realize the smooth transition from the elastic public network IP to IPv6; further, in this application, by setting multiple backup node servers in the node server cluster, when the master node server fails, a new master node server can be pulled up in time, so as to ensure the high availability of the node server cluster and improve the stability of the public network IP management.

[0095] In some specific embodiments, the public network IP management device further includes:

[0096] An elastic public network IP management unit, configured to create the elastic public network IP instance through the elastic public network IP management node, adjust the bandwidth configuration of the elastic public network IP instance, and send a second binding command for the elastic public network IP instance to the master node server;

[0097] A binding relationship establishment unit, configured to parse the second binding command through the master node server to determine the corresponding cloud computing resources, and establish an address mapping relationship between the floating IP of the cloud computing resources and the elastic public network IP instance, so as to establish a binding relationship between the cloud computing resources and the elastic public network IP instance; wherein, there is a mapping relationship between the floating IP of the cloud computing resources and the private IP of the cloud computing resources.

[0098] In some specific embodiments, the cloud resource binding module 12 includes:

[0099] A bandwidth configuration inheritance unit, configured to control the IPv6 instance to inherit the bandwidth configuration of the elastic public network IP instance, so as to adjust the bandwidth configuration of the IPv6 instance to the same bandwidth configuration as that of the elastic public network IP instance based on the bandwidth configuration of the elastic public network IP instance;

[0100] A mapping relationship inheritance unit, configured to control the IPv6 instance to inherit the address mapping relationship of the elastic public network IP instance, so as to replace the elastic public network IP instance in the address mapping relationship with the IPv6 instance, in order to establish an address mapping relationship between the IPv6 instance and the floating IP of the cloud computing resource.

[0101] In some specific embodiments, the public network IP management device further includes:

[0102] A first speed limit unit, configured to, when the IPv6 instance is bound to the cloud computing resource, use a speed limit rule corresponding to the bandwidth configuration of the IPv6 instance through the master node server to perform network speed limit on the IPv6 instance;

[0103] A second speed limit unit, configured to, when the elastic public network IP instance is bound to the cloud computing resource, use a speed limit rule corresponding to the bandwidth configuration of the elastic public network IP instance through the master node server to perform network speed limit on the elastic public network IP instance.

[0104] In some specific embodiments, the public network IP management device further includes:

[0105] A synchronization unit, configured to synchronize each of the address mapping relationships and each of the speed limit rules to the multiple backup node servers through the master node server;

[0106] Correspondingly, the cloud computing platform regularly checks whether the address mapping relationships and the speed limit rules in the multiple backup node servers are consistent with those of the master node server. If not, each of the address mapping relationships and each of the speed limit rules are re-synchronized to the inconsistent backup node servers through the master node server.

[0107] In some specific embodiments, the public network IP management device further includes:

[0108] A release unit, configured to release the replaced elastic public network IP instance, so that the released elastic public network IP instance can be re-bound to other cloud computing resources.

[0109] In some specific embodiments, the public network IP management device further includes:

[0110] A data backup unit is configured to obtain a backup instruction and, based on the backup instruction, back up the management data in the elastic public network IP management node and the IPv6 management node, as well as back up the service data in the node server cluster.

[0111] Among them, the obtaining methods of the backup instruction include obtaining the backup instruction input by the user through a human-computer interaction interface, triggering the backup instruction regularly based on a preset time interval, and automatically triggering the backup instruction by monitoring a preset target operation.

[0112] Furthermore, an embodiment of the present application also discloses an electronic device. Figure 9 It is a structural diagram of an electronic device 20 shown according to an exemplary embodiment, and the content in the figure should not be regarded as any limitation on the scope of use of the present application.

[0113] Figure 9 This is a schematic structural diagram of an electronic device 20 provided by an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the public network IP management method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0114] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, and specific limitations are not imposed here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and no specific limitation is made here.

[0115] In addition, as a carrier for resource storage, the memory 22 may be a read-only memory, a random access memory, a disk, or an optical disc, etc., and the resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.

[0116] Among them, the operating system 221 is used to manage and control each hardware device and computer program 222 on the electronic device 20, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program capable of implementing the public network IP management method executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0117] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the public network IP management method disclosed above. For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details will not be repeated here.

[0118] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and reference can be made to the description of the method part for related parts.

[0119] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0120] The steps of the method or algorithm described in combination with the embodiments disclosed in this article can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0121] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising said element.

[0122] The technical solutions provided in this application have been introduced in detail above. Specific examples are used in this text to elaborate on the principles and implementation manners of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. At the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to this application.

Claims

1. A public network IP management method, characterized in that: Applied to a cloud computing platform, the cloud computing platform includes an elastic public network IP management node, an IPv6 management node and a node server cluster, the node server cluster includes a master node server and multiple backup node servers; The method comprises: Sending, through the IPv6 management node, a first binding command for a pre-created IPv6 instance to the master node server; Determine the cloud computing resource corresponding to the first binding command through the master node server, and use the IPv6 instance to replace the elastic public IP instance that has established a binding relationship with the cloud computing resource, so as to establish a binding relationship between the IPv6 instance and the cloud computing resource, and control the IPv6 instance to inherit the configuration information of the elastic public IP instance; the elastic public IP instance is an IPv4 instance created by the elastic public IP management node; If it is detected that the master node server fails, any of the backup node servers uses the latest backup information of the master node server to configure itself as a new master node server.

2. The public network IP management method according to claim 1, characterized in that: Before replacing the elastic public IP instance that has established a binding relationship with the cloud computing resource with the IPv6 instance, the method further includes: Creating the elastic public IP instance through the elastic public IP management node, adjusting the bandwidth configuration of the elastic public IP instance, and issuing a second binding command for the elastic public IP instance to the master node server; The second binding command is parsed by the master node server to determine the corresponding cloud computing resource, and an address mapping relationship between the floating IP of the cloud computing resource and the elastic public IP instance is established to establish a binding relationship between the cloud computing resource and the elastic public IP instance; There is a mapping relationship between the floating IP of the cloud computing resource and the private IP of the cloud computing resource.

3. The public network IP management method according to claim 2, characterized in that: The controlling the IPv6 instance to inherit the configuration information of the elastic public IP instance includes: Control the IPv6 instance to inherit the bandwidth configuration of the elastic public IP instance, so as to adjust the bandwidth configuration of the IPv6 instance to the same bandwidth configuration as that of the elastic public IP instance based on the bandwidth configuration of the elastic public IP instance; Control the IPv6 instance to inherit the address mapping relationship of the elastic public IP instance to replace the elastic public IP instance in the address mapping relationship with the IPv6 instance to establish an address mapping relationship between the IPv6 instance and the floating IP of the cloud computing resource.

4. The public network IP management method according to claim 3, characterized in that: Also includes: When the IPv6 instance is bound to the cloud computing resource, the master node server uses a speed limit rule corresponding to the bandwidth configuration of the IPv6 instance to limit the network speed of the IPv6 instance; And / or, when the elastic public IP instance is bound to the cloud computing resource, the network speed of the elastic public IP instance is limited by the master node server using a speed limit rule corresponding to the bandwidth configuration of the elastic public IP instance.

5. The public network IP management method according to claim 4, characterized in that: Also includes: The address mapping relationships and the speed limit rules are synchronized to the multiple backup node servers through the master node server; Correspondingly, the cloud computing platform periodically checks whether the address mapping relationship and the speed limit rules in the multiple backup node servers are consistent with those of the primary node server. If inconsistent, the address mapping relationship and the speed limit rules are re-synchronized to the inconsistent backup node servers through the primary node server.

6. The public network IP management method according to claim 1, characterized in that: After replacing the elastic public IP instance that has established a binding relationship with the cloud computing resource with the IPv6 instance, the method further includes: The replaced elastic public IP instance is released so that the released elastic public IP instance can be bound to other cloud computing resources again.

7. The public network IP management method according to any one of claims 1 to 6, characterized in that: Also includes: Obtain a backup instruction, and based on the backup instruction, back up the management data in the elastic public IP management node and the IPv6 management node, and back up the service data in the node server cluster; Among them, the method for obtaining the backup instruction includes a method for obtaining the backup instruction input by the user through a human-computer interaction interface, a method for triggering the backup instruction based on a preset time interval, and a method for automatically triggering the backup instruction by monitoring a preset target operation.

8. A public network IP management device, characterized in that: Applied to a cloud computing platform, the cloud computing platform includes an elastic public network IP management node, an IPv6 management node and a node server cluster, the node server cluster includes a master node server and multiple backup node servers; The device comprises: A command issuing module, used for issuing a first binding command for a pre-created IPv6 instance to the master node server through the IPv6 management node; A cloud resource binding module, used to determine the cloud computing resource corresponding to the first binding command through the master node server, and use the IPv6 instance to replace the elastic public IP instance that has established a binding relationship with the cloud computing resource to establish a binding relationship between the IPv6 instance and the cloud computing resource, and control the IPv6 instance to inherit the configuration information of the elastic public IP instance; the elastic public IP instance is an IPv4 instance created by the elastic public IP management node; The server configuration module is used to configure itself as a new master node server by using the latest backup information of the master node server through any of the backup node servers if it is detected that the master node server fails.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the public network IP management method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the public network IP management method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • A public cloud network flexible IP implementation method and system

    CN109743415A

  • Public cloud elastic public network IP cluster implementation method and system

    CN111262960A

  • Data forwarding method and device and readable storage medium

    CN111585896A

  • Configuration management method and system for elastic public network IP

    CN113810513A

  • Floating IP allocation method and device, electronic equipment and storage medium

    CN115174524A