CN108063735B - VNF cluster distribution method and device - Google Patents

VNF cluster distribution method and device Download PDF

Info

Publication number
CN108063735B
CN108063735B CN201711407744.5A CN201711407744A CN108063735B CN 108063735 B CN108063735 B CN 108063735B CN 201711407744 A CN201711407744 A CN 201711407744A CN 108063735 B CN108063735 B CN 108063735B
Authority
CN
China
Prior art keywords
cluster
vnf
dynamic
static
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711407744.5A
Other languages
Chinese (zh)
Other versions
CN108063735A (en
Inventor
郑瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201711407744.5A priority Critical patent/CN108063735B/en
Publication of CN108063735A publication Critical patent/CN108063735A/en
Application granted granted Critical
Publication of CN108063735B publication Critical patent/CN108063735B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data

Abstract

The invention relates to a distribution method and a device of a Virtual Network Function (VNF) cluster, wherein the method comprises the following steps: receiving a VNF cluster allocation request, wherein the VNF cluster allocation request is used for requesting a VNF cluster carrying the created VPC service; acquiring dynamic data of each VNF cluster in the plurality of managed VNF clusters according to the VNF cluster allocation request; and taking a VNF cluster of which the dynamic data meet preset dynamic indexes as a cluster for bearing the VPC service. Therefore, the invention allocates the clusters for bearing the VPC service according to the dynamic data of the VNF clusters, thereby reasonably allocating the VNF clusters and avoiding the situations that the VPC service borne by a part of the VNF clusters is too high and the VPC service borne by a part of the VNF clusters is insufficient.

Description

VNF cluster distribution method and device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a VNF cluster allocation method and apparatus.
Background
The Network Function Virtualization (NFV) technology performs software and hardware decoupling on the conventional Network device, uses a standard x86 server to replace physical hardware, and abstracts the Network Function into a single software entity, thereby implementing software, virtualization and standardization of the Network device. The virtualized software entity is called a virtualized Network Function (VNF for short).
The VNF device may include a virtual Router (vruter), a virtual Broadband Remote Access Server (vbars), a virtual firewall (vffw), and the like. The VNF device provides services in the form of a VNF cluster, in other words, the VNF cluster is used as a Virtual Private Cloud (VPC) gateway resource. Wherein, one VNF cluster may serve as a gateway for multiple VPCs. A VNF cluster may include one or more VNF devices, and each VNF cluster may carry a certain traffic load.
One or more VNF clusters form a VNF resource pool, and a VNF Manager (English: Manager, VNFM for short) manages the VNF resource pool, so that the uniform distribution of VPC gateway resources is controlled.
However, in the related art, it is difficult for the VNFM to reasonably allocate VNF clusters, so that a situation that VPC traffic carried by a part of VNF clusters managed is too high and VPC traffic carried by a part of VNF clusters is insufficient may occur.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for allocating VNF clusters, which solve the problem that it is difficult to reasonably allocate VNF clusters to VNFM.
According to an aspect of the present invention, there is provided a VNF cluster allocation method applied to a VNF manager, the method including:
receiving a VNF cluster allocation request, wherein the VNF cluster allocation request is used for requesting a VNF cluster carrying the created VPC service;
acquiring dynamic data of each VNF cluster in the plurality of managed VNF clusters according to the VNF cluster allocation request;
and taking a VNF cluster of which the dynamic data meet preset dynamic indexes as a cluster for bearing the VPC service.
Optionally, the using, as the cluster for carrying the VPC service, a VNF cluster whose dynamic data meets a preset dynamic index includes:
when the number of the VNF clusters with the dynamic data meeting the dynamic index is multiple, acquiring static data of the VNF clusters with the dynamic data meeting the dynamic index;
and taking a VNF cluster with the static data meeting a preset static index as a cluster for bearing the VPC service.
Optionally, the obtaining, according to the VNF cluster allocation request, dynamic data of each VNF cluster of the managed multiple VNF clusters includes:
establishing a long connection with each VNF cluster;
sending a subscription message to each VNF cluster, wherein the subscription message is used for subscribing the dynamic data of each VNF cluster;
receiving a response message sent by each VNF cluster aiming at the subscription message;
and receiving the dynamic data sent by each VNF cluster.
Optionally, the subscription packet is further configured to instruct the VNF devices in each VNF cluster to report alarm information;
the method further comprises the following steps:
if the warning information is received, determining whether the dynamic data of the VNF cluster to which the VNF device sending the warning information belongs meets a preset cluster dynamic warning index and/or whether the static data of the VNF cluster to which the VNF device belongs meets a preset cluster static warning index;
and if the dynamic data does not meet the cluster dynamic alarm index and/or the static data does not meet the cluster static alarm index, sending first notification information to network management software.
Optionally, the method further comprises:
if the dynamic data meet the cluster dynamic alarm index and/or the static data meet the cluster static alarm index, determining whether the dynamic data meet a preset cluster dynamic isolation index and/or whether the static data meet a preset cluster static isolation index;
if the dynamic data meet the cluster dynamic isolation index and/or the static data meet the cluster static isolation index, marking the VNF cluster as an unavailable resource and sending second notification information to the network management software; or if the dynamic data does not meet the cluster dynamic isolation index and/or the static data does not meet the cluster static isolation index, sending third notification information to the network management software.
According to another aspect of the present invention, there is provided an apparatus for assigning a VNF cluster, where the apparatus is applied to a VNF manager, and the apparatus includes:
a receiving module, configured to receive a VNF cluster allocation request, where the VNF cluster allocation request is used to request a VNF cluster that carries the created VPC service;
an obtaining module, configured to obtain, according to the VNF cluster allocation request, dynamic data of each VNF cluster of the managed multiple VNF clusters;
and the distribution module is used for taking one VNF cluster of which the dynamic data meet preset dynamic indexes as a cluster for bearing the VPC service.
Optionally, the allocation module is configured to:
when the number of the VNF clusters with the dynamic data meeting the dynamic index is multiple, acquiring static data of the VNF clusters with the dynamic data meeting the dynamic index;
and taking a VNF cluster with the static data meeting a preset static index as a cluster for bearing the VPC service.
Optionally, the obtaining module is configured to:
establishing a long connection with each VNF cluster;
sending a subscription message to each VNF cluster, wherein the subscription message is used for subscribing the dynamic data of each VNF cluster;
receiving a response message sent by each VNF cluster aiming at the subscription message;
and receiving the dynamic data sent by each VNF cluster.
Optionally, the subscription packet is further configured to instruct the VNF devices in each VNF cluster to report alarm information;
the device further comprises:
the determination module is configured to determine, if alarm information is received, whether dynamic data of a VNF cluster to which the VNF device that sends the alarm information belongs meets a preset cluster dynamic alarm index and/or whether static data of the VNF cluster to which the VNF device belongs meets a preset cluster static alarm index;
and the sending module is used for sending first notification information to network management software if the dynamic data does not meet the cluster dynamic alarm index and/or the static data does not meet the cluster static alarm index.
Optionally, the determining module is further configured to: if the dynamic data meet the cluster dynamic alarm index and/or the static data meet the cluster static alarm index, determining whether the dynamic data meet a preset cluster dynamic isolation index and/or whether the static data meet a preset cluster static isolation index;
the sending module is further configured to: if the dynamic data meet the cluster dynamic isolation index and/or the static data meet the cluster static isolation index, marking the VNF cluster as an unavailable resource and sending second notification information to the network management software; or if the dynamic data does not meet the cluster dynamic isolation index and/or the static data does not meet the cluster static isolation index, sending third notification information to the network management software.
By applying the allocation method and device of the VNF cluster provided by the present invention, the VNF manager allocates the cluster for carrying the VPC service according to the dynamic data of the VNF cluster, so that the VNF cluster can be allocated reasonably, and a situation that VPC service carried by a part of VNF cluster is too high (i.e., utilization rate of the part of VNF cluster is too high) and VPC service carried by a part of VNF cluster is not sufficient (i.e., utilization rate of the part of VNF cluster is not sufficient) can be avoided.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a procedure in which VNFMs allocate VNF clusters for carrying VPC traffic.
Fig. 2 is a flowchart of an allocation method of a VNF cluster according to an embodiment of the present invention.
FIG. 3 is a flow diagram of an alert mechanism according to an embodiment of the present invention.
Fig. 4 is a flowchart of an example of an allocation method of a VNF cluster according to an embodiment of the present invention.
Fig. 5 is a block diagram of a configuration of an allocation apparatus of a VNF cluster according to an embodiment of the present invention.
Fig. 6 is a block diagram illustrating a hardware structure of an allocation apparatus of a VNF cluster according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, procedures, components, and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
For convenience of explanation, a part of the concept related to the present invention will be explained first.
Fig. 1 shows a schematic diagram of a procedure in which VNFM allocates VNF clusters for carrying VPC traffic. As shown in fig. 1, the process includes the following steps.
In step S110, the VNF cluster sends a registration packet to the VNFM.
After the VNF cluster is deployed, each VNF device in the VNF cluster sends a registration packet to the VNFM. Accordingly, the VNFM receives the registration message. The registration message sent by the VNF device carries an active IP address, a destination IP address, and a cluster identifier (english: Identification, abbreviated as ID). The source IP address is an IP address of the VNF device, the destination IP address is an IP address of the VNFM, and the cluster ID is used to identify a VNF cluster to which the VNF device that sends the registration packet belongs.
VNF devices with the same cluster ID belong to the same VNF cluster, and VNF devices with different cluster IDs belong to different VNF clusters. The registration message sent by each VNF device belonging to the same VNF cluster carries the same cluster ID, so that the VNFM determines the managed VNF device in each VNF cluster according to the received registration message.
In step S120, the cloud platform sends a VNF cluster allocation request to the VNFM.
Because the VPC is communicated with the tenant data center through the gateway, when a tenant purchases VPC service (service) at a cloud service provider, the tenant applies for VPC gateway resources on the cloud platform. And responding to the VPC gateway resource application of the tenant, the cloud platform sends a VNF cluster allocation request to the VNFM. Accordingly, the VNFM receives a VNF cluster allocation request. The VNF cluster allocation request is for requesting a VNF cluster carrying VPC traffic.
In step S130, VNFM allocates clusters for carrying VPC traffic.
The VNFM allocates a cluster for carrying VPC services based on a principle that the number of VPN instances created on each managed VNF cluster is as same as possible, according to the number of Virtual Private Network (VPN) instances created on each managed VNF cluster.
For example, when allocating a cluster for carrying VPC traffic, the VNFM selects a VNF cluster with a smaller number of created VPN instances as a cluster for carrying VPC traffic, and increases the number of allocation times of the allocated VNF cluster by 1.
In step S140, the VNFM sends a configuration message to the assigned VNF cluster.
The VNFM issues the configuration to the assigned VNF cluster by sending a configuration message to the assigned VNF cluster, where the issued configuration is, for example, a VPN instance configuration. The VPC service is in one-to-one correspondence with the VPN instance configuration.
In step S150, the VNFM sends information of the allocated VNF cluster to the cloud platform.
And the VNFM sends the information of the distributed VNF clusters to the cloud platform, and the cloud platform returns the information of the distributed VNF clusters to the tenants.
However, the VNFM allocates clusters for carrying VPC traffic only according to the number of VPN instances created on each VNF cluster managed. This formulation may occur as follows: VPC traffic carried by a part of VNF clusters managed by the VNFM is too high, and VPC traffic carried by a part of VNF clusters is not sufficient.
To this end, the present invention proposes the following embodiments to solve the above-described problems.
Fig. 2 shows a flowchart of an allocation method of a VNF cluster, which may be applied to a VNFM, according to an embodiment of the present invention. As shown in fig. 2, the allocation method may include the following steps.
In step S220, a VNF cluster allocation request is received, where the VNF cluster allocation request is used to request a VNF cluster carrying the created VPC service.
For a specific description, reference may be made to the description of step S120, which is not described herein again.
In step S240, dynamic data of each VNF cluster of the managed plurality of VNF clusters is obtained according to the VNF cluster allocation request.
In this embodiment of the present invention, the dynamic data refers to data associated with actual traffic of the VNF cluster. The dynamic data may include, but is not limited to, data of the VNF cluster such as real-time bandwidth, number of forwarding tables, CPU utilization, remaining memory, and the like.
In one possible implementation, the dynamic data of each VNF cluster may be obtained as follows.
Step one, the VNFM establishes long connection with each VNF cluster.
In the embodiment of the present invention, when the VNF cluster registers with the VNFM, the VNFM may establish a long connection (session) with the VNF cluster using a NETCONF over SSH connection manner.
After the long connection with the VNF cluster is established, the VNFM may issue a message of a Network Configuration Protocol (NETCONF) Protocol to the VNF cluster and manage the VNF cluster. NETCONF is a network management protocol based on XML, and the format of the message of the NETCONF protocol is XML format.
And step two, the VNFM sends a subscription message to each VNF cluster, and the subscription message is used for subscribing the dynamic data of each VNF cluster.
In the embodiment of the present invention, a part of the format of the subscription message is as follows:
<rpc message-id="101"xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<create-subscription xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<stream>NETCONF</stream>
</create-subscription>
</rpc>
the explanation for the parts in the above subscription message is as follows: message-ID denotes a message ID, and "urn: ietf: params: xml: ns: netconf: base:1.0" is a partial namespace specified in RFC 4741/RFC 6241. The VNFM uses a monotonically increasing integer to represent the message ID, and the VNF cluster uses the same message ID in the reply message to represent the reply to the subscription package.
create-description represents that the VNFM subscribes to events from the VNF cluster. Events that the VNFM can subscribe to are log information supported by the system. The log information may include dynamic data of the VNF cluster. The subscription is only valid for the current connection between the VNFM and the VNF cluster, and if the current connection is disconnected, the VNFM automatically cancels the subscription. The VNFM may subscribe to multiple events by sending a subscription message to the VNF cluster multiple times.
stream represents a supported event stream, such as NETCONF.
And step three, the VNFM receives a response message sent by each VNF cluster aiming at the subscription message.
In the embodiment of the present invention, after receiving the subscription packet sent by the VNFM, the VNF cluster responds to the VNFM by sending a response packet to the received subscription packet. And if the VNFM receives the response message, the VNFM successfully subscribes to the dynamic data of the VNF cluster. The format of the reply message is as follows:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"message-id="101">
<ok/>
</rpc-reply>
and step four, the VNFM receives the dynamic data sent by each VNF cluster.
In the embodiment of the present invention, if the VNFM successfully subscribes to the dynamic data of the VNF cluster, when the subscribed dynamic data is generated on the VNF cluster, the VNF cluster automatically sends the generated dynamic data to the VNFM.
In one possible implementation, the VNF cluster may periodically send the generated dynamic data to the VNFM.
In another possible implementation, whenever the VNF cluster generates dynamic data, the VNF cluster sends the generated dynamic data to the VNFM.
Accordingly, the VNFM may periodically receive dynamic data sent by the VNF cluster. The dynamic data sent by the VNF cluster may also be received when the VNF cluster generates dynamic data. The VNFM may record the received dynamic data in a database.
In step S260, a VNF cluster whose dynamic data satisfies the preset dynamic index is used as a cluster for carrying VPC service.
In the embodiment of the invention, the VNFM acquires the managed dynamic data of each VNF cluster, and determines whether the dynamic data of each VNF cluster meets the dynamic index. And if the dynamic data of a certain VNF cluster meets the dynamic index, the VNFM takes the VNF cluster as a cluster for bearing VPC service.
Each dynamic data has its corresponding dynamic index. For example, if the dynamic data is the real-time bandwidth of the VNF cluster, the corresponding dynamic indicator is the real-time bandwidth threshold. For example 1 Gbit/s. In this case, the dynamic data satisfying the dynamic indicator may be understood as that the real-time bandwidth value does not reach the real-time bandwidth threshold value. For another example, if the dynamic data is the CPU utilization, the corresponding dynamic indicator is the CPU utilization threshold. In this case, the dynamic data satisfying the dynamic index may be understood as the value of the CPU utilization not reaching the CPU utilization threshold value.
In one possible implementation, it may be determined whether one dynamic data of each VNF cluster satisfies the corresponding dynamic index. Correspondingly, one VNF cluster in which the dynamic data meets the corresponding dynamic index is used as a cluster for carrying VPC service.
In one possible implementation, it may be determined whether the plurality of dynamic data of each cluster respectively satisfy the corresponding dynamic index. Correspondingly, one VNF cluster in which various dynamic data all satisfy the corresponding dynamic index is used as a cluster for carrying VPC service.
Therefore, in the allocation method of the VNF cluster provided in the embodiment of the present invention, the VNFM allocates the cluster for carrying the VPC service according to the dynamic data of the VNF cluster, so that the VNF cluster can be allocated reasonably, and a situation that VPC service carried by a part of the VNF cluster is too high (that is, utilization rate of the part of the VNF cluster is too high) and VPC service carried by a part of the VNF cluster is insufficient (that is, utilization rate of the part of the VNF cluster is insufficient) can be avoided.
Optionally, in a possible implementation manner, in the embodiment of the present invention, a change curve corresponding to dynamic data may be displayed according to the obtained dynamic data of each managed VNF cluster.
Therefore, in the VNF cluster allocation method provided in the embodiment of the present invention, the VNFM can monitor dynamic data of each VNF cluster in real time, so that an operation and maintenance worker of the VNF cluster can intuitively predict a development trend of the VPC service in advance according to the displayed change curve, and thus, processing such as capacity expansion and migration of the VNF cluster can be performed in advance.
Optionally, in a possible implementation manner, the subscription packet in the second step is further used to instruct the VNF devices in each VNF cluster to report alarm information. The alarm information carries an IP address of the VNF device, an identifier of the VNF device, a value of an interested index, an IP address of the VNFM, and the like.
In the embodiment of the present invention, each VNF device in the VNF cluster sets an interested index alarm threshold of an interested index in advance according to its own capability specification. The indicator of interest may be dynamic data of the VNF device. After the VNFM successfully subscribes to the event for generating the alarm information, if the indicator of interest of the VNF device exceeds the indicator of interest alarm threshold, the VNF device generates the alarm information and sends the generated alarm information to the VNFM.
The VNF cluster sends alarm information to the VNFM by taking a single VNF device as a unit, and provides service to VPC service by taking the VNF cluster as a whole. Therefore, when the VNFM receives the alarm information, it needs to determine whether the VNF cluster to which the VNF device that sends the alarm information belongs can continue to carry the VPC service according to the type of the VPC service and the deployment mode of the VNF cluster.
For example, if the deployment mode of the VNF cluster is a load sharing mode, when any VNF device in the VNF cluster generates alarm information, the VNFM determines that the VNF cluster cannot continue to carry VPC service. In this case, the VNFM sends notification information to the network management software, so as to remind an operation maintenance worker of the VNF cluster whether to perform processing such as capacity expansion and migration on the VNF cluster.
In view of this, the allocation method according to the embodiment of the present invention may further include the steps in fig. 3, where fig. 3 is a flowchart of an alarm mechanism according to the embodiment of the present invention.
In step S310, if the warning information is received, it is determined whether the dynamic data of the VNF cluster to which the VNF device that sends the warning information belongs meets a preset cluster dynamic warning index and/or whether the static data of the VNF cluster meets a preset cluster static warning index.
In the embodiment of the invention, the VNFM acquires the dynamic data and the static data of each managed VNF cluster, and determines whether the dynamic data of each VNF cluster meets the cluster dynamic alarm index and/or whether the static data meets the cluster static alarm index.
Each dynamic data has a cluster dynamic alarm index corresponding to the dynamic data. For example, if the dynamic data is the real-time bandwidth of the VNF cluster, the corresponding cluster dynamic alarm indicator is the real-time bandwidth alarm threshold. For example, 10 Gbit/s. In this case, the dynamic data satisfying the cluster dynamic alarm indicator may be understood as that the real-time bandwidth value does not reach the real-time bandwidth alarm threshold value.
Static data refers to data associated with configuration messages sent by the VNFM to the VNF cluster. The static data includes, but is not limited to, the number of VPN instances, the configuration amount of Network Address Translation (NAT) rules, the configuration amount of ACL rules, and the like.
Each static data has a cluster static alarm index corresponding to the static data. For example, if the static data is the VPN instance number of the VNF cluster, the corresponding cluster static alarm indicator is a VPN instance number alarm threshold value. Such as 5000. In this case, the static data satisfying the cluster static alarm indicator may be understood as that the number of VPN instances reaches the VPN instance number alarm threshold value.
In one possible implementation, the VNFM determines whether one or more types of dynamic data of each VNF cluster satisfy a corresponding cluster dynamic alarm indicator.
In one possible implementation, the VNFM determines whether one or more types of static data of each VNF cluster satisfy the corresponding cluster static alarm indicator.
In one possible implementation, the VNFM determines whether the one or more dynamic data of each VNF cluster satisfies a corresponding cluster dynamic alarm indicator and the VNFM determines whether the one or more static data of each VNF cluster satisfies a corresponding cluster static alarm indicator.
If the VNFM determines that the dynamic data does not satisfy the cluster dynamic alarm indicator and/or the static data does not satisfy the cluster static alarm indicator, the following step S320 is executed. If the VNFM determines that the dynamic data meets the cluster dynamic alarm indicator and/or the static data meets the cluster static alarm indicator, the following step S330 is executed.
In step S320, first notification information is sent to the network management software.
In the embodiment of the invention, the VNFM sends first notification information to the network management software under the following three conditions: when the VNFM determines that the dynamic data does not meet the cluster dynamic alarm index; when the VNFM determines that the static data does not meet the cluster static alarm index; and in the case that the VNFM determines that the dynamic data does not meet the cluster dynamic alarm index and the static data does not meet the cluster static alarm index. And the VNFM packages the received alarm information into notification information which can be analyzed by network management software.
In step S330, it is determined whether the dynamic data meets a preset cluster dynamic isolation index and/or whether the static data meets a preset cluster static isolation index.
In the embodiment of the invention, the value of the cluster dynamic isolation index is greater than the value of the cluster dynamic alarm index, and the value of the cluster static isolation index is greater than the value of the cluster static alarm index.
If the VNFM determines that the dynamic data meets the cluster dynamic isolation index and/or the static data meets the cluster static isolation index, the following step S340 is executed. If the VNFM determines that the dynamic data does not satisfy the cluster dynamic isolation index and/or the static data does not satisfy the cluster static isolation index, the following step S350 is executed.
In step S340, the VNF cluster is marked as an unavailable resource and second notification information is sent to the network management software.
In the embodiment of the present invention, the VNFM marks the VNF cluster as an unavailable resource and sends the second notification information to the network management software under the following three conditions: when the VNFM determines that the dynamic data meet the cluster dynamic isolation index; under the condition that the VNFM determines that the static data meets the cluster static isolation index; in the event that the VNFM determines that the dynamic data meets the cluster dynamic isolation indicator and the static data meets the cluster static isolation indicator.
In step S350, third notification information is sent to the network management software.
In the embodiment of the invention, the VNFM sends third notification information to the network management software under the following three conditions: when the VNFM determines that the dynamic data does not meet the cluster dynamic isolation index; when the VNFM determines that the static data does not meet the cluster static isolation index; in the event that the VNFM determines that the dynamic data does not satisfy the cluster dynamic isolation metric and the static data does not satisfy the cluster static isolation metric.
Therefore, the embodiment of the present invention can send notification information to the network management software in time through the above-mentioned alarm mechanism, so as to remind the operation and maintenance personnel of the VNF cluster whether to perform processing such as capacity expansion and migration on the VNF cluster.
Fig. 4 shows a flowchart of an example of an allocation method of a VNF cluster, which may be applied to a VNFM, according to an embodiment of the present invention. As shown in fig. 4, the allocation method may include the following steps.
In step S420, a VNF cluster allocation request for requesting a VNF cluster carrying the created VPC service is received.
For a specific description, reference may be made to the description of step S120, which is not described herein again.
In step S440, dynamic data of each VNF cluster of the managed plurality of VNF clusters is obtained according to the VNF cluster allocation request.
For a specific description, reference may be made to the description of step S240, which is not described herein again.
In step S460, when the number of VNF clusters whose dynamic data satisfies the dynamic index is multiple, the static data of the multiple VNF clusters whose dynamic data satisfies the dynamic index is obtained.
In step S480, one VNF cluster whose static data satisfies the preset static index is used as a cluster for carrying VPC service.
In the embodiment of the invention, the VNFM acquires the static data of each VNF cluster of which the dynamic data meets the dynamic index, and determines whether the static data of each VNF cluster meets the static index. And if the VNFM determines that the static data of a certain VNF cluster meets the static index, the VNF cluster is used as a cluster for bearing VPC service.
For the description of the static data, reference may be made to the description of step S310, which is not described herein again.
Each static data has its corresponding static index. For example, if the static data is the number of VPN instances of the VNF cluster, the corresponding static indicator is a threshold value of the number of VPN instances. Such as 1000. In this case, the static data satisfying the static indicator may be understood as the VPN instance number not reaching the VPN instance number threshold value.
In one possible implementation, it may be determined whether one or more types of static data of each VNF cluster satisfy a corresponding static index.
Therefore, the embodiment of the invention allocates the cluster for bearing the VPC service according to the dynamic data and the static data of the VNF cluster, thereby reasonably allocating the VNF cluster. Accordingly, fig. 5 is a block diagram of an allocation apparatus of a VNF cluster according to an embodiment of the present invention, and the allocation apparatus 500 may be applied to a VNF manager. As shown in fig. 5, the distribution apparatus 500 may include a receiving module 510, an obtaining module 530, and a distribution module 550.
The receiving module 510 is configured to receive a VNF cluster allocation request, where the VNF cluster allocation request is used to request a VNF cluster that carries the created VPC service.
The obtaining module 530 is connected to the receiving module 510, and is configured to obtain, according to the VNF cluster allocation request, dynamic data of each VNF cluster in the multiple managed VNF clusters.
The allocating module 550 is connected to the obtaining module 530, and is configured to use a VNF cluster whose dynamic data meets a preset dynamic index as a cluster for bearing a VPC service.
Optionally, in one possible implementation, the allocating module 510 may be configured to:
when the number of the VNF clusters with the dynamic data meeting the dynamic indexes is multiple, acquiring static data of the VNF clusters with the dynamic data meeting the dynamic indexes;
and taking a VNF cluster with static data meeting preset static indexes as a cluster for bearing VPC service.
Optionally, in one possible implementation, the obtaining module 530 may be configured to:
establishing a long connection with each VNF cluster;
sending a subscription message to each VNF cluster, wherein the subscription message is used for subscribing the dynamic data of each VNF cluster;
receiving a response message sent by each VNF cluster aiming at the subscription message;
and receiving the dynamic data sent by each VNF cluster.
Optionally, in a possible implementation manner, the subscription packet is further configured to instruct the VNF devices in each VNF cluster to report alarm information;
the above-mentioned dispensing device 500 may further include:
a determining module (not shown) configured to determine, if alarm information is received, whether dynamic data of a VNF cluster to which a VNF device that sends the alarm information belongs meets a preset cluster dynamic alarm index and/or whether static data of the VNF cluster to which the VNF device belongs meets a preset cluster static alarm index;
and a sending module (not shown) configured to send the first notification information to the network management software if it is determined that the dynamic data does not satisfy the cluster dynamic alarm indicator and/or the static data does not satisfy the cluster static alarm indicator.
Optionally, in a possible implementation manner, the determining module is further configured to: if the dynamic data meet the cluster dynamic alarm index and/or the static data meet the cluster static alarm index, determining whether the dynamic data meet a preset cluster dynamic isolation index and/or whether the static data meet a preset cluster static isolation index;
the sending module is further configured to: if the dynamic data meet the cluster dynamic isolation index and/or the static data meet the cluster static isolation index, marking the VNF cluster to which the dynamic data belong as unavailable resources and sending second notification information to network management software; or if the dynamic data does not meet the cluster dynamic isolation index and/or the static data does not meet the cluster static isolation index, sending third notification information to the network management software.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Accordingly, fig. 6 is a block diagram illustrating a hardware structure of an allocation apparatus of a VNF cluster according to an exemplary embodiment. Referring to fig. 6, the apparatus 900 may include a processor 901, a machine-readable storage medium 902 having stored thereon machine-executable instructions. The processor 901 and the machine-readable storage medium 902 may communicate via a system bus 903. Also, the processor 901 performs the allocation method described above by reading machine-executable instructions in the machine-readable storage medium 902 corresponding to the allocation logic.
The machine-readable storage medium 902 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: random Access Memory (RAM), volatile Memory, non-volatile Memory, flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, dvd, etc.), or similar storage media, or a combination thereof.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (8)

1. A Virtual Network Function (VNF) cluster distribution method is applied to a VNF manager and is characterized by comprising the following steps:
receiving a VNF cluster allocation request, wherein the VNF cluster allocation request is used for requesting a VNF cluster carrying the created VPC service;
acquiring dynamic data of each VNF cluster in the plurality of managed VNF clusters according to the VNF cluster allocation request;
taking a VNF cluster of which the dynamic data meet preset dynamic indexes as a cluster for bearing the VPC service;
the step of using a VNF cluster whose dynamic data meets a preset dynamic index as a cluster for carrying the VPC service includes:
when the number of the VNF clusters with the dynamic data meeting the dynamic index is multiple, acquiring static data of the VNF clusters with the dynamic data meeting the dynamic index;
and taking a VNF cluster with the static data meeting a preset static index as a cluster for bearing the VPC service.
2. The method of claim 1, wherein obtaining dynamic data for each of the plurality of managed VNF clusters based on the VNF cluster allocation request comprises:
establishing a long connection with each VNF cluster;
sending a subscription message to each VNF cluster, wherein the subscription message is used for subscribing the dynamic data of each VNF cluster;
receiving a response message sent by each VNF cluster aiming at the subscription message;
and receiving the dynamic data sent by each VNF cluster.
3. The method according to claim 2, wherein the subscription packet is further configured to instruct the VNF devices in each VNF cluster to report alarm information;
the method further comprises the following steps:
if the warning information is received, determining whether the dynamic data of the VNF cluster to which the VNF device sending the warning information belongs meets a preset cluster dynamic warning index and/or whether the static data of the VNF cluster to which the VNF device belongs meets a preset cluster static warning index;
and if the dynamic data does not meet the cluster dynamic alarm index and/or the static data does not meet the cluster static alarm index, sending first notification information to network management software.
4. The method of claim 3, further comprising:
if the dynamic data meet the cluster dynamic alarm index and/or the static data meet the cluster static alarm index, determining whether the dynamic data meet a preset cluster dynamic isolation index and/or whether the static data meet a preset cluster static isolation index;
if the dynamic data meet the cluster dynamic isolation index and/or the static data meet the cluster static isolation index, marking the VNF cluster as an unavailable resource and sending second notification information to the network management software; or if the dynamic data does not meet the cluster dynamic isolation index and/or the static data does not meet the cluster static isolation index, sending third notification information to the network management software.
5. An apparatus for distributing Virtualized Network Function (VNF) clusters, applied to a VNF manager, the apparatus comprising:
a receiving module, configured to receive a VNF cluster allocation request, where the VNF cluster allocation request is used to request a VNF cluster that carries the created VPC service;
an obtaining module, configured to obtain, according to the VNF cluster allocation request, dynamic data of each VNF cluster of the managed multiple VNF clusters;
the distribution module is used for taking a VNF cluster of which the dynamic data meet preset dynamic indexes as a cluster for bearing the VPC service;
the allocation module is configured to:
when the number of the VNF clusters with the dynamic data meeting the dynamic index is multiple, acquiring static data of the VNF clusters with the dynamic data meeting the dynamic index;
and taking a VNF cluster with the static data meeting a preset static index as a cluster for bearing the VPC service.
6. The apparatus of claim 5, wherein the acquisition module is configured to:
establishing a long connection with each VNF cluster;
sending a subscription message to each VNF cluster, wherein the subscription message is used for subscribing the dynamic data of each VNF cluster;
receiving a response message sent by each VNF cluster aiming at the subscription message;
and receiving the dynamic data sent by each VNF cluster.
7. The apparatus according to claim 6, wherein the subscription packet is further configured to instruct the VNF devices in each VNF cluster to report alarm information;
the device further comprises:
the determination module is configured to determine, if alarm information is received, whether dynamic data of a VNF cluster to which the VNF device that sends the alarm information belongs meets a preset cluster dynamic alarm index and/or whether static data of the VNF cluster to which the VNF device belongs meets a preset cluster static alarm index;
and the sending module is used for sending first notification information to network management software if the dynamic data does not meet the cluster dynamic alarm index and/or the static data does not meet the cluster static alarm index.
8. The apparatus of claim 7,
the determination module is further to: if the dynamic data meet the cluster dynamic alarm index and/or the static data meet the cluster static alarm index, determining whether the dynamic data meet a preset cluster dynamic isolation index and/or whether the static data meet a preset cluster static isolation index;
the sending module is further configured to: if the dynamic data meet the cluster dynamic isolation index and/or the static data meet the cluster static isolation index, marking the VNF cluster as an unavailable resource and sending second notification information to the network management software; or if the dynamic data does not meet the cluster dynamic isolation index and/or the static data does not meet the cluster static isolation index, sending third notification information to the network management software.
CN201711407744.5A 2017-12-22 2017-12-22 VNF cluster distribution method and device Active CN108063735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711407744.5A CN108063735B (en) 2017-12-22 2017-12-22 VNF cluster distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711407744.5A CN108063735B (en) 2017-12-22 2017-12-22 VNF cluster distribution method and device

Publications (2)

Publication Number Publication Date
CN108063735A CN108063735A (en) 2018-05-22
CN108063735B true CN108063735B (en) 2021-10-19

Family

ID=62140108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711407744.5A Active CN108063735B (en) 2017-12-22 2017-12-22 VNF cluster distribution method and device

Country Status (1)

Country Link
CN (1) CN108063735B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3735765A4 (en) 2018-06-01 2021-01-13 Huawei Technologies Co., Ltd. Multiple server-architecture cluster for providing a virtual network function
CN108881482B (en) * 2018-07-25 2021-06-29 新华三技术有限公司 Traffic migration method, device and system
CN109067573B (en) * 2018-07-26 2020-12-29 新华三技术有限公司 Traffic scheduling method and device
CN109842530A (en) * 2019-04-15 2019-06-04 网易(杭州)网络有限公司 VNF configuration method, device, electronic equipment and computer-readable medium
CN110636137B (en) * 2019-10-14 2022-06-17 河海大学常州校区 Cluster-based NFV service chain optimization method in ocean view monitoring network
CN111526031B (en) * 2019-12-20 2023-06-06 西安抱朴通信科技有限公司 Expansion and contraction method and equipment of service Virtual Network Function (VNF)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526958A (en) * 2009-04-09 2009-09-09 中兴通讯股份有限公司 Method and system for synchronizing data between IPTV system modules
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
CN106302611A (en) * 2015-06-09 2017-01-04 深圳市腾讯计算机系统有限公司 Service request distribution system, method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173322B1 (en) * 1997-06-05 2001-01-09 Silicon Graphics, Inc. Network request distribution based on static rules and dynamic performance data
US7925713B1 (en) * 1999-11-22 2011-04-12 Akamai Technologies, Inc. Method for operating an integrated point of presence server network
JP3895146B2 (en) * 2001-10-22 2007-03-22 富士通株式会社 Service control network, server device, network device, service information distribution method, and service information distribution program
CN103428646A (en) * 2012-05-25 2013-12-04 中兴通讯股份有限公司 Cluster system user state query method and server
KR20170052002A (en) * 2015-11-03 2017-05-12 한국전자통신연구원 System and method for chaining virtualized network funtion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526958A (en) * 2009-04-09 2009-09-09 中兴通讯股份有限公司 Method and system for synchronizing data between IPTV system modules
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
CN106302611A (en) * 2015-06-09 2017-01-04 深圳市腾讯计算机系统有限公司 Service request distribution system, method and apparatus

Also Published As

Publication number Publication date
CN108063735A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
CN108063735B (en) VNF cluster distribution method and device
CN109600768B (en) Method, device and system for managing network slices
US10116518B2 (en) Mechanism for management controllers to learn the control plane hierarchy in a data center environment
CN108307002B (en) DHCP message processing method and device
US11483315B2 (en) Alias management method and device
CN105610632B (en) Virtual network equipment and related method
US11265210B2 (en) Network slice configuration method, apparatus, and system
US20210400445A1 (en) Method and system for performing charging processing on network slice customer, and related device
US8310939B2 (en) Method, system, and device for configuring operation, administration and maintenance properties
WO2018090677A1 (en) Processing method, device and system for nf component abnormality
US11251981B2 (en) Communication method and apparatus
CN106304396B (en) Method, system and related device for discovering wireless controller by access point
EP3510728A1 (en) System and method for programmable native analytics in 5g mobile networks
CN109391503B (en) Network slice management method and device
CN100563263C (en) In network storage service, realize the method and system of system high-available
CN105897542B (en) Tunnel establishment method and video monitoring system
CN105376226B (en) Forwarding method and system of streaming media server
EP2656590B1 (en) DNS forwarder for multi-core platforms
US20160241427A1 (en) Service Sending, Receiving Methods and Devices
US7782795B2 (en) Multicast data communication system, data communication apparatus, multicast data communication method and computer readable non-transitory information recording medium
Fujikawa et al. Automatic construction of name-bound virtual networks for IoT
CN102685564B (en) Method and device for forwarding live video stream and processing live dibble seeding
WO2023082856A1 (en) Traffic influence for initial eas selection
CN112887137B (en) Method and device for realizing interface index consistency
CN106131234A (en) A kind of method and apparatus distributing address information

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