CN110868310A - CDN edge node online and offline method, device and system - Google Patents

CDN edge node online and offline method, device and system Download PDF

Info

Publication number
CN110868310A
CN110868310A CN201810982679.7A CN201810982679A CN110868310A CN 110868310 A CN110868310 A CN 110868310A CN 201810982679 A CN201810982679 A CN 201810982679A CN 110868310 A CN110868310 A CN 110868310A
Authority
CN
China
Prior art keywords
edge node
cdn edge
type
instantiation
vnf component
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
CN201810982679.7A
Other languages
Chinese (zh)
Other versions
CN110868310B (en
Inventor
姜文颖
王寓辰
倪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810982679.7A priority Critical patent/CN110868310B/en
Publication of CN110868310A publication Critical patent/CN110868310A/en
Application granted granted Critical
Publication of CN110868310B publication Critical patent/CN110868310B/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
    • 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/0893Assignment of logical groups to network elements

Abstract

The invention discloses a method, a device and a system for loading and unloading CDN edge nodes, which are used for solving the problem that the loading and unloading of CDN edge nodes cannot be automatically controlled in the prior art. A method of online comprising: and for each CDN region, when the CDN region needs to be on-line to a first target CDN edge node, sending an instantiation creation request of each type of VNF component to the NFVO according to the instantiation creation sequence of each type of VNF component in the CDN edge node and aiming at each type of VNF component in sequence, so that the NFVO performs instantiation creation on the VNF component of the type. In the embodiment of the invention, when one CDN edge node is on line, the instantiation creation of the VNF components is carried out according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, so as to realize the automatic online process of the CDN edge node.

Description

CDN edge node online and offline method, device and system
Technical Field
The invention relates to the technical field of virtualization, in particular to a method, a device and a system for loading and unloading CDN edge nodes.
Background
At present, for online and offline of a Content Delivery Network (CDN) edge node, automatic arrangement of various underlying basic setting resources such as virtual machines, storage, bandwidth and the like is generally performed by a Network Function Virtualization Orchestrator (NFVO), so as to respectively realize automatic pull-up and termination of different Virtualized Network Function (VNF) component instances in the CDN edge node on a basic setting resource layer. A CDN edge node typically includes various types of VNF components, such as a management component, a load balancing component, and a caching component. If all VNF components in the CDN edge node are pulled up, that is, all VNF components complete instantiation creation, the CDN edge node completes online, and if all VNF components in the CDN edge node are terminated, that is, all VNF components complete instantiation termination, the CDN edge node completes offline.
When pulling up and terminating a VNF component in a CDN edge node, the pulling up and terminating needs to be performed according to a logical relationship of the VNF component in the CDN edge node, and for an online process of the CDN edge node, a management component needs to be pulled up first, and then other VNF components are pulled up, and for an offline process of the CDN edge node, a management component needs to be terminated last.
In the prior art, a general NFVO does not know the logical relationship between VNF components in a CDN edge node, and therefore, to complete an online or offline of the CDN edge node, manual participation is required. An administrator can control the pulling-up and the termination of each VNF component according to the logical relationship between the VNF components on the management interface of the NFVO device, so as to realize the online and offline of the CDN edge node. When online and offline of CDN edge nodes are manually controlled, the period is long, and labor cost cannot be effectively saved. How to automatically control the online and offline of the CDN edge node is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention discloses a method, a device and a system for loading and unloading CDN edge nodes, which are used for solving the problem that the loading and unloading of CDN edge nodes cannot be automatically controlled in the prior art.
In order to achieve the above object, an embodiment of the present invention discloses an online method for a CDN edge node, where the method includes:
judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region;
if so, according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, sequentially sending an instantiation creation request of the type of VNF component to the network function virtualization orchestrator NFVO for each type of VNF component, so that the NFVO instantiates and creates the type of VNF component.
Further, the determining whether the CDN region needs to be brought online by the first target CDN edge node includes:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
Further, the method further comprises:
for each type of VNF component in a first target CDN edge node, when receiving an instantiation creation completion notification of the type of VNF component sent by the NFVO, storing an identifier of a resource occupied by the type of VNF component carried in the instantiation creation completion notification.
Further, the method further comprises:
receiving the IP address of the first target CDN edge node sent by the NFVO;
after all the VNF components of each type in the first target CDN edge node are identified to be instantiated and created, an online notification of the first target CDN edge node is sent to a CDN operation management server, the online notification includes an IP address of the first target CDN edge node, and the CDN operation management server manages the first target CDN edge node.
Further, the method further comprises:
and receiving the resource utilization rate reported by each online CDN edge node.
Further, the method further comprises:
receiving instantiation creation failure notification of a VNF component of a first type, and determining a termination sequence of each VNF component of a second type after instantiation creation is completed according to an instantiation termination sequence of each VNF component of a first type in a first target CDN edge node and the VNF component of the first type;
according to the termination sequence of each second-type VNF component that has completed the creation of instantiation, for each second-type VNF component, sending an instantiation termination request of the second-type VNF component to the NFVO, so that the NFVO terminates the instantiation of the second-type VNF component.
The embodiment of the invention discloses an offline method of CDN edge nodes, which comprises the following steps:
judging whether a second target CDN edge node needs to be offline in each CDN region;
if yes, according to a prestored instantiation termination sequence of each type of VNF component in the second target CDN edge node, sequentially sending an instantiation termination request of the type of VNF component in the second target CDN edge node to a network function virtualization orchestrator NFVO for each type of VNF component, so that the NFVO instantiates and terminates the type of VNF component.
Further, the determining whether a second target CDN edge node needs to be offline in the CDN region includes:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
Further, the method further comprises:
for each type of VNF component in the second target CDN edge node, when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO, delete the identifier of the resource occupied by the type of VNF component.
Further, after determining a second target CDN edge node to be offline, before sending an instantiation termination request carrying a VNF component in the second target CDN edge node to the NFVO for the first time, the method further includes:
sending a pre-offline notification of a second target CDN edge node to a CDN operation management server, so that the CDN operation management server sends a scheduling stopping request of the second target CDN edge node to the CDN scheduling management server;
and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
Further, after identifying that all instantiation termination of each type of VNF component within the second target CDN edge node is completed, the method further includes:
and sending an offline notification of the second target CDN edge node to the CDN operation management server, so that the CDN operation management server deletes the IP address of the second target CDN edge node.
Further, the method further comprises:
and receiving the resource utilization rate reported by each online CDN edge node.
The embodiment of the invention discloses electronic equipment, which comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region; if yes, according to a pre-stored instantiation creating sequence of each type of VNF component in the CDN edge node, sequentially aiming at each type of VNF component, controlling the transceiver to send an instantiation creating request of the type of VNF component to a network function virtualization orchestrator NFVO, and enabling the NFVO to perform instantiation creating on the type of VNF component.
Further, the processor is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
Further, the processor is further configured to, for each type of VNF component in the first target CDN edge node, control the memory to store, when receiving an instantiation creation completion notification of the type of VNF component sent by the NFVO, an identifier of a resource occupied by the type of VNF component carried in the instantiation creation completion notification.
Further, the transceiver is further configured to receive an IP address of the first target CDN edge node sent by the NFVO;
the processor is further configured to control the memory to send an online notification of the first target CDN edge node to a CDN operation management server after recognizing that all VNF components of each type in the first target CDN edge node are instantiated and created, where the online notification includes an IP address of the first target CDN edge node, so that the CDN operation management server manages the first target CDN edge node.
Further, the transceiver is further configured to receive a resource utilization rate reported by each online CDN edge node.
Further, the transceiver is further configured to receive an instantiation creation failure notification of the VNF component of the first type;
the processor is further configured to determine, according to an instantiation termination order of each type of VNF component in the first target CDN edge node and the VNF component of the first type, a termination order of each type of VNF component of the second type that has completed instantiation creation; according to the termination sequence of each VNF component of the second type created after the instantiation is completed, for each VNF component of the second type, controlling the transceiver to send an instantiation termination request of the VNF component of the second type to the NFVO, so that the NFVO performs instantiation termination on the VNF component of the second type.
The embodiment of the invention discloses electronic equipment, which comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: judging whether a second target CDN edge node needs to be offline in each CDN region; if so, according to the prestored instantiation termination sequence of each type of VNF component in the second target CDN edge node, sequentially aiming at each type of VNF component, controlling the transceiver to send an instantiation termination request of the type of VNF component in the second target CDN edge node to the network function virtualization orchestrator NFVO, so that the NFVO performs instantiation termination on the type of VNF component.
Further, the processor is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
Further, the processor is further configured to, for each type of VNF component in the second target CDN edge node, control the memory to delete the identifier of the resource occupied by the type of VNF component when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO.
Further, the processor is further configured to, after a second target CDN edge node to be offline is determined, control the transceiver to send a pre-offline notification of the second target CDN edge node to the CDN operation management server before controlling the transceiver to send an instantiation termination request carrying a VNF component in the second target CDN edge node to the NFVO for the first time, so that the CDN operation management server sends a scheduling stop request of the second target CDN edge node to the CDN scheduling management server; and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
Further, the processor is further configured to control the transceiver to send an offline notification of the second target CDN edge node to the CDN operation management server after recognizing that all instantiations of each type of VNF component in the second target CDN edge node are terminated, so that the CDN operation management server deletes the second target CDN edge node IP address.
Further, the transceiver is further configured to receive a resource utilization rate reported by each online CDN edge node.
The embodiment of the invention discloses an online device of a CDN edge node, which comprises:
the judging module is used for judging whether the CDN region needs to be accessed to a first target CDN edge node or not according to each CDN region;
and the creating module is used for sending an instantiation creating request of each type of VNF component to a Network Function Virtualization Orchestrator (NFVO) according to the pre-stored instantiation creating sequence of each type of VNF component in the CDN edge node and aiming at each type of VNF component in sequence when the judgment result of the judging module is yes, so that the NFVO performs instantiation creating on the VNF component of the type.
The embodiment of the invention discloses an offline device of CDN edge nodes, which comprises:
the judging module is used for judging whether a second target CDN edge node needs to be offline in each CDN region;
and a termination module, configured to, when a determination result of the determination module is yes, sequentially send, for each type of VNF component, an instantiation termination request of the type of VNF component in the second target CDN edge node to a network function virtualization orchestrator NFVO according to a pre-stored instantiation termination sequence of each type of VNF component in the second target CDN edge node, so that the NFVO performs instantiation termination on the type of VNF component.
The embodiment of the invention discloses an online system of CDN edge nodes, which comprises: any one of the electronic device for performing online of the CDN edge node and the network function virtualization orchestrator NFVO.
The embodiment of the invention discloses an offline system of CDN edge nodes, which comprises: any one of the above electronic device and network function virtualization orchestrator NFVO for performing CDN edge node offline.
The embodiment of the invention discloses an electronic device, which comprises: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program that, when executed by the processor, causes the processor to perform the method steps of any of the methods for an on-line CDN edge node or the method steps of any of the methods for an off-line CDN edge node.
The embodiment of the invention discloses a computer readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the steps of any one of methods for the CDN edge node to be on line or the steps of any one of methods for the CDN edge node to be off line.
The embodiment of the invention discloses a method, a device and a system for loading and unloading CDN edge nodes, wherein the method for loading and unloading the CDN edge nodes comprises the following steps: judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region; if so, according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, sequentially sending an instantiation creation request of the type of VNF component to the network function virtualization orchestrator NFVO for each type of VNF component, so that the NFVO instantiates and creates the type of VNF component. In the embodiment of the invention, when one CDN edge node is on line, the instantiation creation of the VNF components is carried out according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, so as to realize the automatic online process of the CDN edge node.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an online process of a CDN edge node according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an online process of a CDN edge node according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an offline process of a CDN edge node according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an offline process of a CDN edge node according to an embodiment of the present invention;
fig. 5 is a result diagram of an online/offline system of CDN edge nodes according to an embodiment of the present invention;
fig. 6 is a functional diagram of automatic deployment management according to an embodiment of the present invention;
fig. 7 is an electronic device according to an embodiment of the present invention;
fig. 8 is an on-line device diagram of a CDN edge node according to an embodiment of the present invention;
fig. 9 is a view of a downline device of a CDN edge node according to an embodiment of the present invention;
fig. 10 is an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic diagram of an online process of a CDN edge node according to embodiment 1 of the present invention, where the process includes the following steps:
s101: judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region; if yes, S102 is performed, and if no, S101 is performed.
S102: according to a pre-stored instantiation creating sequence of each type of VNF component in the CDN edge node, sending an instantiation creating request of the type of VNF component to a Network Function Virtualization Orchestrator (NFVO) in sequence aiming at each type of VNF component, and enabling the NFVO to create the instantiation of the type of VNF component.
The online method of the CDN edge node provided by the embodiment of the invention is applied to an automatic deployment management unit, the automatic deployment management unit can be arranged in electronic equipment, and the electronic equipment can be a terminal, a server and the like.
The automatic deployment management unit may perform an online operation on an edge node in each CDN region. For each region, it may be determined whether the CDN region needs to get a CDN edge node online, and the CDN edge node to be online is referred to as a first target CDN edge node.
When judging whether the CDN area needs to bring on-line a CDN edge node, the on-line period in which the CDN edge node is stored in advance may be used, and when every time an on-line period is reached, a CDN edge node may be brought on-line. Certainly, the CDN edge node may need to be on-line due to human needs, or the CDN area needs to be on-line due to receiving an on-line request for the CDN edge node in a certain area.
In order to implement an automated online CDN edge node, an instantiation creation order of each type of VNF component in the CDN edge node may be pre-saved, and in general, the instantiation creation order of each type of VNF component in the CDN edge node is the same. If the VNF components in the CDN edge node include VNF components of the types of management component, load balancing component, cache component, and the like, the instantiation creation order of the management components is generally the most advanced, and the instantiation creation order of other components other than the management components, such as the load balancing component, the cache component, is subsequent to the order of the management components. When it is determined that the CDN area needs to go online to the CDN edge node, an instantiation creation request of each type of VNF component may be sent to the NFVO in sequence for each type of VNF component according to a pre-stored instantiation creation order of each type of VNF component in the CDN edge node, so that the NFVO performs instantiation creation on the type of VNF component.
Specifically, referring to the online flowchart of the CDN edge node shown in fig. 2, when sending an instantiation create request of a component of a certain type to the NFVO, the automatic deployment management unit may carry a VNF component ID, where the VNF component ID is used to indicate the type of the VNF component, for example, whether the VNF component is a management component, a cache component, a load balancing component, or the like. Assuming that instantiation creation is performed on the management component, the VNF component ID carried in the instantiation creation request sent by the automatic deployment management unit to the NFVO is an identifier of the management component. The NFVO performs an instantiation creating process on a management component in the CDN edge node, interacts with VNFM, VIM and the like in the instantiation creating process of the management component, automatically arranges various underlying basic setting resources occupied by the management component, such as virtual machines, storage, bandwidth and the like, and follows the general instantiation creating process of the NFVO.
In fig. 2, an instantiation creation process of other components besides the management component is also introduced, and the VNF component ID carried in the instantiation creation request sent by the automatic deployment management unit to the NFVO is an identifier of the other components. The NFVO performs an instantiation creating process on other components in the CDN edge node, interacts with VNFM, VIM and the like in the instantiation creating process of the other components, automatically arranges various underlying basic setting resources occupied by the other components, such as virtual machines, storage, bandwidth and the like, and follows the general instantiation creating process of the NFVO.
In the embodiment of the invention, when one CDN edge node is on line, the instantiation creation of the VNF components is carried out according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, so as to realize the automatic online process of the CDN edge node.
Example 2:
in order to improve the resource utilization rate, as shown in fig. 2, the automatic deployment management unit may bring the CDN edge node online when the load reaches a critical value according to the overall load condition of the CDN edge node in the CDN region. On the basis of the foregoing embodiment, in the embodiment of the present invention, the determining whether the CDN area needs to be brought online by the first target CDN edge node includes:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
In the embodiment of the present invention, each online CDN edge node may periodically report its resource utilization, so that the automatic deployment management unit may know the overall load condition of each CDN area. The automatic deployment management unit may determine whether to bring on line a CDN edge node according to a resource rate of each CDN edge node that has brought on line, specifically, a first resource utilization threshold and a quantity threshold are pre-stored, identify a resource utilization rate of each CDN edge node in the CDN edge node, identify a CDN edge node that has brought on line with a resource utilization rate greater than a preset first resource utilization threshold, and determine whether the quantity of CDN edge nodes that have brought on line with an identified resource utilization rate greater than the preset first resource utilization threshold satisfies the preset quantity threshold, if so, consider that an on-line condition of the CDN edge node is satisfied, and determine that one CDN edge node that needs to come on line.
Generally, when the overall load of the CDN edge node in the CDN region is large, in order to better process traffic, an online CDN edge node is required, and therefore, the value of the first resource utilization should be large, for example, 90%, 95%, and the like. The pre-stored quantity threshold is related to the quantity of the CDN edge nodes that have been online in the CDN edge node, and the quantity threshold may be stored in a proportional manner, for example, may be 80%, and if the quantity of the CDN edge nodes that have been online is 10, and the resource utilization rate of 9 CDN edge nodes is greater than the first resource utilization threshold, another CDN edge node may be online.
The method determines whether a CDN edge node needs to be on-line or not in a mode of resource utilization rate and quantity, and effectively improves the resource utilization rate in the whole CDN area.
Example 3:
after the NFVO completes the creation of the instantiation of the VNF component in the first target CDN edge node, the VNF component occupies the underlying infrastructure resources, such as resources of a virtual machine, storage, bandwidth, and the like. The NFVO may store, for each type of VNF component in the first target CDN edge node, an identifier of a resource occupied by the VNF component, so that the NFVO knows which resources occupied by each type of VNF component in the first target CDN edge node are released when the first target CDN edge node is subsequently offline.
When the automatic deployment management unit performs an online operation on the CDN edge, the automatic deployment management unit may perform the online operation on a single CDN edge node, and when the automatic deployment management unit sends an instantiation creation request of a VNF component in the CDN edge node, which is in the most advanced instantiation creation order, to the NFVO, the automatic deployment management unit may further carry a creation start identifier, which is used to notify the NFVO to start instantiation creation of a first VNF component in the CDN edge node. And when sending an instantiation creation request of a VNF component in the CDN edge node that is the most posterior in the instantiation creation order to the NFVO, the NFVO may also carry an end creation identifier for notifying the NFVO of starting instantiation creation of the last VNF component in the CDN edge node. The NFVO may generate an association identifier, and after the instantiation of each type of VNF component is created, store the association identifier and the identifier of the resource occupied by the type of VNF component. And after the instantiation of each type of VNF component in the first target CDN edge node is completely created, sending the association identifier of the first target edge node to the automatic deployment management unit, so that the automatic deployment management unit notifies the NFVO of the association identifier of the CDN edge node to be downlinked when wanting to downline the first target CDN edge node, so that the NFVO can accurately find out which resources are occupied by each type of VNF component in the CDN edge node to be downlinked, thereby implementing accurate release of resources.
Of course, the association identifier may also be generated by the automatic deployment management unit, or the automatic deployment management unit may perform online operation on multiple CDN edge nodes at the same time, so that the NFVO knows which CDN edge node a VNF component of a certain type is directed to when instantiating and creating the VNF component of the certain type, as shown in fig. 2, when sending an instantiation creation request to the NFVO, the automatic deployment management may carry not only an ID of the VNF component, but also a task ID, where the task ID may be understood as an association identifier of each type of VNF component in a first target CDN edge node, and associate each type of VNF component in the first target CDN edge node. Thus, after the creation of the instantiation of each type of VNF component is completed, the VFVO saves the identifier that associates the resource occupied by each type of VNF component with the identifier.
Of course, the identification of the resources occupied by each type of VNF component within the first target CDN edge node may also be maintained by the autonomic deployment management unit.
The NFVO may send, for each type of VNF component within the CDN edge node, an instantiation creation completion notification of the type of VNF component to the NFVO after creation of instantiation of the type of VNF component is completed. As shown in fig. 2, the instantiation creation completion notification carries a task ID, a component ID, an ID of a virtual machine occupied by a VNF component, an ID of an occupied storage, an ID of an occupied bandwidth, and the like.
The automatic deployment management unit stores, for each type of VNF component in a first target CDN edge node, an identifier of a resource occupied by the type of VNF component carried in an instantiation completion notification when the instantiation completion notification of the type of VNF component sent by the NFVO is received. Namely, the corresponding relation of task ID, VNF component ID, virtual machine ID, storage ID and bandwidth ID is saved.
As shown in fig. 2, after identifying that all VNF components of each type in the first target CDN edge node are instantiated and created, the automatic deployment management unit may add a management object, store instantiation information of all VNF components in the first target CDN edge node, and store the instantiation information in a unit of a CDN area, that is, store an ID of the CDN area, a task ID, an ID of the VNF component, an ID of a virtual machine occupied by the VNF component, an ID of occupied storage, an ID of occupied bandwidth, and the like. The automatic deployment unit also allocates a node ID for the online first target CDN edge node, and replaces the task ID with the node ID.
The task ID, i.e. the association identity, may be, for example, a, b, etc.
Example 4:
in order to enable an online CDN edge node to normally provide a service, on the basis of the foregoing embodiments, in an embodiment of the present invention, an NFVO may further send an IP address of a first target CDN edge node to an automatic deployment management unit, where the automatic deployment management unit receives the IP address of the first target CDN edge node sent by the NFVO;
after all the VNF components of each type in the first target CDN edge node are identified to be instantiated and created, an online notification of the first target CDN edge node is sent to a CDN operation management server, the online notification includes an IP address of the first target CDN edge node, and the CDN operation management server manages the first target CDN edge node.
The VNF components in the general CDN edge node include VNF components of types such as a management component, a load balancing component, and a cache component, the instantiation creation order of the general management component is the most advanced, and the management component may play a certain management role on other components in the CDN edge node except the management component, so that the IP address in the first target CDN edge node may be an IP address of the management component. Of course, the IP address of the first target CDN edge node may also be the IP addresses of all VNF components contained therein.
As shown in fig. 2, after recognizing that all VNF components of each type in a first target CDN edge node are instantiated and created, the automatic deployment management unit may send an online notification of the first target CDN edge node to the CDN operation management server, where the online notification includes an IP address of the first target CDN edge node, so that the CDN operation management server manages the first target CDN edge node. The online notification may further include a node identifier of the first target CDN edge node.
When the CDN operation management server manages the first target CDN edge node, the CDN operation management server may access the first target CDN edge node according to an IP address of the first target CDN edge node, and configure application parameters for the first target CDN edge node, for example, may configure a node identifier, a time period, and report a utilization rate of which resources, so that the CDN edge node may report the resource utilization rate, for example, report a CPU utilization rate, a bandwidth utilization rate, and the like, to the automatic deployment management unit at regular intervals. During the reporting, the identifier of the CDN edge node may also be carried so that the automatic deployment management unit may know which CDN edge node reports, and certainly, may also report a CDN area where the CDN edge node is located so that the automatic deployment management unit may quickly know which CDN edge node in that CDN area reports.
The CDN operation management server may also send updated regional scheduling information to the CDN scheduling management server to request the CDN scheduling management server to schedule the first target CDN edge node that is online, and schedule the request of the user to the CDN edge node that is online.
Example 5:
when a VNF component in a CDN edge node fails to create an instantiation, if the VNF component fails to create an instantiation, resources occupied by the VNF component cannot be released for the VNF component that has completed the creation of an instantiation in the CDN edge node, even if manual instantiation is terminated, there may be a situation of wrong deletion or missed deletion. Based on this, the automatic deployment management unit may automatically terminate the instantiation of the VNF component that has completed the creation, and on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
receiving instantiation creation failure notification of a VNF component of a first type, and determining a termination sequence of each VNF component of a second type after instantiation creation is completed according to an instantiation termination sequence of each VNF component of a first type in a first target CDN edge node and the VNF component of the first type;
according to the termination sequence of each second-type VNF component after the creation of instantiation is completed, sending an instantiation termination request of the second-type VNF component to the NFVO for each second-type VNF component, and enabling the NFVO to terminate the instantiation of the second-type VNF component.
In the embodiment of the present invention, the type of the VNF component that has failed to create an instantiation is referred to as a first type, and the type of the VNF component that has completed creating an instantiation is referred to as a second type. After the instantiation of the VNF component of the first type fails to be created, the NFVO may send an instantiation termination creation failure notification of the VNF component of the first type to the automatic deployment management unit.
An instantiation termination order of each type of VNF component within the first target CDN edge node is maintained in the automated deployment management unit, which is typically the reverse of the instantiation creation order.
The automatic deployment management unit, upon receiving the instantiation creation failure notification of the VNF component of the first type, may determine, according to the instantiation termination order of each type of VNF component within the first target CDN edge node and the VNF component of the first type, a termination order of each type of VNF component of the second type that has completed instantiation creation. In each type of VNF component in the first target CDN edge node in which the instantiation termination order is arranged, starting with the VNF component of the first type, VNF components located after the VNF component of the first type are all VNF components of the second type, and the arrangement order between the VNF components of the second type located after the first type is the termination order of each VNF component of the second type created for the completed instantiation.
Assuming that the first target CDN edge node includes VNF components of a, b, c, d, 4 types, the instantiation creation order of the VNF components of 4 types is a, b, c, and d, and the VNF component of the first type is failed to be instantiated and created, the automatic deployment management unit may determine, according to the first type c, that each VNF component of the second type that has completed the instantiation creation is b and a, and instantiate and terminate the VNF components of types b and a.
When the instantiation termination sequence of the VNF components in the first target CDN edge node is stored as d, c, b, and a, according to the first type c, it is determined that the termination sequence of each second type of VNF component that has completed instantiation creation is b and a.
After determining the termination sequence of each second-type VNF component that has completed instantiation and creation, the automatic deployment management unit may send, to the NFVO, an instantiation termination request of the second-type VNF component for each second-type VNF component according to the termination sequence of each second-type VNF component that has completed instantiation and creation, so that the NFVO performs instantiation termination on the second-type VNF component.
If the automatic deployment management unit performs online operation on the CDN edge, the online operation is performed on a single CDN edge node, the NFVO generates a correlation identifier and the NFVO stores the identifier of the resource occupied by the VNF component, and when the instantiation creation of a certain VNF component fails, the VNF component ID is only carried in the instantiation termination request.
If the automatic deployment management unit is performing online operation on the CDN edge, or the automatic deployment management unit may perform online operation on a plurality of CDN edge nodes at the same time. If the NFVO stores the identifier of the resource occupied by the VNF component, when an instantiation creation of a certain VNF component fails, the instantiation creation identification request needs to carry a task ID in addition to the VNF component ID.
When the automatic deployment management unit stores the identifier of the resource occupied by the VNF component in the CDN edge node, in order to enable the NFVO to quickly know the resource occupied by the VNF component of the second type so as to quickly release the resource, as shown in fig. 2, when the automatic deployment management unit sends an instantiation termination request to the NFVO, the instantiation termination request may further carry a task ID, a VNF component ID, and the identifier of the resource occupied by the VNF component, which may include a virtual machine ID, a storage ID, a bandwidth ID, and the like. After completing instantiation termination of the VNF component of the second type, the NFVO may send an instantiation termination completion notification of the VNF component of the second type to the automatic deployment management unit, where the instantiation termination completion notification carries a task ID and a VNF component ID. After receiving the VNF instantiation termination completion notification, the automatic deployment management unit may delete the saved identifier of the resource occupied by the VNF component corresponding to the task ID, for example, the virtual machine ID, the storage ID, the bandwidth ID, and the like.
When the NFVO terminates the instantiation of the VNF component of the second type, the NFVO follows an instantiation termination procedure common to VFVOs.
When instantiation creation of a certain VNF component fails, the process of terminating instantiation of other VNF components that have completed instantiation creation is referred to as a rollback process. In the rollback flow, the automatic deployment management unit sends an instantiation termination request to the NFVO, so that the correct release of resources is realized.
The task IDs are the same for the same CDN edge node.
Example 6:
fig. 3 is a schematic diagram of an offline process of a CDN edge node according to an embodiment of the present invention, where the process includes the following steps:
s301: judging whether a second target CDN edge node needs to be offline in each CDN region; if yes, go to S302, if no, go to S301.
S302: and sending an instantiation termination request of each type of VNF component in the second target CDN edge node to a network function virtualization orchestrator NFVO in sequence aiming at each type of VNF component according to a pre-stored instantiation termination sequence of each type of VNF component in the second target CDN edge node, so that the NFVO performs instantiation termination on the type of VNF component.
The offline method of the CDN edge node provided by the embodiment of the invention is applied to an automatic deployment management unit, the automatic deployment management unit can be arranged in electronic equipment, and the electronic equipment can be a terminal, a server and the like.
The automatic deployment management unit may perform offline operation on the edge node in each CDN region. For each region, it may be determined whether the CDN region needs to offline the CDN edge node, and the CDN edge node to be offline is referred to as a second target CDN edge node.
When judging whether the CDN area needs to offline the CDN edge node, the offline period of each CDN edge node may be pre-saved, and when the offline period of a certain CDN edge node is reached, the CDN edge node may be offline. Certainly, the CDN edge node may be manually offline, and if an offline request for a CDN edge node in a certain area is received, the CDN edge node needs to be offline in the CDN area.
In order to realize the automatic offline second target CDN edge node, an instantiation termination sequence of each type of VNF component in the second target CDN edge node may be pre-saved, and the instantiation termination sequence of each type of VNF component in the CDN edge node is generally the same. If the VNF components in the CDN edge node include VNF components of the types of management component, load balancing component, cache component, and the like, the instantiation termination sequence of the management component is generally the most backward, and the instantiation termination sequences of other components other than the management component, such as the load balancing component and the cache component, are before the sequence of the management component. When it is determined that the CDN area needs to drop the second target CDN edge node, an instantiation termination request for each type of VNF component may be sent to the NFVO in sequence for each type of VNF component according to a pre-stored instantiation termination order for each type of VNF component in the second target CDN edge node, so that the NFVO performs instantiation termination on the type of VNF component. The instantiation termination request carries the VNF component ID and the association identifier for associating each type of VNF component in the second target CDN edge node, so that the NFVO can determine which resources the VNF component of the type occupies according to the association identifier and the VNF component ID, and release the resources, thereby terminating instantiation of the VNF component of the type.
Specifically, referring to the CDN edge node offline flow diagram shown in fig. 4, when sending an instantiation termination request of a VNF component of a certain type to the NFVO, the automatic deployment management unit may carry the VNF component ID and the task ID. Assuming that instantiation termination is performed on the management component, the VNF component ID carried in the instantiation termination request sent by the automatic deployment management unit to the NFVO is an identifier of the management component. The NFVO performs an instantiation termination process on a management component in the CDN edge node, interacts with VNFM, VIM and the like in the instantiation termination process of the management component, releases various underlying basic setting resources occupied by the management component, such as virtual machines, storage, bandwidth and the like, and follows the general instantiation termination process of the NFVO.
In fig. 4, an instantiation termination process of other components besides the management component is also described, where VNF component IDs carried in an instantiation termination request sent by the automatic deployment management unit to the NFVO are identifications of the other components. The NFVO performs an instantiation termination process on other components in the CDN edge node, interacts with VNFM, VIM and the like in the instantiation termination process of the other components, releases various underlying basic setting resources occupied by the other components, such as virtual machines, storage, bandwidth and the like, and follows the general instantiation termination process of the NFVO.
In the embodiment of the invention, when one CDN edge node is offline, the instantiation of the VNF components is terminated according to the pre-stored instantiation termination sequence of each type of VNF component in the CDN edge node, so that the automatic CDN edge node offline process is realized.
Example 7:
in order to improve the resource utilization rate, as shown in fig. 4, the automatic deployment management unit may offline the CDN edge node when the load reaches a critical value according to the overall load condition of the CDN edge node in the CDN region. On the basis of the foregoing embodiment, in the embodiment of the present invention, the determining whether the second target CDN edge node needs to be offline in the CDN area includes:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
In the embodiment of the present invention, each offline CDN edge node may report its resource utilization periodically, so that the automatic deployment management unit may know the overall load condition of each CDN area. The automatic deployment management unit may determine whether to take off the line of one CDN edge node according to a resource rate of each CDN edge node that has come on the line, specifically, may pre-store a second resource utilization threshold, identify a resource utilization rate of each CDN edge node in the CDN edge node, identify whether there is a CDN edge node that has come on the line in the CDN region where the resource utilization rate is less than the preset second resource utilization threshold, and call the CDN edge node whose resource utilization rate is less than the preset second resource utilization as a second target CDN edge node. And if the second target CDN edge node exists, performing offline operation on the CDN edge node.
Generally, when the overall load of a CDN edge node in a CDN area is small, the CDN edge node may be offline to improve the resource utilization in order to process less traffic by the CDN edge node. The value of the second resource utilization should be smaller, for example, 20%, 15%, etc.
Whether a CDN edge node needs to be offline is determined by adopting a mode according to the resource utilization rate, so that the resource utilization rate in the whole CDN area is effectively improved.
Example 8:
in order to enable the NFVO to quickly know the resources occupied by each type of VNF component and to quickly release the resources, as shown in fig. 4, the instantiation termination request sent to the NFVO by the automatic deployment management unit may carry, in addition to the task ID and the VNF component ID, the identifier of the resources occupied by the VNF component, which may include a virtual machine ID, a storage ID, a bandwidth ID, and the like. After a VNF component in the CDN edge node terminates instantiation, the saved identifier of the resource occupied by the VNF component is useless, and in order to save the storage space of the automatic deployment management unit, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
for each type of VNF component in the second target CDN edge node, when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO, delete the identifier of the resource occupied by the type of VNF component.
In the embodiment of the present invention, after completing instantiation termination of a certain type of VNF component, the NFVO may send a notification of completing instantiation termination of the VNF component of the type to the automatic deployment management unit, where the notification of completing instantiation termination carries a task ID and uses the VNF component ID. After receiving the VNF instantiation termination completion notification, the automatic deployment management unit may delete the identifier of the resource occupied by the VNF component corresponding to the saved task ID, such as the virtual machine ID, the storage ID, and the bandwidth ID. When the VNF component is instantiated and terminated, the NFVO follows an instantiation termination flow commonly used by VFVOs.
Example 9:
on the basis of the foregoing embodiments, in the embodiment of the present invention, as shown in fig. 4, after a second target CDN edge node to be offline is determined, before an instantiation termination request of a VNF component of the type in the second target CDN edge node is sent to the NFVO for the first time, an automatic deployment management unit sends a pre-offline notification of the second target CDN edge node to a CDN operation management server, so that the CDN operation management server sends a request for stopping scheduling of the second target CDN edge node to a CDN scheduling management server, and the CDN scheduling management server stops scheduling of the CDN edge node to be offline.
After receiving an offline notification response of a second target CDN edge node sent by a CDN operation management server, an automatic deployment management unit sends a service migration request to the second target CDN edge node, so that the second target CDN edge node performs service migration. And may specifically be sent to a management component of the CDN edge node.
After recognizing that all the VNF components of each type in the second target CDN edge node are instantiated and terminated, that is, after the management component instantiation in fig. 4 is terminated, the automatic deployment management unit sends an offline notification of the second target CDN edge node to the CDN operation management server, so that the CDN operation management server deletes the second identifier of the second target CDN edge node and the IP address of the second target CDN edge node.
The node identifier of the second target CDN edge node may be carried in the pre-offline notification, the offline notification, and the scheduling stop request. Of course, other information that may identify the second target CDN edge, such as an IP address of the second target CDN edge node, may also be carried.
Example 10:
fig. 5 is a configuration diagram of an online/offline system of a CDN edge node according to an embodiment of the present invention, where the system includes an electronic device installed with an automatic deployment management unit, a CDN operation management system, a CDN scheduling management system, a VNFM (Network function virtualization Manager), a Virtualized Infrastructure Manager (VIM), a virtualized middleware NFVI (Network function virtualization Infrastructure), and a CDN edge node. The virtualization middleware NFVI has the capability of deploying network function virtualization, and is a generic name of all hardware devices and software components, and the hardware devices such as X86 general server devices and software components such as computing virtualization, storage virtualization, network virtualization and the like. The VIM is responsible for controlling and managing the NFVI computing, storage, and network resources. The VNFM is used for virtualized network function lifecycle management.
The interaction process between the automatic deployment management unit and the CDN operation management system, the CDN scheduling management system, the NFVO, and the like is described in the above embodiments, and is not described herein again.
And the CDN operation management system can manage and schedule CDN edge nodes. The NFVO may interact with the VNFM when creating or terminating instantiations of VNF components within the CDN edge node.
FIG. 6 is a functional diagram of an automatic deployment management unit according to an embodiment of the present invention; the automatic deployment management unit can perform service processing, specifically, the pulling-up of a new node instance and the termination of an old node instance are triggered according to the overall load condition of edge nodes in each region of the CDN; when a certain VNF component instantiation creation fails, the rollback operation is taken charge. The automatic deployment management unit can perform instance resource management, specifically, record related information of each component instance in the task execution process, such as task ID, component ID, virtual machine ID, storage ID, and network ID; and recording relevant information of each component of the node, such as area ID, edge node ID, component ID, CPU utilization rate and bandwidth utilization rate. The automatic deployment management unit can perform policy configuration, specifically configure resource threshold values of node online and node offline; the automatic deployment management unit can perform external interaction, and smooth on-line and off-line of the nodes are realized.
The interaction process between the automatic deployment management unit and the CDN operation management system, the CDN scheduling management system, the NFVO, and the like is described in the above embodiments, and is not described herein again.
Example 11:
fig. 7 is an electronic device provided in an embodiment of the present invention, where the electronic device includes: a processor 71, a memory 72, and a transceiver 73;
in fig. 7, the bus architecture may include any number of interconnected buses and bridges, with one or more processors 71, represented by processor 71, and various circuits of memory 72, represented by memory 72, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The transceiver 73 may be a number of elements, including a transmitter and a receiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 71 is responsible for managing the bus architecture and general processing, and the memory 72 may store data used by the processor 71 in performing operations.
Alternatively, the processor 71 may be a CPU (central processing unit), an ASIC (Application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
The processor 71 is configured to read the program in the memory 72, and execute the following processes: judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region; if so, according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, sequentially aiming at each type of VNF component, controlling the transceiver 73 to send an instantiation creation request of the type of VNF component to the network function virtualization orchestrator NFVO, so that the NFVO performs instantiation creation on the type of VNF component.
Further, the processor 71 is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
Further, the processor 71 is further configured to, for each type of VNF component in the first target CDN edge node, control the memory 72 to store, when receiving an instantiation creation completion notification of the type of VNF component sent by the NFVO, an identifier of a resource occupied by the type of VNF component carried in the instantiation creation completion notification.
Further, the transceiver 73 is further configured to receive an IP address of the first target CDN edge node sent by the NFVO;
the processor 71 is further configured to control the memory 72 to send an online notification of the first target CDN edge node to a CDN operation management server after all instantiation creation of each type of VNF component in the first target CDN edge node is identified, where the online notification includes an IP address of the first target CDN edge node, so that the CDN operation management server manages the first target CDN edge node.
Further, the transceiver 73 is further configured to receive a resource utilization rate reported by each online CDN edge node.
Further, the transceiver 73 is further configured to receive an instantiation creation failure notification of a VNF component of the first type;
the processor 71 is further configured to determine, according to the instantiation termination order of each type of VNF component in the first target CDN edge node and the VNF component of the first type, a termination order of each type of VNF component that has completed instantiation creation; according to the termination sequence of each VNF component of the second type that has completed the creation of instantiation, for each VNF component of the second type, controlling the transceiver 73 to send an instantiation termination request of the VNF component of the second type to the NFVO, so that the NFVO performs instantiation termination on the VNF component of the second type.
Or;
the processor 71 is configured to read the program in the memory 72, and execute the following processes: judging whether a second target CDN edge node needs to be offline in each CDN region; if so, according to the pre-stored instantiation termination sequence of each type of VNF component in the second target CDN edge node, sequentially controlling the transceiver 73 to send an instantiation termination request of the type of VNF component in the second target CDN edge node to the network function virtualization orchestrator NFVO, so that the NFVO performs instantiation termination on the type of VNF component.
Further, the processor 71 is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
Further, the processor 71 is further configured to, for each type of VNF component in the second target CDN edge node, control the memory 72 to delete the identifier of the resource occupied by the type of VNF component when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO.
Further, the processor 71 is further configured to, after a second target CDN edge node to be offline is determined, control the transceiver 73 to send a pre-offline notification of the second target CDN edge node to the CDN operation management server before controlling the transceiver 73 to send an instantiation termination request carrying a VNF component in the second target CDN edge node to the NFVO for the first time, so that the CDN operation management server sends a scheduling stop request of the second target CDN edge node to the CDN scheduling management server; and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
Further, the processor 71 is further configured to control the transceiver 73 to send an offline notification of the second target CDN edge node to the CDN operation management server after recognizing that all instantiation termination of each type of VNF component in the second target CDN edge node is completed, so that the CDN operation management server deletes the IP address of the second target CDN edge node.
Further, the transceiver 73 is further configured to receive a resource utilization rate reported by each online CDN edge node.
Example 12:
fig. 8 is a device for getting on line of a CDN edge node according to an embodiment of the present invention, where the device includes:
the determining module 81 is configured to determine, for each CDN area, whether the CDN area needs to get on-line a first target CDN edge node;
and a creating module 82, configured to, when a determination result of the determining module is yes, send an instantiation creating request of each type of VNF component to a network function virtualization orchestrator NFVO according to a pre-stored instantiation creating order of each type of VNF component in the CDN edge node in sequence for each type of VNF component, so that the NFVO instantiates and creates the VNF component of the type.
Further, the determining module 81 is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
Further, the apparatus further comprises:
a saving module 83, configured to, for each type of VNF component in the first target CDN edge node, when receiving an instantiation creation completion notification of the type of VNF component sent by the NFVO, save an identifier of a resource occupied by the type of VNF component carried in the instantiation creation completion notification.
Further, the apparatus further comprises:
a management module 84, configured to receive an IP address of the first target CDN edge node sent by the NFVO;
after all the VNF components of each type in the first target CDN edge node are identified to be instantiated and created, an online notification of the first target CDN edge node is sent to a CDN operation management server, the online notification includes an IP address of the first target CDN edge node, and the CDN operation management server manages the first target CDN edge node.
Further, the apparatus further comprises:
the receiving module 85 is configured to receive the resource utilization rate reported by each online CDN edge node.
Further, the apparatus further comprises:
a termination module 86, configured to receive an instantiation creation failure notification of a VNF component of a first type, and determine, according to an instantiation termination order of each VNF component of a second type in a first target CDN edge node and the VNF component of the first type, a termination order of each VNF component of a second type that has completed instantiation creation;
according to the termination sequence of each second-type VNF component that has completed the creation of instantiation, for each second-type VNF component, sending an instantiation termination request of the second-type VNF component to the NFVO, so that the NFVO terminates the instantiation of the second-type VNF component.
Example 13:
fig. 9 is a downloading apparatus for a CDN edge node according to an embodiment of the present invention, where the apparatus includes:
the determining module 91 is configured to determine, for each CDN area, whether a second target CDN edge node needs to be offline in the CDN area;
and a termination module 92, configured to, when a determination result of the determination module is yes, sequentially send, for each type of VNF component, an instantiation termination request of the type of VNF component in the second target CDN edge node to the network function virtualization orchestrator NFVO according to a pre-stored instantiation termination sequence of each type of VNF component in the second target CDN edge node, so that the NFVO performs instantiation termination on the type of VNF component.
Further, the determining module 91 is specifically configured to identify a resource utilization rate of each online CDN edge node in the CDN area;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
Further, the apparatus further comprises:
a deleting module 93, configured to, for each type of VNF component in the second target CDN edge node, delete the identifier of the resource occupied by the type of VNF component when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO.
Further, the apparatus further comprises:
a first management module 94, configured to send a pre-offline notification of a second target CDN edge node to the CDN operation management server, so that the CDN operation management server sends a scheduling stop request of the second target CDN edge node to the CDN scheduling management server;
and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
Further, the apparatus further comprises:
the second management module 95 is configured to send an offline notification of the second target CDN edge node to the CDN operation management server, so that the CDN operation management server deletes the IP address of the second target CDN edge node.
Further, the apparatus further comprises:
the receiving module 96 is configured to receive the resource utilization rate reported by each online CDN edge node.
Example 14:
fig. 10 is an electronic device provided in an embodiment of the present invention, including: the system comprises a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program that, when executed by the processor, causes the processor to perform the method steps of any of the above-described CDN edge node online methods or perform the method steps of any of the above-described CDN edge node offline methods.
The communication bus mentioned in the electronic device in each of the above embodiments may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
And the communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The processor may be a general-purpose processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 15:
an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the program causes the electronic device to perform the steps of the method in any of the above methods for online loading of a CDN edge node or perform the steps of the method in any of the above methods for offline loading of a CDN edge node.
The computer readable storage medium in the above embodiments may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (30)

1. An online method of a CDN edge node is characterized by comprising the following steps:
judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region;
if so, according to the prestored instantiation creation sequence of each type of VNF component in the CDN edge node, sequentially sending an instantiation creation request of the type of VNF component to the network function virtualization orchestrator NFVO for each type of VNF component, so that the NFVO instantiates and creates the type of VNF component.
2. The method of claim 1, wherein said determining whether the CDN region needs a first target CDN edge node to go online comprises:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
3. The method of claim 1, wherein the method further comprises:
for each type of VNF component in a first target CDN edge node, when receiving an instantiation creation completion notification of the type of VNF component sent by the NFVO, storing an identifier of a resource occupied by the type of VNF component carried in the instantiation creation completion notification.
4. The method of claim 3, wherein the method further comprises:
receiving the IP address of the first target CDN edge node sent by the NFVO;
after all the VNF components of each type in the first target CDN edge node are identified to be instantiated and created, an online notification of the first target CDN edge node is sent to a CDN operation management server, the online notification includes an IP address of the first target CDN edge node, and the CDN operation management server manages the first target CDN edge node.
5. The method of claim 1, wherein the method further comprises:
and receiving the resource utilization rate reported by each online CDN edge node.
6. The method of claim 1, wherein the method further comprises:
receiving instantiation creation failure notification of a VNF component of a first type, and determining a termination sequence of each VNF component of a second type after instantiation creation is completed according to an instantiation termination sequence of each VNF component of a first type in a first target CDN edge node and the VNF component of the first type;
according to the termination sequence of each second-type VNF component that has completed the creation of instantiation, for each second-type VNF component, sending an instantiation termination request of the second-type VNF component to the NFVO, so that the NFVO terminates the instantiation of the second-type VNF component.
7. A CDN edge node offline method is characterized by comprising the following steps:
judging whether a second target CDN edge node needs to be offline in each CDN region;
if yes, according to a prestored instantiation termination sequence of each type of VNF component in the second target CDN edge node, sequentially sending an instantiation termination request of the type of VNF component in the second target CDN edge node to a network function virtualization orchestrator NFVO for each type of VNF component, so that the NFVO instantiates and terminates the type of VNF component.
8. The method of claim 7, wherein the determining whether a second target CDN edge node needs to be offline within the CDN region comprises:
identifying the resource utilization rate of each online CDN edge node in the CDN region;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
9. The method of claim 7, wherein the method further comprises:
for each type of VNF component in the second target CDN edge node, when receiving the instantiation termination completion notification of the type of VNF component sent by the NFVO, delete the identifier of the resource occupied by the type of VNF component.
10. The method of claim 7, wherein after determining a second target CDN edge node to be offline, before sending an instantiation terminate request to the NFVO for a first time that carries a VNF component in the second target CDN edge node, the method further comprises:
sending a pre-offline notification of a second target CDN edge node to a CDN operation management server, so that the CDN operation management server sends a scheduling stopping request of the second target CDN edge node to the CDN scheduling management server;
and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
11. The method of claim 7, wherein upon identifying that all instantiation terminations of each type of VNF component within a second target CDN edge node are complete, the method further comprises:
and sending an offline notification of the second target CDN edge node to the CDN operation management server, so that the CDN operation management server deletes the IP address of the second target CDN edge node.
12. The method of claim 7, wherein the method further comprises:
and receiving the resource utilization rate reported by each online CDN edge node.
13. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: judging whether the CDN region needs to be accessed to a first target CDN edge node or not aiming at each CDN region; if yes, according to a pre-stored instantiation creating sequence of each type of VNF component in the CDN edge node, sequentially aiming at each type of VNF component, controlling the transceiver to send an instantiation creating request of the type of VNF component to a network function virtualization orchestrator NFVO, and enabling the NFVO to perform instantiation creating on the type of VNF component.
14. The electronic device of claim 13, wherein the processor is specifically configured to identify a resource utilization for each CDN edge node that is online within the CDN region;
judging whether the number of the CDN edge nodes which are on-line and have the resource utilization rate larger than a preset first resource utilization rate threshold reaches a preset number threshold or not;
and if so, determining a first target CDN edge node which needs to be on-line.
15. The electronic device of claim 13, wherein the processor is further configured to, for each type of VNF component within the first target CDN edge node, control the memory to store an identification of resources occupied by the type of VNF component carried in the instantiation creation completion notification when the instantiation creation completion notification for the type of VNF component sent by the NFVO is received.
16. The electronic device of claim 15, wherein the transceiver is further configured to receive an IP address of the first target CDN edge node sent by the NFVO;
the processor is further configured to control the memory to send an online notification of the first target CDN edge node to a CDN operation management server after recognizing that all VNF components of each type in the first target CDN edge node are instantiated and created, where the online notification includes an IP address of the first target CDN edge node, so that the CDN operation management server manages the first target CDN edge node.
17. The electronic device of claim 13, wherein the transceiver is further configured to receive a resource utilization reported by each CDN edge node that is online.
18. The electronic device of claim 13, wherein the transceiver is further to receive an instantiation creation failure notification of a VNF component of a first type;
the processor is further configured to determine, according to an instantiation termination order of each type of VNF component in the first target CDN edge node and the VNF component of the first type, a termination order of each type of VNF component of the second type that has completed instantiation creation; according to the termination sequence of each VNF component of the second type created after the instantiation is completed, for each VNF component of the second type, controlling the transceiver to send an instantiation termination request of the VNF component of the second type to the NFVO, so that the NFVO performs instantiation termination on the VNF component of the second type.
19. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a transceiver;
the processor is used for reading the program in the memory and executing the following processes: judging whether a second target CDN edge node needs to be offline in each CDN region; if so, according to the prestored instantiation termination sequence of each type of VNF component in the second target CDN edge node, sequentially aiming at each type of VNF component, controlling the transceiver to send an instantiation termination request of the type of VNF component in the second target CDN edge node to the network function virtualization orchestrator NFVO, so that the NFVO performs instantiation termination on the type of VNF component.
20. The electronic device of claim 19, wherein the processor is specifically configured to identify a resource utilization for each CDN edge node that is online within the CDN region;
and when the resource utilization rate of the second target CDN edge node is smaller than a preset second resource utilization rate threshold value, determining the second target CDN edge node needing to be offline.
21. The electronic device of claim 19, wherein the processor is further configured to, for each type of VNF component within a second target CDN edge node, control the memory to delete an identification of resources occupied by the type of VNF component when an instantiation termination completion notification for the type of VNF component sent by the NFVO is received.
22. The electronic device of claim 19, wherein the processor is further configured to, after determining a second target CDN edge node to be offline, control the transceiver to send a pre-offline notification of the second target CDN edge node to the CDN operation management server before controlling the transceiver to send an instantiation termination request that carries a VNF component in the second target CDN edge node to the NFVO for the first time, so that the CDN operation management server sends a scheduling stop request of the second target CDN edge node to the CDN scheduling management server; and sending a service migration request to the second target CDN edge node to enable the second target CDN edge node to perform service migration.
23. The electronic device of claim 19, wherein the processor is further configured to control the transceiver to send a notification to the CDN operation management server that the second target CDN edge node is offline to cause the CDN operation management server to delete the second target CDN edge node IP address after identifying that all instantiation of each type of VNF component within the second target CDN edge node is terminated.
24. The electronic device of claim 19, wherein the transceiver is further configured to receive a resource utilization reported by each CDN edge node that is online.
25. An on-line device of a CDN edge node, the device comprising:
the judging module is used for judging whether the CDN region needs to be accessed to a first target CDN edge node or not according to each CDN region;
and the creating module is used for sending an instantiation creating request of each type of VNF component to a Network Function Virtualization Orchestrator (NFVO) according to the pre-stored instantiation creating sequence of each type of VNF component in the CDN edge node and aiming at each type of VNF component in sequence when the judgment result of the judging module is yes, so that the NFVO performs instantiation creating on the VNF component of the type.
26. A CDN edge node downline apparatus, the apparatus comprising:
the judging module is used for judging whether a second target CDN edge node needs to be offline in each CDN region;
and a termination module, configured to, when a determination result of the determination module is yes, sequentially send, for each type of VNF component, an instantiation termination request of the type of VNF component in the second target CDN edge node to a network function virtualization orchestrator NFVO according to a pre-stored instantiation termination sequence of each type of VNF component in the second target CDN edge node, so that the NFVO performs instantiation termination on the type of VNF component.
27. An online system of a CDN edge node, the system comprising: the electronic device according to any of claims 13-18, and a network function virtualization orchestrator NFVO.
28. An offline system of a CDN edge node, the system comprising: the electronic device according to any of claims 19-24, and a network function virtualization orchestrator NFVO.
29. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1-6 or to perform the steps of the method of any one of claims 7-12.
30. A computer-readable storage medium, characterized in that it stores a computer program executable by an electronic device, which program, when run on the electronic device, causes the electronic device to perform the steps of the method of any of claims 1-6, or to perform the steps of the method of any of claims 7-12.
CN201810982679.7A 2018-08-27 2018-08-27 CDN edge node online and offline method, device and system Active CN110868310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810982679.7A CN110868310B (en) 2018-08-27 2018-08-27 CDN edge node online and offline method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810982679.7A CN110868310B (en) 2018-08-27 2018-08-27 CDN edge node online and offline method, device and system

Publications (2)

Publication Number Publication Date
CN110868310A true CN110868310A (en) 2020-03-06
CN110868310B CN110868310B (en) 2022-04-01

Family

ID=69651811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810982679.7A Active CN110868310B (en) 2018-08-27 2018-08-27 CDN edge node online and offline method, device and system

Country Status (1)

Country Link
CN (1) CN110868310B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3972222A1 (en) * 2020-09-21 2022-03-23 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, electronic device, readable storage medium and program for adjusting instance number
CN115499671A (en) * 2022-09-20 2022-12-20 上海哔哩哔哩科技有限公司 Live broadcast push flow service rolling release method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170126433A1 (en) * 2015-11-04 2017-05-04 Futurewei Technologies, Inc. System and Method for VNF Termination Management
WO2017185922A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Service deployment method and apparatus, and network element
CN108234158A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 Method for building up, NFVO and the network system of VNF

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170126433A1 (en) * 2015-11-04 2017-05-04 Futurewei Technologies, Inc. System and Method for VNF Termination Management
WO2017185922A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Service deployment method and apparatus, and network element
CN107332750A (en) * 2016-04-29 2017-11-07 华为技术有限公司 A kind of service deployment method, device and network element
CN108234158A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 Method for building up, NFVO and the network system of VNF

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李中科等: "实现VNF业务连续的VNF虚拟机更新方法研究", 《通信技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3972222A1 (en) * 2020-09-21 2022-03-23 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, electronic device, readable storage medium and program for adjusting instance number
KR20220039530A (en) * 2020-09-21 2022-03-29 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method, device, electronic equipment for adjusting the number of instances and readble storage medium
US11711285B2 (en) 2020-09-21 2023-07-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus, electronic device and readable storage medium for adjusting instance number
KR102565409B1 (en) 2020-09-21 2023-08-09 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method, device, electronic equipment for adjusting the number of instances and readble storage medium
CN115499671A (en) * 2022-09-20 2022-12-20 上海哔哩哔哩科技有限公司 Live broadcast push flow service rolling release method and device
CN115499671B (en) * 2022-09-20 2024-02-06 上海哔哩哔哩科技有限公司 Live broadcast push stream service rolling release method and device

Also Published As

Publication number Publication date
CN110868310B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2020052301A1 (en) Resource scheduling method and device
WO2020181813A1 (en) Task scheduling method based on data processing and related device
US8209272B2 (en) Dynamic computation of optimal placement for services in a distributed computing system
EP3518465B1 (en) Method and device for initiating software modification
US20150089505A1 (en) Systems and methods for fault tolerant batch processing in a virtual environment
US10425475B2 (en) Distributed data management
US20210223978A1 (en) Updating operating system images of inactive compute instances
CN110868310B (en) CDN edge node online and offline method, device and system
CN111897558A (en) Kubernets upgrading method and device for container cluster management system
EP3522449B1 (en) Service state transition method and device
CN108319492B (en) Method, device and system for resetting physical machine
CN106484542B (en) Method and device for processing overlapping node event in distributed system
US20110179173A1 (en) Conditional dependency in a computing cluster
CN111131131B (en) Vulnerability scanning method and device, server and readable storage medium
US11061779B2 (en) System and method for orchestrated backup in a virtualized environment
CN109992408B (en) Resource allocation method, device, electronic equipment and storage medium
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN109783196B (en) Virtual machine migration method and device
CN108804152B (en) Method and device for adjusting configuration parameters
CN110555009A (en) processing method and device for Network File System (NFS) service
CN110113187B (en) Configuration updating method and device, configuration server and configuration system
CN114816866A (en) Fault processing method and device, electronic equipment and storage medium
CN114296909A (en) Automatic node capacity expansion and reduction method and system according to kubernets event
CN111176674B (en) OSGI plug-in upgrading method and device, electronic equipment and storage medium
CN115774614A (en) Resource regulation and control method, terminal and storage medium

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