CN110557267A - network Function Virtualization (NFV) -based capacity modification method and device - Google Patents
network Function Virtualization (NFV) -based capacity modification method and device Download PDFInfo
- Publication number
- CN110557267A CN110557267A CN201810538843.5A CN201810538843A CN110557267A CN 110557267 A CN110557267 A CN 110557267A CN 201810538843 A CN201810538843 A CN 201810538843A CN 110557267 A CN110557267 A CN 110557267A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- modification
- capacity
- target
- target virtual
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1031—Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides a capacity modification method and device based on Network Function Virtualization (NFV). The method is applied to an application server AS, and comprises the following steps: receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation; acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation; and executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine. The invention realizes the automatic capacity modification of AS, has higher automation degree, does not need manual intervention and does not influence the carried service.
Description
Technical Field
The embodiment of the invention relates to the technical field of mobile communication, in particular to a capacity modification method and device based on Network Function Virtualization (NFV).
background
The introduction of NFV in mobile core networks facilitates the reduction of operator networks and brings new convenience to the collection and analysis of operational data. The scalability of the NFV network enables the operator network to adapt to changes in communication load in time, provides a new solution to busy hours and busy areas, and compresses the engineering cycle. The NFV architecture proposed by European Telecommunications Standardization Institute (ETSI) mainly includes a network layer, a network element layer and a resource layer, wherein the network element layer mainly includes a VNF, an EMS and a VNFM, and a VNF module is an Application Server (AS).
prior to the advent of NFV, the conventional AS scaling process typically involved: manually adding or deleting configuration parameters in a core network, adding or deleting equipment on a hardware load balancer and a network manager, and configuring related information of the scaling virtual machine on a service AS. For part of service AS with automatic distribution function, a distribution module is also needed to detect or manually configure a target virtual machine of the expansion capacity. The above process has long period and high cost, cannot respond to the capacity expansion and contraction requirement in time, and is difficult to achieve service lossless.
After NFV appears, AS scaling is realized on the basis of dynamic scaling of a virtual machine, and the dynamic scaling process also needs more manual intervention. For part of the service AS with the automatic distribution function, the distribution module is also required to detect or manually configure the virtual machine of the expansion capacity.
Therefore, in the prior art, both the conventional capacity expansion and the NFV-based capacity expansion require much manual intervention for the AS.
Disclosure of Invention
The embodiment of the invention provides a capacity modification method and device based on Network Function Virtualization (NFV), which are used for solving the problem that in the prior art, the AS expansion and contraction capacity needs more manual intervention.
In one aspect, an embodiment of the present invention provides a capacity modification method based on Network Function Virtualization (NFV), where the method is applied to an Application Server (AS), and the method includes:
Receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
Acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation;
And executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
on the other hand, an embodiment of the present invention provides a capacity modification device based on Network Function Virtualization (NFV), where the capacity modification device is applied to an Application Server (AS), and the capacity modification device includes:
the receiving module is used for receiving a capacity modification instruction and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
the acquisition module is used for acquiring the configuration parameters of the target virtual machine and determining the parameter processing operation corresponding to the modification operation;
and the execution module is used for executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
On the other hand, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, a bus, and a computer program stored on the memory and executable on the processor, where the processor implements the steps in the capacity modification method based on network function virtualization NFV when executing the program.
In still another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the capacity modification method based on network function virtualization NFV.
according to the capacity modification method and device based on Network Function Virtualization (NFV), provided by the embodiment of the invention, the capacity modification instruction is received, the target virtual machine of the target Virtualization Deployment Unit (VDU) is determined according to the modification operation indicated in the capacity modification instruction, the configuration parameters of the target virtual machine and the parameter processing operation corresponding to the modification operation are obtained, the parameter processing operation is executed on the configuration parameters, the AS provides a uniform service address to the outside according to the configuration parameters, and the network element is not required to cooperate with the modification operation; and executing the modification operation on the target virtual machine, and increasing or reducing the number of the virtual machines of the VDU to realize the automatic capacity modification of the AS, wherein the automation degree is higher, manual intervention is not needed, and the loaded service is not influenced. The invention solves the problem that the AS expansion and contraction capacity needs more manual intervention in the prior art.
drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a capacity modification method based on Network Function Virtualization (NFV) according to an embodiment of the present invention;
Fig. 2 is a schematic view of an application scenario according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of a capacity modification method for virtualizing an NFV based on a network function according to another embodiment of the present invention;
FIG. 4 is a flowchart of a method of a first example of an embodiment of the present invention;
Fig. 5 is a flowchart illustrating a capacity modification method for virtualizing an NFV based on a network function according to another embodiment of the present invention;
FIG. 6 is a method flow diagram of a second example of an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a capacity modification apparatus for virtualizing an NFV based on a network function according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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.
Fig. 1 illustrates a flowchart of a capacity modification method based on Network Function Virtualization (NFV) according to an embodiment of the present invention.
AS shown in fig. 1, a capacity modification method based on network function virtualization NFV provided in an embodiment of the present invention is applied to an application server AS, and the method specifically includes the following steps:
Step 101, receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation.
In the embodiment of the invention, the AS is a service AS. The specific type of the modification operation is indicated in the capacity modification instruction, the type of the modification operation includes a capacity reduction operation and/or a capacity expansion operation, the capacity reduction operation is to reduce the capacity of the AS, and the capacity expansion operation is to increase the capacity of the AS.
after receiving the capacity modification instruction, the AS analyzes the capacity modification instruction, determines the indicated modification operation, and determines a target virtual machine of a target Virtualization Deployment Unit (VDU) corresponding to the modification operation. The AS comprises the VDU, and the modification operation is the modification operation aiming at the VDU, or the number of the virtual machines of the VDU is increased, or the number of the virtual machines of the VDU is reduced.
specifically, referring to fig. 2, fig. 2 is a schematic view of an application scenario according to an embodiment of the present invention.
in fig. 2, the AS architecture includes a plurality of components, which are respectively: an Operation and Maintenance Center (OMC) component, a VDU component, and a Load Balancing (LB) component.
The Virtual Network Function Manager (VNFM) communicates with the OMC, and sends a capacity modification instruction to the OMC.
And 102, acquiring the configuration parameters of the target virtual machine, and determining the parameter processing operation corresponding to the modification operation.
Further, after the target virtual machine of the target VDU is determined, the configuration parameters of the target virtual machine are obtained, so that the AS can provide a uniform service address to the outside according to the configuration parameters without the need of network element coordination modification operation. And determining the parameter processing operation corresponding to the modification operation as determining the parameter processing operation according to the type of the modification operation, wherein when the types of the modification operation are different, the parameter processing operation for the configuration parameter is different.
Optionally, in this embodiment of the present invention, the configuration parameter at least includes a signaling address and a port identification number of the external service of the target VDU.
step 103, executing the parameter processing operation on the configuration parameters, and executing the modification operation on the target virtual machine.
The parameter processing operation is executed on the configuration parameters, so that the AS automatically modifies the external service address without manual intervention; and executing the modification operation on the target virtual machine, and modifying the capacity of the AS by increasing or reducing the number of the virtual machines of the VDU, so that the automation degree is higher and manual intervention is not needed.
In the above embodiment of the present invention, a capacity modification instruction is received, a target virtual machine of a target virtualization deployment unit VDU is determined according to a modification operation indicated in the capacity modification instruction, a configuration parameter of the target virtual machine and a parameter processing operation corresponding to the modification operation are obtained, the parameter processing operation is performed on the configuration parameter, and an AS provides a uniform service address according to the configuration parameter, without a network element cooperating with the modification operation; and executing the modification operation on the target virtual machine, and increasing or reducing the number of the virtual machines of the VDU to realize the automatic capacity modification of the AS, wherein the automation degree is higher, manual intervention is not needed, and the loaded service is not influenced. The invention solves the problem that the AS expansion and contraction capacity needs more manual intervention in the prior art.
Preferably, in this embodiment of the present invention, the step of determining the target application server VDU according to the modification operation indicated in the capacity modification instruction includes:
When the modification operation indicated by the capacity modification instruction is a capacity reduction operation, acquiring identification information indicated by the capacity modification instruction, wherein a virtual machine of a VDU corresponding to the identification information is a target virtual machine of a target VDU;
When the modification operation indicated by the capacity modification instruction is capacity expansion operation, acquiring identification information indicated by the capacity modification instruction, wherein the VDU corresponding to the identification information is a target VDU, and receiving a newly added virtual machine aiming at the target VDU, wherein the newly added virtual machine is a target virtual machine.
When the modification operation indicated by the capacity modification instruction is a capacity reduction operation, the capacity modification instruction carries identification information of the target virtual machine, and the target virtual machine is searched through the identification information.
When the modification operation indicated by the capacity modification instruction is a capacity expansion operation, the VNFM directly sends the new virtual machine of the target VDU, and the AS receives the new virtual machine of the target VDU and starts a configuration flow for the new virtual machine (target virtual machine) of the target VDU.
Specifically, in the embodiment of the present invention, after the step of receiving the new virtual machine of the target VDU, the method further includes a configuration flow of the target VDU, where the configuration flow is as follows:
And acquiring a preset configuration file of the current bearer service, applying the preset configuration file to the newly-added virtual machine and starting the newly-added virtual machine.
The AS acquires a preset configuration file of the current bearing service, applies the preset configuration file to the target virtual machine, namely applies the instance to the target virtual machine, starts the target virtual machine after the configuration is completed, ensures that the target virtual machine can normally work, bears the service currently processed by the AS and balances the load of the AS.
Preferably, in the embodiment of the present invention, the step of determining the parameter processing operation corresponding to the modification operation includes:
When the modification operation is a capacity reduction operation, the parameter processing operation corresponding to the modification operation is a logout operation of the configuration parameters;
When the modification operation is a capacity expansion operation, the parameter processing operation corresponding to the modification operation is a registration operation for the configuration parameter.
when the modification operation is a capacity reduction operation, the parameter processing operation is a logout operation of the configuration parameters, namely, a service address and a port number provided by the target virtual machine to the outside are logout from a service group of the AS, a new call is not sent to the service address after logout, and the new call is subjected to load sharing by the rest service addresses in the service group.
On the contrary, when the modification operation is a capacity expansion operation, the parameter processing operation is a registration operation for the configuration parameters, and the AS starts to receive a new call session after the registration is completed, so that the capacity expansion process has no call loss problem.
specifically, in the embodiment of the present invention, when the modification operation is a capacity reduction operation, the logout operation is performed on the configuration parameter of the target virtual machine;
sending a resource release instruction to the target virtual machine, and indicating the target virtual machine to perform resource release operation;
and deleting the target virtual machine when the completion of the execution of the resource release operation is detected.
when executing the capacity reduction operation, canceling the configuration parameters of the target virtual machine, namely canceling the service address provided by the target virtual machine from the service group, and after canceling, subsequently not sending a new call to the service address, wherein the new call is shared by the rest service address load in the AS service group.
after the logout is completed, the AS sends a resource release instruction to the target virtual machine to indicate the target virtual machine to perform resource release operation, and the target virtual machine waits for the completion of the existing stock session, stops the service and releases the resource; when detecting that the execution of the resource releasing operation is completed, the AS deletes the target virtual machine; and detecting that the execution of the resource release operation is completed, including detecting that all current stock sessions are normally finished, and deleting the target virtual machine at the moment, so as to ensure that the stock call is normally completed.
Specifically, in this embodiment of the present invention, when the modification operation is a capacity expansion operation, the step of executing the parameter processing operation on the configuration parameter and executing the modification operation on the target virtual machine includes:
Performing the registration operation on the configuration parameters of the target virtual machine;
And when the completion of the execution of the registration operation is detected, carrying out load balancing on the target virtual machine and the original virtual machine of the target VDU.
the configuration parameters of the target virtual machine are registered on a load balancer of the AS, after the registration is completed, the load balancing is carried out on the target virtual machine and an original virtual machine of the AS, the newly-added virtual machine of the target VDU and the original virtual machine share service, and the AS starts to receive a new call session, so that the problem of call loss does not exist in the capacity expansion process.
in the above embodiment of the present invention, a capacity modification instruction is received, a target virtual machine of a target virtualization deployment unit VDU is determined according to a modification operation indicated in the capacity modification instruction, a configuration parameter of the target virtual machine and a parameter processing operation corresponding to the modification operation are obtained, the parameter processing operation is performed on the configuration parameter, and an AS provides a uniform service address according to the configuration parameter, without a network element cooperating with the modification operation; and executing the modification operation on the target virtual machine, and increasing or reducing the number of the virtual machines of the VDU to realize the automatic capacity modification of the AS, wherein the automation degree is higher, manual intervention is not needed, and the loaded service is not influenced.
Referring to fig. 3, a capacity modification method based on network function virtualization NFV according to another embodiment of the present invention is described below by taking a capacity reduction process as an example.
specifically, the method is applied to the AS, and comprises the following steps:
step 301, receiving a capacity modification instruction, and when the modification operation indicated by the capacity modification instruction is a capacity reduction operation, acquiring identification information indicated by the capacity modification instruction, where a virtual machine of a VDU corresponding to the identification information is a target virtual machine of a target VDU.
Step 302, obtaining the configuration parameters of the target virtual machine, and determining that the parameter processing operation corresponding to the modification operation is a logout operation of the configuration parameters.
Step 303, executing the logout operation on the configuration parameters of the target virtual machine.
Step 304, sending a resource release instruction to the target virtual machine, and instructing the target virtual machine to perform a resource release operation.
Step 305, detecting that the execution of the resource release operation is completed, and deleting the target virtual machine.
in the above embodiment, when a capacity modification instruction indicating a capacity reduction operation is received, the configuration parameter of the target virtual machine is acquired, and a logout operation is performed on the configuration parameter, so that the AS provides a uniform service address to the outside according to the configuration parameter without a network element cooperating with a modification operation; and the target virtual machine is indicated to perform resource release operation, and the target virtual machine is deleted, so that the automatic capacity modification of the AS is realized, the automation degree is higher, manual intervention is not needed, and the borne service is not influenced. And before deleting the target virtual machine, waiting for the completion of the session, thereby ensuring the normal completion of the stock call and achieving the purpose of call loss prevention in the capacity reduction process.
As a first example, referring to fig. 4, fig. 4 shows a specific example of a capacity reduction process:
the capacity reduction process mainly comprises the following steps:
1, sending a capacity reduction instruction to an OMC of the AS by the VNFM, wherein the capacity reduction instruction carries identification information of a target virtual machine of a target VDU.
and 2, the OMC informs the LB of logging out the configuration parameters of the target virtual machine.
Specifically, the OMC receives a capacity reduction instruction, and acquires identification information of a target AS carried in the capacity reduction instruction.
And determining the signaling address and the port identification number of the outbound service registered by the target VDU according to the identification information, and canceling the signaling address and the port identification number of the outbound service from the service group of the AS through LB.
and after logout, a new call is not sent to the service address subsequently, and the new call is loaded and shared by the rest service addresses in the service group.
and 3, sending a resource release instruction to the target virtual machine by the OMC.
4, the target virtual machine waits for the session to be ended and releases resources;
And 5, the OMC detects that the execution of the resource release operation is completed, and informs the VNFM to delete the target VDU.
6, the VNFM deletes the target virtual machine and notifies the OMC.
in the above example of the present invention, the LB provides a unified address to the outside, and the outside cannot sense the shrinking process inside the AS, and does not need the external network element to be modified; when the AS receives the capacity reduction instruction, the host (target virtual machine) to be reduced is injected and sold from the service group through the LB, so that a subsequent new call request can not be sent to the host, the service is provided by the rest virtual machines in the service group, and the new call is ensured not to be influenced; for the stock call in the target virtual machine service, the AS executes the deleting operation after waiting for the session, thereby ensuring the stock call to be completed normally and achieving the aim of lossless call in the process.
Referring to fig. 5, a capacity modification method based on network function virtualization NFV according to another embodiment of the present invention is described below by taking a capacity expansion process as an example.
Specifically, the method is applied to the AS, and comprises the following steps:
Step 501, receiving a capacity modification instruction, acquiring identification information indicated by the capacity modification instruction, wherein a VDU corresponding to the identification information is a target VDU, and receiving a new virtual machine for the target VDU, wherein the new virtual machine is a target virtual machine.
Step 502, acquiring a preset configuration file of a current bearer service, applying the preset configuration file to a target virtual machine, and starting the target virtual machine.
step 503, obtaining the configuration parameters of the target virtual machine, and determining that the parameter processing operation corresponding to the modification operation is a registration operation for the configuration parameters.
Step 504, the registration operation is executed on the configuration parameters of the target virtual machine.
In the above embodiment, when a capacity modification instruction indicating a capacity expansion operation is received, the configuration parameter of the target virtual machine is acquired, and a registration operation is performed on the configuration parameter, so that the AS provides a uniform service address to the outside according to the configuration parameter without a network element cooperating with a modification operation; the AS capacity expansion process can not modify the existing virtual machine, so that the inventory calling is not influenced; the automation degree of the AS capacity expansion process is higher, and manual intervention is not needed. And after the target virtual machine is normally started, the registration operation is executed again, and a new call session is received, so that the problem of call loss does not exist in the capacity expansion process.
And when the completion of the execution of the registration operation is detected, load balancing is carried out on the target virtual machine and the original virtual machine of the AS.
As a second example, referring to fig. 6, fig. 6 shows a specific example of the capacity expansion process:
The capacity expansion process mainly comprises the following steps:
1, sending a capacity expansion instruction to an OMC of the AS by the VNFM, wherein the capacity expansion instruction carries indication information of a newly added virtual machine of the target VDU, and the added AS is the target AS.
And 2, the OMC acquires a preset configuration file of the current bearer service.
and 3, applying the preset configuration file to a target virtual machine by the OMC and starting the target virtual machine.
And 4, the OMC acquires the configuration parameters of the target virtual machine, registers the configuration parameters of the target virtual machine on a load balancer, and performs load balancing after the registration is completed, so that the target virtual machine and the original target virtual machine share the service.
in the above example of the present invention, the LB provides a unified address to the outside, and the outside cannot sense the expansion process inside the AS, and does not need to modify the external network element; an OMC component is introduced, and modification operation of an existing virtual machine is not involved in the capacity expansion process of the AS, so that the inventory calling is not influenced; the automation degree of the AS capacity expansion process is higher, and manual intervention is not needed. After the target virtual machine is normally started, the virtual machine is registered on the LB, and a new call session is received, so that the problem of call loss does not exist in the capacity expansion process.
In the above, the capacity modification method based on the network function virtualization NFV provided by the embodiment of the present invention is described, and a capacity modification apparatus based on the network function virtualization NFV provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
referring to fig. 7, an embodiment of the present invention provides a capacity modification apparatus based on Network Function Virtualization (NFV), where the apparatus is applied to an application server AS, and the apparatus includes:
A receiving module 701, configured to receive a capacity modification instruction, and determine a target virtual machine of a target virtualization deployment unit VDU according to a modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation.
In the embodiment of the invention, the AS is a service AS. The specific type of the modification operation is indicated in the capacity modification instruction, the type of the modification operation includes a capacity reduction operation and/or a capacity expansion operation, the capacity reduction operation is to reduce the capacity of the AS, and the capacity expansion operation is to increase the capacity of the AS.
After receiving the capacity modification instruction, the AS analyzes the capacity modification instruction, determines the indicated modification operation, and determines a target virtual machine of a target Virtualization Deployment Unit (VDU) corresponding to the modification operation. The AS comprises the VDU, and the modification operation is the modification operation aiming at the VDU, or the number of the virtual machines of the VDU is increased, or the number of the virtual machines of the VDU is reduced.
an obtaining module 702, configured to obtain the configuration parameters of the target virtual machine, and determine a parameter processing operation corresponding to the modification operation.
Further, after the target virtual machine of the target VDU is determined, the configuration parameters of the target virtual machine are obtained, so that the AS can provide a uniform service address to the outside according to the configuration parameters without the need of network element coordination modification operation. And determining the parameter processing operation corresponding to the modification operation as determining the parameter processing operation according to the type of the modification operation, wherein when the types of the modification operation are different, the parameter processing operation for the configuration parameter is different.
An executing module 703 is configured to execute the parameter processing operation on the configuration parameter, and execute the modifying operation on the target virtual machine.
The parameter processing operation is executed on the configuration parameters, so that the AS automatically modifies the external service address without manual intervention; and executing the modification operation on the target virtual machine, and modifying the capacity of the AS by increasing or reducing the number of the virtual machines of the VDU, so that the automation degree is higher and manual intervention is not needed.
Optionally, in this embodiment of the present invention, the receiving module 701 includes:
the first receiving submodule is used for acquiring identification information indicated by the capacity modification instruction when the modification operation indicated by the capacity modification instruction is a capacity reduction operation, and a virtual machine of a VDU corresponding to the identification information is a target virtual machine of a target VDU;
And the second receiving submodule is configured to, when the modification operation indicated by the capacity modification instruction is a capacity expansion operation, acquire identification information indicated by the capacity modification instruction, where a VDU corresponding to the identification information is a target VDU, and receive a newly added virtual machine for the target VDU, where the newly added virtual machine is a target virtual machine.
optionally, in this embodiment of the present invention, the second receiving sub-module includes:
And the configuration unit is used for acquiring a preset configuration file of the current bearer service, applying the preset configuration file to the newly-added virtual machine and starting the newly-added virtual machine.
Optionally, in this embodiment of the present invention, the obtaining module 702 includes:
the first obtaining sub-module is used for enabling the parameter processing operation corresponding to the modification operation to be a logout operation on the configuration parameters when the modification operation is a capacity reduction operation;
And the second obtaining sub-module is used for performing parameter processing operation corresponding to the modification operation as registration operation on the configuration parameters when the modification operation is capacity expansion operation.
Optionally, in this embodiment of the present invention, the executing module 703 includes:
The first execution sub-module is used for executing the logout operation on the configuration parameters of the target virtual machine when the modification operation is a capacity reduction operation;
The first indication submodule is used for sending a resource release instruction to the target virtual machine and indicating the target virtual machine to carry out resource release operation;
And the deleting submodule is used for detecting that the execution of the resource releasing operation is completed and deleting the target virtual machine.
optionally, in this embodiment of the present invention, the executing module 703 includes:
The second execution submodule is used for executing the registration operation on the configuration parameters of the target virtual machine;
And the balancing submodule is used for detecting that the execution of the registration operation is finished and carrying out load balancing on the target virtual machine and the original virtual machine of the target VDU.
optionally, in this embodiment of the present invention, the configuration parameter at least includes a signaling address and a port identification number of the external service of the target VDU.
In the capacity modification device based on network function virtualization NFV provided in the above embodiment of the present invention, the receiving module 701 receives a capacity modification instruction, determines a target virtual machine of a target virtualization deployment unit VDU according to a modification operation indicated in the capacity modification instruction, the obtaining module 702 obtains a configuration parameter of the target virtual machine and a parameter processing operation corresponding to the modification operation, and the executing module 703 executes the parameter processing operation on the configuration parameter, so that the AS provides a uniform service address to the outside according to the configuration parameter without a network element cooperating with the modification operation; the execution module 703 further executes the modification operation on the target virtual machine, and by increasing or decreasing the number of the virtual machines of the VDU, the AS automatically modifies the capacity, the degree of automation is high, manual intervention is not required, and no influence is exerted on the service to be carried. The invention solves the problem that the AS expansion and contraction capacity needs more manual intervention in the prior art.
fig. 8 is a schematic structural diagram of an electronic device according to yet another embodiment of the present invention.
referring to fig. 8, an embodiment of the present invention provides an electronic device, which includes a memory (memory)81, a processor (processor)82, a bus 83, and a computer program that is stored in the memory 81 and can run on the processor. The memory 81 and the processor 82 complete communication with each other through the bus 83.
The processor 82 is used to call the program instructions in the memory 81 to implement the method of fig. 1 when executing the program.
in another embodiment, the processor, when executing the program, implements the method of:
receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
Acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation;
and executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
The electronic device provided in the embodiment of the present invention may be configured to execute a program corresponding to the method in the foregoing method embodiment, and details of this implementation are not described again.
the electronic device provided by the embodiment of the invention receives a capacity modification instruction, determines a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction, acquires configuration parameters of the target virtual machine and parameter processing operation corresponding to the modification operation, and executes the parameter processing operation on the configuration parameters, so that an AS provides a uniform service address to the outside according to the configuration parameters without the matching of a network element with the modification operation; and executing the modification operation on the target virtual machine, and increasing or reducing the number of the virtual machines of the VDU to realize the automatic capacity modification of the AS, wherein the automation degree is higher, manual intervention is not needed, and the loaded service is not influenced. The invention solves the problem that the AS expansion and contraction capacity needs more manual intervention in the prior art.
A non-transitory computer readable storage medium is provided according to a further embodiment of the present invention, having a computer program stored thereon, which when executed by a processor implements the steps of fig. 1.
In another embodiment, the program when executed by a processor implements a method comprising:
Receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
Acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation;
And executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
In the non-transitory computer-readable storage medium provided in the embodiment of the present invention, when the program is executed by the processor, the method in the above-described method embodiment is implemented, and details of this implementation are not described again.
The non-transitory computer-readable storage medium provided in the embodiment of the present invention receives a capacity modification instruction, determines a target virtual machine of a target virtualization deployment unit VDU according to a modification operation indicated in the capacity modification instruction, obtains a configuration parameter of the target virtual machine and a parameter processing operation corresponding to the modification operation, and executes the parameter processing operation on the configuration parameter, so AS to implement that an AS provides a uniform service address to the outside according to the configuration parameter without a network element cooperating with the modification operation; and executing the modification operation on the target virtual machine, and increasing or reducing the number of the virtual machines of the VDU to realize the automatic capacity modification of the AS, wherein the automation degree is higher, manual intervention is not needed, and the loaded service is not influenced. The invention solves the problem that the AS expansion and contraction capacity needs more manual intervention in the prior art.
yet another embodiment of the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments, for example, comprising:
Receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation;
and executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. a capacity modification method based on Network Function Virtualization (NFV) is applied to an Application Server (AS), and is characterized by comprising the following steps:
Receiving a capacity modification instruction, and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
Acquiring configuration parameters of the target virtual machine, and determining parameter processing operation corresponding to the modification operation;
And executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
2. the method according to claim 1, wherein the step of determining a target virtual machine of a target application server VDU according to the modification operation indicated in the capacity modification instruction comprises:
When the modification operation indicated by the capacity modification instruction is a capacity reduction operation, acquiring identification information indicated by the capacity modification instruction, wherein a virtual machine of a VDU corresponding to the identification information is a target virtual machine of a target VDU;
When the modification operation indicated by the capacity modification instruction is capacity expansion operation, acquiring identification information indicated by the capacity modification instruction, wherein the VDU corresponding to the identification information is a target VDU, and receiving a newly added virtual machine aiming at the target VDU, wherein the newly added virtual machine is a target virtual machine.
3. The method of claim 2, wherein the step of receiving the new virtual machine of the target VDU is further followed by:
and acquiring a preset configuration file of the current bearer service, applying the preset configuration file to the newly-added virtual machine and starting the newly-added virtual machine.
4. The method of claim 1, wherein the step of determining the parameter processing operation corresponding to the modification operation comprises:
when the modification operation is a capacity reduction operation, the parameter processing operation corresponding to the modification operation is a logout operation of the configuration parameters;
When the modification operation is a capacity expansion operation, the parameter processing operation corresponding to the modification operation is a registration operation for the configuration parameter.
5. The method of claim 4, wherein when the modify operation is a capacity shrink operation, the performing the parameter processing operation on the configuration parameters and the modifying operation on the target virtual machine comprises:
When the modification operation is a capacity reduction operation, executing the logout operation on the configuration parameters of the target virtual machine;
Sending a resource release instruction to the target virtual machine, and indicating the target virtual machine to perform resource release operation;
And deleting the target virtual machine when the completion of the execution of the resource release operation is detected.
6. The method of claim 4, wherein when the modify operation is a capacity expand operation, the performing the parameter handling operation on the configuration parameter and the modifying operation on the target virtual machine comprises:
Performing the registration operation on the configuration parameters of the target virtual machine;
and when the completion of the execution of the registration operation is detected, carrying out load balancing on the target virtual machine and the original virtual machine of the target VDU.
7. The method as recited in claim 1, wherein the configuration parameters comprise at least a signaling address and a port identification number of the target VDU for the outbound service.
8. A capacity modification apparatus for Network Function Virtualization (NFV), the apparatus being applied to an Application Server (AS), the apparatus comprising:
the receiving module is used for receiving a capacity modification instruction and determining a target virtual machine of a target Virtualization Deployment Unit (VDU) according to modification operation indicated in the capacity modification instruction; wherein, the modification operation comprises a capacity reduction operation and/or a capacity expansion operation;
the acquisition module is used for acquiring the configuration parameters of the target virtual machine and determining the parameter processing operation corresponding to the modification operation;
And the execution module is used for executing the parameter processing operation on the configuration parameters and executing the modification operation on the target virtual machine.
9. an electronic device, comprising a memory, a processor, a bus and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the capacity modification method based on network function virtualization, NFV, according to any of claims 1-7 when executing the program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that: the program, when being executed by a processor, carries out the steps of the method for network function virtualization, NFV, based capacity modification according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538843.5A CN110557267A (en) | 2018-05-30 | 2018-05-30 | network Function Virtualization (NFV) -based capacity modification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810538843.5A CN110557267A (en) | 2018-05-30 | 2018-05-30 | network Function Virtualization (NFV) -based capacity modification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110557267A true CN110557267A (en) | 2019-12-10 |
Family
ID=68733692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810538843.5A Pending CN110557267A (en) | 2018-05-30 | 2018-05-30 | network Function Virtualization (NFV) -based capacity modification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110557267A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111857775A (en) * | 2020-07-02 | 2020-10-30 | 中移(杭州)信息技术有限公司 | Network element upgrading method and device, electronic equipment and storage medium |
WO2021259064A1 (en) * | 2020-06-24 | 2021-12-30 | 中兴通讯股份有限公司 | Capacity reduction/expansion method and system for cluster, capacity reduction/expansion control terminal and medium |
CN114697985A (en) * | 2020-12-28 | 2022-07-01 | 中国联合网络通信集团有限公司 | Wireless operation and maintenance system registration method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150365352A1 (en) * | 2014-06-12 | 2015-12-17 | Futurewei Technologies, Inc. | Methods and Systems for Managing Capacity in a Virtualized Network |
CN106161173A (en) * | 2015-04-15 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of virtual network function that realizes disposes the method and device of specification configuration |
CN106487553A (en) * | 2015-08-27 | 2017-03-08 | 中兴通讯股份有限公司 | The processing method of VNF example, device and VNFM |
CN106598699A (en) * | 2016-11-30 | 2017-04-26 | 华为技术有限公司 | Virtual machine management method and device |
WO2018024341A1 (en) * | 2016-08-05 | 2018-02-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for licensing control in a virtual network environment |
-
2018
- 2018-05-30 CN CN201810538843.5A patent/CN110557267A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150365352A1 (en) * | 2014-06-12 | 2015-12-17 | Futurewei Technologies, Inc. | Methods and Systems for Managing Capacity in a Virtualized Network |
CN106161173A (en) * | 2015-04-15 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of virtual network function that realizes disposes the method and device of specification configuration |
CN106487553A (en) * | 2015-08-27 | 2017-03-08 | 中兴通讯股份有限公司 | The processing method of VNF example, device and VNFM |
WO2018024341A1 (en) * | 2016-08-05 | 2018-02-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for licensing control in a virtual network environment |
CN106598699A (en) * | 2016-11-30 | 2017-04-26 | 华为技术有限公司 | Virtual machine management method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021259064A1 (en) * | 2020-06-24 | 2021-12-30 | 中兴通讯股份有限公司 | Capacity reduction/expansion method and system for cluster, capacity reduction/expansion control terminal and medium |
CN111857775A (en) * | 2020-07-02 | 2020-10-30 | 中移(杭州)信息技术有限公司 | Network element upgrading method and device, electronic equipment and storage medium |
CN114697985A (en) * | 2020-12-28 | 2022-07-01 | 中国联合网络通信集团有限公司 | Wireless operation and maintenance system registration method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210092643A1 (en) | User plane resource management method, user plane network element, and control plane network element | |
US10991151B2 (en) | Game rendering method, terminal, and non-transitory computer-readable storage medium | |
RU2745343C1 (en) | Cloud desktop system and method of coding with compression of image sequences, and corresponding data storage | |
US20170373931A1 (en) | Method for updating network service descriptor nsd and apparatus | |
CN105516086B (en) | Method for processing business and device | |
EP2838228A1 (en) | Alarm correlation analysis method, apparatus, and system | |
CN110557267A (en) | network Function Virtualization (NFV) -based capacity modification method and device | |
CN110765024A (en) | Simulation test method, simulation test device, electronic equipment and computer-readable storage medium | |
CN109451020B (en) | Timeout management method, timeout management device, and computer-readable storage medium | |
CN114189525B (en) | Service request method and device and electronic equipment | |
CN111367753B (en) | Cloud desktop screen recording method and device based on network communication engine ICE architecture | |
US8938490B2 (en) | System and method for accessing mainframe system automation from a process automation application | |
CN110930003A (en) | Work order processing method and device | |
CN110740464A (en) | NF service discovery method and device | |
CN113423120A (en) | Data distribution processing method and device based on private network terminal and electronic equipment | |
US20230040842A1 (en) | Network service management system and network service management method | |
CN111131367B (en) | Distributed access service processing method and device | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN111858079B (en) | Distributed lock migration method and device, electronic equipment and storage medium | |
CN114356456A (en) | Service processing method, device, storage medium and electronic equipment | |
CN113419880A (en) | Cloud mobile phone root authority acquisition method, related device and computer program product | |
CN108521338A (en) | A kind of service processing method and service platform of service platform | |
CN110430132B (en) | Method and device for binding Socket and VRF | |
CN112689284B (en) | Wireless network password modification method, device, equipment and storage medium | |
CN109887609B (en) | Medical data acquisition method, device and business system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191210 |
|
RJ01 | Rejection of invention patent application after publication |