CN111526031A - Method and device for expanding and shrinking volume of VNF (virtual network function) - Google Patents

Method and device for expanding and shrinking volume of VNF (virtual network function) Download PDF

Info

Publication number
CN111526031A
CN111526031A CN201911330951.4A CN201911330951A CN111526031A CN 111526031 A CN111526031 A CN 111526031A CN 201911330951 A CN201911330951 A CN 201911330951A CN 111526031 A CN111526031 A CN 111526031A
Authority
CN
China
Prior art keywords
index data
monitoring index
service
server
dynamic
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
CN201911330951.4A
Other languages
Chinese (zh)
Other versions
CN111526031B (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.)
Xi'an Baopu Communication Technology Co ltd
Raisecom Technology Co Ltd
Original Assignee
Xi'an Baopu Communication Technology Co ltd
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Baopu Communication Technology Co ltd, Raisecom Technology Co Ltd filed Critical Xi'an Baopu Communication Technology Co ltd
Priority to CN201911330951.4A priority Critical patent/CN111526031B/en
Publication of CN111526031A publication Critical patent/CN111526031A/en
Application granted granted Critical
Publication of CN111526031B publication Critical patent/CN111526031B/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
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing

Landscapes

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

Abstract

The invention provides a method and a device for expanding and shrinking a service Virtual Network Function (VNF), wherein the device comprises the following steps: acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data; when the static monitoring index data meet the preset requirement, determining to perform capacity expansion or capacity reduction, otherwise, determining whether to perform capacity expansion according to the dynamic monitoring index data; and when the capacity expansion or the capacity reduction is determined, sending an instruction to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction. The method and the device for expanding and shrinking the volume of the VNF solve the problems of resource waste or system overload caused by inaccurate volume expansion and shrinkage decision of the conventional method for expanding and shrinking the volume of the VNF.

Description

Method and device for expanding and shrinking volume of VNF (virtual network function)
Technical Field
The present invention relates to network function virtualization technologies, and in particular, to a method and an apparatus for scaling a service virtual network function VNF.
Background
With the development of communication technology and Network technology, SDN (Software Defined Network) technology and NFV (Network Function Virtualization) technology are gradually merged in a telecommunication Network architecture to form SDNFV (Software Defined Network Function Virtualization) technology. Telecommunication networks are transitioning from private networks of hardware devices to intelligent networks based on SDNFV technology. The SDN technology performs centralized management on control logic applied in the network, so that the network is managed and configured conveniently, a new protocol is deployed, and the network management and configuration capacity is improved. The NFV technology adopts standard servers, storage equipment and network equipment to construct a network infrastructure layer, shields hardware equipment through virtualization technology, and provides unified virtualized resources for application network elements, so that the purposes of rapid deployment and automatic scaling of network applications are achieved, and the complex and variable telecommunication service requirements are met.
In the NFV architecture, a Virtual Network Function (VNF) needs to be scaled according to a virtual resource usage and an actual service, so as to implement automatic scaling of a network application and reasonable utilization of a virtual network resource. In the current NFV architecture, a service VNF has two expansion and contraction modes, namely, a horizontal expansion and contraction mode and a vertical expansion and contraction mode. The horizontal expansion capacity is expanded by increasing or reducing the number of the virtual machines in the VNF, and the vertical expansion capacity is expanded by expanding or reducing the specification of the virtual machines in the VNF. The horizontal capacity expansion does not need to restart the virtual machine and does not affect the executing business, so the method is a capacity expansion and reduction mode mainly considered at present.
Currently, when performing horizontal capacity expansion and reduction on a VNF service, virtual machines in the VNF are determined to be increased or decreased mainly according to a resource monitoring index or a service monitoring index, so that capacity expansion or reduction is achieved. When capacity expansion and reduction are performed according to the resource monitoring index, the selection of the capacity expansion and reduction opportunity may be inaccurate because the service load of the VNF cannot be comprehensively reflected by the use condition of the virtual resource; when the capacity expansion and contraction are carried out according to the service monitoring index, because the telecommunication service has the characteristic of busy and idle time, the capacity expansion and contraction are carried out completely by depending on the real-time service index, and the service congestion or the resource waste is easily caused. At present, when a VNF service performs horizontal scaling, the status of each monitoring index is equal, that is, each monitoring index has the same judgment function on scaling, so that the above-mentioned problem of inaccurate scaling timing selection is easily caused, which causes resource waste or heavy system load.
In summary, the existing service VNF capacity expansion and reduction method mainly has the problems of resource waste or system overload due to inaccurate capacity expansion and reduction decision.
Disclosure of Invention
The invention provides a method and equipment for expanding and shrinking a service VNF (virtual network function), which are used for solving the problems of resource waste or excessive system load caused by inaccurate capacity expansion and shrinkage decision of the conventional method for expanding and shrinking the service VNF.
According to a first aspect of the embodiments of the present invention, there is provided a method for scaling a service VNF, the method including:
acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data;
when the static monitoring index data meet the preset requirement, determining to perform capacity expansion or capacity reduction, otherwise, determining whether to perform capacity expansion according to the dynamic monitoring index data;
and when the capacity expansion or the capacity reduction is determined, sending an instruction to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction.
Optionally, the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data includes static resource monitoring index data and static service monitoring index data.
Optionally, the obtaining of monitoring index data includes:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
Optionally, when it is determined that the static monitoring index data meets the preset requirement, determining to perform capacity expansion or capacity reduction, including:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
Optionally, when it is determined that the static service monitoring index data meets the preset requirement, determining to perform capacity expansion or capacity reduction, including:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
Optionally, determining whether to perform capacity expansion according to the dynamic monitoring index data includes:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
Optionally, determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data includes:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
Optionally, obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
Optionally, the obtaining of monitoring index data includes:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
Optionally, before the obtaining of the monitoring index data, the method further includes:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
Optionally, the indicating the service allocation policy to the SDNC server so that the SDNC server determines, according to the indicated service allocation policy, a VNFC corresponding to the newly added service data, includes:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
Optionally, the indicating the service allocation policy to the SDNC server so that the SDNC server determines, according to the indicated service allocation policy, a VNFC corresponding to the newly added service data, includes:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
According to a second aspect of the embodiments of the present invention, there is provided a method for scaling a service VNF, the method including:
receiving an expansion or contraction indication sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion indication sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
Optionally, performing capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication, including:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
Optionally, the method further comprises:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
According to a third aspect of the embodiments of the present invention, there is provided an apparatus for scaling a service VNF, including:
the index monitoring module is used for acquiring monitoring index data, wherein the monitoring index data comprises dynamic monitoring index data changing in real time and static monitoring index data changing in non-real time;
the expansion and contraction decision module is used for determining that expansion or contraction is carried out when the static monitoring index data meet the preset requirement, and otherwise, determining whether expansion is carried out according to the dynamic monitoring index data;
and the expansion and contraction capacity indicating module is used for sending an indication to the MANO server for management and network arrangement when the expansion or contraction capacity is determined to be carried out so as to indicate the MANO server to carry out the expansion or contraction capacity.
Optionally, the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data includes static resource monitoring index data and static service monitoring index data.
Optionally, the acquiring, by the index monitoring module, monitoring index data includes:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
Optionally, when the capacity expansion decision module determines that the static monitoring index data meets the preset requirement, determining to perform capacity expansion or capacity reduction, including:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
Optionally, when the capacity expansion decision module determines that the static service monitoring index data meets a preset requirement, determining to perform capacity expansion or capacity reduction, including:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
Optionally, the determining, by the capacity expansion decision module, whether to perform capacity expansion according to the dynamic monitoring index data includes:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
Optionally, the determining, by the capacity expansion decision module, whether to perform capacity expansion according to the dynamic synthesis monitoring index data includes:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
Optionally, the obtaining, by the capacity expansion decision module, dynamic synthetic monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
Optionally, the acquiring, by the index monitoring module, monitoring index data includes:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
Optionally, the device further includes a service allocation module, where before the index monitoring module obtains the monitoring index data, the service allocation module is specifically configured to:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
Optionally, the instructing, by the service allocation module, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
Optionally, the instructing, by the service allocation module, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for scaling a service VNF, including:
the instruction receiving module is used for receiving an expansion or contraction instruction sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion instruction sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and the capacity expansion and reduction module is used for carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
Optionally, the expanding and shrinking module expands or shrinks according to the expansion indication or the shrinking indication, including:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
Optionally, the apparatus further includes an index uploading module, specifically configured to:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
According to a fifth aspect of the embodiments of the present invention, there is provided an apparatus for scaling a service VNF, including: a memory and a processor; wherein:
the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data;
when the static monitoring index data meet the preset requirement, determining to perform capacity expansion or capacity reduction, otherwise, determining whether to perform capacity expansion according to the dynamic monitoring index data;
and when the capacity expansion or the capacity reduction is determined, sending an instruction to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction.
Optionally, the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data includes static resource monitoring index data and static service monitoring index data.
Optionally, the processor obtains monitoring index data, including:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
Optionally, when determining that the static monitoring index data meets the preset requirement, the processor determines to perform capacity expansion or capacity reduction, including:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
Optionally, when determining that the static service monitoring index data meets the preset requirement, the processor determines to perform capacity expansion or capacity reduction, including:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
Optionally, the determining, by the processor, whether to perform capacity expansion according to the dynamic monitoring index data includes:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
Optionally, the determining, by the processor, whether to perform capacity expansion according to the dynamic synthesis monitoring index data includes:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
Optionally, the processor obtains dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing, and the method includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
Optionally, the processor obtains monitoring index data, including:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
Optionally, the processor is further configured to:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
Optionally, the instructing, by the processor, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
Optionally, the instructing, by the processor, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
According to a sixth aspect of the embodiments of the present invention, there is provided an apparatus for scaling a service VNF, including: a memory and a processor; wherein:
the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
receiving an expansion or contraction indication sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion indication sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
Optionally, the expanding or shrinking the capacity of the processor according to the capacity expansion indication or the capacity shrinking indication includes:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
Optionally, the processor is further configured to:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
According to a seventh aspect of the embodiments of the present invention, there is provided a chip, the chip is coupled with a memory in a device, so that the chip invokes program instructions stored in the memory when running, thereby implementing the above aspects of the embodiments of the present application and any method that may be designed according to the aspects.
According to an eighth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium storing program instructions which, when executed on a computer, cause the computer to perform the method of any of the possible designs to which the above aspects and aspects relate.
According to a ninth aspect of the embodiments of the present invention, there is provided a computer program product, which, when run on an electronic device, causes the electronic device to perform a method of implementing the above aspects of the embodiments of the present application and any possible design related to the aspects.
The method and the device for expanding and shrinking the service VNF provided by the invention have the following beneficial effects:
the method and the device for expanding and shrinking the service VNF provided by the embodiments of the present invention preferentially determine whether to perform expansion and shrinkage according to the static monitoring index, and when it is not determined to perform expansion and shrinkage according to the static monitoring index, determine whether to perform expansion and shrinkage according to the dynamic monitoring index, and simultaneously consider the virtual resource usage situation and the service load situation, so that the time for expanding and shrinking the capacity can be accurately determined, the resource utilization efficiency is improved, and the problem that the resource waste or the system load is too heavy due to inaccurate expansion and shrinkage decision of the existing method for expanding and shrinking the capacity of the service VNF is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system for scaling a service VNF according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a method for scaling a service VNF according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a method for scaling a service VNF according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a method for VNF service allocation provided in an embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for scaling a service VNF according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating division of the scaling intervals of the service VNF according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an apparatus for scaling a service VNF according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an apparatus for scaling a service VNF according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for scaling a service VNF according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a device for scaling a service VNF according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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. For convenience of understanding, terms referred to in the embodiments of the present invention are explained below:
1) SDN (Software Defined Network) technology: the network virtualization implementation method has the core technology that the control layer and the data layer of network application are separated, so that flexible control of network flow is realized, the control layer comprises an SDNC (Software Defined network controller) with logic centralization and programmability, global network information can be mastered, and the management and configuration of a network, new protocol deployment and the like are facilitated; in a data layer, only a simple data forwarding function is provided, so that the data can be rapidly processed, and the requirement of increasing flow is met;
2) NFV (Network Function Virtualization ): the method comprises the steps that a network infrastructure layer is constructed by adopting standard servers, storage equipment and network equipment, network applications are virtualized into a Virtual Machine (VM) through a virtualization technology based on a cloud operating system, and various types of network applications are constructed into a virtualization platform; when a new service is deployed, a corresponding virtual machine is established on an open virtual machine platform, then software for realizing corresponding service functions is installed on the virtual machine, and the network functions running on general hardware are controlled and operated through the installed software, so that the network service has better flexibility and automation capability;
3) VNF (Virtual Network Function): the specific virtual network function is a certain network service provided by a network element generated by an NFV technology; each service VNF may include a plurality of VNFCs (Virtual Network Function components) after capacity expansion, each VNFC corresponds to one Virtual machine and may carry an allocated service;
4) MANO (Management and organization, Management and network orchestrator): an architectural framework for managing and coordinating Virtualized Network Functions (VNFs) and supporting software components, supporting deployment and connectivity on virtual machines; the virtual network management system mainly comprises an NFV orchestrator, a VNF manager and a virtual infrastructure manager.
The embodiment of the invention provides a method for expanding and shrinking a service VNF, which is applied to a telecommunication network service scene under an NFV architecture and can realize accurate decision on the expansion and shrinking of the service VNF and reasonable distribution of the service.
Referring to fig. 1, a schematic diagram of a system architecture for expanding and contracting capacity of a service VNF provided in an embodiment of the present invention includes a superior server device 100, a MANO server device 101, an SDNC server device 102, and a plurality of service VNFs, where the MANO server device 101 and the SDNC server device 102 are both subordinate server devices, the MANO server device 101 is configured to control resource conditions of the service VNF in the system, including resource index monitoring, capacity expansion and contraction, and the SDNC server device 102 is configured to control service conditions of the service VNF in the system, including service index monitoring, service allocation, and the like. The upper server device 100 is configured to perform capacity expansion control on the service VNF in the system and instruct the lower server, instruct the MANO server to perform capacity expansion, and instruct the SDNC server to allocate the service of the service VNF. The system comprises a plurality of service VNFs for bearing different services. Each VNF may contain multiple VNFCs inside, and each VNFC corresponds to one virtual machine. The VNF may allocate the carried traffic to an internal VNFC.
In the system, a MANO server device 101 and an SDNC server device 102 are connected with a superior server device 100 in a wired or wireless manner, and the MANO server device 101 and the SDNC server device 102 are connected in a wired or wireless manner. It should be noted that the above system architecture is only an example of the system architecture applicable to the embodiment of the present invention, and the system architecture applicable to the embodiment of the present invention may also add other entities or reduce part of the entities compared to the system architecture shown in fig. 1.
Example 1
In the current NFV architecture, the VNF scaling decision only considers the use of virtual resources, and there is no explicit policy for service allocation after VNF scaling, and after a specific service network element is deployed in the NFV system, the scaling of the service network element cannot be synchronized with the use of the service, and real service sharing cannot be achieved. In view of this, an embodiment of the present invention provides a method for expanding and shrinking a service VNF, which is applied to an upper server in an NFV system. As shown in fig. 2, the method includes:
step S201, acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data;
when the service data is determined to be added or deleted, or when the preset expansion and contraction capacity detection period is determined to be reached, the superior server collects the resource monitoring index data of the service VNF from the MANO server, and collects the service monitoring index data of the service VNF from the SDNC server to obtain the monitoring index data.
The monitoring index data is divided from the perspective of a monitoring object, the monitoring index data can be divided into resource monitoring index data and service monitoring index data, the monitoring index data is divided from the perspective of real-time change attributes of the monitoring index data, the monitoring index data can be divided into dynamic monitoring index data and static monitoring index data, and in the embodiment, the monitoring index data is divided into dynamic resource monitoring index data, static resource monitoring index data, dynamic service monitoring index data and static service monitoring index data according to the two dividing dimensions. The resource monitoring index data comprises dynamic resource monitoring index data and static resource monitoring index data, the service monitoring index data comprises dynamic service monitoring index data and static service monitoring index data, the dynamic monitoring index data comprises dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data comprises static resource monitoring index data and static service monitoring index data.
Because static resource monitoring index data is not commonly used in the expansion and contraction capacity of the service VNF, the expansion and contraction capacity decision is mainly carried out according to three types of monitoring index data, namely the static service monitoring index data, the dynamic resource monitoring index data and the dynamic service monitoring index data. The static service monitoring index data refers to service quantity index data configured on the service VNF, such as service bandwidth, user quantity and the like, and the index data is inquired through a database of the SDNC server; the dynamic resource monitoring index data refers to real-time monitoring indexes of VNF virtual resource use conditions, such as CPU utilization rate, virtual memory utilization rate and the like, and the index data are collected through the MANO server; the dynamic service monitoring index data refers to real-time monitoring indexes of service load in the VNF, such as data throughput, service processing speed and the like, and the index data is collected through the SDNC server.
When the superior server acquires the monitoring index data, as an optional implementation mode, the superior server sends request information for acquiring the monitoring index data to the MANO server and receives the dynamic resource monitoring index data and the static resource monitoring index data returned by the MANO server; sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
As another alternative, the MANO server may periodically send the dynamic resource monitoring index data and the static resource monitoring index data to the upper-level server; the software defined network controller SDNC server periodically sends dynamic service monitoring index data and static service monitoring index data to the upper-level server, and the period may be preset according to a virtual resource condition, a service condition, and the like.
Step S202, when the static monitoring index data meet the preset requirement, capacity expansion or capacity reduction is determined, otherwise, whether capacity expansion is performed or not is determined according to the dynamic monitoring index data;
and presetting a judgment standard for determining whether to perform the expansion and contraction capacity aiming at the static monitoring index data and the dynamic monitoring index data according to the service carrying capacity of the VNF. The judgment standard may select one or more most important monitoring indexes of the VNF as main judgment indexes, and preset corresponding judgment thresholds. For example, for a VNF of a data forwarding class, a traffic bandwidth may be selected as a main static traffic judgment index, and for a VNF of an application class, a user number may be selected as a main static traffic judgment index.
When determining the judgment standard of the static monitoring index, setting two judgment thresholds aiming at the static business monitoring index data: a static high threshold and a static low threshold. The static high threshold is a determination standard for forced expansion, and when the static monitoring index data exceeds the set static high threshold, it indicates that the probability that the virtual resource load and the service load reach full load is very high, and the expansion operation needs to be performed, and the static high threshold is set according to the service carrying capacity of the VNF, for example, it may be set to any value between 80% and 100% of the value of the static service monitoring index data when the VNF is full load. The static low threshold is a criterion for forced capacity reduction, and when the static monitoring index data is lower than the set static low threshold, it indicates that the load carried on the VNF is small at this time, and a capacity reduction operation needs to be performed to improve the resource utilization rate, and the static low threshold is set according to the service carrying capability of the VNF, and may be set to any value between 0% and 20% of the static service monitoring index data value when the VNF is fully loaded, for example.
And judging whether to expand or contract according to the acquired static service monitoring index data and the preset static high threshold and static low threshold. Specifically, when the static service monitoring index data is determined to exceed a set static high threshold, capacity expansion is determined; and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
When the obtained static service monitoring index data exceeds the set static low threshold and is lower than the set static high threshold, the capacity expansion or the capacity reduction is theoretically not needed, but the condition of service burst or the condition of unreasonable setting of the static threshold exists, so whether the capacity expansion is carried out or not can be judged according to the dynamic service monitoring index data. Since there is no situation of capacity reduction misjudgment when the obtained static service monitoring index data exceeds the set static low threshold and is lower than the set static high threshold, capacity reduction is not required to be performed, and therefore, in this embodiment, whether capacity expansion is performed is determined only according to the dynamic service monitoring index data. In specific implementation, whether capacity expansion needs to be executed is judged according to the dynamic monitoring index data and the corresponding preset judgment standard.
When determining the judgment standard of the dynamic monitoring index, setting a judgment threshold value aiming at the dynamic resource monitoring index data and the dynamic service index data: a dynamic threshold. The dynamic threshold is a judgment standard of dynamic capacity expansion, and when the dynamic monitoring index data exceeds the set dynamic threshold, the real-time virtual resource load and the real-time service load are close to or reach full load at the moment, and capacity expansion operation needs to be executed. In this embodiment, at least one dynamic resource monitoring index data and at least one dynamic service monitoring index data are synthesized to obtain a dynamic synthesized monitoring index data, and whether to perform capacity expansion is determined according to whether the dynamic synthesized monitoring index data exceeds a dynamic threshold.
In specific implementation, the dynamic resource monitoring index data and the dynamic service monitoring index data are respectively subjected to normalization processing, dynamic synthesis monitoring index data are obtained according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and whether capacity expansion is performed or not is determined according to the obtained dynamic synthesis monitoring index data. And when the dynamic synthesis monitoring index data in continuous N periods T are determined to exceed the set dynamic threshold, determining to perform capacity expansion, wherein N is a preset positive integer, T is a preset time period, and the time period can be the same as the set capacity expansion and contraction detection period.
As an optional implementation manner, when determining the dynamic synthetic monitoring index data, the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data may be averaged to obtain the dynamic synthetic monitoring index data.
As an optional implementation manner, when determining the dynamic synthetic monitoring index data, the normalized dynamic resource monitoring index data and dynamic service monitoring index data may be weighted and averaged to obtain the dynamic synthetic monitoring index data.
The dynamic threshold is set according to the capability of the VNF to carry traffic, and may be set to any value between 80% and 100% of the dynamic composite monitoring index data value when the VNF is fully loaded.
Step S203, when the capacity expansion or the capacity reduction is determined, an instruction is sent to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction.
When the expansion is determined according to the steps, an expansion instruction for expansion is sent to an MANO server to instruct the MANO server to expand the capacity; and when the capacity reduction is determined according to the steps, sending a capacity reduction instruction for carrying out the capacity reduction to the MANO server so as to instruct the MANO server to carry out the capacity reduction.
The embodiment of the invention also provides a method for expanding and shrinking the service VNF, which is applied to a lower-level server in the NFV system, in particular to an MANO server. As shown in fig. 3, the method includes:
step S301, receiving an expansion or contraction instruction sent by a superior server when the superior server determines that the static monitoring index data meets the preset requirement, or receiving an expansion instruction sent by the superior server when determining that the static monitoring index data does not meet the preset requirement and performing expansion according to the dynamic monitoring index data;
in the above embodiment, the higher-level server determines to perform capacity expansion or capacity reduction when it is determined that the static monitoring index data meets the preset requirement, or determines whether to perform capacity expansion according to the dynamic monitoring index data when it is determined that the static monitoring index data does not meet the preset requirement, and sends an instruction to the MANO server when it is determined to perform capacity expansion or capacity reduction. Therefore, the MANO server can receive the capacity expansion indication or the capacity reduction indication sent when the superior server determines to perform capacity expansion or capacity reduction, and determines to perform capacity expansion or capacity reduction according to the indication after receiving the indication. Step S302, according to the capacity expansion indication or the capacity reduction indication, capacity expansion or capacity reduction is carried out.
When an expansion instruction sent by a superior server is received, adding one VNFC and a corresponding virtual machine to the VNF according to the expansion instruction; and when a capacity reduction instruction sent by a superior server is received, sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving a prompt message of completing the service migration returned by the SDNC server.
The MANO server also needs to send the resource monitoring index data of the service VNF to the upper-level server, so that the upper-level server determines whether to perform capacity expansion or capacity reduction according to the resource monitoring index data. Specifically, when request information for acquiring monitoring index data sent by a superior server is received, resource monitoring index data of a VNF is sent to the superior server according to the request information; or when the set period is reached, the resource monitoring index data of the VNF is sent to the upper-level server, and the set period may be the above-mentioned scaling detection period.
Further, before the method for scaling the service VNF provided in the foregoing embodiment is executed, service allocation may be performed according to a service change condition, and after the service allocation is completed, the steps of the method for scaling the service may be performed according to a service bearing condition after the service change.
Fig. 4 is a schematic diagram of a VNF service allocation method according to this embodiment of the present invention.
Before acquiring the monitoring index data in step S201 in the above embodiment, the method for performing VNF service allocation specifically includes:
step S401, when determining the newly added service data, indicating the service allocation strategy to the SDNC server, so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service allocation strategy;
and the superior server indicates the service distribution strategy to the SDNC server, so that when the SDNC server determines the newly added service data, the newly added service data is distributed to the VNFC according to the indicated service distribution strategy.
As an optional implementation manner, the upper server indicates, to the SDNC server, an allocation policy for performing balanced allocation according to a service load, so that when the SDNC server determines new service data, the VNFCs corresponding to the new service data are determined according to the service loads of the VNFCs of the VNF, specifically, the SDNC server determines, according to the service loads of the VNFCs of the VNF, the VNFC with the lowest service load, and is the VNFC corresponding to the new service data, and allocates the new service to the VNFC.
As another optional implementation, the upper server indicates an allocation policy, which is allocated according to a priority attribute of the VNFC, to the SDNC server, so that when the SDNC server determines new service data, the VNFC corresponding to the new service data is determined according to a priority of the new service data processed by the VNFCs of the VNF, specifically, the SDNC server processes the priority of the new service data according to the VNFCs of the VNF, selects, in order from high to low in priority, the VNFC with the highest priority and static monitoring index data lower than a set threshold, and is the VNFC corresponding to the new service data, and allocates the new service to the VNFC.
Step S402, when determining that the service data is required to be deleted, sending an instruction of deleting the service data to the SDNC server, so that the SDNC server deletes the service data from the corresponding VNFC.
And the upper-level server sends an instruction for deleting the service data to the SDNC server, so that when the SDNC server determines to delete the service data, the VNFC for bearing the deleted service is determined according to the instruction, and the service data is deleted from the corresponding VNFC.
The method and the device for expanding and shrinking the service VNF, provided by the embodiments of the present invention, preferentially determine whether to expand and shrink the capacity according to the static monitoring index, and when not determining to expand and shrink the capacity according to the static monitoring index, determine whether to expand the capacity according to the dynamic monitoring index, and simultaneously consider the virtual resource usage situation and the service load situation, so that the capacity expansion and shrinkage opportunity can be accurately determined, the resource utilization efficiency is improved, and the problem that the resource waste or the system load is too heavy due to inaccurate capacity expansion and shrinkage decision in the existing service VNF capacity expansion and shrinkage method is solved.
Example 2
Referring to fig. 5, a flowchart of a method for scaling a service VNF according to an embodiment of the present invention specifically includes the following steps:
step S501, monitoring system time or system service change conditions;
and the superior server monitors the system time and determines whether a preset expansion and contraction volume detection period is reached.
And the SDNC server monitors the change condition of the system service and determines whether to add or delete the service.
Step S502, the SDNC server determines whether to add a new service, if so, step S503 is executed, otherwise, step S504 is executed;
step S503, the SDNC server distributes the service according to the service distribution rule indicated by the superior server, and distributes the newly added service to the corresponding VNFC;
and the upper-level server sends the determined service distribution strategy to the SDNC server, and after receiving the service distribution strategy, the SDNC server distributes the service according to the service distribution strategy when newly adding the service and distributes the newly added service to the corresponding VNFC.
The service allocation policy includes an allocation policy, i.e., a load sharing allocation policy, for performing balanced allocation according to a service load, and an allocation policy, i.e., a priority allocation policy, for performing allocation according to a priority attribute of the VNFC. A load sharing and distributing strategy, that is, the VNF distributes newly added services among a plurality of VNFCs inside the VNF, so that the service loads on the VNFCs are kept balanced; the priority assignment policy is to specify a priority attribute of each VNFC inside the expanded VNF, and preferentially assign the service to a VNFC with a higher priority attribute or a VNFC with a specified priority attribute when performing service assignment. For example, an area attribute may be assigned to multiple VNFCs corresponding to a VNF, and then a newly added service in a certain area is preferentially assigned to the VNFCs belonging to the area.
The superior server indicates any determined service distribution strategy to the SDNC server, when a new service is added, if the service distribution strategy received by the SDNC is a load sharing distribution strategy, the service load of each VNFC in the VNF is judged according to the static service index, and the new service is distributed to the VNFC with the lowest static service monitoring index; and if the service distribution strategy received by the SDNC is a priority distribution strategy, distributing the newly added service to the VNFC which accords with the priority attribute and the static monitoring index data does not exceed the set static high threshold, and setting the static high threshold as a preset threshold sent by a superior server.
And performs step S507.
Step S504, the SDNC server determines whether to delete the service, if yes, step S505 is executed, otherwise step S506 is executed;
step S505, the SDNC server deletes the service from the corresponding VNFC according to the instruction of the superior server;
when the service is determined to be deleted, the SDNC server deletes the service from the corresponding VNFC, or the SDNC server deletes the service from the corresponding VNFC according to the instruction of the upper-level server.
And performs step S507.
Step S506, the superior server determines whether a preset expansion and contraction capacity detection period is reached, if so, step S507 is executed, otherwise, step S501 is executed;
step S507, the superior server obtains monitoring index data;
the monitoring index data of the VNF includes static service monitoring index data, dynamic service monitoring index data, static resource monitoring index data, and dynamic resource monitoring index data, and in this embodiment, scaling judgment is performed according to the static service monitoring index data, the dynamic service monitoring index data, and the dynamic resource monitoring index data.
The superior server obtains the dynamic resource monitoring index data from the MANO server and obtains the static service monitoring index data and the dynamic service monitoring index data from the SDNC server by the method provided by the above embodiment, which is not described in detail herein.
Step S508, the superior server determines whether to carry on the expansion or shrinking according to the static business monitoring index data, and send the instruction to MANO server while confirming carrying on the expansion or shrinking;
fig. 6 is a schematic diagram illustrating division of the scaling intervals of the service VNF according to an embodiment of the present invention. In the existing capacity expansion and reduction scheme, the status of each monitoring index is equal, that is, the capacity expansion and reduction judgment function is the same, which easily causes inaccurate capacity expansion and reduction time judgment and causes resource waste or system overload. In this embodiment, the monitoring index data is divided into dynamic monitoring index data and static monitoring index data, where the static monitoring index data is a key index, and three expansion/contraction capacity intervals shown in fig. 6 are divided by using a static high threshold and a static low threshold: capacity expansion interval, capacity reduction interval and dynamic interval. When the static service monitoring index data is higher than the high threshold value, the corresponding expansion interval indicates that the possibility of system overload is very high, the capacity should be expanded, and the capacity should be expanded even if the system is not overloaded temporarily; when the static service monitoring index data is lower than a low threshold value, the theoretical load of the system is very low and the capacity is required to be reduced; if the static service monitoring index data is in the middle position, that is, if the static service monitoring index data is higher than the low threshold and lower than the high threshold, the dynamic service monitoring index data corresponds to the dynamic interval, the dynamic service monitoring index data can be judged according to the actual operation condition of the system, that is, the dynamic monitoring index data is a secondary index. The division of the static monitoring indexes and the dynamic monitoring indexes defines the positions of the key indexes and the non-key indexes, and system misjudgment caused by non-key index interference is avoided.
After the superior server obtains the monitoring index data, various static business monitoring index data can be obtained through classification, the static business monitoring index data in the static business monitoring index data is compared with a set static high threshold value and a set static low threshold value, and a scaling interval where the static business monitoring index data of the VNF is located is determined. When the located expansion and contraction capacity interval is determined to be an expansion interval, the superior server sends an expansion instruction to the MANO server, so that the MANO server expands the capacity according to the instruction; when the located expansion and contraction capacity interval is determined to be a contraction capacity interval, the superior server sends a contraction capacity instruction to the MANO server, so that the MANO server performs contraction capacity according to the instruction; and when the located expansion and contraction capacity interval is determined to be a dynamic interval, the superior server determines whether to expand the capacity according to the dynamic monitoring index data.
Step S509, the superior server determines whether to perform capacity expansion according to the dynamic service index data, and sends an instruction to the MANO server when determining to perform capacity expansion;
when the section is determined to be a dynamic section according to the static service monitoring index data, theoretically, capacity expansion and reduction operation does not need to be executed, but if a service burst condition or a condition that the static threshold value is set unreasonably exists, whether capacity expansion needs to be executed or not is allowed to be judged according to the dynamic monitoring index data in the dynamic section. Since the situation of capacity reduction misjudgment does not exist, capacity reduction is not executed in the dynamic interval.
When the VNF is determined to be the dynamic interval shown in fig. 6 according to the static service monitoring index data, the dynamic synthesis monitoring index data is determined according to the dynamic monitoring index data, and whether capacity expansion is performed is determined according to whether the dynamic synthesis monitoring index data exceeds a set dynamic threshold. Since the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and each dynamic monitoring index data may include a plurality of data. Therefore, when a plurality of dynamic monitoring index data exist, dynamic synthesis monitoring index data are obtained according to the plurality of dynamic monitoring index data, and whether capacity expansion or capacity reduction is carried out is determined by using the dynamic synthesis monitoring index data.
Determining dynamic synthetic index data according to any one of the following methods:
1) and determining dynamic synthetic index data by using an averaging algorithm, wherein the algorithm firstly performs normalization processing on the dynamic monitoring index data, and then averages the dynamic monitoring index data after the normalization processing to obtain the dynamic synthetic monitoring index data, wherein the dynamic monitoring index data comprises dynamic service monitoring index data and dynamic resource monitoring index data. The roles of all dynamic indicators in the algorithm are equivalent. For example, the dynamic synthetic monitoring index data D may be calculated using the following formula:
Figure BDA0002329537120000231
and the dn% in the numerator is the nth normalized dynamic monitoring index data, the n in the denominator is the number of the dynamic monitoring index data, and the n is a positive integer not less than 1.
2) And determining dynamic synthetic index data by using a weighting algorithm, wherein the algorithm firstly carries out normalization processing on the dynamic monitoring index data and sets corresponding weight for each dynamic monitoring index data. The weighted value is a positive integer, and the dynamic monitoring index data comprises dynamic service monitoring index data and dynamic resource monitoring index data. And then carrying out weighted average on the dynamic monitoring index data after the normalization processing according to the set weight to obtain dynamic synthesis monitoring index data, wherein the weighting coefficient corresponds to the weight. For example, the dynamic synthetic monitoring index data D may be calculated using the following formula:
Figure BDA0002329537120000241
wherein dn% in the molecule is the nth normalized dynamic monitoring index data, αnFor the nth dynamic monitoring index data, αnIs a preset positive integer, and n is a positive integer not less than 1.
And when the state is determined to be a dynamic interval in the above steps, obtaining dynamic synthesis monitoring index data of each period according to a sampling period T, and when the dynamic monitoring index data of N continuous periods are determined to exceed a set dynamic threshold, determining that capacity expansion is required, wherein the sampling period T can be the set capacity expansion and reduction detection period. And the superior server sends a capacity expansion instruction to the SDNC server, so that the SDNC server performs capacity expansion according to the instruction. The sampling period T may be the set expansion/contraction capacity detection period.
Step S510, the MANO server receives an instruction sent by a superior server, determines whether the instruction is an expansion instruction, if so, executes step S511, otherwise executes step S512;
step S511, the MANO server expands the volume of the service VNF according to the instruction of the superior server;
and after receiving the instruction sent by the superior server, the MANO server executes capacity expansion or capacity reduction operation. Because the horizontal scaling does not need to restart the virtual machine and does not affect the service being executed, the horizontal scaling is preferred in this embodiment. And when receiving an expansion instruction sent by a superior server, the MANO server determines to perform transverse expansion, adds a virtual machine to the VNF needing to be expanded, installs corresponding service software to form a new VNFC, and sends an expansion result to the SDNC server so that the SDNC server performs service distribution according to the expansion result when adding or deleting services.
Step S512, the MANO server determines whether the instruction is a capacity reduction instruction, if so, step S513 is executed, otherwise, step S501 is executed;
in step S513, the MANO server performs capacity reduction on the service VNF according to the instruction of the upper server.
When receiving an instruction sent by a superior server, the MANO server determines to perform horizontal capacity reduction when the instruction is a capacity reduction instruction, firstly, the MANO server informs the SDNC server to perform service migration, after receiving the instruction, the SDNC server deletes the service on a VNFC corresponding to the deleted service and sends prompt information of completion of the service migration to the MANO server, then the MANO server reduces a virtual machine for the VNF needing capacity reduction each time, and sends a capacity reduction result to the SDNC server, so that the SDNC server performs service distribution according to the capacity reduction result when the service is newly added or deleted.
The flow diagram of the service VNF capacity expansion and reduction method shown in fig. 5 is only an exemplary execution diagram, and in this embodiment, the execution of step S502, step S504, and step S506 is not limited to a time sequence, and the execution sequence may be arbitrarily combined or executed simultaneously. When it is determined that any one of the conditions of the step S502, the step S504, and the step S506 is satisfied, the subsequent steps are started to be executed, that is, when the SDNC server determines to add a new service, the step S503, the step S507, and the subsequent steps are executed, or when the SDNC server determines to delete a service, the step S505, the step S507, and the subsequent steps are executed, or when the upper server determines to reach a preset expansion/contraction capacity detection period, the step S507 and the subsequent steps are executed.
The method and the device for expanding and contracting the service VNF provided by the above embodiment of the present invention divide the monitoring index of the expansion and contraction capacity into the static monitoring index and the dynamic monitoring index, determine the static monitoring index as the key monitoring index, determine the dynamic monitoring index as the secondary monitoring index, consider the use condition of the virtual resource and the service load condition of the VNF, and preferentially perform expansion and contraction capacity judgment by using the key monitoring index, can accurately judge the expansion and contraction capacity timing, avoid system misjudgment caused by interference of non-key monitoring indexes, improve the resource utilization efficiency, and solve the problems of resource waste or system overload due to inaccurate expansion and contraction capacity decision of the existing method for expanding and contracting the service VNF.
Example 3
A method for scaling a service VNF according to the present invention is described above, and an apparatus for performing the method for scaling a service VNF is described below.
Referring to fig. 7, an embodiment of the present invention provides a device for scaling a service VNF, where the device is applied to an upper server in an NFV system, and the device includes:
the index monitoring module 701 is configured to obtain monitoring index data, where the monitoring index data includes dynamic monitoring index data that changes in real time and static monitoring index data that changes in non-real time;
a capacity expansion and reduction decision module 702, configured to determine to perform capacity expansion or capacity reduction when the static monitoring index data meets a preset requirement, and otherwise determine whether to perform capacity expansion according to the dynamic monitoring index data;
and a capacity expansion and reduction indication module 703, configured to send an indication to a management and network orchestration MANO server to indicate the MANO server to perform capacity expansion or reduction when capacity expansion or reduction is determined.
Optionally, the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data includes static resource monitoring index data and static service monitoring index data.
Optionally, the acquiring, by the index monitoring module, monitoring index data includes:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
Optionally, when the capacity expansion decision module determines that the static monitoring index data meets the preset requirement, determining to perform capacity expansion or capacity reduction, including:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
Optionally, when the capacity expansion decision module determines that the static service monitoring index data meets a preset requirement, determining to perform capacity expansion or capacity reduction, including:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
Optionally, the determining, by the capacity expansion decision module, whether to perform capacity expansion according to the dynamic monitoring index data includes:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
Optionally, the determining, by the capacity expansion decision module, whether to perform capacity expansion according to the dynamic synthesis monitoring index data includes:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
Optionally, the obtaining, by the capacity expansion decision module, dynamic synthetic monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
Optionally, the acquiring, by the index monitoring module, monitoring index data includes:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
Optionally, the apparatus further includes a service allocation module 704, where before the index monitoring module obtains the monitoring index data, the service allocation module is specifically configured to:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
Optionally, the instructing, by the service allocation module, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
Optionally, the instructing, by the service allocation module, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
Referring to fig. 8, an embodiment of the present invention provides a device for scaling a service VNF, where the device is applied to a lower server in an NFV system, specifically, a MANO server, and the device includes:
an indication receiving module 801, configured to receive an expansion or contraction indication sent by a higher-level server when determining that static monitoring index data meets a preset requirement, or receive an expansion indication sent by the higher-level server when determining that static monitoring index data does not meet the preset requirement and performing expansion according to dynamic monitoring index data;
and a capacity expansion and reduction module 802, configured to perform capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
Optionally, the expanding and shrinking module expands or shrinks according to the expansion indication or the shrinking indication, including:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
Optionally, the apparatus further includes an index uploading module 803, which is specifically configured to:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
The above describes the device for scaling the service VNF in the present embodiment from the perspective of the modular functional entity, and the following describes the device for scaling the service VNF in the present embodiment from the perspective of hardware processing.
Example 4
Referring to fig. 9, another embodiment of the method for scaling the service VNF in the embodiment of the present application, applied to the upper level server in the NFV architecture, includes:
a processor 901, a memory 902, a transceiver 909, and a bus system 911;
the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data;
when the static monitoring index data meet the preset requirement, determining to perform capacity expansion or capacity reduction, otherwise, determining whether to perform capacity expansion according to the dynamic monitoring index data;
and when the capacity expansion or the capacity reduction is determined, sending an instruction to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction.
Fig. 9 is a schematic structural diagram of a capacity expansion device of a service VNF according to an embodiment of the present invention, where the capacity expansion device is applied to an upper server in an NFV architecture, and the device 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPU) 901 (e.g., one or more processors) and a memory 902, and one or more storage media 903 (e.g., one or more mass storage devices) for storing an application 904 or data 906. Memory 902 and storage medium 903 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 903 may include one or more modules (not shown), and each module may include a series of instruction operations in the information processing apparatus. Further, the processor 901 may be configured to communicate with the storage medium 903 and execute a series of instruction operations in the storage medium 903 on the device 900.
Device 900 may also include one or more power supplies 910, one or more wired or wireless network interfaces 907, one or more input-output interfaces 908, and/or one or more operating systems 905, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc.
Optionally, the dynamic monitoring index data includes dynamic resource monitoring index data and dynamic service monitoring index data, and the static monitoring index data includes static resource monitoring index data and static service monitoring index data.
Optionally, the processor obtains monitoring index data, including:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
Optionally, when determining that the static monitoring index data meets the preset requirement, the processor determines to perform capacity expansion or capacity reduction, including:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
Optionally, when determining that the static service monitoring index data meets the preset requirement, the processor determines to perform capacity expansion or capacity reduction, including:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
Optionally, the determining, by the processor, whether to perform capacity expansion according to the dynamic monitoring index data includes:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
Optionally, the determining, by the processor, whether to perform capacity expansion according to the dynamic synthesis monitoring index data includes:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
Optionally, the processor obtains dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing, and the method includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
Optionally, the processor obtains monitoring index data, including:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
Optionally, the processor is further configured to:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
Optionally, the instructing, by the processor, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
Optionally, the instructing, by the processor, the service allocation policy to the SDNC server, so that the SDNC server determines, according to the instructed service allocation policy, a VNFC corresponding to the newly added service data, including:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
Referring to fig. 10, another embodiment of the application of the method for scaling the service VNF in the embodiment of the present application to a subordinate MANO server in the NFV architecture includes:
a processor 1001, a memory 1002, a transceiver 1009, and a bus system 1011;
the memory is used for storing programs;
the processor is used for executing the program in the memory and comprises the following steps:
receiving an expansion or contraction indication sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion indication sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
Fig. 10 is a schematic structural diagram of a device for scaling a service VNF, where the device is applied to a lower-level server in an NFV architecture, and the device 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPU) 1001 (for example, one or more processors) and a memory 1002, and one or more storage media 1003 (for example, one or more mass storage devices) storing an application program 1004 or data 1006. Wherein the memory 1002 and the storage medium 1003 may be transient storage or persistent storage. The program stored in the storage medium 1003 may include one or more modules (not shown), and each module may include a series of instruction operations in the information processing apparatus. Further, the processor 1001 may be configured to communicate with the storage medium 1003 and execute a series of instruction operations in the storage medium 1003 on the device 1000.
The device 1000 may also include one or more power supplies 1010, one or more wired or wireless network interfaces 1007, one or more input-output interfaces 1008, and/or one or more operating systems 1005, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc.
Optionally, the expanding or shrinking the capacity of the processor according to the capacity expansion indication or the capacity shrinking indication includes:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
Optionally, the processor is further configured to:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
An embodiment of the present invention further provides a computer-readable storage medium, which includes instructions, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute the method for scaling the service VNF provided in the foregoing embodiment.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The technical solutions provided by the present application are introduced in detail, and the present application applies specific examples to explain the principles and embodiments of the present application, and the descriptions of the above examples are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. A method for scaling a service Virtual Network Function (VNF) is characterized by comprising the following steps:
acquiring monitoring index data, wherein the monitoring index data comprises real-time changing dynamic monitoring index data and non-real-time changing static monitoring index data;
when the static monitoring index data meet the preset requirement, determining to perform capacity expansion or capacity reduction, otherwise, determining whether to perform capacity expansion according to the dynamic monitoring index data;
and when the capacity expansion or the capacity reduction is determined, sending an instruction to a management and network arrangement MANO server to instruct the MANO server to perform the capacity expansion or the capacity reduction.
2. The method of claim 1, wherein the dynamic monitoring index data comprises dynamic resource monitoring index data and dynamic traffic monitoring index data, and the static monitoring index data comprises static resource monitoring index data and static traffic monitoring index data.
3. The method of claim 2, wherein obtaining monitoring index data comprises:
sending request information for acquiring monitoring index data to an MANO server, and receiving dynamic resource monitoring index data and static resource monitoring index data returned by the MANO server;
sending request information for acquiring monitoring index data to a Software Defined Network Controller (SDNC) server, and receiving dynamic service monitoring index data and static service monitoring index data returned by the SDNC server.
4. The method according to claim 2, wherein when it is determined that the static monitoring index data meets a preset requirement, determining to perform capacity expansion or capacity reduction comprises:
and when the static service monitoring index data is determined to meet the preset requirement, capacity expansion or capacity reduction is determined.
5. The method according to claim 4, wherein when it is determined that the static service monitoring index data meets a preset requirement, determining to perform capacity expansion or capacity reduction comprises:
when the static service monitoring index data is determined to exceed a set static high threshold value, capacity expansion is determined;
and when the static service monitoring index data is determined to be lower than a set static low threshold value, capacity reduction is determined.
6. The method of claim 2, wherein determining whether to expand based on the dynamic monitoring indicator data comprises:
respectively carrying out normalization processing on the dynamic resource monitoring index data and the dynamic service monitoring index data;
and obtaining dynamic synthesis monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after normalization processing, and determining whether to perform capacity expansion according to the dynamic synthesis monitoring index data.
7. The method of claim 6, wherein determining whether to expand based on the dynamically synthesized monitoring index data comprises:
and when the dynamic synthesis monitoring index data exceed a set dynamic threshold value in N continuous periods T, determining to perform capacity expansion, wherein N is a preset positive integer, and T is a preset time period.
8. The method according to claim 6, wherein obtaining dynamic synthetic monitoring index data according to the dynamic resource monitoring index data and the dynamic service monitoring index data after the normalization processing includes:
averaging the normalized dynamic resource monitoring index data and dynamic service monitoring index data to obtain dynamic synthesis monitoring index data; or
And carrying out weighted average on the normalized dynamic resource monitoring index data and the normalized dynamic service monitoring index data to obtain dynamic synthesis monitoring index data.
9. The method of claim 1, wherein obtaining monitoring index data comprises:
acquiring monitoring index data when determining to add or delete service data; or
And acquiring monitoring index data when the preset expansion and contraction volume detection period is reached.
10. The method of claim 9, wherein prior to obtaining the monitoring metric data, further comprising:
when determining the newly added service data, indicating the service distribution strategy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service distribution strategy; or
And when the service data is determined to be deleted, sending a service data deletion instruction to the SDNC server so that the SDNC server deletes the service data from the corresponding VNFC.
11. The method of claim 10, wherein indicating the service allocation policy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service allocation policy comprises:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines VNFCs corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF; or
And indicating the distribution strategy distributed according to the priority attribute of the VNFC to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the priority of the newly added service data processed by the VNFCs of the VNF.
12. The method of claim 11, wherein indicating the service allocation policy to the SDNC server so that the SDNC server determines the VNFC corresponding to the newly added service data according to the indicated service allocation policy comprises:
indicating an allocation strategy for performing balanced allocation according to the service load to an SDNC server so that the SDNC server determines a VNFC with the lowest service load as a VNFC corresponding to newly added service data according to the service loads of a plurality of VNFCs of the VNF;
and indicating the distribution strategy distributed according to the priority attribute of the VNFC to an SDNC server so that the SDNC server processes the priority of the newly added service data according to the VNFCs of the VNF, and selecting the VNFC with the highest priority and the static monitoring index data lower than a set threshold value according to the sequence from high to low of the priority, so as to serve as the corresponding VNFC of the newly added service data.
13. A method for expanding and reducing the volume of a service VNF is characterized by comprising the following steps:
receiving an expansion or contraction indication sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion indication sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
14. The method of claim 13, wherein expanding or shrinking the capacity according to the expansion indication or the shrinking indication comprises:
adding a VNFC and a corresponding virtual machine to the VNF according to the capacity expansion indication; or
And sending a service migration instruction to the SDNC server according to the capacity reduction instruction, and deleting the VNF by the VNFC and the corresponding virtual machine after receiving prompt information of service migration completion returned by the SDNC server.
15. The method of claim 13, further comprising:
receiving request information for acquiring monitoring index data sent by a superior server, and sending the resource monitoring index data of the VNF to the superior server according to the request information.
16. An apparatus for scaling a service VNF, comprising:
the index monitoring module is used for acquiring monitoring index data, wherein the monitoring index data comprises dynamic monitoring index data changing in real time and static monitoring index data changing in non-real time;
the expansion and contraction decision module is used for determining that expansion or contraction is carried out when the static monitoring index data meet the preset requirement, and otherwise, determining whether expansion is carried out according to the dynamic monitoring index data;
and the expansion and contraction capacity indicating module is used for sending an indication to the MANO server for management and network arrangement when the expansion or contraction capacity is determined to be carried out so as to indicate the MANO server to carry out the expansion or contraction capacity.
17. An apparatus for scaling a service VNF, comprising:
the instruction receiving module is used for receiving an expansion or contraction instruction sent by a superior server when the superior server determines that the static monitoring index data meet the preset requirement, or receiving an expansion instruction sent by the superior server when the superior server determines that the static monitoring index data do not meet the preset requirement and performs expansion according to the dynamic monitoring index data;
and the capacity expansion and reduction module is used for carrying out capacity expansion or capacity reduction according to the capacity expansion indication or the capacity reduction indication.
18. An apparatus for scaling a service VNF, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor is used for executing the program in the memory and realizing the steps of the method according to any one of claims 1 to 12.
19. An apparatus for scaling a service VNF, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor is used for executing the program in the memory and realizing the steps of the method according to any one of claims 13-15.
20. A computer program medium, having a computer program stored thereon, wherein the program, when executed by a processor, performs the steps of the method according to any one of claims 1 to 12, or performs the steps of the method according to any one of claims 13 to 15.
CN201911330951.4A 2019-12-20 2019-12-20 Expansion and contraction method and equipment of service Virtual Network Function (VNF) Active CN111526031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330951.4A CN111526031B (en) 2019-12-20 2019-12-20 Expansion and contraction method and equipment of service Virtual Network Function (VNF)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330951.4A CN111526031B (en) 2019-12-20 2019-12-20 Expansion and contraction method and equipment of service Virtual Network Function (VNF)

Publications (2)

Publication Number Publication Date
CN111526031A true CN111526031A (en) 2020-08-11
CN111526031B CN111526031B (en) 2023-06-06

Family

ID=71910262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330951.4A Active CN111526031B (en) 2019-12-20 2019-12-20 Expansion and contraction method and equipment of service Virtual Network Function (VNF)

Country Status (1)

Country Link
CN (1) CN111526031B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291104A (en) * 2020-12-30 2021-01-29 望海康信(北京)科技股份公司 Micro-service automatic scaling system, method and corresponding equipment and storage medium
CN113032157A (en) * 2021-05-31 2021-06-25 睿至科技集团有限公司 Automatic intelligent server capacity expansion and reduction method and system
CN113254209A (en) * 2021-05-28 2021-08-13 北京奇艺世纪科技有限公司 Capacity management method and device, electronic equipment and readable storage medium
CN113448731A (en) * 2021-07-05 2021-09-28 浪潮天元通信信息系统有限公司 NFV infrastructure energy efficiency management method and device and computer readable medium
CN114579305A (en) * 2022-02-28 2022-06-03 北京百度网讯科技有限公司 Resource control method, device, equipment and medium for function calculation
CN115051920A (en) * 2022-06-02 2022-09-13 北京邮电大学 Method and system for capacity expansion of NFV capacity network element under capacity open architecture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547317A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 Virtualize control method, device and the communication system of BAS Broadband Access Server
CN108063735A (en) * 2017-12-22 2018-05-22 新华三技术有限公司 The distribution method and device of VNF clusters
CN108268305A (en) * 2017-01-04 2018-07-10 中国移动通信集团四川有限公司 For the system and method for virtual machine scalable appearance automatically
CN109766182A (en) * 2018-12-18 2019-05-17 平安科技(深圳)有限公司 The scalable appearance method, apparatus of system resource dynamic, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547317A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 Virtualize control method, device and the communication system of BAS Broadband Access Server
CN108268305A (en) * 2017-01-04 2018-07-10 中国移动通信集团四川有限公司 For the system and method for virtual machine scalable appearance automatically
CN108063735A (en) * 2017-12-22 2018-05-22 新华三技术有限公司 The distribution method and device of VNF clusters
CN109766182A (en) * 2018-12-18 2019-05-17 平安科技(深圳)有限公司 The scalable appearance method, apparatus of system resource dynamic, computer equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291104A (en) * 2020-12-30 2021-01-29 望海康信(北京)科技股份公司 Micro-service automatic scaling system, method and corresponding equipment and storage medium
CN113254209A (en) * 2021-05-28 2021-08-13 北京奇艺世纪科技有限公司 Capacity management method and device, electronic equipment and readable storage medium
CN113254209B (en) * 2021-05-28 2023-08-29 北京奇艺世纪科技有限公司 Capacity management method, device, electronic equipment and readable storage medium
CN113032157A (en) * 2021-05-31 2021-06-25 睿至科技集团有限公司 Automatic intelligent server capacity expansion and reduction method and system
CN113448731A (en) * 2021-07-05 2021-09-28 浪潮天元通信信息系统有限公司 NFV infrastructure energy efficiency management method and device and computer readable medium
CN114579305A (en) * 2022-02-28 2022-06-03 北京百度网讯科技有限公司 Resource control method, device, equipment and medium for function calculation
CN114579305B (en) * 2022-02-28 2023-09-15 北京百度网讯科技有限公司 Resource control method, device, equipment and medium for function calculation
CN115051920A (en) * 2022-06-02 2022-09-13 北京邮电大学 Method and system for capacity expansion of NFV capacity network element under capacity open architecture
CN115051920B (en) * 2022-06-02 2023-07-18 北京邮电大学 Method and system for expanding NFV capacity network element under capacity open architecture

Also Published As

Publication number Publication date
CN111526031B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN111526031B (en) Expansion and contraction method and equipment of service Virtual Network Function (VNF)
CN112153700B (en) Network slice resource management method and equipment
EP3281359B1 (en) Application driven and adaptive unified resource management for data centers with multi-resource schedulable unit (mrsu)
US8087025B1 (en) Workload placement among resource-on-demand systems
US9317336B2 (en) Method and apparatus for assignment of virtual resources within a cloud environment
EP3128422A1 (en) Application scaling management method and apparatus
US20170237647A1 (en) Virtual network function resource allocation and management system
CN113348651B (en) Dynamic inter-cloud placement of sliced virtual network functions
JP6664812B2 (en) Automatic virtual resource selection system and method
WO2021012956A1 (en) Resource processing method for cloud platform, and related device and storage medium
CN112583861A (en) Service deployment method, resource configuration method, system, device and server
CN108132827B (en) Network slice resource mapping method, related equipment and system
CN107276794B (en) Switch migration algorithm in software defined network
WO2020042612A1 (en) Method and device for storing and reading a message, server, and storage medium
WO2018121178A1 (en) Resource adjustment method, device and system
CN108345490B (en) Method and system for deploying virtual machine in NFV
US9386353B2 (en) Child node, parent node, and caching method and system for multi-layer video network
CN114866544B (en) CPU heterogeneous cluster-oriented containerized micro-service load balancing method in cloud edge environment
CN111193607B (en) Method, device and storage medium for transmission resource management
US10868764B2 (en) Route calculation control device and route calculation control method
CN102696257B (en) Method and device for implementing temperature balance among multiple physical servers
CN113839972A (en) Load balancing method, device, equipment and storage medium
Lu et al. High-elasticity virtual cluster placement in multi-tenant cloud data centers
CN117395178B (en) Quality monitoring method based on network division
WO2024022443A1 (en) Resource autoscaling method and apparatus, and device

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