CN110545193B - Virtual resource management method, virtual resource management equipment and server - Google Patents

Virtual resource management method, virtual resource management equipment and server Download PDF

Info

Publication number
CN110545193B
CN110545193B CN201810524589.3A CN201810524589A CN110545193B CN 110545193 B CN110545193 B CN 110545193B CN 201810524589 A CN201810524589 A CN 201810524589A CN 110545193 B CN110545193 B CN 110545193B
Authority
CN
China
Prior art keywords
virtual
information
network element
service network
deployment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810524589.3A
Other languages
Chinese (zh)
Other versions
CN110545193A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810524589.3A priority Critical patent/CN110545193B/en
Publication of CN110545193A publication Critical patent/CN110545193A/en
Application granted granted Critical
Publication of CN110545193B publication Critical patent/CN110545193B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements

Landscapes

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

Abstract

The application provides a virtual resource management method, a virtual resource management device and a server, which are used for the virtual resource management device to obtain backup network element configuration information according to the current virtual resource information of a virtual service network element, and ensure the consistency of virtual resources before and after the virtual service network element is redeployed according to the backup network element configuration information when the virtual service network element is redeployed. The method in the embodiment of the application comprises the following steps: acquiring current virtual resource information of virtual service network elements, wherein the current virtual resource information is used for representing current virtual resources of the virtual service network elements, and at least one virtual service network element is provided; generating backup network element configuration information of the virtual service network element according to the current virtual resource information, wherein the backup network element configuration information is used for deploying the virtual service network element; when the virtual service network element needs to be redeployed, the target virtual service network element is obtained according to the deployment of the configuration information of the backup network element, and the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element.

Description

Virtual resource management method, virtual resource management equipment and server
Technical Field
The present application relates to the field of communications, and in particular, to a virtual resource management method, a virtual resource management device, and a server.
Background
Network Function Virtualization (NFV) technology can migrate The functions of each Network element used in a communication Network from a current dedicated hardware platform to a common Commercial Off-The-Shelf (COTS) server. In the NFV scenario, a Virtual Network Function (VNF) is deployed and installed through a Virtual Network Function Manager (Virtual Network Function Manager, VNFM) by using an initially issued Virtual Network Function module Descriptor (VNFD) file, and includes Virtual resource information of a plurality of VNFs, where the Virtual resource information may specifically be specification, number, Network connection, and the like of a Virtual Machine (Virtual Machine, VM).
In the NFV scenario, when a Data Center (DC) suffers from a DC fault caused by a natural disaster such as an earthquake, a flood, etc., virtual resources of VNFs deployed by a VNFM will all fail, and after the DC fault is recovered, the VNFM deploys and installs the VNFs again using initially published VNFD files.
However, because the VNFM does not have the capability of dynamically refreshing the VNFD file, when the virtual resource of the VNF changes due to operations such as flexible scaling, capacity expansion, or upgrading before the DC fails, the VNFM cannot update the changed virtual resource information of the VNF to the VNFD file, and after the DC failure is recovered, only the initially issued VNFD file can be used to relocate and install the VNF and the virtual resource of the VNF, so that the virtual resource of the VNF after the DC failure is recovered is inconsistent with the virtual resource of the VNF before the DC failure.
Disclosure of Invention
The application provides a virtual resource management method, a virtual resource management device and a server, which are used for the virtual resource management device to obtain backup network element configuration information according to the current virtual resource information of a virtual service network element, and ensure the consistency of virtual resources before and after the virtual service network element is redeployed according to the backup network element configuration information when the virtual service network element is redeployed.
A first aspect of the present application provides a method for managing virtual resources, including: acquiring current virtual resource information of virtual service network elements, wherein the current virtual resource information is used for representing current virtual resources of the virtual service network elements, and at least one virtual service network element is provided; generating backup network element configuration information of the virtual service network element according to the current virtual resource information, wherein the backup network element configuration information is used for deploying the virtual service network element; when the virtual service network element needs to be redeployed, the target virtual service network element is obtained according to the deployment of the configuration information of the backup network element, and the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element. The virtual service network element is obtained by the deployment of the initially issued network element configuration information by the virtual resource management equipment, the virtual resource of the virtual service network element is also configured by the virtual resource management equipment according to the initially issued network element configuration information, in the NFV scene, in order to adjust the service processing capacity of the virtual network system and reasonably allocate the virtual resource, in the period of the life cycle management of the virtual service network element by the virtual resource management equipment, the virtual service network element can perform operations such as expansion and contraction, elastic expansion and expansion, upgrading and the like, the virtual resource of the virtual service network element is changed by the operations, after each virtual resource is changed, the corresponding record is performed in the database of the virtual resource management equipment, the current virtual resource information of all the virtual service network elements can be obtained from the database, and the current virtual resource information of the virtual service network element reflects the virtual resource in the current state of the virtual service network element If the virtual service network element with the virtual resources in the current state needs to be redeployed, the use of the initially released network element configuration information cannot be achieved, because the virtual service network element obtained by redeploying the initially released network element configuration information inevitably has virtual resources inconsistent with the current virtual resources with the changed virtual resources, the backup network element configuration information of the virtual service network element is generated according to the obtained current virtual resource information, when the virtual service network element needs to be redeployed, the target virtual service network element is obtained according to the backup network element configuration information, and because the backup network element configuration information is generated according to the current virtual resource information, the virtual resources of the target virtual service network element are the same as the current virtual resources of the virtual service network element.
With reference to the first aspect of the present application, in a first implementation manner, generating backup network element configuration information of a virtual service network element according to current virtual resource information includes: acquiring initial network element configuration information of a virtual service network element, wherein the initial network element configuration information comprises initial deployment profile information, and the initial deployment profile information is used for representing initial virtual resources of the virtual service network element; when the current virtual resource information is different from the initial deployment profile information, generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information; and generating backup network element configuration information according to the backup deployment profile information. The network element configuration information is specifically a VNFD file, and the VNFD file is a configuration template of deployment and operation behaviors of one or more virtual service network elements (i.e., VNFs). The VNFD file comprises a blueprint template, a DF (dynamic function definition) and an operation script and the like, wherein the blueprint template specifically relates to the planning and the like of network resources when the VNF is deployed; DF is an overview of the virtual resources of the VNF, and the virtual resource information of the VNF may specifically be information such as the specification, number, and network connection of the VM; the running script is mainly used for performing operations such as deployment and maintenance on the VNF. Based on the above description, it can be known that a virtual service network element (VNF) is obtained by initially releasing network element configuration information deployment (initial VNFD file), a virtual resource of the virtual service network element is described by initial deployment profile information (initial DF) in the initial VNFD, and the initial DF in the initial VNFD file and current virtual resource information are both stored in a database, then an initial DF representing an initial virtual resource of the virtual service network element in the initial VNFD file can be obtained from the database, the initial DF is compared with the current virtual resource information, if the current virtual resource information is different from the initial DF, it indicates that the current virtual resource is different from the initial virtual resource, i.e. operations such as over-expansion, elastic expansion, or upgrade are performed, a backup DF needs to be generated according to the current virtual resource information and the initial DF, and a backup VNFD file is generated according to the backup DF, using the backup VNFD file with the backup DF, the VNF that gets the current virtual resource can be deployed.
With reference to the first implementation manner of the first aspect of the present application, in the second implementation manner, before generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information, the current virtual resource information includes virtual deployment unit information of a current virtual deployment unit, the initial deployment profile information includes virtual deployment unit information of an initial virtual deployment unit, and at least one of the current virtual deployment unit and the initial virtual deployment unit further includes: determining the number of the current virtual deployment units and the information of the virtual deployment units according to the current virtual resource information; determining the number of initial virtual deployment units and the information of the virtual deployment units according to the initial deployment profile information; when the number of the current virtual deployment units is not equal to the number of the initial virtual deployment units, determining that the current virtual resource information is different from the initial deployment profile information; when the number of the current virtual deployment units is equal to that of the initial virtual deployment units, comparing the virtual deployment unit information of the current virtual deployment units with the virtual deployment unit information of the corresponding initial virtual deployment units; when the virtual deployment unit information of the current virtual deployment unit is the same as the virtual deployment unit information of the corresponding initial virtual deployment unit, determining that the current virtual resource information is the same as the initial deployment profile information; and when the virtual deployment unit information of the current virtual deployment unit is different from the virtual deployment unit information of the corresponding initial virtual deployment unit, determining that the current virtual resource information is different from the initial deployment profile information. The virtual resource information can be described by VDU information. VDUs are used for the construction of an information schema, which may support the deployment of subsets of VNFs and the description of the operational behavior, or the description of the entire VNF without subsets. In the Hypervisor, the VDU is mainly characterized in that a single VNF instance or a VNF subset instance of a construct capable of being mapped to a single virtual machine VM is based on, then current virtual resource information includes VDU information of a current VDU, initial deployment profile information (DF) includes VDU information of an initial VDU, the current VDU and the initial VDU are at least one, the number of the current VDU, the number of the VDU information, and the number of the initial VDU and the VDU information are obtained according to the current virtual resource information and the initial DF, the number of the current VDU and the number of the initial VDU are compared, if the numbers are not equal, it is indicated that the VNF performs operations of deleting or/and adding VDUs after initial deployment, and it is determined that the current virtual resource information is different from the initial DF; if the number of the VDUs is the same, it indicates that the VNFs do not perform operations of deleting and adding VDUs after the initial deployment, and it needs to further determine whether VDU information of the current VDU is the same as VDU information of the corresponding initial VDU, and the VDU information is also the same, and the processing module 602 determines that the current virtual resource information is the same as the initial DF; and if the VDU information of one or more VDUs is different, determining that the current virtual resource information is different from the initial DF. Thereby enabling comparison of the pre-virtual resource information with the initial DF.
With reference to the second embodiment of the first aspect of the present application, in a third embodiment, generating backup deployment profile information according to current virtual resource information and initial deployment profile information includes: obtaining difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit; obtaining the virtual unit information of a target virtual deployment unit according to the virtual deployment unit information and the difference information of the initial virtual deployment unit, wherein the number of the target virtual deployment units is at least one; and generating backup deployment profile information according to the virtual deployment unit information of the target virtual deployment unit. When it is determined that the current virtual resource information is different from the initial DF, comparing the virtual deployment unit information of the current virtual deployment unit with difference with the virtual deployment unit information of the corresponding initial virtual deployment unit to obtain difference information, and obtaining virtual unit information of a target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, where the target VDU is at least one, for example, the number of current VDUs is 3, and VDU identifiers in the VDU information are VDU2, VDU3, and VDU4, respectively; the number of the initial VDUs is 3, the VDU identifiers in the VDU information are respectively VDU1, VDU2 and VDU3, then the target VDU is the two VDUs whose VDU identifiers are VDU1 and VDU4, the VDU information of VDU4 is obtained from the current virtual resource information, the VDU information of VDU1 is obtained from the initial DF, the VDU information of VDU1 in the initial DF is deleted, the VDU information of VDU4 is added to the initial DF, and the initial DF is identified as the backup DF, the VDU information including VDU2, VDU3 and VDU4 in the backup DF is obtained, and then the backup describes the current virtual resource of VNF.
With reference to the first aspect, the first embodiment, the second embodiment, and the third embodiment, in the fourth embodiment, after the target virtual service network element is deployed and obtained according to the configuration information of the backup network element, the method further includes: sending resource checking information to a target virtual service network element, wherein the resource checking information comprises a network element identifier of the target virtual service network element and is used for indicating the target virtual service network element to feed back target virtual resource information; when receiving target virtual resource information sent by a target virtual service network element, comparing the target virtual resource information with virtual resource information of the target virtual service network element recorded in a database; when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, generating prompt information, wherein the prompt information is used for indicating that the virtual resource of the target virtual service network element is different from the virtual resource information of the target virtual service network element recorded in the database; when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database, no prompt information is generated; and when the target virtual resource information sent by the target virtual service network element is not received, no prompt message is generated. After the target VNF is redeployed, the virtual resources are theoretically consistent with those before deployment, but in the deployment process, a deployment error or a change of the virtual resources may occur, so that the resource check information needs to be sent to the target VNF for resource check, and when the target virtual resource information sent by the target VNF is not received, prompt information does not need to be generated; when target virtual resource information sent by a target VNF is received, comparing the target virtual resource information of the target VNF with virtual resource information of a target virtual service network element recorded in a database, and when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, generating prompt information for prompting a user to repair the virtual resource of the target VNF; when the target virtual resource information is the same as the backup deployment summary information, prompt information does not need to be generated, so that whether the virtual resources of the target VNF are consistent with the backup DF or not can be checked after the target VNF is deployed, and a prompt is sent when the virtual resources of the target VNF are inconsistent with the backup DF, so that timely modification is facilitated, and normal operation of network services provided by the target VNF is ensured.
A second aspect of the present application provides a virtual resource management device, including: the acquisition module is used for acquiring the current virtual resource information of the virtual service network elements, wherein the current virtual resource information is used for representing the current virtual resources of the virtual service network elements, and at least one virtual service network element is provided; the processing module is used for generating backup network element configuration information of the virtual service network element according to the current virtual resource information, wherein the backup network element configuration information is used for deploying the virtual service network element; and the processing module is further used for obtaining a target virtual service network element according to the configuration information deployment of the backup network element when the virtual service network element needs to be redeployed, wherein the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element. In the NFV scenario, in order to adjust the service processing capability of the virtual network system and reasonably allocate virtual resources, during the period when the virtual resource management device performs lifecycle management on the virtual service network element, the virtual service network element may perform operations such as expansion, contraction, elastic expansion, and upgrade, which will change the virtual resources of the virtual service network element, and after each virtual resource change, the database of the virtual resource management device performs corresponding records, so that the acquisition module can acquire the current virtual resource information of all the virtual service network elements from the database, because the current virtual resource information of the virtual service network element reflects the virtual resources of the virtual service network element in the current state, if the virtual service network element with the virtual resources in the current state needs to be redeployed, it is impossible to use the initially issued network element configuration information, because the virtual service network element obtained by using the initially issued network element configuration information to redeploy the virtual resource is inevitably inconsistent with the current virtual resource of the virtual resource change, the processing module generates the backup network element configuration information of the virtual service network element according to the current virtual resource information acquired by the acquisition module, when the virtual service network element needs to redeploy, the processing module deploys the target virtual service network element according to the backup network element configuration information, and the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element because the backup network element configuration information is generated according to the current virtual resource information.
With reference to the second aspect of the present application, in a first implementation manner, the obtaining module is further configured to obtain initial network element configuration information of a virtual service network element, where the initial network element configuration information includes initial deployment profile information, and the initial deployment profile information is used to represent initial virtual resources of the virtual service network element; the processing module is further used for generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information when the current virtual resource information is different from the initial deployment profile information; and the processing module is further used for generating backup network element configuration information according to the backup deployment profile information. The network element configuration information is specifically a VNFD file, and the VNFD file is a configuration template of deployment and operation behaviors of one or more virtual service network elements (i.e., VNFs). The VNFD file comprises a blueprint template, a DF (dynamic function definition) and an operation script and the like, wherein the blueprint template specifically relates to the planning and the like of network resources when the VNF is deployed; DF is an overview of the virtual resources of the VNF, and the virtual resource information of the VNF may specifically be information such as the specification, number, and network connection of the VM; the running script is mainly used for performing operations such as deployment and maintenance on the VNF. Based on the above description, it can be known that a virtual service network element (VNF) is obtained by initially releasing network element configuration information deployment (initial VNFD file), a virtual resource of the virtual service network element is described by initial deployment profile information (initial DF) in the initial VNFD, and both the initial DF in the initial VNFD file and current virtual resource information are stored in a database, then an obtaining module can obtain an initial DF representing an initial virtual resource of the virtual service network element in the initial VNFD file from the database, compare the initial DF with current virtual resource information, if the current virtual resource information is different from the initial DF, it means that the current virtual resource is different from the initial virtual resource, that is, operations such as capacity expansion, elastic expansion or upgrade are performed, then a processing module is required to generate a backup DF according to the current virtual resource information and the initial DF, and generating a backup VNFD file according to the backup DF, wherein the processing module uses the backup VNFD file with the backup DF and can deploy the VNF of the current virtual resource.
With reference to the first embodiment of the second aspect of the present application, in the second embodiment, the current virtual resource information includes virtual deployment unit information of a current virtual deployment unit, the initial deployment profile information includes virtual deployment unit information of an initial virtual deployment unit, at least one of the current virtual deployment unit and the initial virtual deployment unit is included, and the processing module is further configured to determine the number of the current virtual deployment units and the virtual deployment unit information according to the current virtual resource information; the processing module is further used for determining the number of the initial virtual deployment units and the virtual deployment unit information according to the initial deployment profile information; the processing module is further configured to determine that the current virtual resource information is different from the initial deployment profile information when the number of the current virtual deployment units is not equal to the number of the initial virtual deployment units; the processing module is further used for comparing the virtual deployment unit information of the current virtual deployment unit with the virtual deployment unit information of the corresponding initial virtual deployment unit when the number of the current virtual deployment units is equal to the number of the initial virtual deployment units; the processing module is further configured to determine that the current virtual resource information is the same as the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is the same as the virtual deployment unit information of the corresponding initial virtual deployment unit; and the processing module is further used for determining that the current virtual resource information is different from the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is different from the virtual deployment unit information of the corresponding initial virtual deployment unit. The virtual resource information can be described by VDU information. VDUs are used for the construction of an information schema, which may support the deployment of subsets of VNFs and the description of the operational behavior, or the description of the entire VNF without subsets. Within the Hypervisor, the VDU is mainly characterized by a single VNF instance or a VNF subset instance based on a construct that can be mapped to a single virtual machine VM, then the current virtual resource information includes VDU information of the current VDU, the initial deployment profile information (DF) includes VDU information of the initial VDU, the current VDU and the initial VDU are at least one, the processing module obtains the number of current VDUs and the VDU information as well as the number of initial VDUs and the VDU information according to the current virtual resource information and the initial DF, the processing module first compares the number of current VDUs with the number of initial VDUs, if the numbers are not equal, it indicates that the VNF performs operations of deleting or/and adding VDUs after the initial deployment, and the processing module 602 determines that the current virtual resource information is different from the initial DF; if the number of the VDUs is the same, it indicates that the VNFs do not perform operations of deleting and adding VDUs after the initial deployment, and the processing module needs to further determine whether VDU information of the current VDU is the same as VDU information of the corresponding initial VDU, and the VDU information is also the same, and then the processing module determines that the current virtual resource information is the same as the initial DF; if the information of one or more VDUs is different, the processing module determines that the current virtual resource information is different from the initial DF. Therefore, the comparison of the front virtual resource information and the initial DF by the processing module is realized.
With reference to the second implementation manner of the first aspect of the present application, in the third implementation manner, the processing module is further configured to obtain difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit; the processing module is further used for obtaining the virtual unit information of the target virtual deployment unit according to the virtual deployment unit information and the difference information of the initial virtual deployment unit, and the number of the target virtual deployment units is at least one; the processing module is further configured to generate backup deployment profile information according to the virtual deployment unit information of the target virtual deployment unit. Comparing the virtual deployment unit information of the current virtual deployment unit with the virtual deployment unit information of the corresponding initial virtual deployment unit to obtain difference information, and obtaining the virtual unit information of the target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, wherein the number of the target VDUs is at least one, for example, the number of the current VDUs is 3, and the VDU identifiers in the VDU information are VDU2, VDU3 and VDU4, respectively; the number of the initial VDUs is 3, the VDU identifiers in the VDU information are respectively VDU1, VDU2 and VDU3, then the target VDU is the two VDUs whose VDU identifiers are VDU1 and VDU4, the VDU information of VDU4 is obtained from the current virtual resource information, the VDU information of VDU1 is obtained from the initial DF, the processing module deletes the VDU information of VDU1 in the initial DF, adds the VDU information of VDU4 to the initial DF, and identifies the initial DF as a backup DF, and the VDU information including VDU2, VDU3 and VDU4 in the backup DF is obtained, then the backup describes the current virtual resource of vndf.
With reference to the second aspect, the first embodiment, the second embodiment, and the third embodiment of the present application, in a fourth embodiment, the apparatus further includes: the sending module is used for sending the resource checking information to the target virtual service network element, wherein the resource checking information comprises a network element identifier of the target virtual service network element, and the resource checking information is used for indicating the target virtual service network element to feed back the target virtual resource information; the processing module is also used for comparing the target virtual resource information with the virtual resource information of the target virtual service network element recorded in the database when the target virtual resource information sent by the target virtual service network element is received; the processing module is further used for generating prompt information when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, wherein the prompt information is used for indicating the virtual resource of the target virtual service network element and the virtual resource information of the target virtual service network element recorded in the database; the processing module is also used for not generating prompt information when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database; and the processing module is also used for not generating prompt information when the target virtual resource information sent by the target virtual service network element is not received. After the processing module re-deploys the target VNF, the virtual resources are theoretically consistent with those before deployment, but in the deployment process, a deployment error or a change of the virtual resources may occur, so that the sending module is required to send the resource check information to the target VNF for resource check, and when the target virtual resource information sent by the target VNF is not received, the processing module is not required to generate prompt information; when receiving target virtual resource information sent by a target VNF, a processing module compares the target virtual resource information of the target VNF with virtual resource information of a target virtual service network element recorded in a database, and when the target virtual resource information is different from a backup DF, the processing module generates prompt information for prompting a user to repair the virtual resource of the target VNF; when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database, the processing module does not need to generate prompt information, so that after the target VNF is deployed, whether the DF of the virtual resource of the target VNF is backed up is checked to be consistent, and a prompt is sent when the DF is inconsistent, so that timely modification is facilitated, and normal operation of the network service provided by the target VNF is ensured.
A third aspect of the present application provides a server comprising: the system comprises a processor, a transceiver and a memory, wherein the memory can be used for storing codes executed by the processor; the transceiver is used for acquiring the current virtual resource information of the virtual service network elements, the current virtual resource information is used for representing the current virtual resources of the virtual service network elements, and at least one virtual service network element is provided; the processor is used for generating backup network element configuration information of the virtual service network element according to the current virtual resource information, wherein the backup network element configuration information is used for deploying the virtual service network element; and the processor is further used for deploying according to the backup network element configuration information to obtain a target virtual service network element when the virtual service network element needs to be redeployed, wherein the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element. The virtual service network element is deployed by using initially issued network element configuration information by virtual resource management equipment, the virtual resource of the virtual service network element is also configured by the virtual resource management equipment according to the initially issued network element configuration information, in an NFV scene, in order to adjust the service processing capacity of a virtual network system, the virtual resource is reasonably allocated, in the period of the virtual resource management equipment performing life cycle management on the virtual service network element, the virtual service network element can perform operations such as expansion and contraction, elastic expansion and upgrading, the operations can change the virtual resource of the virtual service network element, after each virtual resource change, corresponding records are performed in a database of the virtual resource management equipment, so that the transceiver can acquire the current virtual resource information of all the virtual service network elements from the database, and the current virtual resource information of the virtual service network element reflects the current state of the virtual service network element If the virtual service network element with the virtual resource in the current state needs to be redeployed, the use of the initially released network element configuration information cannot be achieved, because the virtual service network element obtained by redeploying the initially released network element configuration information inevitably has a virtual resource inconsistent with the current virtual resource of the virtual resource change, the processor generates backup network element configuration information of the virtual service network element according to the current virtual resource information obtained by the transceiver, when the virtual service network element needs to be redeployed, the processor 201 deploys the target virtual service network element according to the backup network element configuration information, and because the backup network element configuration information is generated according to the current virtual resource information, the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element.
A fourth aspect of the present application is a computer-readable storage medium, which includes instructions, when executed on a computer, for causing the computer to perform the method for managing virtual resources described in the embodiments of the first aspect.
A fifth aspect of the present application is a computer program product containing instructions, which when run on a computer, causes the computer to perform the method for managing virtual resources described in the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments and the prior art will be briefly described below.
Fig. 1 is a schematic diagram of an NFV architecture system provided herein;
FIG. 2 is a schematic block diagram of one embodiment of a server provided herein;
fig. 3 is a flowchart illustrating an embodiment of a method for managing virtual resources provided in the present application;
fig. 4 is a schematic flowchart of another embodiment of a virtual resource management method provided in the present application;
FIG. 5 is a schematic flow chart diagram illustrating one embodiment of resource checking provided herein;
fig. 6 is a schematic structural diagram of an embodiment of a virtual resource management device provided in the present application;
fig. 7 is a schematic structural diagram of another embodiment of a virtual resource management device provided in the present application.
Detailed Description
The application provides a virtual resource management method, a virtual resource management device and a server, which are used for the virtual resource management device to obtain backup network element configuration information according to the current virtual resource information of a virtual service network element, and ensure the consistency of virtual resources before and after the virtual service network element is redeployed according to the backup network element configuration information when the virtual service network element is redeployed.
The terms "upstream" and "downstream" appearing in the present application are used in some scenarios to describe the direction of data/information transmission, for example, the "upstream" direction is the direction of data/information transmission from the terminal device to the network side, the "downstream" direction is the direction of data/information transmission from the network side device to the terminal device, the "upstream" and "downstream" are used only to describe the direction, and the specific devices from which the data/information transmission starts and ends are not limited.
The term "and/or" appearing in the present application may be an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this application generally indicates that the former and latter related objects are in an "or" relationship.
Various objects such as various messages/information/devices/network elements/systems/devices/actions/operations/flows/concepts may be named in the present application, but these specific names do not constitute limitations on related objects, and the named names may vary with factors such as scenes, contexts or usage habits, and understanding of technical meaning of related objects should be mainly determined from functions and technical effects embodied/executed in the technical solutions.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Moreover, the terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus. The naming or numbering of the steps appearing in the present application does not mean that the steps in the method flow have to be executed in the chronological/logical order indicated by the naming or numbering, and the named or numbered process steps may be executed in a modified order depending on the technical purpose to be achieved, as long as the same or similar technical effects are achieved. The division of the modules presented in this application is a logical division, and in practical applications, there may be another division, for example, multiple modules may be combined or integrated into another system, or some features may be omitted, or not executed, and in addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, and the indirect coupling or communication connection between the modules may be in an electrical or other similar form, which is not limited in this application. The modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present disclosure.
First, a system architecture or scenario in which the present application is applied will be briefly described.
In order to utilize virtualization technology and cloud computing technology in the IT industry, in the "SDN and OpenFlow World convergence" conference called 10, 22, 2012, NFV white papers were jointly released by 13 Telecommunications carriers, and IT was announced that NFV ISG is established in European Telecommunications Standardization Institute (ETSI), so as to establish the requirements and technical framework of NFV and promote the development of NFV.
NFV technology can be simply understood as migrating the functions of various network elements used in a telecommunication network from the current dedicated hardware platform to a COTS server. Each network element used in the telecommunication network is converted into independent application through NFV technology, the network element can be flexibly deployed on a unified infrastructure platform constructed by other equipment such as a standard server, a storage and a switch, the resources of infrastructure hardware equipment are pooled and virtualized through virtualization technology, virtual resources are provided for upper-layer application, application and hardware decoupling is achieved, each application can rapidly increase the virtual resources to achieve the purpose of rapidly expanding the system capacity, or the virtual resources can be rapidly reduced to achieve the purpose of shrinking the system capacity, and the elasticity of the network is greatly improved. A shared resource pool is formed by adopting a universal COTS server, newly developed services do not need to be independently deployed with hardware equipment, and the online time of the new services is greatly shortened.
The foundation of NFV technology includes cloud computing technology and virtualization technology. Hardware devices such as a general COTS (chip on the fly) calculation/storage/network and the like can be decomposed into a plurality of virtual resources through a virtualization technology so as to be used by various upper-layer applications. The decoupling between the application and the hardware is realized through a virtualization technology, so that the virtual resource supply speed is greatly increased; by the cloud computing technology, elastic expansion of application can be achieved, matching of virtual resources and service loads is achieved, utilization efficiency of the virtual resources is improved, and response rate of a system is improved.
Fig. 1 is a schematic diagram of an NFV architecture system, and the NFV architecture system 100 may be implemented in various networks, such as a data center network, an operator network, or a local area network. The NFV architecture System 100 includes an NFV Management and Orchestration System (NFV MANO)101, an NFV Infrastructure layer (NFV Infrastructure, NFVI)130, a plurality of VNFs 108, a plurality of Element Management (EM) 122, Network services, VNFs, and Infrastructure Description (Network Service) 126, and an Operation-Support Management System (OSS/BSS). Among other things, NFV MANO101 includes NFV Orchestrator (NFV editor, NFVO)102, one or more VNFMs 104, and Virtualization Infrastructure Manager (VIM) 106. NFVI130 includes computing hardware 112, storage hardware 114, network hardware 116, virtualization layers, virtual compute 110, virtual storage 118, and virtual network 120. Network services, VNF and infrastructure description 126 and OSS/BSS 124 are discussed further in the ETSI GS NFV 002V1.1.1 standard.
The NFV MANO101 is used to perform monitoring and management of VNF108 and NFVI 130. NFVO102 may implement network services (e.g., L2 and L3VPN services) on NFVI130, and may also perform resource-related requests from one or more VNFMs 104, send configuration information to VNFMs 104, and collect VNF108 state information. Additionally, NFVO102 may communicate with VIM106 to enable allocation and/or reservation of resources and exchange configuration and status information for virtualized hardware resources. The VNFM104 may manage one or more VNFs 108. The VNFM104 may perform various management functions such as instantiating, updating, querying, scaling, and/or terminating the VNF108, among others. VIM106 may perform functions for resource management, such as managing allocation of infrastructure resources (e.g., adding resources to virtual containers) and operational functions (e.g., collecting NFVI fault information). The VNFM104 and VIM106 may communicate with each other for resource allocation and exchange configuration and status information for virtualized hardware resources.
NFVI130 includes hardware resources, software resources, or a combination of both to complete the deployment of the virtualized environment. In other words, the hardware resources and virtualization layer are used to provide virtualized resources, e.g., as virtual machines and other forms of virtual containers, for VNF 108. The hardware resources include computing hardware 112, storage hardware 114, and network hardware 116. The computing hardware 112 may be commercially available hardware and/or custom hardware to provide processing and computing resources. The storage hardware 114 may be storage capacity provided within a network or storage capacity residing within the storage hardware 114 itself (local storage located within a server). In one implementation, the resources of the computing hardware 112 and the storage hardware 114 may be pooled together. The network hardware 116 may be a switch, a router, and/or any other network device configured with switching functionality. The network hardware 116 may span multiple domains and may include multiple networks interconnected by one or more transport networks.
A virtualization layer within NFVI130 may abstract hardware resources from the physical layer and decouple VNF108 to provide virtualized resources to VNF 108. The virtual resource layer includes virtual compute 110, virtual memory 118, and virtual network 120. Virtual compute 110 and virtual storage 118 may be provided to VNF108 in the form of virtual machines, and/or other virtual containers. For example, one or more VNFs 108 may be deployed on one Virtual Machine (Virtual Machine). The virtualization layer abstracts the network hardware 116 to form a Virtual network 120, and the Virtual network 120 may include Virtual switches (Virtual switches) that are used to provide connectivity between Virtual machines and other Virtual machines. In addition, the transport Network in the Network hardware 116 may be virtualized using a centralized control plane and a separate forwarding plane (e.g., Software Defined Network (SDN)).
As shown in fig. 1, VNFM104 may interact with VNF108 and EM122 to manage the VNF's lifecycle and exchange configuration and status information. VNF108 may be configured to virtualize at least one network function performed by one physical network device. For example, in one implementation, VNF108 may be configured to provide functionality provided by different network elements in the IMS network, such as network functionality of a P-SCSCF, S-CSCF, or HSS, among others. EM122 is configured to manage one or more VNFs 108.
As shown in fig. 1, in the NFV system architecture, a distributed VNF is adopted, and virtualized resources of a virtual computing 110, a virtual storage 118, and a virtual network 120 are provided to a VNF108 in a virtual machine form, and when the VNF108 needs a service, the virtualized resources in the virtual machine are expanded or reduced, that is, a specification of the virtual machine is adjusted in a vertical capacity expansion manner. The existing method is to adopt a mode of expanding the specification of a VNF service virtual machine to improve the specification capability of the VNF, or a mode of reducing the specification of the VNF service virtual machine to reduce the specification capability of the VNF, so that all virtual machines participating in expansion and reduction need to be subjected to expansion and reduction processing, during the expansion and reduction processing, the virtual machines need to be powered off first, and then the virtual machines are powered on after expansion and reduction, so that ongoing services need to be interrupted, and the service progress is influenced.
It should be noted that, in the embodiment of the present application, the VNF is referred to as a virtual service network element, and the VNFM is referred to as a virtual resource management device.
In a current NFV scenario, when a DC is subjected to a natural disaster such as an earthquake and a flood, and a DC fault is caused, virtual resources of VNFs deployed by VNFMs all fail, after the DC fault is recovered, the VNFMs use initially issued VNFD files to relocate and install the VNFs, and the initially issued VNFD files include deployment blueprints and resource deployment profiles (dediymentfiavours, DFs) of each VNF, and the DFs reflect virtual resources of the VNFs, so that virtual resource information of the VNFs deployed and installed by using the initially issued VNFD files is necessarily consistent with the initial DFs, and if before the VNFs are relocated and installed, the virtual resources before and after the VNFs are inconsistent when operations such as elastic expansion, or upgrade of the VNFs occur.
In order to solve the problem of inconsistency of virtual resources before and after the VNF is redeployed, in the current solution, the following solutions are involved in different scenarios: 1. before redeploying the VNF, the VNF carries out capacity expansion and reduction operation and records capacity expansion and reduction DF of the capacity expansion and reduction operation, so that when the VNF is redeployed, initial DF deployment of an initially issued VNFD file is firstly used for obtaining initial virtual resources of the VNF, and then capacity expansion and reduction transformation are carried out by using the capacity expansion and reduction DF; 2. for the flexible scaling operation of the VNF, a flexible scaling DF may not be generated, so that when the VNF is redeployed, the VNF can only be redeployed through the initially published VNFD file, and for the flexible scaling operation before the redeployment of the VNF, the redeployment of the VNF cannot be performed, which inevitably results in inconsistency of virtual resources before and after the redeployment of the VNF; 3. before redeploying the VNF, the VNF is upgraded, the VNF FD file is upgraded to a high version in the upgrading process of the VNF, and when the VNF is redeployed, the VNF is deployed by using the VNFD file of the high version, however, if the expansion and contraction or elastic expansion and contraction operation is performed before the VNF is upgraded, the VNFD file of the high version is not stored for the expansion and contraction or elastic expansion and contraction operation, which inevitably causes inconsistency of virtual resources before and after the VNF is redeployed.
As can be seen from the above description, the consistency of the virtual resources before and after the redeployment of the VNF cannot be guaranteed, so to solve the problem, in the following embodiment, an entity device corresponding to the virtual resource management device of the present application is introduced first, where the entity device takes a server as an example, and in the embodiment of the present application, the VNF is referred to as a virtual service network element, the VNFM is referred to as a virtual resource management device, and the VNFD file is referred to as network element configuration information.
Referring to fig. 2, an embodiment of the present application provides a server, including:
a processor 201, a transceiver 202, and a memory 203, wherein the memory 203 may be used to store code executed by the processor 201;
the processor 201, the transceiver 202 and the memory 203 are connected by a bus system;
the transceiver 202 is configured to obtain current virtual resource information of virtual service network elements, where the current virtual resource information is used to represent current virtual resources of the virtual service network elements, and there is at least one virtual service network element;
a processor 201, configured to generate backup network element configuration information of a virtual service network element according to current virtual resource information, where the backup network element configuration information is used to deploy the virtual service network element; (ii) a
The processor 201 is further configured to, when the virtual service network element needs to be redeployed, deploy according to the backup network element configuration information to obtain a target virtual service network element, where a virtual resource of the target virtual service network element is the same as a current virtual resource of the virtual service network element.
In the embodiment of the present application, the virtual service network element is deployed by the virtual resource management device using the initially issued network element configuration information, the virtual resource of the virtual service network element is also configured by the virtual resource management device according to the initially issued network element configuration information, and in an NFV scenario, in order to adjust the service processing capability of the virtual network system and reasonably allocate the virtual resource, during the period when the virtual resource management device performs lifecycle management on the virtual service network element, the virtual service network element may perform operations such as expansion and contraction, elastic expansion and upgrade, which will change the virtual resource of the virtual service network element, and after each virtual resource change, the database of the virtual resource management device performs corresponding records, so that the transceiver 202 can obtain the current virtual resource information of all virtual service network elements from the database, since the current virtual resource information of the virtual service network element reflects the virtual resource in the current state of the virtual service network element, if the virtual service network element with the virtual resource in the current state needs to be redeployed, the use of the initially released network element configuration information cannot be done, because the initially released network element configuration information is used to redeploye the obtained virtual service network element, the virtual resource of the virtual service network element is necessarily inconsistent with the current virtual resource of the virtual resource change, the processor 201 generates the backup network element configuration information of the virtual service network element according to the current virtual resource information acquired by the transceiver 202, when the virtual service network element needs to be redeployed, the processor 201 deploys the target virtual service network element according to the configuration information of the backup network element, since the backup network element configuration information is generated according to the current virtual resource information, the virtual resources of the target virtual service network element are the same as the current virtual resources of the virtual service network element.
In the embodiment shown in fig. 2, an entity device corresponding to the virtual resource management device is described, where the entity device takes a server as an example, and a management method applied to virtual resources in the server is described below by using the embodiment.
Referring to fig. 3, an embodiment of the present application provides a method for managing virtual resources, including:
301. the virtual resource management equipment acquires the current virtual resource information of the virtual service network element;
in this embodiment, the virtual service network element is obtained by the virtual resource management device using the initially issued network element configuration information for deployment, and the virtual resource of the virtual service network element is also configured by the virtual resource management device according to the initially issued network element configuration information, in the NFV scenario, in order to adjust the service processing capability of the virtual network system, and reasonably allocate virtual resources, during the period that the virtual resource management device manages the life cycle of the virtual service network element, the virtual service network element can perform operations such as capacity expansion, elastic expansion, upgrading and the like, these operations change the virtual resources of the virtual service network element, and after each virtual resource change, corresponding records are recorded in the database of the virtual resource management device, so that the virtual resource management device can obtain the current virtual resource information of all virtual service network elements through the database.
302. The virtual resource management equipment generates backup network element configuration information of the virtual service network element according to the current virtual resource information;
in this embodiment, since the current virtual resource information of the virtual service network element reflects the virtual resource of the virtual service network element in the current state, if the virtual resource management device needs to be redeployed to obtain the virtual service network element with the virtual resource in the current state, it is impossible to use the initially issued network element configuration information, because the virtual resource of the virtual service network element obtained by redeploying the initially issued network element configuration information is inevitably inconsistent with the current virtual resource of the virtual resource change, the backup network element configuration information of the virtual service network element needs to be generated according to the current virtual resource information.
303. When the virtual service network element needs to be redeployed, the virtual resource management equipment deploys according to the backup network element configuration information to obtain a target virtual service network element.
In this embodiment, when a DC-level disaster occurs to a DC to which the virtual resource management device belongs, a DC fault may cause that all virtual service network elements managed by the virtual resource management device cannot provide services, and after the DC fault is recovered, the virtual resource management device needs to relocate the virtual service network elements at this time in order to recover the service capability of the virtual service network elements; or, a single virtual service network element fails to provide a service due to performance and other problems, and the virtual resource management device needs to relocate the virtual service network element at this time. When the virtual service network element needs to be redeployed, the virtual resource management device deploys according to the backup network element configuration information to obtain a target virtual service network element, and since the backup network element configuration information is generated according to the current virtual resource information, the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element.
In the embodiment of the application, the virtual resource management device obtains the backup network element configuration information according to the current virtual resource information of the virtual service network element, when the virtual service network element needs to be redeployed, the target virtual service network element is redeployed according to the backup network element configuration information, and compared with the method for redeploying the virtual service network element by using the initially issued network element configuration information, the virtual resource of the target virtual service network element obtained by redeployment can be ensured to be consistent with the current virtual resource of the virtual service network element before redeployment even if the virtual resource of the virtual service network element changes in the period from the completion of the initial deployment to the redeployment.
It should be noted that the backup network element configuration information may be generated by a virtual resource management device initiated by a user and instructed to be generated, or a periodic automatic generation mechanism is preset in the virtual resource management device, and after the backup network element configuration information is generated, the backup network element configuration information may be exported by the user for backup, or the backup network element configuration information may be sent to a disaster recovery device, and when a virtual service network element needs to be redeployed, the user may import the backup network element configuration information to the virtual resource management device, or the disaster recovery device redeployes the virtual service network element using the backup network element configuration information.
In the embodiment shown in fig. 1, the network element configuration information is specifically a VNFD file, where the VNFD file is a configuration template of deployment and operation behaviors of one or more virtual service network elements (i.e., VNFs). The VNFD file comprises a blueprint template, a DF (dynamic function definition) and an operation script and the like, wherein the blueprint template specifically relates to the planning and the like of network resources when the VNF is deployed; DF is an overview of the virtual resources of the VNF, and the virtual resource information of the VNF may specifically be information such as the specification, number, and network connection of the VM; the running script is mainly used for performing operations such as deployment and maintenance on the VNF.
Optionally, in some embodiments of the present application, generating backup network element configuration information of a virtual service network element according to current virtual resource information includes:
acquiring initial network element configuration information of a virtual service network element, wherein the initial network element configuration information comprises initial deployment profile information, and the initial deployment profile information is used for representing initial virtual resources of the virtual service network element;
when the current virtual resource information is different from the initial deployment profile information, generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information;
and generating backup network element configuration information according to the backup deployment profile information.
In this embodiment, a virtual service network element (VNF) is deployed by a virtual resource management device using initially issued network element configuration information (an initial VNFD file), a virtual resource of the virtual service network element is described by initial deployment profile information (initial DF) in the initial VNFD, and the initial DF in the initial VNFD file and current virtual resource information are both stored in a database of the virtual resource management device, so that an initial DF representing an initial virtual resource of the virtual service network element in the initial VNFD file can be obtained, the initial DF is compared with current virtual resource information, if the current virtual resource information is different from the initial DF, it indicates that the current virtual resource is different from the initial virtual resource, that is, operations such as capacity expansion, elastic scaling or upgrading are performed, a backup DF needs to be generated according to the current virtual resource information and the initial DF, and generating a backup VNFD file according to the backup DF, wherein the virtual resource management equipment uses the backup VNFD file with the backup DF and can deploy the VNF of the current virtual resource.
It should be noted that, if the current virtual resource information is the same as the initial deployment profile information, the virtual resource representing the VNF is consistent at the time of initial deployment and in the current situation, and the subsequent redeployment is not affected whether the backup DF is generated or not.
In the above-described embodiment, the virtual resource information may be described by Virtual Deployment Unit (VDU) information. VDUs are used for the construction of an information schema, which may support the deployment of subsets of VNFs and the description of the operational behavior, or the description of the entire VNF without subsets. Within the virtual machine manager (Hypervisor), the main feature of the VDU is a single VNF instance or VNF subset instance based on a construct that can be mapped to a single virtual machine VM. A Virtual Network Interface Controller (VNIC) is used to represent the virtualized network Interface controller created by the Hypervisor for the VM. Then the current virtual resource information includes VDU information for the current VDU, the initial DF includes VDU information for the initial VDU, and at least one of the current VDU and the initial VDU. With reference to fig. 4, the present application provides a method for managing virtual resources, which includes:
401. the virtual resource management equipment acquires the current virtual resource information of the virtual service network element;
in this embodiment, the virtual resource management device acquires, from the database, current virtual resource information in a current state related to the VNF, where the current virtual resource information includes VDU information of current VDUs, for example, there are 4 current VDUs, which are respectively VDU1, VDU2, VDU3, and VDU4, and the VDU information of each VDU includes a VDU identifier, a VDU specification, a VDU VNIC, and the like.
402. The virtual resource management equipment acquires initial network element configuration information of a virtual service network element;
in this embodiment, the VNF is deployed by the virtual resource management device using an initial VNFD file, where the initial VNFD file is already stored in the virtual resource management device, the initial VNFD file can be obtained, and an initial DF representing an initial virtual resource of the VNF in the initial VNFD file is obtained, where the initial DF is also represented by VDU information, for example, 3 initial VDUs are respectively a VDU1, a VDU2, and a VDU3, and the VDU information also includes a VDU identifier, a VDU specification, a VDU VNIC, and the like.
403. The virtual resource management equipment determines the number of the current virtual deployment units and the information of the virtual deployment units according to the current virtual resource information, and determines the number of the initial virtual deployment units and the information of the virtual deployment units according to the initial deployment profile information;
in this embodiment, after the virtual resource management device obtains the current virtual resource information and the initial VNFD file, the number of current VDUs and VDU information may be obtained according to the current virtual resource information, and the number of initial VDUs and VDU information may be obtained according to the initial DF in the initial VNFD file.
404. The virtual resource management device determines whether the number of the current virtual deployment units is equal to the number of the initial virtual deployment units, if so, executes step 405, and if not, executes step 407;
in this embodiment, the virtual resource management device first determines whether the number of the current VDUs is equal to the number of the initial VDUs, and if the number of the current VDUs is not equal to the number of the initial VDUs, it indicates that the virtual resources of the VNF are definitely changed, then step 407 is executed; if the number of current VDUs is equal to the number of initial VDUs, then the VDU information of each current VDU and the initial VDU needs to be further compared, and step 405 is executed.
405. The virtual resource management device compares the virtual deployment unit information of the current virtual deployment unit with the virtual deployment unit information of the corresponding initial virtual deployment unit, if the virtual deployment unit information is the same as the virtual deployment unit information, the step 406 is executed, and if the virtual deployment unit information is different from the virtual deployment unit information, the step 407 is executed;
in this embodiment, when it is determined that the number of the current VDUs is equal to the number of the initial VDUs, comparing the VDU information of the current VDU with the VDU information of the corresponding initial VDU, for example, the number of the current VDUs is 3, and the VDU identifiers in the VDU information are respectively VDU2, VDU3, and VDU 4; the number of the initial VDUs is 3, and the VDU identifiers in the VDU information are respectively VDU1, VDU2, and VDU3, which means that after the initial deployment of the VNF, operations of deleting VDU1 and adding VDU4 are performed, and it is obvious that the current virtual resource information is different from the initial DF, and step 407 is performed; if the number of the current VDUs is 3, the VDU identifications in the VDU information are respectively the VDU1, the VDU2 and the VDU 3; the number of the initial VDU is 3, and the VDU identifiers in the VDU information are respectively VDU1, VDU2 and VDU3, which indicates that the VNF does not perform operations of deleting and adding VDU after initial deployment, but the specification of the VDU1 and the VDU VNIC of the initial VDU need to be compared with the specification of the corresponding VDU1 and the VDU VNIC in the current VDU, and if all the specifications and VDU VNICs of the initial VDU and the corresponding current VDU are the same, which indicates that the current virtual resource information is the same as the initial DF, step 406 is performed.
406. The virtual resource management equipment determines that the current virtual resource information is the same as the initial deployment profile information;
in this embodiment, when it is determined that the VDU information of the current VDU is the same as the VDU information of the corresponding initial VDU, the virtual resource management device determines that the current virtual resource information is the same as the initial DF, and at this time, a backup DF does not need to be generated.
407. The virtual resource management equipment determines that the current virtual resource information is different from the initial deployment profile information;
in this embodiment, when it is determined that the number of the current VDU is not equal to the number of the initial VDU, or it is determined that the VDU information of the current VDU is different from the VDU information of the corresponding initial VDU, the virtual resource management device determines that the current virtual resource information is different from the initial DF.
408. The virtual resource management equipment obtains difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit, and obtains the virtual unit information of the target virtual deployment unit according to the virtual deployment unit information and the difference information of the initial virtual deployment unit;
in this embodiment, the virtual resource management device compares the virtual deployment unit information of the current virtual deployment unit with that of the corresponding initial virtual deployment unit to obtain difference information, and obtains the virtual unit information of the target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, where the number of target VDUs is at least one, for example, the number of current VDUs is 3, and VDU identifiers in the VDU information are VDU2, VDU3, and VDU4, respectively; the number of the initial VDUs is 3, the VDU identifiers in the VDU information are respectively VDU1, VDU2 and VDU3, then the target VDU is the two VDUs with the VDU identifiers of VDU1 and VDU4, the VDU information of VDU4 is obtained from the current virtual resource information, and the VDU information of VDU1 is obtained from the initial DF.
409. The virtual resource management equipment generates backup deployment general information according to the virtual deployment unit information of the target virtual deployment unit;
in this embodiment, after acquiring the VDU information of the target VDU (VDU4 and VDU1), the virtual resource management device deletes the VDU information of the VDU1 in the initial DF, adds the VDU information of the VDU4 to the initial DF, identifies the initial DF as a backup DF, and obtains the VDU information including the VDU2, the VDU3, and the VDU4 in the backup DF, so that the backup DF describes the current virtual resource of the VNF.
410. When the virtual service network element needs to be redeployed, the virtual resource management equipment deploys according to the backup network element configuration information to obtain a target virtual service network element.
In this embodiment, when the VNF needs to be redeployed, the virtual resource management device deploys the target VNF using the backup VNFD file, and since the backup DF in the backup VNFD file describes the virtual resource before redeployment of the target VNF, the virtual resource of the target VNF obtained by deployment is the same as the current virtual resource before redeployment.
In the embodiment of the application, the virtual resource management device compares VDU information of a current VDU in current virtual resource information with VDU information of an initial VDU in an initial DF, if a target VDU with VDU information difference exists, a backup DF is generated according to the VDU information of the target VDU and the initial DF, and the backup DF is stored in a backup VNFD file.
In the above embodiment, after the virtual service network element is redeployed, the virtual resources are theoretically consistent with those before deployment, but during the deployment, there may be deployment errors, and then resource check is required, which is described below by an embodiment.
Optionally, referring to fig. 5, in some embodiments of the present application, after the target virtual service network element is deployed according to the configuration information of the backup network element, the method further includes:
501. the virtual resource management equipment sends the resource checking information to a target virtual service network element;
in this embodiment, when a virtual resource management device (VNFM) redeploys a target virtual service network element (VNF) according to a backup VNFD file, a resource check interface is set in the target VNF, where the resource check information includes a network element identifier of the target VNF, and the VNFM sends the resource check information to the target VNF corresponding to the network element identifier by calling the resource check interface of the target VNF, so as to instruct the target VNF to feed back virtual resource information of the VNFM itself. The resource check may be a preset automatic triggering mechanism with periodicity, or may be initiated by a user after the target VNF deployment is completed.
502. When receiving the target virtual resource information sent by the target virtual service network element, the virtual resource management device compares the target virtual resource information with the virtual resource information of the target virtual service network element recorded in the database, and if the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, the step 503 is executed; if the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, executing step 504;
in this embodiment, when receiving target virtual resource information sent by the target VNF, comparing the target virtual resource information with virtual resource information of the target virtual service network element recorded in the database, specifically, in the embodiment shown in fig. 4, comparing VDU information is performed, so as to determine whether a current target virtual resource of the target VNF is consistent with virtual resource information of the target virtual service network element recorded in the database, and when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, executing step 503; when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, step 504 is executed.
503. The virtual resource management equipment generates prompt information;
in this embodiment, when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, the virtual resource management device generates a prompt message for prompting that the virtual resource of the target VNF of the user is inconsistent with the virtual resource information of the target virtual service network element recorded in the database.
504. The virtual resource management device does not generate the hint information.
In this embodiment, when the VNFM does not receive the target virtual resource information fed back by the target VNF, it indicates that the authentication fails, and the VNFM cannot perform resource check on the target VNF through the resource check interface; or, when the link fails and the target VNF cannot transmit the target virtual resource information to the VNFM, the VNF itself has a problem, and does not belong to the virtual resource check category, and it is not necessary to generate the prompt message. And when the target virtual resource information is the same as the backup DF, the virtual resource of the target VNF is consistent with the virtual resource described by the backup DF, so that the resource check is passed without generating a prompt message.
In the embodiment of the application, after the target VNF is redeployed, the virtual resources are theoretically consistent with those before deployment, but in the deployment process, deployment errors or changes of the virtual resources may occur, so that resource checking is required, and when target virtual resource information sent by the target VNF is not received, prompt information does not need to be generated; when receiving target virtual resource information sent by a target VNF, comparing the target virtual resource information with virtual resource information of a target virtual service network element recorded in a database, and when the target virtual resource information is different from the virtual resource information of the target virtual service network element, generating prompt information for prompting a user to repair the virtual resource of the target VNF; when the two are the same, no prompt information needs to be generated. Therefore, after the target VNF is deployed, whether the DF backup of the virtual resource of the target VNF is consistent or not can be checked, and a prompt is sent when the DF backup is inconsistent, so that timely modification is facilitated, and normal operation of network services provided by the target VNF is ensured.
The above embodiment describes a method for managing virtual resources, and a virtual resource management device using the method is described below by a modular device embodiment.
Referring to fig. 6, an embodiment of the present application provides a virtual resource management device, including:
an obtaining module 601, configured to obtain current virtual resource information of virtual service network elements, where the current virtual resource information is used to represent current virtual resources of the virtual service network elements, and there is at least one virtual service network element;
a processing module 602, configured to generate backup network element configuration information of a virtual service network element according to current virtual resource information, where the backup network element configuration information is used to deploy the virtual service network element;
the processing module 602 is further configured to, when the virtual service network element needs to be redeployed, deploy according to the backup network element configuration information to obtain a target virtual service network element, where a virtual resource of the target virtual service network element is the same as a current virtual resource of the virtual service network element.
In the embodiment of the present application, the virtual service network element is deployed by the virtual resource management device using the initially issued network element configuration information, the virtual resource of the virtual service network element is also configured by the virtual resource management device according to the initially issued network element configuration information, and in an NFV scenario, in order to adjust the service processing capability of the virtual network system and reasonably allocate the virtual resource, during the period when the virtual resource management device performs lifecycle management on the virtual service network element, the virtual service network element may perform operations such as expansion and contraction, elastic expansion and upgrade, which will change the virtual resource of the virtual service network element, and after each virtual resource change, the database of the virtual resource management device performs corresponding record, so that the obtaining module 601 can obtain the current virtual resource information of all the virtual service network elements from the database, since the current virtual resource information of the virtual service network element reflects the virtual resource in the current state of the virtual service network element, if the virtual service network element with the virtual resource in the current state needs to be redeployed, the use of the initially released network element configuration information cannot be done, because the initially released network element configuration information is used to redeploye the obtained virtual service network element, the virtual resource is necessarily inconsistent with the current virtual resource of the virtual resource change, the processing module 602 generates the backup network element configuration information of the virtual service network element according to the current virtual resource information acquired by the acquisition module 601, when the virtual service network element needs to be redeployed, the processing module 602 deploys the target virtual service network element according to the configuration information of the backup network element, since the backup network element configuration information is generated according to the current virtual resource information, the virtual resources of the target virtual service network element are the same as the current virtual resources of the virtual service network element.
Alternatively, in some embodiments of the present application,
the acquiring module 601 is further configured to acquire initial network element configuration information of a virtual service network element, where the initial network element configuration information includes initial deployment profile information, and the initial deployment profile information is used to represent initial virtual resources of the virtual service network element;
the processing module 602 is further configured to, when the current virtual resource information is different from the initial deployment profile information, generate backup deployment profile information according to the current virtual resource information and the initial deployment profile information;
the processing module 602 is further configured to generate backup network element configuration information according to the backup deployment profile information.
In this embodiment, the network element configuration information is specifically a VNFD file, and the VNFD file is a configuration template of deployment and operation behaviors of one or more virtual service network elements (i.e., VNFs). The VNFD file comprises a blueprint template, a DF (dynamic function definition) and an operation script and the like, wherein the blueprint template specifically relates to the planning and the like of network resources when the VNF is deployed; DF is an overview of the virtual resources of the VNF, and the virtual resource information of the VNF may specifically be information such as the specification, number, and network connection of the VM; the running script is mainly used for performing operations such as deployment and maintenance on the VNF. Based on the above description, it can be known that a virtual service network element (VNF) is obtained by initially-issued network element configuration information deployment (initial VNFD file), a virtual resource of the virtual service network element is described by initial deployment profile information (initial DF) in the initial VNFD, and both the initial DF in the initial VNFD file and current virtual resource information are stored in a database, then the obtaining module 601 can obtain the initial DF of the initial virtual resource of the virtual service network element in the initial VNFD file from the database, compare the initial DF with current virtual resource information, if the current virtual resource information is different from the initial DF, it indicates that the current virtual resource is different from the initial virtual resource, that is, operations such as capacity expansion, elastic expansion or upgrade are performed, then the processing module 602 is required to generate a backup DF according to the current virtual resource information and the initial DF, a backup VNFD file is generated according to the backup DF, and the processing module 602 can deploy the VNF of the current virtual resource by using the backup VNFD file with the backup DF.
Optionally, in some embodiments of the present application, the current virtual resource information includes virtual deployment unit information of the current virtual deployment unit, the initial deployment profile information includes virtual deployment unit information of the initial virtual deployment unit, at least one of the current virtual deployment unit and the initial virtual deployment unit,
the processing module 602 is further configured to determine the number of current virtual deployment units and the information of the virtual deployment units according to the current virtual resource information;
the processing module 602 is further configured to determine the number of initial virtual deployment units and the virtual deployment unit information according to the initial deployment profile information;
the processing module 602 is further configured to determine that the current virtual resource information is different from the initial deployment profile information when the number of the current virtual deployment units is not equal to the number of the initial virtual deployment units;
the processing module 602 is further configured to compare, when the number of the current virtual deployment units is equal to the number of the initial virtual deployment units, the virtual deployment unit information of the current virtual deployment unit with the virtual deployment unit information of the corresponding initial virtual deployment unit;
the processing module 602 is further configured to determine that the current virtual resource information is the same as the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is the same as the virtual deployment unit information of the corresponding initial virtual deployment unit;
the processing module 602 is further configured to determine that the current virtual resource information is different from the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is different from the virtual deployment unit information of the corresponding initial virtual deployment unit.
In the embodiment of the present application, the virtual resource information may be described by VDU information. VDUs are used for the construction of an information schema, which may support the deployment of subsets of VNFs and the description of the operational behavior, or the description of the entire VNF without subsets. Within the Hypervisor, the VDU is mainly characterized by a single VNF instance or a VNF subset instance based on a construct that can be mapped to a single virtual machine VM, then the current virtual resource information includes VDU information of the current VDU, the initial deployment profile information (DF) includes VDU information of the initial VDU, the current VDU and the initial VDU are at least one, the processing module 602 obtains the number of current VDUs and the VDU information and the number of initial VDUs and the VDU information according to the current virtual resource information and the initial DF, the processing module 602 first compares the number of current VDUs with the number of initial VDUs, if the numbers are not equal, it indicates that the VNF performs operations of deleting or/and adding VDUs after the initial deployment, and the processing module 602 determines that the current virtual resource information is different from the initial DF; if the number of the VDUs is the same, it indicates that the VNFs do not perform operations of deleting and adding VDUs after the initial deployment, and the processing module 602 needs to further determine whether VDU information of the current VDU is the same as VDU information of the corresponding initial VDU, and the VDU information is also the same, and the processing module 602 determines that the current virtual resource information is the same as the initial DF; if there are one or more VDU whose VDU information is not the same, the processing module 602 determines that the current virtual resource information is not the same as the initial DF. Thereby enabling the processing module 602 to compare the pre-virtual resource information with the initial DF.
Alternatively, in some embodiments of the present application,
the processing module 602 is further configured to obtain difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit;
the processing module 602 is further configured to obtain virtual unit information of a target virtual deployment unit according to the virtual deployment unit information and the difference information of the initial virtual deployment unit, where at least one target virtual deployment unit is provided;
the processing module 602 is further configured to generate backup deployment profile information according to the virtual deployment unit information of the target virtual deployment unit.
In this embodiment of the application, when the processing module 602 determines that the current virtual resource information is different from the initial DF, the processing module 602 compares the virtual deployment unit information of the current virtual deployment unit with difference with the virtual deployment unit information of the corresponding initial virtual deployment unit to obtain difference information, and obtains virtual unit information of a target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, where the target VDU is at least one, for example, the number of current VDUs is 3, and VDU identifiers in the VDU information are VDU2, VDU3, and VDU4, respectively; the number of the initial VDUs is 3, the VDU identifiers in the VDU information are respectively VDU1, VDU2 and VDU3, then the target VDU is the two VDUs whose VDU identifiers are VDU1 and VDU4, the VDU information of VDU4 is obtained from the current virtual resource information, the VDU information of VDU1 is obtained from the initial DF, the processing module 602 deletes the VDU information of VDU1 in the initial DF, adds the VDU information of VDU4 to the initial DF, and identifies the initial DF as the backup DF, and obtains the VDU information including VDU2, VDU3 and VDU4 in the backup DF, then the backup DF describes the current virtual resource of VNF.
Optionally, referring to fig. 7, in some embodiments of the present application, the apparatus further includes: a sending module 701;
a sending module 701, configured to send resource checking information to a target virtual service network element, where the resource checking information includes a network element identifier of the target virtual service network element, and the resource checking information is used to instruct the target virtual service network element to feed back target virtual resource information;
the processing module 602 is further configured to, when receiving target virtual resource information sent by a target virtual service network element, compare the target virtual resource information with virtual resource information of the target virtual service network element recorded in a database;
the processing module 602 is further configured to generate a prompt message when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, where the prompt message is used to indicate that the virtual resource of the target virtual service network element is inconsistent with the virtual resource information of the target virtual service network element recorded in the database;
the processing module 602 is further configured to not generate a prompt message when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database;
the processing module 602 is further configured to not generate a prompt message when the target virtual resource information sent by the target virtual service network element is not received.
In this embodiment of the application, after the processing module 602 re-deploys the target VNF, the virtual resources are theoretically consistent with those before deployment, but in the deployment process, there may be a situation of deployment error or virtual resource change, the sending module 701 needs to send the resource check information to the target VNF for resource check, and when the target virtual resource information sent by the target VNF is not received, the processing module 602 does not need to generate a prompt message; when receiving target virtual resource information sent by a target VNF, the processing module 602 compares the target virtual resource information of the target VNF with virtual resource information of a target virtual service network element recorded in a database, and when the target virtual resource information is different from the virtual resource information of the target virtual service network element, the processing module 602 generates prompt information for prompting a user to repair a virtual resource of the target VNF; when the two types of DF are the same, the processing module 602 does not need to generate a prompt message, so that after the target VNF is deployed, whether the DF backup of the virtual resource of the target VNF is consistent or not can be checked, and a prompt is sent when the DF backup of the virtual resource of the target VNF is inconsistent, so that timely modification is facilitated, and normal operation of a network service provided by the target VNF is ensured.
The present application also provides a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the management method of virtual resources described in the above embodiments.
The present application also provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of managing virtual resources described in the above embodiments.
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. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. 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, e.g., the computer instructions may be transmitted from one website, computer, server, or data center to another website, 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.) means. A computer-readable storage medium may 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.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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 the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for managing virtual resources, comprising:
acquiring current virtual resource information of virtual service network elements, wherein the current virtual resource information is used for representing current virtual resources of the virtual service network elements, and at least one virtual service network element is provided;
generating backup network element configuration information of the virtual service network element according to the current virtual resource information, wherein the backup network element configuration information is used for deploying the virtual service network element;
when the virtual service network element needs to be redeployed, deploying according to the backup network element configuration information to obtain a target virtual service network element, wherein the virtual resource of the target virtual service network element is the same as the current virtual resource of the virtual service network element;
sending resource checking information to the target virtual service network element, wherein the resource checking information comprises a network element identifier of the target virtual service network element, and the resource checking information is used for indicating the target virtual service network element to feed back target virtual resource information;
when receiving target virtual resource information sent by the target virtual service network element, comparing the target virtual resource information with virtual resource information of the target virtual service network element recorded in a database;
when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, generating prompt information, wherein the prompt information is used for indicating that the virtual resource of the target virtual service network element is inconsistent with the current virtual resource of the virtual service network element;
when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database, not generating the prompt information;
and when the target virtual resource information sent by the target virtual service network element is not received, the prompt information is not generated.
2. The method of claim 1, wherein the generating the backup network element configuration information of the virtual service network element according to the current virtual resource information comprises:
acquiring initial network element configuration information of the virtual service network element, wherein the initial network element configuration information comprises initial deployment profile information, and the initial deployment profile information is used for representing initial virtual resources of the virtual service network element;
when the current virtual resource information is different from the initial deployment profile information, generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information;
and generating backup network element configuration information according to the backup deployment profile information.
3. The method of claim 2, wherein the current virtual resource information comprises virtual deployment unit information of a current virtual deployment unit, wherein the initial deployment profile information comprises virtual deployment unit information of an initial virtual deployment unit, and wherein at least one of the current virtual deployment unit and the initial virtual deployment unit is used,
before generating backup deployment profile information according to the current virtual resource information and the initial deployment profile information, the method further includes:
determining the number of the current virtual deployment units and the information of the virtual deployment units according to the current virtual resource information;
determining the number of the initial virtual deployment units and the information of the virtual deployment units according to the initial deployment profile information;
when the number of the current virtual deployment units is not equal to the number of the initial virtual deployment units, determining that the current virtual resource information is different from the initial deployment profile information;
when the number of the current virtual deployment units is equal to the number of the initial virtual deployment units, comparing the virtual deployment unit information of the current virtual deployment units with the virtual deployment unit information of the corresponding initial virtual deployment units;
when the virtual deployment unit information of the current virtual deployment unit is the same as the virtual deployment unit information of the corresponding initial virtual deployment unit, determining that the current virtual resource information is the same as the initial deployment profile information;
when the virtual deployment unit information of the current virtual deployment unit is different from the virtual deployment unit information of the corresponding initial virtual deployment unit, determining that the current virtual resource information is different from the initial deployment profile information.
4. The method of claim 3, wherein generating backup deployment profile information based on the current virtual resource information and the initial deployment profile information comprises:
obtaining difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit;
obtaining the virtual unit information of a target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, wherein the number of the target virtual deployment units is at least one;
and generating backup deployment profile information according to the virtual deployment unit information of the target virtual deployment unit.
5. A virtual resource management device, comprising:
an obtaining module, configured to obtain current virtual resource information of a virtual service network element, where the current virtual resource information is used to represent current virtual resources of the virtual service network element, and there is at least one virtual service network element;
a processing module, configured to generate backup network element configuration information of the virtual service network element according to the current virtual resource information, where the backup network element configuration information is used to deploy the virtual service network element;
the processing module is further configured to, when the virtual service network element needs to be redeployed, deploy according to the backup network element configuration information to obtain a target virtual service network element, where a virtual resource of the target virtual service network element is the same as a current virtual resource of the virtual service network element;
a sending module; the resource checking information is used for sending resource checking information to the target virtual service network element, the resource checking information includes a network element identifier of the target virtual service network element, and the resource checking information is used for indicating the target virtual service network element to feed back target virtual resource information;
the processing module is further configured to compare, when receiving target virtual resource information sent by the target virtual service network element, the target virtual resource information with virtual resource information of the target virtual service network element recorded in a database;
the processing module is further configured to generate a prompt message when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, where the prompt message is used to indicate that the virtual resource of the target virtual service network element is inconsistent with the current virtual resource of the virtual service network element;
the processing module is further configured to not generate the prompt message when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database;
the processing module is further configured to not generate the prompt message when the target virtual resource information sent by the target virtual service network element is not received.
6. The apparatus of claim 5,
the obtaining module is further configured to obtain initial network element configuration information of the virtual service network element, where the initial network element configuration information includes initial deployment profile information, and the initial deployment profile information is used to represent initial virtual resources of the virtual service network element;
the processing module is further configured to generate backup deployment profile information according to the current virtual resource information and the initial deployment profile information when the current virtual resource information is different from the initial deployment profile information;
the processing module is further configured to generate backup network element configuration information according to the backup deployment profile information.
7. The apparatus of claim 6, wherein the current virtual resource information comprises virtual deployment unit information of a current virtual deployment unit, wherein the initial deployment profile information comprises virtual deployment unit information of an initial virtual deployment unit, and wherein at least one of the current virtual deployment unit and the initial virtual deployment unit is used,
the processing module is further configured to determine the number of the current virtual deployment units and the virtual deployment unit information according to the current virtual resource information;
the processing module is further configured to determine the number of the initial virtual deployment units and virtual deployment unit information according to the initial deployment profile information;
the processing module is further configured to determine that the current virtual resource information is different from the initial deployment profile information when the number of the current virtual deployment units is not equal to the number of the initial virtual deployment units;
the processing module is further configured to compare the virtual deployment unit information of the current virtual deployment unit with the virtual deployment unit information of the corresponding initial virtual deployment unit when the number of the current virtual deployment units is equal to the number of the initial virtual deployment units;
the processing module is further configured to determine that the current virtual resource information is the same as the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is the same as the virtual deployment unit information of the corresponding initial virtual deployment unit;
the processing module is further configured to determine that the current virtual resource information is different from the initial deployment profile information when the virtual deployment unit information of the current virtual deployment unit is different from the virtual deployment unit information of the corresponding initial virtual deployment unit.
8. The apparatus of claim 7,
the processing module is further configured to obtain difference information according to the virtual deployment unit information of the current virtual deployment unit and the virtual deployment unit information of the corresponding initial virtual deployment unit;
the processing module is further configured to obtain virtual unit information of a target virtual deployment unit according to the virtual deployment unit information of the initial virtual deployment unit and the difference information, where at least one target virtual deployment unit is provided;
the processing module is further configured to generate backup deployment profile information according to the virtual deployment unit information of the target virtual deployment unit.
9. A server, comprising:
a processor, a transceiver, and a memory, wherein the memory may be used to store code executed by the processor;
the transceiver is configured to acquire current virtual resource information of virtual service network elements, where the current virtual resource information is used to represent current virtual resources of the virtual service network elements, and there is at least one virtual service network element;
the processor is configured to generate backup network element configuration information of the virtual service network element according to the current virtual resource information, where the backup network element configuration information is used to deploy the virtual service network element;
the processor is further configured to, when the virtual service network element needs to be redeployed, deploy according to the backup network element configuration information to obtain a target virtual service network element, where a virtual resource of the target virtual service network element is the same as a current virtual resource of the virtual service network element;
the transceiver; the resource check information is further used for sending resource check information to the target virtual service network element, the resource check information includes a network element identifier of the target virtual service network element, and the resource check information is used for indicating the target virtual service network element to feed back target virtual resource information;
the processor is further configured to compare, when receiving target virtual resource information sent by the target virtual service network element, the target virtual resource information with virtual resource information of the target virtual service network element recorded in a database;
the processor is further configured to generate a prompt message when the target virtual resource information is different from the virtual resource information of the target virtual service network element recorded in the database, where the prompt message is used to indicate that the virtual resource of the target virtual service network element is inconsistent with the current virtual resource of the virtual service network element;
the processor is further configured to not generate the prompt message when the target virtual resource information is the same as the virtual resource information of the target virtual service network element recorded in the database;
the processor is further configured to not generate the prompt message when the target virtual resource information sent by the target virtual service network element is not received.
10. A computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of managing virtual resources of any one of claims 1 to 4.
CN201810524589.3A 2018-05-28 2018-05-28 Virtual resource management method, virtual resource management equipment and server Active CN110545193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810524589.3A CN110545193B (en) 2018-05-28 2018-05-28 Virtual resource management method, virtual resource management equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810524589.3A CN110545193B (en) 2018-05-28 2018-05-28 Virtual resource management method, virtual resource management equipment and server

Publications (2)

Publication Number Publication Date
CN110545193A CN110545193A (en) 2019-12-06
CN110545193B true CN110545193B (en) 2021-04-09

Family

ID=68700744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810524589.3A Active CN110545193B (en) 2018-05-28 2018-05-28 Virtual resource management method, virtual resource management equipment and server

Country Status (1)

Country Link
CN (1) CN110545193B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530116A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Virtual network backup and recovery method and corresponding device
CN105577409A (en) * 2014-10-16 2016-05-11 中兴通讯股份有限公司 Method of realizing virtual network function automation deployment and apparatus thereof
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource
CN106161173A (en) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 A kind of virtual network function that realizes disposes the method and device of specification configuration
CN106209924A (en) * 2015-04-29 2016-12-07 中国移动通信集团公司 Dispose the method for Virtual NE, device and network function virtualization dispatch server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103842B2 (en) * 2008-11-17 2012-01-24 Hitachi, Ltd Data backup system and method for virtual infrastructure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577409A (en) * 2014-10-16 2016-05-11 中兴通讯股份有限公司 Method of realizing virtual network function automation deployment and apparatus thereof
CN105530116A (en) * 2014-10-24 2016-04-27 中兴通讯股份有限公司 Virtual network backup and recovery method and corresponding device
CN106161173A (en) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 A kind of virtual network function that realizes disposes the method and device of specification configuration
CN106209924A (en) * 2015-04-29 2016-12-07 中国移动通信集团公司 Dispose the method for Virtual NE, device and network function virtualization dispatch server
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource

Also Published As

Publication number Publication date
CN110545193A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US10140112B2 (en) Update management system and update management method
US10481953B2 (en) Management system, virtual communication-function management node, and management method for managing virtualization resources in a mobile communication network
CN106664216B (en) VNF switching method and device
EP2796996B1 (en) Cloud infrastructure based management system and method for performing maintenance and deployment for application system
WO2017181876A1 (en) Device state and resource information monitoring method, related device, and system
US20190173764A1 (en) Sdn control plane performance testing
CN107526659B (en) Method and apparatus for failover
US20160328258A1 (en) Management system, overall management node, and management method
CN108632067B (en) Disaster recovery deployment method, device and system
CN110661647A (en) Life cycle management method and device
US10541862B2 (en) VNF processing policy determining method, apparatus, and system
CN108347339B (en) Service recovery method and device
CN112948063B (en) Cloud platform creation method and device, cloud platform and cloud platform implementation system
CN113032085A (en) Management method, device, server, management system and medium of cloud operating system
CN110661641B (en) Virtual network function VNF deployment method and device
JP2015191246A (en) Communication system and management method
CN112698992B (en) Disaster recovery management method and related device for cloud cluster
CN108345490B (en) Method and system for deploying virtual machine in NFV
CN108319492B (en) Method, device and system for resetting physical machine
CN111221620B (en) Storage method, device and storage medium
CN107360015B (en) Method and device for switching shared storage
CN110545193B (en) Virtual resource management method, virtual resource management equipment and server
CN114996352A (en) Database management system and method
US11290318B2 (en) Disaster recovery of cloud resources
CN112448833B (en) Multi-management-domain communication method 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