CN112968802A - Universal method for managing IP state and relation of elastic public network - Google Patents

Universal method for managing IP state and relation of elastic public network Download PDF

Info

Publication number
CN112968802A
CN112968802A CN202110211203.5A CN202110211203A CN112968802A CN 112968802 A CN112968802 A CN 112968802A CN 202110211203 A CN202110211203 A CN 202110211203A CN 112968802 A CN112968802 A CN 112968802A
Authority
CN
China
Prior art keywords
public network
elastic
elastic public
state
steps
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.)
Granted
Application number
CN202110211203.5A
Other languages
Chinese (zh)
Other versions
CN112968802B (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.)
Unicloud Technology Co Ltd
Original Assignee
Unicloud Technology 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 Unicloud Technology Co Ltd filed Critical Unicloud Technology Co Ltd
Priority to CN202110211203.5A priority Critical patent/CN112968802B/en
Publication of CN112968802A publication Critical patent/CN112968802A/en
Application granted granted Critical
Publication of CN112968802B publication Critical patent/CN112968802B/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/0803Configuration setting
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a universal method for managing the IP state and the relation of an elastic public network, which designs and classifies various possible states of the IP of the elastic public network and classifies and designs products which can be managed by the IP of the elastic public network at the same time, so that corresponding operations can be normally and reasonably carried out between the IP of the elastic public network and the associated products in various states to complete the due functions of the IP of the elastic public network. The management method of the invention classifies and limits the operation of the elastic public network IP under various states; based on the state of the elastic public network IP, various related products of the elastic public network IP are subjected to unified limiting treatment, the coupling is reduced, and the design complexity is reduced.

Description

Universal method for managing IP state and relation of elastic public network
Technical Field
The invention belongs to the technical field of cloud computing, and particularly relates to a method for managing IP states and relationships of a universal elastic public network.
Background
The elastic public network IP is a basic cloud service, and all large cloud manufacturers can provide the product. The method is mainly used for binding to other products for other products to access a public network, and is characterized in that the method can flexibly bind and unbind a plurality of products, and is very elastic. Due to the elasticity, the state of the elastic public network IP can be changed in various ways, and the relationship between the elastic public network IP and various products is changed, so that the management of the elastic public network IP is more complicated. The patent designs a brand-new and universal scheme for managing the elastic public network IP aiming at the state of the elastic public network IP and the complex incidence relation of the elastic public network IP so as to meet the requirement of cloud service providers on the management of the product.
The elastic public network IP is used as a cloud computing technology, all families managing the elastic public network IP have respective characteristics, because no existing template is available for reference, scenes which are not considered are stored more or less at the beginning of design, problems encountered by a user in a specific use process need to be processed from a background in a form of a work order, and certain troubles are brought to the use of the user. Therefore, a universal complete scheme is needed, various scenes are considered, and the maximum convenience is provided for the use of the user.
Disclosure of Invention
In view of this, the present invention is directed to provide a method for managing an IP state and a relationship of a universal elastic public network, so as to solve the problems that the prior art is more or less stored in some unaccounted scenes at the beginning of design, and a user needs to process the problems in a form of a work order from a background during a specific use process, which brings a certain trouble to the user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for managing IP state and relationship of a universal elastic public network comprises the following steps:
s1, classifying the IP states of the elastic public network and constructing a state change machine;
s2, interacting the elastic public network IP and the shared bandwidth;
s3, delivering the elastic public network IP and the product A;
s4, steps S2 to S3 are carried out in the process of operation, the elastic IP is stopped and the operation is carried out through the state of the elastic public network IP.
Further, in the step S1, the flexible public network IP is divided into two categories, namely a termination state and an intermediate state;
the termination state includes: available, in use, deleted, out of service;
the intermediate states include: during creation, deletion, binding, unbinding and deployment.
Further, in step S2, the interaction between the flexible public network IP and the shared bandwidth is performed, which includes the following steps:
adding the running elastic public network IP into the shared bandwidth, after adding, the original charging mode of the elastic public network IP fails, moving the elastic public network IP out of the shared broadband, recovering the original charging mode of the elastic public network IP, if the shared broadband is out of service, the EIP in the shared broadband is unavailable, at the moment, allowing the elastic public network IP to move out of the shared broadband, and when moving out, judging whether to recover the availability of the elastic public network IP by the system according to the state of the elastic public network IP.
Further, the process of the system determining whether to recover the availability of the elastic public network IP is as follows: if the IP of the elastic public network is expired or the user to which the IP belongs is defaulted, the IP of the elastic public network is set to be unavailable, namely, the service is stopped, otherwise, the system restores the IP to be available.
Further, the product a in step S3 includes an elastic cloud host, a bare metal server, an auxiliary network card, a high-availability virtual IP, a NAT, load balancing, and a database instance.
Further, in the step S3, the delivery process of the elastic public network IP and the product a is to bind and unbind the elastic public network IP and the product a.
Further, in the step S3, the flexible public network IP is in a one-to-one relationship with the product a.
Further, the status of the IP itself in step S4 in step S3 includes charging, recharging, and releasing operations.
Compared with the prior art, the method for managing the IP state and the relationship of the universal elastic public network has the following beneficial effects:
the management method of the invention classifies and limits the operation of the elastic public network IP under various states; based on the state of the elastic public network IP, various related products of the elastic public network IP are subjected to unified limiting treatment, the coupling is reduced, and the design complexity is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating an IP state of an elastic public network according to an embodiment of the present invention;
fig. 2 is a flow chart of three state changes of the elastic public network IP according to the embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1 to 2, a method for managing IP status and relationship of a universal resilient public network includes the following steps:
s1, classifying the IP states of the elastic public network and constructing a state change machine;
s2, interacting the elastic public network IP and the shared bandwidth;
s3, delivering the elastic public network IP and the product A;
s4, steps S2 to S3 are carried out in the process of operation, the elastic IP is stopped and the operation is carried out through the state of the elastic public network IP.
In the step S1, the resilient public network IP is divided into two categories, namely a termination state and an intermediate state;
the termination state includes: available, in use, deleted, out of service;
the intermediate states include: during creation, deletion, binding, unbinding and deployment.
In step S2, the interaction between the flexible public network IP and the shared bandwidth is performed, and the process is as follows:
adding the running elastic public network IP into the shared bandwidth, after adding, the original charging mode of the elastic public network IP fails, moving the elastic public network IP out of the shared broadband, recovering the original charging mode of the elastic public network IP, if the shared broadband is out of service, the EIP in the shared broadband is unavailable, at the moment, allowing the elastic public network IP to move out of the shared broadband, and when moving out, judging whether to recover the availability of the elastic public network IP by the system according to the state of the elastic public network IP.
The process of the system for judging whether to recover the availability of the IP of the elastic public network is as follows: if the IP of the elastic public network is expired or the user to which the IP belongs is defaulted, the IP of the elastic public network is set to be unavailable, namely, the service is stopped, otherwise, the system restores the IP to be available.
The product a in the step S3 includes an elastic cloud host, a bare metal server, an auxiliary network card, a high-availability virtual IP, an NAT, load balancing, and a database instance.
In the step S3, the delivery process of the elastic public network IP and the product a is the binding and unbinding of the elastic public network IP and the product a.
In the step S3, the flexible public network IP is in a one-to-one relationship with the product a.
The status of the IP itself in step S4 in step S3 includes renewal, recharge, and release operations.
This patent has designed and has categorised to the various possible states of elasticity public network IP, has also made simultaneously categorised and design to the product that it probably managed for under various states, can be normal, reasonable carry out corresponding operation between elasticity public network IP and its relevant product, accomplish its due function.
Products which can be bound and associated by the elastic public network IP comprise an elastic cloud host, a bare metal server, a database instance, a shared bandwidth, an NAT gateway, an SLB, a high-availability virtual IP and an auxiliary network card. The patent provides a complete scheme for managing the relation of the elastic public network IP, and ensures that the EIP has a closed-loop state change in various states. The specific scheme is as follows:
1) classifying the IP state of the elastic public network and constructing a state change machine
The states of the elastic public network IP can be various, the elastic public network IP is generally divided into two main types of termination states and intermediate states, and each type is designed into a plurality of states according to related operations; wherein,
the termination states are four, respectively: available, in use, deleted, out of service;
the intermediate states are five, respectively: during creation, deletion, binding, unbinding and deployment;
the elastic public network IP in the intermediate state is forbidden to carry out various operations on the elastic public network IP, and only the termination state can carry out the operations on the elastic public network IP.
2) Classifying and designing operations between resilient public network IP-related products
For different service scenes, the elastic public network IP needs to have different limit settings; the relation between the products such as the elastic cloud host, the bare metal server, the auxiliary network card, the high-availability virtual IP, the NAT, the load balance and the database example and the elastic public network IP is mutually exclusive, the elastic public network IP can only be bound to one of the products, the shared bandwidth coexists with the products, the elastic public network IP added into the shared bandwidth can also be bound to the products, and the products such as the elastic cloud host, the bare metal server, the auxiliary network card, the high-availability virtual IP, the NAT, the load balance and the database example are assigned as a product A.
For the elastic public network IP, the patent designs three flows to deal with the relevant state change and the corresponding operation limitation.
The process 1 is the interaction between the elastic public network IP and the shared bandwidth, in the process, the elastic public network IP in operation can be added into the shared bandwidth, after the elastic public network IP is added, the original charging mode of the elastic public network IP fails, the original logic of charging according to the amount is stopped, and the charging is converted into the charging of the occupation fee (a small amount) of the IP address; if the IP of the elastic public network is removed from the shared bandwidth, the original charging mode of the IP of the elastic public network is recovered. When in the shared bandwidth, if the shared bandwidth is out of service for some reason, the EIP in the shared bandwidth is unavailable; at this time, the elastic public network IP is allowed to be moved out of the shared bandwidth, when the elastic public network IP is moved out, the system can determine whether to recover the availability of the elastic public network IP according to the state of the elastic public network IP, if the elastic public network IP is expired or the user to which the elastic public network IP belongs is defaulted, the elastic public network IP is set to be unavailable, namely, the service stop state is carried out, otherwise, the system recovers the availability state.
The flow 2 is the delivery between the elastic public network IP and the aforementioned product a, and the elastic public network IP in operation is in a one-to-one relationship with the aforementioned product a, and the elastic public network IP in operation can be bound to the product a and also can be unbound from the product a, and the state of the elastic public network IP and the state of the product a do not need to be concerned as long as the elastic public network IP and the product a are in the termination state during unbinding.
The process 1 and the process 2 can be performed simultaneously, that is, the addition of the shared bandwidth does not affect the continuous binding of the product a.
The flow 3 is a state of the elastic public network IP, the running elastic IP can be stopped due to the expiration of an instance or the arrearage of the affiliated account, and after the operation is stopped, only the operations of charging, recharging and releasing can be carried out, and the elastic IP cannot be added into the shared bandwidth or bound into the product A; based on the principle that the user needs to use when buying the elastic public network IP, the flow 3 generally does not occur; however, in order to cover all possible scenarios, the present patent also contemplates the limitations associated with scheme 3.
Simultaneously, the patent makes special design for behaviors which can occur after the IP of the elastic public network is stopped:
1) the product A bound by the product A can be unbound and released;
2) can be moved out of the shared bandwidth and can be released;
3) the operations such as charging or recharging can be carried out, and after the operations are finished, the service of the elastic public network IP is automatically restarted to recover normal use;
4) various other operations than 1), 2) and 3) may not be performed on the elastic public network IP, such as binding to product a, joining shared bandwidth, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method for managing IP state and relationship of a universal elastic public network is characterized by comprising the following steps:
s1, classifying the IP states of the elastic public network and constructing a state change machine;
s2, interacting the elastic public network IP and the shared bandwidth;
s3, delivering the elastic public network IP and the product A;
s4, steps S2 to S3 are carried out in the process of operation, the elastic IP is stopped and the operation is carried out through the state of the elastic public network IP.
2. The method of claim 1, wherein the method comprises the following steps: in the step S1, the resilient public network IP is divided into two categories, namely a termination state and an intermediate state;
the termination state includes: available, in use, deleted, out of service;
the intermediate states include: during creation, deletion, binding, unbinding and deployment.
3. The method of claim 1, wherein the method comprises the following steps: in step S2, the interaction between the flexible public network IP and the shared bandwidth is performed, and the process is as follows:
adding the running elastic public network IP into the shared bandwidth, after adding, the original charging mode of the elastic public network IP fails, moving the elastic public network IP out of the shared broadband, recovering the original charging mode of the elastic public network IP, if the shared broadband is out of service, the EIP in the shared broadband is unavailable, at the moment, allowing the elastic public network IP to move out of the shared broadband, and when moving out, judging whether to recover the availability of the elastic public network IP by the system according to the state of the elastic public network IP.
4. The method of claim 3, wherein the method comprises: the process of the system for judging whether to recover the availability of the IP of the elastic public network is as follows: if the IP of the elastic public network is expired or the user to which the IP belongs is defaulted, the IP of the elastic public network is set to be unavailable, namely, the service is stopped, otherwise, the system restores the IP to be available.
5. The method of claim 1, wherein the method comprises the following steps: the product a in the step S3 includes an elastic cloud host, a bare metal server, an auxiliary network card, a high-availability virtual IP, an NAT, load balancing, and a database instance.
6. The method of claim 1, wherein the method comprises the following steps: in the step S3, the delivery process of the elastic public network IP and the product a is the binding and unbinding of the elastic public network IP and the product a.
7. The method of claim 1, wherein the method comprises the following steps: in the step S3, the flexible public network IP is in a one-to-one relationship with the product a.
8. The method of claim 1, wherein the method comprises the following steps: the status of the IP itself in step S4 in step S3 includes renewal, recharge, and release operations.
CN202110211203.5A 2021-02-25 2021-02-25 Universal method for managing IP state and relation of elastic public network Active CN112968802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110211203.5A CN112968802B (en) 2021-02-25 2021-02-25 Universal method for managing IP state and relation of elastic public network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110211203.5A CN112968802B (en) 2021-02-25 2021-02-25 Universal method for managing IP state and relation of elastic public network

Publications (2)

Publication Number Publication Date
CN112968802A true CN112968802A (en) 2021-06-15
CN112968802B CN112968802B (en) 2023-04-18

Family

ID=76286097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110211203.5A Active CN112968802B (en) 2021-02-25 2021-02-25 Universal method for managing IP state and relation of elastic public network

Country Status (1)

Country Link
CN (1) CN112968802B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710443A (en) * 2022-03-17 2022-07-05 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805448A (en) * 2005-01-10 2006-07-19 捷讯研究有限公司 Mobile ip registration process for an always-on device
CN109743415A (en) * 2019-02-27 2019-05-10 上海浪潮云计算服务有限公司 A kind of public cloud network resilience IP realization method and system
CN111262960A (en) * 2020-01-15 2020-06-09 山东汇贸电子口岸有限公司 Public cloud elastic public network IP cluster implementation method and system
CN111314368A (en) * 2020-02-27 2020-06-19 紫光云技术有限公司 Method for realizing tube renting intercommunication by using load balancer
CN111628906A (en) * 2020-05-11 2020-09-04 紫光云技术有限公司 Method for carrying out flow statistics and monitoring on IP of bullet-supplying public network
CN111641513A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Method for measuring time of elastic public network IP
CN111652605A (en) * 2020-06-08 2020-09-11 山东汇贸电子口岸有限公司 Creation system and creation method for creating cloud service package by public cloud service
CN112019366A (en) * 2019-05-31 2020-12-01 北京金山云网络技术有限公司 Leasing method and device of physical host, cloud platform and readable storage medium
CN112118327A (en) * 2020-08-04 2020-12-22 紫光云(南京)数字技术有限公司 Method and system for conveniently and quickly modifying IP (Internet protocol) of elastic network card under public cloud

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805448A (en) * 2005-01-10 2006-07-19 捷讯研究有限公司 Mobile ip registration process for an always-on device
CN109743415A (en) * 2019-02-27 2019-05-10 上海浪潮云计算服务有限公司 A kind of public cloud network resilience IP realization method and system
CN112019366A (en) * 2019-05-31 2020-12-01 北京金山云网络技术有限公司 Leasing method and device of physical host, cloud platform and readable storage medium
CN111262960A (en) * 2020-01-15 2020-06-09 山东汇贸电子口岸有限公司 Public cloud elastic public network IP cluster implementation method and system
CN111314368A (en) * 2020-02-27 2020-06-19 紫光云技术有限公司 Method for realizing tube renting intercommunication by using load balancer
CN111628906A (en) * 2020-05-11 2020-09-04 紫光云技术有限公司 Method for carrying out flow statistics and monitoring on IP of bullet-supplying public network
CN111641513A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Method for measuring time of elastic public network IP
CN111652605A (en) * 2020-06-08 2020-09-11 山东汇贸电子口岸有限公司 Creation system and creation method for creating cloud service package by public cloud service
CN112118327A (en) * 2020-08-04 2020-12-22 紫光云(南京)数字技术有限公司 Method and system for conveniently and quickly modifying IP (Internet protocol) of elastic network card under public cloud

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710443A (en) * 2022-03-17 2022-07-05 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server
CN114710443B (en) * 2022-03-17 2024-03-19 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server

Also Published As

Publication number Publication date
CN112968802B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN106775959B (en) distributed transaction processing method and system
CN101378334B (en) Communication method based on dual-network redundant universal network model
CN103312549B (en) A kind of office management method and device and system
CN104717077B (en) A kind of method, apparatus and system for managing data center
CN112565483B (en) Battery management system and address allocation and disconnection reconnection method
CN101001177A (en) Single logical network interface for advanced load balancing and fail-over functionality
CN110032393A (en) A kind of micro services dissemination method, device, equipment and medium
CN109698871A (en) A kind of optical fiber distributed type access system and its management method
CN112968802B (en) Universal method for managing IP state and relation of elastic public network
CN106850269A (en) A kind of management system of cloud platform
US7418549B2 (en) Storage system with disk array controllers that independently manage data transfer
CN102143000B (en) Method for controlling data recovery, node, control device and disaster-recovery system
CN115348126A (en) Network target range entity equipment access method, device and implementation system
CN101662390B (en) Upgrade protecting method and device thereof
CN1996826A (en) Method, system and soft switch device for dual-homing
CN102710433B (en) A kind of online upgrading processing method, relevant apparatus and system
CN102196533A (en) Network access control method and related device
EP4112369A1 (en) Electric vehicle charging system and method therefof for providing additional services
CN111787497B (en) Method for storing original charging call ticket by using database cluster
CN115826879B (en) Data updating method for storage nodes in distributed storage system
CN103685015A (en) Extensible router task assignment method based on components
US20090125587A1 (en) Management System, Device for Use in the System, Program Therefor, and Management Method
KR101974787B1 (en) Cloud Service Providing Apparatus and Management Method of the same
US11970071B2 (en) Electric vehicle charging system and method thereof for providing diagnostic services
KR100833292B1 (en) System and method for backup charging data in real time in mobile communication network

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